:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #101b2c;
  --surface: #111d2f;
  --surface-strong: #17263d;
  --text: #eef5ff;
  --muted: #9fb0c8;
  --line: rgba(181, 199, 226, 0.18);
  --primary: #41d8b8;
  --primary-dark: #19a989;
  --accent: #72a5ff;
  --warm: #ffd166;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 12%, rgba(65, 216, 184, 0.18), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(114, 165, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #08111f 0%, #0b1422 48%, #08111f 100%);
  color: var(--text);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 17, 31, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.nav-action,
.button,
.pill-row,
.metrics,
.sync-grid,
.release-note {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 18px;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #07101d;
  font-weight: 900;
}

.site-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a,
.nav-action {
  text-decoration: none;
}

.site-nav a:hover,
.nav-action:hover {
  color: var(--text);
}

.nav-action {
  min-height: 38px;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 750;
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 64px;
  padding: 64px 0 86px;
}

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.95;
}

.hero-lede {
  max-width: 680px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #06111d;
  box-shadow: 0 18px 36px rgba(65, 216, 184, 0.2);
}

.button-primary:hover {
  background: #66e6cf;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.pill-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pill-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-visual,
.large-preview,
.download-card,
.faq-list details,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 29, 47, 0.78);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.hero-visual {
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

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

.window-bar span:nth-child(2) {
  background: var(--warm);
}

.window-bar span:nth-child(3) {
  background: var(--primary);
}

.app-preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 430px;
}

.app-preview aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.app-preview aside strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 17px;
}

.app-preview aside span {
  padding: 10px 12px;
  border-radius: 8px;
}

.app-preview .active-item,
.switch-list .selected {
  background: rgba(65, 216, 184, 0.13);
  color: var(--primary);
}

.preview-main {
  padding: 22px;
}

.status-card {
  padding: 22px;
  border: 1px solid rgba(65, 216, 184, 0.24);
  border-radius: 8px;
  background: rgba(65, 216, 184, 0.1);
}

.status-card span,
.sync-grid span,
.platform,
.preview-title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.status-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.sync-grid {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.sync-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.sync-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--primary);
}

.switch-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.switch-list span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.metrics {
  justify-content: space-between;
  gap: 12px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  display: grid;
  gap: 4px;
}

.metrics strong {
  font-size: clamp(34px, 5vw, 56px);
}

.metrics span {
  color: var(--muted);
}

.content-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.final-cta h2 {
  margin-top: 12px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
}

.feature-grid,
.capability-grid,
.preview-grid,
.download-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid article,
.capability-grid article {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.feature-grid article span,
.workflow-list li > span {
  color: var(--primary);
  font-weight: 900;
}

.feature-grid h3,
.capability-grid h3,
.workflow-list h3,
.download-card h3 {
  margin-top: 16px;
  font-size: 24px;
}

.feature-grid p,
.capability-grid p,
.workflow-list p,
.download-card p,
.faq-list p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.capability-grid {
  grid-template-columns: repeat(3, 1fr);
}

.preview-grid,
.download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.large-preview {
  min-height: 380px;
  padding: 22px;
}

.preview-title {
  display: grid;
  gap: 6px;
  margin-bottom: 20px;
}

.mock-screen {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.mock-sidebar {
  background:
    linear-gradient(180deg, rgba(65, 216, 184, 0.18), transparent),
    var(--surface-strong);
}

.mock-content {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.mock-content span,
.mock-form span {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-content span:first-child {
  background: rgba(65, 216, 184, 0.15);
}

.mock-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.mock-form span {
  height: 52px;
}

.mock-form button {
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #07101d;
  font-weight: 850;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  min-height: 260px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.download-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.primary-download {
  background:
    linear-gradient(135deg, rgba(65, 216, 184, 0.16), transparent 48%),
    rgba(17, 29, 47, 0.86);
}

.muted-download {
  opacity: 0.82;
}

.release-note {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: var(--muted);
}

.release-note span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.final-cta {
  margin-top: 92px;
  margin-bottom: 70px;
  padding: 48px;
  text-align: center;
}

.final-cta .button {
  margin-top: 28px;
}

@media (max-width: 920px) {
  .site-header {
    min-height: auto;
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 46px;
  }

  .feature-grid,
  .capability-grid,
  .preview-grid,
  .download-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 48px;
  }

  .hero-actions,
  .button,
  .nav-action {
    width: 100%;
  }

  .site-nav {
    font-size: 13px;
  }

  .app-preview {
    grid-template-columns: 1fr;
  }

  .app-preview aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .sync-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 64px 0;
  }

  .final-cta {
    padding: 30px 20px;
  }
}
