/* SeshMap Website — Design Tokens + Styles
   Translated from lib/theme.ts for brand consistency */

:root {
  /* Core palette */
  --bg-deep: #0F0F1E;
  --bg-primary: #1A1A2E;
  --bg-secondary: #16213E;
  --bg-card: #1F2940;
  --bg-elevated: #253352;
  --bg-surface: #1C2438;
  --accent: #F4A261;
  --accent-glow: rgba(244, 162, 97, 0.4);
  --accent-muted: rgba(244, 162, 97, 0.18);
  --accent-light: #F7C08A;
  --accent-dark: #D88A42;
  --text-primary: #F5F0E8;
  --text-secondary: #A0A8B8;
  --text-muted: #6B7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(244, 162, 97, 0.30);
  /* Status */
  --success: #22C55E;
  --warning: #F5A623;
  --error: #E74C3C;
  /* Strain types */
  --indica: #7B2FBE;
  --sativa: #F5A623;
  --hybrid: #22C55E;
  --indica-muted: rgba(123, 47, 190, 0.18);
  --sativa-muted: rgba(245, 166, 35, 0.18);
  --hybrid-muted: rgba(34, 197, 94, 0.18);
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-xxl: 24px;
  --space-xxxl: 32px;
  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-card: 20px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  /* Max width */
  --max-width: 1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-primary));
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 30, 0.85);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--space-xxl);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
}

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

.nav-brand span {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xxl);
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); opacity: 1; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700 !important;
  font-size: 0.875rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
  opacity: 1;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav.scrolled {
  background: rgba(15, 15, 30, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-links a.active {
  color: var(--accent);
}

/* ── Hero ── */
.hero {
  padding: 140px var(--space-xxl) 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-leaf {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--space-xxl);
  filter: drop-shadow(0 0 60px var(--accent-glow));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -2px;
  margin-bottom: var(--space-sm);
}

.hero h1 .accent { color: var(--accent); }

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-xxxl);
  line-height: 1.7;
}

.hero-free {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-lg);
  letter-spacing: 0.5px;
}

/* ── Store Badges ── */
.store-badges {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.store-badge {
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 8px;
  overflow: hidden;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.store-badge svg {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

/* ── Buttons ── */
.hero-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--accent);
  color: var(--bg-primary);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
  color: var(--bg-primary);
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border-light);
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--text-primary);
  opacity: 1;
}

/* ── Sections ── */
.section {
  padding: 80px var(--space-xxl);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Phone Showcase ── */
.app-preview {
  padding-top: 20px;
  padding-bottom: 40px;
}

.phone-showcase {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.phone-frame {
  width: 260px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 32px;
  padding: 16px 12px;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.phone-frame:hover {
  transform: translateY(-8px);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(244, 162, 97, 0.08);
}

.phone-screen {
  background: var(--bg-deep);
  border-radius: 20px;
  padding: 20px 16px;
  min-height: 400px;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.screen-icon {
  font-size: 1.25rem;
}

.screen-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.screen-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.screen-strain-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.screen-strain-type {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.indica-tag {
  background: var(--indica-muted);
  color: #C084FC;
}

.sativa-tag {
  background: var(--sativa-muted);
  color: #FBBF24;
}

.hybrid-tag {
  background: var(--hybrid-muted);
  color: #34D399;
}

.screen-rating {
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.screen-detail {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.screen-meta {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.screen-match {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.screen-search {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Terpene bars in phone mockup */
.terpene-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.terp-name {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  min-width: 80px;
  flex-shrink: 0;
}

.terp-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.terp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 3px;
  transition: width 1s ease;
}

.terp-pct {
  font-size: 0.625rem;
  color: var(--accent);
  font-weight: 600;
  min-width: 28px;
  text-align: right;
}

/* ── Discover Sub-Tab Mockups ── */
.screen-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.screen-tab {
  flex: 1;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  cursor: default;
}
.screen-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Terpene card grid */
.terp-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.terp-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}
.terp-card-emoji {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.terp-card-name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.terp-card-vibe {
  font-size: 0.5625rem;
  color: var(--text-muted);
}

/* Media / Watch mockup */
.media-section {
  margin-bottom: 10px;
}
.media-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.media-row {
  display: flex;
  gap: 8px;
}
.media-thumb {
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.media-thumb svg {
  display: block;
}

/* ── Feature Cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xxl);
}

.feature-card {
  background: rgba(31, 41, 64, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-xxxl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-card .emoji {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  display: block;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── How It Works / Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xxxl);
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: var(--space-xxl);
}

.step-number {
  width: 56px;
  height: 56px;
  line-height: 56px;
  border-radius: 50%;
  background: var(--accent-muted);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto var(--space-xl);
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Stats Row ── */
.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 48px;
  background: rgba(31, 41, 64, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Privacy Highlight ── */
.privacy-section {
  background: rgba(244, 162, 97, 0.08);
  border: 1px solid rgba(244, 162, 97, 0.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxxl);
}

.privacy-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.privacy-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Strain Types ── */
.strain-types {
  display: flex;
  justify-content: center;
  gap: var(--space-xxxl);
  flex-wrap: wrap;
}

.strain-pill {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid;
}

.strain-pill.indica {
  background: var(--indica-muted);
  color: #C084FC;
  border-color: rgba(123, 47, 190, 0.3);
}

.strain-pill.sativa {
  background: var(--sativa-muted);
  color: #FBBF24;
  border-color: rgba(245, 166, 35, 0.3);
}

.strain-pill.hybrid {
  background: var(--hybrid-muted);
  color: #34D399;
  border-color: rgba(34, 197, 94, 0.3);
}

.strain-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.strain-pill.indica .strain-dot { background: var(--indica); }
.strain-pill.sativa .strain-dot { background: var(--sativa); }
.strain-pill.hybrid .strain-dot { background: var(--hybrid); }

/* ── CTA Bottom ── */
.cta-bottom {
  text-align: center;
  padding: 80px var(--space-xxl);
}

.cta-bottom h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.cta-bottom p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xxxl);
}

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px var(--space-xxl);
  text-align: center;
}

.footer-brand {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-xxl);
  margin-bottom: var(--space-lg);
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Legal Pages ── */
.legal-layout {
  padding: 100px var(--space-xxl) 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}

.legal-toc {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: var(--space-lg);
}

.toc-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s;
}

.toc-toggle:hover { border-color: var(--accent); }

.toc-arrow {
  float: right;
  transition: transform 0.3s;
}

.toc-toggle.open .toc-arrow { transform: rotate(180deg); }

.toc-list {
  list-style: none;
  padding: 0;
  counter-reset: toc-counter;
}

.toc-list li {
  margin-bottom: var(--space-sm);
  counter-increment: toc-counter;
}

.legal-toc a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: var(--space-md);
  transition: color 0.2s, border-color 0.2s;
}

.legal-toc a:hover {
  color: var(--accent);
  border-left-color: var(--accent);
  opacity: 1;
}

.legal-toc a.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.legal-content .last-updated,
.legal-content .legal-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-xl);
}

.legal-section strong {
  color: var(--text-primary);
}

.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.legal-section p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.legal-section ul {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xxl);
}

.legal-section li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-xs);
}

/* ── Age Gate Modal ── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 15, 30, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
}

.age-gate.hidden { display: none; }

.age-gate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.age-gate-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin: var(--space-xxl) 0 var(--space-md);
}

.age-gate-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: var(--space-xxxl);
  line-height: 1.6;
}

.age-gate-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.age-gate-disclaimer {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: var(--space-xxl);
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-layout { grid-template-columns: 200px 1fr; gap: 32px; }
  .phone-showcase { gap: 24px; }
  .phone-frame { width: 230px; }
  .phone-screen { min-height: 360px; padding: 16px 12px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(40px);
    padding: var(--space-xxl);
    gap: var(--space-lg);
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: block; }

  .hero { padding: 120px var(--space-lg) 40px; }
  .hero h1 { font-size: 2.75rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-leaf { width: 100px; height: 100px; }

  .phone-showcase {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .phone-frame { width: 260px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-xxl); }
  .section { padding: 60px var(--space-lg); }

  .privacy-section { padding: 32px var(--space-xxl); }
  .privacy-grid { grid-template-columns: 1fr; gap: var(--space-xxl); }

  .strain-types { gap: var(--space-lg); }

  .stats-row {
    flex-direction: column;
    gap: var(--space-xxl);
    padding: 32px;
  }
  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    padding: 80px var(--space-lg) 40px;
  }
  .legal-toc {
    position: static;
    max-height: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-xxl);
    margin-bottom: var(--space-xxl);
    padding-right: 0;
  }

  .toc-toggle { display: block; }

  .toc-list {
    display: none;
    margin-top: var(--space-lg);
  }

  .toc-list.open { display: block; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.25rem; letter-spacing: -1px; }
  .hero-tagline { font-size: 1rem; }
  .store-badge svg { width: 130px; height: 44px; }
  .stat-number { font-size: 2rem; }
  .phone-frame { width: 240px; }
}
