/* ============================================================
   AeroX 加速器 官网样式
   设计语言：大厂科技风 — 克制、通透、毫不张扬
   ============================================================ */

/* -------- Tokens -------- */
:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f7f9fc;
  --c-bg-dark: #0b1220;
  --c-bg-dark-2: #0f172a;
  --c-text: #0f172a;
  --c-text-soft: #475569;
  --c-text-muted: #64748b;
  --c-text-on-dark: #e2e8f0;
  --c-text-on-dark-soft: #94a3b8;
  --c-border: #e6eaf0;
  --c-border-dark: rgba(255, 255, 255, 0.08);

  --c-brand: #1d4ed8;
  --c-brand-2: #3b82f6;
  --c-brand-soft: #eff6ff;
  --c-accent: #06b6d4;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 20px 60px -20px rgba(15, 23, 42, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container: 1200px;
  --container-narrow: 880px;

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Helvetica Neue", "Hiragino Sans GB", "Segoe UI", Roboto,
               "Heiti SC", "WenQuanYi Micro Hei", sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* -------- Reset & Base -------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--c-brand); text-decoration: none; }
a:hover { color: var(--c-brand-2); }

h1, h2, h3, h4 { margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.skip-link {
  position: absolute; left: -9999px;
  top: 0; padding: .5rem 1rem;
  background: var(--c-brand); color: #fff; z-index: 1000;
}
.skip-link:focus { left: 0; }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: var(--container-narrow); }

.section {
  padding: 96px 0;
  position: relative;
}
.section-light { background: var(--c-bg); }
.section-light.alt { background: var(--c-bg-soft); }
.section-dark { background: var(--c-bg-dark); color: var(--c-text-on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--c-text-on-dark-soft); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: 40px; }
.section-head p { color: var(--c-text-muted); font-size: 17px; }
.section-head-light p { color: var(--c-text-on-dark-soft); }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 12px;
}
.section-dark .kicker { color: var(--c-brand-2); }

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

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s;
  white-space: nowrap;
  user-select: none;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--c-text);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 8px 24px -10px rgba(15,23,42,.4);
}
.btn-primary:hover { transform: translateY(-1px); background: #1f2937; color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  box-shadow: inset 0 0 0 1px var(--c-border);
}
.btn-ghost:hover { background: var(--c-bg-soft); color: var(--c-text); }

.section-dark .btn-ghost {
  color: var(--c-text-on-dark);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.section-dark .btn-ghost:hover { background: rgba(255,255,255,.06); color: #fff; }

.btn-light {
  background: #fff; color: var(--c-text);
}
.btn-light:hover { transform: translateY(-1px); }

/* -------- Header -------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--c-text); }
.brand-mark { width: 28px; height: 28px; }

.primary-nav { flex: 1; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.primary-nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-text-soft);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.primary-nav a:hover { color: var(--c-text); background: var(--c-bg-soft); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.link-muted {
  color: var(--c-text-soft);
  font-size: 14.5px;
  padding: 8px 12px;
}
.link-muted:hover { color: var(--c-text); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 1.5px;
  background: var(--c-text);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), opacity .25s;
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 6px)); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 6px)); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: 120px 0 88px;
  background: linear-gradient(180deg, #fafbfd 0%, #ffffff 80%);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
#netCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .55;
}
.hero-glow {
  position: absolute;
  top: -200px; left: 50%;
  width: 900px; height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59,130,246,.18), transparent 70%);
  filter: blur(20px);
}

.hero-inner { position: relative; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-soft);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: #22c55e; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}

.hero-title {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.grad-text {
  background: linear-gradient(120deg, #1d4ed8 0%, #3b82f6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 18px;
  color: var(--c-text-soft);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-stats li { text-align: center; }
.hero-stats strong {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-text);
}
.hero-stats span {
  font-size: 18px;
  color: var(--c-brand-2);
  font-weight: 600;
  margin-left: 2px;
}
.hero-stats p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--c-text-muted);
}

/* -------- Trusted strip -------- */
.trusted {
  padding: 36px 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.trusted-title {
  text-align: center;
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.trusted-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.trusted-logos span {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text-muted);
  opacity: .65;
  transition: opacity .2s;
}
.trusted-logos span:hover { opacity: 1; }

/* -------- Cards (features) -------- */
.card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cdd5e0;
}
.card-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--c-text-soft); font-size: 14.5px; margin: 0; line-height: 1.7; }

/* -------- Scenarios -------- */
.scene {
  padding: 40px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-lg);
  transition: background .25s, border-color .25s, transform .35s var(--ease);
}
.scene:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
  transform: translateY(-3px);
}
.scene h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.scene > p { color: var(--c-text-on-dark-soft); margin-bottom: 20px; }
.scene ul { display: flex; flex-direction: column; gap: 10px; }
.scene li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--c-text-on-dark);
}
.scene li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 12px; height: 8px;
  border-left: 2px solid var(--c-brand-2);
  border-bottom: 2px solid var(--c-brand-2);
  transform: rotate(-45deg);
}

/* -------- Nodes -------- */
.nodes-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.nodes-map {
  background: linear-gradient(160deg, #0b1220 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.nodes-map svg { width: 100%; height: auto; }
.map-dots circle { fill: rgba(255,255,255,.32); }
.map-highlights circle {
  animation: pulse 2.4s infinite var(--ease);
}
.map-highlights circle:nth-child(3) { animation-delay: .6s; }
.map-highlights circle:nth-child(5) { animation-delay: 1.2s; }

@keyframes pulse {
  0%, 100% { opacity: .85; transform-origin: center; }
  50% { opacity: .35; }
}

.nodes-list h3 { font-size: 22px; margin-bottom: 20px; }
.nodes-list ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.nodes-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--c-border);
  font-size: 14.5px;
  font-weight: 500;
  transition: background .15s;
}
.nodes-list li:hover { background: var(--c-bg-soft); }
.ping {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.ping.ok { color: #047857; background: #ecfdf5; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14.5px;
}
.link-arrow:hover { gap: 10px; transition: gap .25s var(--ease); }

/* -------- Pricing -------- */
.pricing-grid { align-items: stretch; }
.price-card {
  position: relative;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
  border-color: var(--c-brand-2);
  box-shadow: 0 20px 60px -24px rgba(29,78,216,.32);
}
.price-card .badge {
  position: absolute;
  top: -12px; left: 32px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-brand);
  color: #fff;
}
.price-card h3 { font-size: 18px; color: var(--c-text-soft); margin-bottom: 16px; font-weight: 600; }
.price {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  color: var(--c-text);
}
.price .cur { font-size: 22px; font-weight: 600; vertical-align: super; margin-right: 2px; }
.price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
  margin-left: 6px;
}
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.price-card li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--c-text-soft);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--c-brand-2);
  border-bottom: 2px solid var(--c-brand-2);
  transform: rotate(-45deg);
}

/* -------- CTA -------- */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); }
.cta-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { font-size: 36px; }
.cta-inner p { color: var(--c-text-on-dark-soft); font-size: 17px; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------- FAQ -------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 0 24px;
  transition: border-color .2s, box-shadow .2s;
}
.faq-list details[open] {
  border-color: #cdd5e0;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  position: relative;
  list-style: none;
  padding: 20px 36px 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--c-text-muted);
  border-bottom: 2px solid var(--c-text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-list details p {
  padding-bottom: 22px;
  color: var(--c-text-soft);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0;
}

/* -------- Footer -------- */
.site-footer {
  background: #0b1220;
  color: var(--c-text-on-dark-soft);
  padding: 64px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--c-border-dark);
}
.footer-brand .brand { color: #fff; }
.footer-brand .brand:hover { color: #fff; }
.footer-brand p { margin-top: 16px; line-height: 1.7; }

.site-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 6px 0 16px;
  letter-spacing: .02em;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a {
  color: var(--c-text-on-dark-soft);
  transition: color .15s;
}
.site-footer a:hover { color: #fff; }

.footer-contact p { margin: 0 0 6px; }

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}
.footer-bottom p { margin: 4px 0; }
.footer-bottom a { color: #64748b; }

/* -------- Mobile Nav Drawer -------- */
@media (max-width: 880px) {
  .header-inner { gap: 16px; }
  .primary-nav {
    position: fixed;
    inset: 64px 0 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    border-top: 1px solid var(--c-border);
    overflow-y: auto;
    padding: 16px;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .primary-nav a {
    padding: 14px 16px;
    font-size: 16px;
  }
  .header-actions .link-muted { display: none; }
  .nav-toggle { display: block; }
}

/* -------- Responsive -------- */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nodes-wrap { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand, .footer-contact { grid-column: span 3; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 15px; }

  .hero { padding: 80px 0 64px; }
  .hero-sub { font-size: 16px; }
  .hero-cta { margin-bottom: 56px; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 18px;
  }
  .hero-stats strong { font-size: 28px; }

  .grid { gap: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .card, .scene, .price-card { padding: 24px; }
  .scene { padding: 28px; }

  .cta-inner h2 { font-size: 26px; }
  .cta-buttons .btn { flex: 1 1 calc(50% - 12px); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand, .footer-contact { grid-column: span 2; }

  .trusted-logos { gap: 12px 24px; }
  .trusted-logos span { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
