:root {
  --blue: #4aa3ff;
  --blue-strong: #1683e7;
  --ink: #102235;
  --muted: #657386;
  --line: #e6eef6;
  --mist: #f5f9fd;
  --green: #40b879;
  --white: #fff;
  --shadow: 0 24px 70px rgba(16, 34, 53, .10);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--white);
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 238, 246, .88);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #526173;
  font-size: 15px;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--blue-strong);
  border-color: var(--blue);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--blue-strong);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(22, 131, 231, .18);
}

.btn.secondary {
  background: rgba(255, 255, 255, .86);
  color: var(--ink);
  border-color: rgba(255, 255, 255, .62);
  box-shadow: none;
}

.btn.ghost {
  background: var(--white);
  color: var(--blue-strong);
  border-color: var(--line);
  box-shadow: none;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 20px;
}

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero.hero-compact {
  min-height: 520px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="home"] .hero {
  min-height: 0;
  aspect-ratio: 1672 / 609;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 43, .72), rgba(7, 24, 43, .25) 48%, rgba(7, 24, 43, .05));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 82px;
}

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.hero .eyebrow {
  color: #cfe9ff;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.03;
  letter-spacing: 0;
}

[data-page="contact"] .hero h1 {
  font-size: 68px;
}

[data-page="forecast"] .hero h1 {
  font-size: 68px;
}

[data-page="membership"] .hero h1 {
  font-size: 68px;
}

[data-page="advantages"] .hero h1,
[data-page="community"] .hero h1,
[data-page="about"] .hero h1 {
  font-size: 68px;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
}

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

.section {
  padding: 104px 0;
}

.section.alt {
  background: var(--mist);
}

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

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

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.15;
  letter-spacing: 0;
}

.platform-title {
  font-size: 38px;
}

.section-desc {
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.feature {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature .num {
  color: var(--blue-strong);
  font-weight: 900;
  font-size: 14px;
}

.feature h3 {
  margin: 12px 0 10px;
  font-size: 22px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--mist);
}

.image-panel img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.soft-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.soft-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.soft-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

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

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.metric {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric b {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--blue-strong);
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row strong {
  color: var(--blue-strong);
}

.download-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef8ff, #fff);
  border: 1px solid var(--line);
}

.qr-wrap {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-box span {
  color: var(--blue-strong);
  font-size: 16px;
  font-weight: 700;
}

.qr-wrap canvas,
.qr-fallback {
  width: 150px;
  height: 150px;
  border-radius: 4px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

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

.site-footer {
  padding: 44px 0;
  background: #0f2133;
  color: rgba(255, 255, 255, .72);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.page-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: #cfe9ff;
  font-weight: 800;
}

.index-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.index-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.index-card img {
  width: 120px;
  height: 96px;
  border-radius: var(--radius);
  object-fit: cover;
}

.index-card h3 {
  margin-bottom: 6px;
}

.index-card p {
  margin-bottom: 8px;
  color: var(--muted);
}

.index-card a {
  color: var(--blue-strong);
  font-weight: 800;
}

@media (max-width: 920px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .split,
  .download-band,
  .grid.cols-2,
  .grid.cols-3,
  .index-map,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner,
  .container,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: 44px;
  }

  .platform-title {
    font-size: 32px;
  }

  [data-page="contact"] .hero h1 {
    font-size: 44px;
  }

  [data-page="forecast"] .hero h1 {
    font-size: 44px;
  }

  [data-page="membership"] .hero h1 {
    font-size: 44px;
  }

  [data-page="advantages"] .hero h1,
  [data-page="community"] .hero h1,
  [data-page="about"] .hero h1 {
    font-size: 44px;
  }

  .section {
    padding: 72px 0;
  }

  .timeline-row,
  .qr-wrap,
  .index-card {
    grid-template-columns: 1fr;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }

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

  .metric:last-child {
    border-bottom: 0;
  }

  .download-band {
    padding: 28px;
  }

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