:root {
  --bg-deep: #0b1220;
  --bg-mid: #132238;
  --accent: #14b8a6;
  --accent-soft: rgba(20, 184, 166, 0.15);
  --accent-glow: rgba(45, 212, 191, 0.35);
  --text: #f8fafc;
  --text-muted: rgba(248, 250, 252, 0.72);
  --text-dim: rgba(248, 250, 252, 0.5);
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.1);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(20, 184, 166, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(30, 58, 95, 0.55), transparent 50%),
    linear-gradient(165deg, #0b1220 0%, #132238 42%, #0c4a4e 100%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
  pointer-events: none;
}

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

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  display: none;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 55%, #0d9488 100%);
  color: #042f2e;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(20, 184, 166, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 首页顶栏内嵌语言按钮 */
.site-header .lang-picker {
  position: relative;
}

.header-lang {
  flex-shrink: 0;
  position: relative;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5eead4;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px #2dd4bf;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.city-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--card-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.report-card {
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.report-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.report-score {
  font-size: 2rem;
  font-weight: 800;
  color: #2dd4bf;
  line-height: 1;
}

.report-items {
  display: grid;
  gap: 0.55rem;
}

.report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.04);
}

.status-pass { color: #34d399; }
.status-warn { color: #fbbf24; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}

.stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
}

.stat-value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #5eead4;
  line-height: 1.2;
}

.stat-label {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.cards-3 {
  display: grid;
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  font-size: 1.35rem;
  background: var(--accent-soft);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
}

.step-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #042f2e;
  background: linear-gradient(135deg, #2dd4bf, #14b8a6);
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Audience */
.audience-grid {
  display: grid;
  gap: 1rem;
}

.audience-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.audience-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #5eead4;
}

.audience-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  margin: 2rem 0 4rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(13, 148, 136, 0.08));
  border: 1px solid rgba(45, 212, 191, 0.25);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-brand {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-dim);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (min-width: 640px) {
  .nav-link {
    display: inline-block;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

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

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .step-num {
    margin: 0 auto 0.5rem;
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .nav-actions .btn-ghost.nav-desktop-only {
    display: none;
  }
}
