:root {
  --primary: #14B8A6;
  --accent: #2A9D8F;
  --ink: #0D1321;
  --paper: #F7F3EA;
  --gold: #B45309;
  --gold-light: #D4A853;
  --bg-primary: var(--paper);
  --bg-secondary: #FFFFFF;
  --bg-dark: var(--ink);
  --text-primary: var(--ink);
  --text-secondary: rgba(13, 19, 33, 0.62);
  --text-muted: rgba(13, 19, 33, 0.42);
  --border: rgba(13, 19, 33, 0.08);
  --radius: 16px;
  --shadow: 0 2px 8px rgba(13, 19, 33, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, "PingFang SC", "HarmonyOS Sans", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 72px;
  padding: 0 24px;
  background: rgba(247, 243, 234, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.15s;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: rgba(13, 19, 33, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
}

.btn-large {
  padding: 14px 28px;
  font-size: 15px;
}

/* Hero */
.hero {
  padding: 100px 0 120px;
  background: radial-gradient(ellipse at 70% 30%, rgba(20, 184, 166, 0.14), transparent 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(20, 184, 166, 0.10);
  color: var(--accent);
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 22px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 16px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

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

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  width: 320px;
  height: 320px;
  color: var(--primary);
  opacity: 0.9;
}

.hero-badge svg {
  width: 100%;
  height: 100%;
}

/* Sections */
.section {
  padding: 100px 0;
}

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

.section-dark {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.92);
}

.section-header {
  margin-bottom: 60px;
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.35);
}

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

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

/* Scene packs */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pack-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s;
}

.pack-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.35);
}

.pack-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.pack-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
}

.pack-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.pack-price {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(20, 184, 166, 0.10);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Modes */
.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.mode-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.mode-card-deep {
  border-color: rgba(20, 184, 166, 0.35);
}

.mode-card h3 {
  font-size: 18px;
  margin: 0 0 16px;
}

.mode-card ul {
  margin: 0;
  padding-left: 20px;
}

.mode-card li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.price-card h3 {
  font-size: 18px;
  margin: 0 0 12px;
}

.price-num {
  font-size: 40px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.price-unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

.price-alt {
  font-size: 14px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin: 0 0 16px;
}

.price-card ul {
  flex: 1;
  margin: 0 0 24px;
  padding-left: 20px;
}

.price-card li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.price-card-premium {
  background: linear-gradient(160deg, #1d1408, var(--ink));
  border: 1px solid rgba(212, 168, 83, 0.45);
  color: rgba(255, 255, 255, 0.92);
}

.price-card-premium .price-num {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-card-premium li,
.price-card-premium .price-alt {
  color: rgba(255, 255, 255, 0.65);
}

.price-tag {
  align-self: flex-start;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-note {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  text-align: center;
}

.cta-title {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 12px;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.section-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 280px;
  margin: 16px 0 0;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
}

/* Legal pages */
.legal-section {
  padding: 80px 0;
}

.legal-container {
  max-width: 780px;
}

.legal-container h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 8px;
}

.legal-date {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.legal-pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    padding: 64px 0 80px;
  }

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

  .hero-title {
    font-size: 40px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-badge {
    width: 200px;
    height: 200px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-primary);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

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

  .menu-toggle {
    display: flex;
  }

  .nav-right .btn {
    display: none;
  }
}
