:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #152033;
  --muted: #5d6a7d;
  --soft: #eef3fb;
  --line: #d9e2ef;
  --brand: #2563eb;
  --brand-strong: #1747b8;
  --teal: #0f9f95;
  --green: #16803a;
  --amber: #b7791f;
  --rose: #be385d;
  --shadow: 0 18px 50px rgba(23, 35, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body::selection {
  background: #c9dcff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 247, 251, 0.86);
  border-bottom: 1px solid rgba(217, 226, 239, 0.78);
  backdrop-filter: blur(16px);
}

.nav-bar {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.18);
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links a,
.nav-action,
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  padding: 0 12px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--brand);
  background: #eaf1ff;
}

.nav-links a[aria-current] {
  color: var(--brand);
  background: #eaf1ff;
}

.nav-action {
  padding: 0 14px;
  color: #fff;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(640px, calc(100vh - 116px));
  padding: 40px 0 34px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.96) 0%, rgba(245, 247, 251, 0.9) 43%, rgba(245, 247, 251, 0.76) 100%),
    url("./assets/images/splashscreenbackground.png") center / cover no-repeat;
}

.hero-inner,
.section,
.cta-section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  padding: 0 18px;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
}

.button.primary:hover {
  background: var(--brand-strong);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.secondary:hover {
  border-color: #aebdd0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 28px 0 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-stats dt {
  margin-bottom: 3px;
  color: var(--brand);
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(123, 142, 168, 0.26);
  border-radius: 8px;
  background: #111827;
  box-shadow: var(--shadow);
}

.window-title {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  color: #c9d3e4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-title span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ef5a5a;
}

.window-title span:nth-child(2) {
  background: #e6b84a;
}

.window-title span:nth-child(3) {
  background: #4ebd6b;
}

.window-title strong {
  margin-left: 8px;
  font-size: 13px;
}

.window-body {
  min-height: 400px;
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #182033;
}

.file-tree {
  min-width: 0;
  padding: 14px;
  background: #111827;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.tree-search {
  min-height: 32px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: #202a3d;
  color: #a8b5c9;
  font-size: 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file-tree img {
  width: 100%;
  border-radius: 6px;
  opacity: 0.92;
}

.editor-preview {
  min-width: 0;
  padding: 18px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
}

.code-panel {
  padding: 16px;
  border-radius: 8px;
  background: #0d1320;
  color: #d9e7ff;
  font-family: Consolas, "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
}

.code-line {
  min-height: 30px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.code-line span {
  color: #67e8f9;
}

.code-line.highlight {
  color: #fde68a;
  background: rgba(37, 99, 235, 0.16);
}

.preview-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: #f8fbff;
}

.preview-card img {
  width: 96px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
}

.preview-card strong,
.preview-card span {
  display: block;
}

.preview-card span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 30px 0 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.timeline article,
.showcase-card,
.service-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(23, 35, 58, 0.06);
}

.feature-grid article {
  padding: 22px;
}

.feature-icon {
  min-width: 52px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  margin-bottom: 18px;
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.feature-grid article:nth-child(2) .feature-icon,
.feature-grid article:nth-child(5) .feature-icon {
  background: var(--teal);
}

.feature-grid article:nth-child(3) .feature-icon,
.feature-grid article:nth-child(6) .feature-icon {
  background: var(--rose);
}

.feature-grid article:nth-child(4) .feature-icon {
  background: var(--amber);
}

.feature-grid p,
.timeline p,
.showcase-card p,
.cloud-copy p,
.service-grid span,
.site-footer span {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  position: relative;
  min-height: 218px;
  padding: 22px;
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.showcase-card {
  overflow: hidden;
}

.showcase-card.large {
  grid-column: span 2;
}

.showcase-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #101827;
  border-bottom: 1px solid var(--line);
}

.showcase-card div {
  padding: 18px;
}

.cloud {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: 26px;
  align-items: start;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-grid a {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  padding: 20px;
}

.service-grid a:hover {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.service-grid strong {
  font-size: 18px;
}

.cta-section {
  margin-top: 76px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 8px;
  color: #fff;
  background: #152033;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.cta-section .section-kicker {
  margin-bottom: 16px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #d8e7ff;
}

.cta-section .button.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.site-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 18px 0 30px;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.visit-pill {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1020px) {
  .nav-bar {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner,
  .cloud {
    grid-template-columns: 1fr;
  }

  .product-window {
    max-width: 760px;
  }

  .feature-grid,
  .timeline,
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-card.large {
    grid-column: span 2;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .nav-bar,
  .hero-inner,
  .section,
  .cta-section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .nav-action {
    display: none;
  }

  .hero {
    padding: 24px 0 22px;
  }

  .feature-grid,
  .timeline,
  .showcase-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-lead {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .hero-stats,
  .product-window {
    display: none;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .file-tree {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .file-tree img {
    max-height: 160px;
    object-fit: cover;
    object-position: top left;
  }

  .showcase-card.large {
    grid-column: span 1;
  }

  .showcase-card img {
    height: 210px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
