:root {
  --bg: #08140f;
  --bg-2: #0d1c16;
  --surface: rgba(14, 38, 28, 0.68);
  --surface-solid: #123024;
  --line: rgba(47, 184, 115, 0.16);
  --line-strong: rgba(47, 184, 115, 0.32);
  --text: #f2faf5;
  --muted: #8ea99a;
  --brand: #2db873;
  --brand-2: #1f9a5f;
  --brand-deep: #0d5c3a;
  --glow: rgba(45, 184, 115, 0.22);
  --radius: 18px;
  --shadow: 0 18px 48px rgba(4, 18, 12, 0.35);
  --header-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(820px 460px at 10% -8%, rgba(45, 184, 115, 0.16), transparent 58%),
    radial-gradient(720px 420px at 92% 8%, rgba(31, 154, 95, 0.1), transparent 52%),
    radial-gradient(700px 480px at 60% 100%, rgba(13, 92, 58, 0.16), transparent 58%),
    linear-gradient(180deg, #0a1812 0%, #07140f 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(47, 184, 115, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 184, 115, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 28%, transparent 76%);
}

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

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

button,
input,
textarea {
  font-family: inherit;
}

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

.section {
  padding: 96px 0;
  position: relative;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section-lead {
  margin: 0 auto 48px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
}

.text-center {
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 20, 15, 0.78);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 20, 15, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

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

.nav-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 32, 24, 0.8);
}

.nav-switch a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}

.nav-switch a.is-active {
  color: #042218;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  color: #042218 !important;
  background: linear-gradient(180deg, var(--brand), #12b67f);
  box-shadow: 0 8px 20px rgba(45, 184, 115, 0.2);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-grid.is-tablet {
  grid-template-columns: 0.95fr 1.05fr;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(45, 184, 115, 0.08);
  color: #b8e6cb;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(45, 184, 115, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(45, 184, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 184, 115, 0); }
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
  background: linear-gradient(90deg, #fff 20%, var(--brand) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 28px;
}

.hero-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #cfe6dc;
  font-size: 15px;
}

.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--glow);
  flex-shrink: 0;
}

.download-row,
.support-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.support-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #d7ebe0;
  background: rgba(255, 255, 255, 0.03);
  font-size: 14px;
  font-weight: 600;
}

.support-chip:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.win-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(45, 184, 115, 0.16), rgba(14, 38, 28, 0.4)),
    var(--surface);
}

.win-banner strong {
  display: block;
  font-size: 20px;
  margin: 4px 0;
}

.win-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.win-kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.is-pc .win-banner {
  display: flex;
}

body.is-pc .support-win {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.nav-switch a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #042218;
  background: linear-gradient(180deg, #4dcc88, var(--brand-2));
  box-shadow: 0 10px 24px rgba(45, 184, 115, 0.22);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.hero-note {
  color: var(--muted);
  font-size: 13px;
}

.phone-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.phone-caption {
  position: static;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  filter: blur(8px);
  top: 80px;
}

.phone {
  position: relative;
  width: 286px;
  height: 584px;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(180deg, #1a2c24, #0c1813);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 48px rgba(45, 184, 115, 0.1);
}

.tablet {
  position: relative;
  width: min(540px, 100%);
  aspect-ratio: 16 / 10;
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1a2c24, #0c1813);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 48px rgba(45, 184, 115, 0.1);
}

.tablet .phone-screen {
  border-radius: 12px;
}

.tablet .phone-screen img {
  object-fit: contain;
  background: #f4f7f5;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background: #f4f7f5;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.phone-screen img.is-active {
  opacity: 1;
}

/* Stats / platforms */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 8px;
}

.stat-card,
.platform-card,
.feature-card,
.voice-item,
.price-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.stat-card {
  padding: 22px 18px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 22px;
  color: var(--brand);
  letter-spacing: -0.03em;
}

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

.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.platform-card {
  width: 200px;
  padding: 22px 16px;
  text-align: center;
}

.platform-card svg {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
}

.platform-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 26px 24px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 16px;
  background: rgba(45, 184, 115, 0.1);
  color: var(--brand);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Download */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.qr-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.qr-card {
  padding: 18px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.qr-card img {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
}

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

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  padding: 22px 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::before {
  width: 18px;
  height: 2px;
  top: 8px;
  left: 0;
}

.faq-icon::after {
  width: 2px;
  height: 18px;
  top: 0;
  left: 8px;
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-a {
  display: none;
  padding: 0 36px 22px 4px;
}

.faq-item.is-open .faq-a {
  display: block;
}

.faq-a p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 15px;
}

.contact-cta {
  margin-top: 36px;
  text-align: center;
}

.contact-cta p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* Story */
.story-panel {
  padding: 48px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(45, 184, 115, 0.08), transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
}

.story-panel p {
  max-width: 760px;
  margin: 0 auto 12px;
  color: #c9d8d2;
}

/* Voices */
.voice-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.voice-item {
  padding: 22px 24px;
}

.voice-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.voice-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(45, 184, 115, 0.14);
  color: var(--brand);
  font-weight: 800;
}

.voice-meta strong {
  display: block;
  font-size: 15px;
}

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

.voice-item p {
  margin: 0;
  color: #d5e4de;
  font-size: 15px;
  line-height: 1.75;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-grid-2 {
  grid-template-columns: 1fr 1fr;
  max-width: 820px;
  margin: 0 auto;
}

.price-card {
  padding: 28px 24px;
  position: relative;
}

.price-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(45, 184, 115, 0.22), 0 16px 36px rgba(45, 184, 115, 0.1);
  transform: translateY(-8px);
}

.ribbon {
  position: absolute;
  top: 16px;
  right: -8px;
  background: linear-gradient(90deg, var(--brand), #7dffd0);
  color: #042218;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px 0 0 8px;
}

.price-card h3 {
  margin: 0 0 6px;
}

.price-card .tag {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 18px;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: #d0e0d9;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-card {
  padding: 28px;
}

.contact-card li {
  list-style: none;
  margin: 10px 0;
  color: #d5e4de;
}

.contact-card ul {
  padding: 0;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(7, 20, 15, 0.6);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: var(--brand);
}

.form-msg {
  display: none;
  color: var(--brand);
  font-size: 14px;
}

.form-msg.is-show {
  display: block;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 32px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-grid.is-tablet,
  .download-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 20, 15, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-switch {
    margin-left: auto;
    margin-right: 8px;
  }

  .nav-switch a {
    padding: 6px 10px;
    font-size: 12px;
  }

  .stats,
  .platform-grid,
  .feature-grid,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .phone-stage {
    min-height: 0;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100% - 24px));
  }

  .section {
    padding: 72px 0;
  }

  .hero-points,
  .stats,
  .platform-grid,
  .feature-grid,
  .price-grid,
  .qr-wrap {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 24px;
  }

  .platform-card {
    width: min(200px, 100%);
  }

  .story-panel,
  .contact-card,
  .win-banner,
  .voice-item {
    padding: 20px;
  }

  body.is-pc .win-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  .pulse-dot { animation: none; }
}
