/* ════════════════════════════════════════════════════════════
   Tooveo — Design System
   Fonts: Plus Jakarta Sans (display) · Inter (body) · JetBrains Mono (mono)
   ════════════════════════════════════════════════════════════ */

/* ─── CSS Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  /* ─── Modern Premium Palette (HSL-based) ─── */
  --bg-h:         240;
  --bg-s:         10%;
  --bg-l:         3.5%;
  --bg:           hsl(var(--bg-h), var(--bg-s), var(--bg-l));
  --bg2:          hsl(var(--bg-h), var(--bg-s), 6%);
  --bg3:          hsl(var(--bg-h), var(--bg-s), 9%);
  --bg4:          hsl(var(--bg-h), var(--bg-s), 12%);
  
  --surface-h:    240;
  --surface-s:    10%;
  --surface-l:    10%;
  --surface:      hsl(var(--surface-h), var(--surface-s), var(--surface-l));
  --surface2:     hsl(var(--surface-h), var(--surface-s), 14%);
  
  --text:         hsl(0, 0%, 98%);
  --text2:        hsl(240, 5%, 70%);
  --text3:        hsl(240, 5%, 45%);
  
  --accent-h:     250;
  --accent-s:     85%;
  --accent-l:     65%;
  --accent:       hsl(var(--accent-h), var(--accent-s), var(--accent-l));
  --accent2:      hsl(var(--accent-h), var(--accent-s), 75%);
  --accent3:      hsl(var(--accent-h), var(--accent-s), 85%);
  --accent-dim:   hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.1);
  --accent-glow:  hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.25);
  
  --gradient:     linear-gradient(135deg, hsl(250, 85%, 65%) 0%, hsl(270, 85%, 65%) 50%, hsl(290, 85%, 65%) 100%);
  
  --green:        hsl(142, 70%, 50%);
  --green-dim:    hsla(142, 70%, 50%, 0.1);
  --red:          hsl(0, 85%, 60%);
  --red-dim:      hsla(0, 85%, 60%, 0.1);
  --amber:        hsl(35, 90%, 55%);
  --amber-dim:    hsla(35, 90%, 55%, 0.1);
  --blue:         hsl(217, 90%, 60%);
  
  --border:       hsla(0, 0%, 100%, 0.06);
  --border2:      hsla(0, 0%, 100%, 0.10);
  --border3:      hsla(0, 0%, 100%, 0.16);
  
  /* ─── Typography & Spacing ─── */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  
  --nav-h:        72px;
  --max-w:        1200px;
  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  
  --shadow-sm:    0 2px 4px rgba(0,0,0,0.4);
  --shadow-md:    0 8px 16px rgba(0,0,0,0.5);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.6);
  --shadow-glow:  0 0 40px hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.15);
  
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Light Theme Override ─────────────────────────────────── */
body.theme-light {
  --bg-h:         240;
  --bg-s:         5%;
  --bg-l:         98%;
  --bg:           hsl(var(--bg-h), var(--bg-s), var(--bg-l));
  --bg2:          hsl(var(--bg-h), var(--bg-s), 95%);
  --bg3:          hsl(var(--bg-h), var(--bg-s), 90%);
  --bg4:          hsl(var(--bg-h), var(--bg-s), 85%);
  
  --surface:      hsl(var(--bg-h), var(--bg-s), 96%);
  --surface2:     hsl(var(--bg-h), var(--bg-s), 92%);
  
  --text:         hsl(240, 10%, 4%);
  --text2:        hsl(240, 5%, 35%);
  --text3:        hsl(240, 5%, 60%);
  
  --accent:       hsl(250, 80%, 55%);
  --accent2:      hsl(250, 80%, 65%);
  --accent3:      hsl(250, 80%, 75%);
  --accent-dim:   hsla(250, 80%, 55%, 0.08);
  --accent-glow:  hsla(250, 80%, 55%, 0.15);
  
  --border:       hsla(240, 10%, 4%, 0.06);
  --border2:      hsla(240, 10%, 4%, 0.10);
  --border3:      hsla(240, 10%, 4%, 0.16);
  
  --shadow-sm:    0 2px 4px rgba(0,0,0,0.05);
  --shadow-md:    0 8px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 16px 48px rgba(0,0,0,0.12);
  --shadow-glow:  0 0 40px hsla(250, 80%, 55%, 0.10);
}

/* ─── Base Styles ────────────────────────────────────────────── */
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.4s ease, color 0.4s ease;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent2); }
::selection { background: var(--accent); color: #fff; }
img { max-width: 100%; display: block; border-radius: var(--radius); }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; transition: var(--transition); outline: none; }
input, select, textarea { font-family: var(--font-body); outline: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text3); }

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 24px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text3); }
p { color: var(--text2); line-height: 1.7; font-weight: 400; }
code, pre { font-family: var(--font-mono); }


/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}
.hidden { display: none !important; }

/* ─── Gradient Text ──────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION — MARKETING
   ════════════════════════════════════════════════════════════ */
.nav-marketing {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 500;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
body.theme-light .nav-marketing {
  background: rgba(250,250,250,0.85);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo:hover { opacity: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 6px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link:hover {
  color: var(--text);
  opacity: 1;
}
.nav-link.active {
  color: var(--accent);
}
.nav-divider {
  width: 1px;
  height: 20px;
  background: var(--border2);
  margin: 0 8px;
  flex-shrink: 0;
}
.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text2);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.nav-icon-btn:hover {
  background: var(--surface);
  border-color: var(--border2);
  color: var(--text);
}
.btn-nav-signin {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  background: none;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  transition: color var(--transition);
}
.btn-nav-signin:hover { color: var(--text); }
.btn-nav-cta {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: box-shadow var(--transition), opacity var(--transition);
}
.btn-nav-cta:hover {
  box-shadow: 0 0 20px var(--accent-glow);
  opacity: 0.92;
}
.nav-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  border: 2px solid var(--border2);
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.nav-avatar:hover { border-color: var(--accent2); }

/* ─── Nav Dropdown ───────────────────────────────────────────── */
.nav-dropdown {
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  right: 28px;
  width: 220px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 600;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.nav-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.nav-user-info {
  padding: 10px 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.nav-user-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.nav-user-email {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
  font-family: var(--font-body);
}
.nav-user-plan {
  display: inline-flex;
  margin-top: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent2);
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.2);
  padding: 2px 8px;
  border-radius: 20px;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border: none;
  background: none;
}
.nav-dropdown-item:hover {
  background: var(--surface2);
  color: var(--text);
  opacity: 1;
}
.nav-dropdown-sep {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 0 24px var(--accent-glow);
  opacity: 0.92;
}
.btn-ghost {
  background: transparent;
  color: var(--accent2);
  border: 1px solid var(--border2);
}
.btn-ghost:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
}
.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.2);
}
.btn-danger:hover {
  background: rgba(239,68,68,0.2);
}
.btn-sm {
  font-size: 13px;
  padding: 7px 14px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 4px 24px var(--accent-glow);
}
.btn-hero-primary:hover {
  box-shadow: 0 8px 40px rgba(99,102,241,0.4);
  opacity: 0.93;
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text2);
  background: transparent;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-hero-ghost:hover {
  color: var(--text);
  border-color: var(--border3);
  background: var(--surface);
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════ */
.hero {
  padding-top: var(--nav-h);
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,0.25) 0%, rgba(139,92,246,0.15) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}
.hero > * { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 28px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--accent2);
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.hero-badge span { color: var(--accent); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 400;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding-top: 16px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text3);
}

/* ════════════════════════════════════════════════════════════
   LANGUAGE MARQUEE
   ════════════════════════════════════════════════════════════ */
.lang-showcase {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--bg2);
}
.lang-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--border2);
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--text2);
  background: var(--surface);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════════ */
.section {
  padding: 96px 0;
}
.section-center {
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.section-desc {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--text2);
  max-width: 480px;
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════
   FEATURE CARDS
   ════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: left;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
}
.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent2);
}
.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent2);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text2);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS — STEPS
   ════════════════════════════════════════════════════════════ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(12.5% + 22px);
  right: calc(12.5% + 22px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-dim), var(--border2), var(--accent-dim));
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 2px solid transparent;
  background-origin: border-box;
  box-shadow: inset 0 0 0 1px var(--border2), 0 0 0 1px var(--surface);
  background: var(--surface2);
  margin-bottom: 16px;
}
.step-num-inner {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}
.step-item h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.step-item p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════════
   MODE CARDS
   ════════════════════════════════════════════════════════════ */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.mode-highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.mode-highlight-card:hover {
  transform: translateY(-2px);
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
}
.mode-highlight-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 32px var(--accent-glow);
}
.mode-icon-lg {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent2);
}
.mode-icon-lg svg {
  width: 26px;
  height: 26px;
}
.mode-highlight-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.mode-highlight-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 18px;
}
.mode-tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent2);
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.2);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  color: var(--amber);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 18px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.testimonial-role {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text2);
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: var(--gradient);
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  margin-bottom: 6px;
}
.pricing-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text2);
  margin-left: 2px;
}
.pricing-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
}
.pricing-feat::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-feat.dim {
  color: var(--text3);
}
.pricing-feat.dim::before {
  content: '—';
  background: transparent;
  color: var(--text3);
  font-size: 13px;
  border: 1px solid var(--border2);
}
.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.pricing-btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.pricing-btn-primary:hover {
  box-shadow: 0 6px 28px rgba(99,102,241,0.4);
  opacity: 0.93;
}

.pricing-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}
.pricing-btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}
.pricing-btn-ghost:hover {
  background: var(--surface2);
  border-color: var(--border3);
  color: var(--text);
}

/* ════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 680px;
  margin: 36px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color var(--transition);
  gap: 16px;
}
.faq-q:hover { color: var(--accent2); }
.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text3);
  flex-shrink: 0;
  transition: transform 0.2s ease, color var(--transition);
}
.faq-item.open .faq-q::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text2);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s ease;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-a a { color: var(--accent2); text-decoration: underline; }

/* ════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════ */
.cta-section {
  background: var(--gradient);
  padding: 80px;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}
.cta-section p {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  position: relative;
}
.cta-section .btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: box-shadow var(--transition), opacity var(--transition);
}
.cta-section .btn-cta-white:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  opacity: 0.95;
}

/* ════════════════════════════════════════════════════════════
   FEATURE COMPARISON TABLE
   ════════════════════════════════════════════════════════════ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text2);
}
.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border2);
}
.compare-th-plan {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.compare-table tbody tr:hover td {
  background: var(--surface);
}
.compare-check {
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
}
.compare-no {
  color: var(--text3);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 60px 0 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.footer-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text2);
  max-width: 220px;
  line-height: 1.6;
}
.footer-col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text2);
  margin-bottom: 8px;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--text);
  opacity: 1;
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text3);
}

/* ════════════════════════════════════════════════════════════
   AUTH MODAL
   ════════════════════════════════════════════════════════════ */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.auth-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.auth-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text3);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.auth-close:hover {
  background: var(--surface2);
  color: var(--text);
}
.auth-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.auth-sub {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 6px;
}
.auth-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 4px 12px;
  border-radius: 20px;
  margin: 6px auto 20px;
  display: flex;
  justify-content: center;
}
.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  margin-bottom: 16px;
}
.auth-google:hover {
  background: var(--surface2);
  border-color: var(--border3);
}
.auth-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 16px;
}
.auth-sep::before,
.auth-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-input {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.auth-input::placeholder { color: var(--text3); }
.auth-forgot {
  text-align: right;
  margin-bottom: 10px;
}
.auth-forgot a {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text3);
  cursor: pointer;
  text-decoration: underline;
}
.auth-forgot a:hover { color: var(--accent2); }
.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  margin-bottom: 12px;
  transition: opacity var(--transition), box-shadow var(--transition);
}
.auth-submit:hover {
  opacity: 0.92;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.auth-error {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--red);
  text-align: center;
  min-height: 18px;
  margin-bottom: 4px;
}
.auth-toggle {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text3);
  text-align: center;
}
.auth-toggle a {
  color: var(--accent2);
  cursor: pointer;
  text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════
   PAYWALL MODAL
   ════════════════════════════════════════════════════════════ */
.paywall-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.paywall-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.paywall-box {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.paywall-icon {
  font-size: 40px;
  margin-bottom: 18px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

/* ════════════════════════════════════════════════════════════
   SECTION DIVIDER
   ════════════════════════════════════════════════════════════ */
.section-divider {
  height: 1px;
  background: var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════
   ABOUT / CONTACT / LEGAL PAGE HELPERS
   ════════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  text-align: center;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
  color: var(--accent2);
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 20px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 18px;
}
.page-hero p {
  font-size: 17px;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-point-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent2);
}
.about-point h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.about-point p {
  font-size: 14px;
  line-height: 1.65;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.contact-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 6px;
}
.contact-input {
  display: block;
  width: 100%;
  padding: 11px 14px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.contact-input::placeholder { color: var(--text3); }
textarea.contact-input {
  min-height: 120px;
  resize: vertical;
}
.legal-content {
  max-width: 740px;
  margin: 0 auto;
  padding-bottom: 80px;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  margin-top: 40px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-content ul, .legal-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-content li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 36px;
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}
.fade-up-d1 { animation-delay: 0.1s; }
.fade-up-d2 { animation-delay: 0.2s; }
.fade-up-d3 { animation-delay: 0.3s; }
.fade-up-d4 { animation-delay: 0.4s; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .features-grid     { grid-template-columns: 1fr 1fr; }
  .modes-grid        { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid      { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .steps-row         { grid-template-columns: 1fr 1fr; }
  .steps-row::before { display: none; }
  .footer-inner      { grid-template-columns: 1fr 1fr; }
  .about-grid        { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .cta-section       { padding: 56px 32px; }
  .cta-section h2    { font-size: 32px; }
}
@media (max-width: 600px) {
  .features-grid  { grid-template-columns: 1fr; }
  .steps-row      { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 8px; text-align: center; }
  .hero-title     { font-size: clamp(36px, 10vw, 52px); }
  .hero-actions   { flex-direction: column; align-items: center; }
  .hero-stats     { gap: 24px; flex-wrap: wrap; }
  .nav-links      { gap: 0; }
  .cta-section    { padding: 40px 20px; }
}

/* ════════════════════════════════════════════════════════════
   LANGUAGE PICKER — Nav (marketing pages)
   ════════════════════════════════════════════════════════════ */
.nav-lang-wrap {
  position: relative;
}
.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  color: var(--text2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-lang-btn:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-dim);
}
.lang-flag {
  font-size: 15px;
  line-height: 1;
}
.lang-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-lang-btn svg {
  opacity: 0.5;
  flex-shrink: 0;
}

.nav-lang-dd {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 268px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 500;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.nav-lang-dd.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.lang-dd-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  margin-bottom: 6px;
  color: var(--text3);
}
.lang-dd-search-wrap svg { flex-shrink: 0; }
.lang-dd-search {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 12px;
  font-family: var(--font-body);
  width: 100%;
}
.lang-dd-search::placeholder { color: var(--text3); }

.lang-dd-list {
  max-height: 260px;
  overflow-y: auto;
}
.lang-dd-list::-webkit-scrollbar { width: 4px; }
.lang-dd-list::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.lang-dd-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 8px;
  border: none;
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}
.lang-dd-item:hover { background: var(--surface2); }
.lang-dd-item.active { background: var(--accent-dim); }
.lang-dd-flag {
  font-size: 16px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.lang-dd-name {
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  flex: 1;
}
.lang-dd-native {
  font-size: 11px;
  color: var(--text3);
  font-family: var(--font-body);
}
.lang-dd-item.active .lang-dd-name { color: var(--accent); }
.lang-dd-item.active .lang-dd-native { color: var(--accent3); }

/* Light theme adjustments */
body.theme-light .nav-lang-dd {
  background: var(--bg2);
  border-color: var(--border2);
}
body.theme-light .lang-dd-search-wrap {
  background: var(--bg3);
}

/* ════════════════════════════════════════════════════════════
   MOBILE ENHANCEMENTS
   ════════════════════════════════════════════════════════════ */

/* ── Hamburger button (hidden on desktop) ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--text);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: background var(--transition);
}
.nav-hamburger:hover { background: var(--bg3); }
.nav-hamburger svg { display: block; }

/* ── Language dropdown — responsive width ── */
.nav-lang-dd { width: min(268px, 90vw) !important; }

/* ── Tap target improvements ── */
.nav-icon-btn  { min-width: 44px; min-height: 44px; }
.nav-avatar    { min-width: 36px; min-height: 36px; }
.btn-nav-signin, .btn-nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  /* ── Show hamburger, hide desktop nav-links ── */
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 32px;
    gap: 0;
    z-index: 998;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-links.mobile-open { display: flex; }

  .nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 16px 4px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    display: block;
  }
  .nav-link:hover { color: var(--accent); }

  .nav-divider { display: none; }

  /* Theme + lang in a row inside mobile drawer */
  .nav-mobile-utils {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 4px;
    border-bottom: 1px solid var(--border);
  }

  /* Auth buttons full-width in drawer */
  #nav-guest {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
  }
  .btn-nav-signin {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    justify-content: center;
    border-radius: var(--radius);
    border: 1px solid var(--border2);
    background: none;
    color: var(--text);
  }
  .btn-nav-cta {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    justify-content: center;
  }
  .nav-user-row {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    align-items: flex-start;
  }

  /* Nav inner — push hamburger to right */
  .nav-inner {
    padding: 0 16px;
    justify-content: space-between;
  }

  /* ── Hero improvements ── */
  .hero-section { padding: 0 16px; }
  .hero-title   { font-size: clamp(30px, 9vw, 48px); }
  .hero-sub     { font-size: 15px; }
  .hero-actions { gap: 12px; }
  .btn-hero-primary, .btn-hero-ghost {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 15px;
  }
  .hero-stats { justify-content: center; }

  /* ── Section padding ── */
  .section { padding: 64px 16px; }
  .section-title { font-size: clamp(24px, 7vw, 36px); }

  /* ── Auth modal ── */
  .auth-overlay { padding: 12px; align-items: flex-end; }
  .auth-box {
    width: 100%;
    max-width: 100%;
    padding: 28px 20px 32px;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
  }

  /* ── Paywall ── */
  .paywall-overlay { padding: 16px; align-items: flex-end; }
  .paywall-box {
    width: 100%;
    max-width: 100%;
    padding: 28px 20px 32px;
    border-radius: 20px 20px 0 0;
  }
  .paywall-actions { flex-direction: column; gap: 10px; }
  .paywall-actions .btn { width: 100%; justify-content: center; min-height: 48px; }

  /* ── Pricing grid ── */
  .pricing-grid { max-width: 100%; padding: 0 0; }

  /* ── Footer ── */
  .footer-inner { gap: 24px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 12px; }
  .section { padding: 48px 12px; }
  .hero-title { font-size: clamp(26px, 8vw, 40px); }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 22px; }
}


/* ════════════════════════════════════════════════════════════
   UI ENHANCEMENTS — Marketing & shared page polish
   ════════════════════════════════════════════════════════════ */

/* ── Marketing nav: gradient accent line at bottom ───────── */
.nav-marketing {
  position: relative;
}
.nav-marketing::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(99,102,241,0.3) 25%,
    rgba(168,85,247,0.4) 50%,
    rgba(99,102,241,0.3) 75%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Section dividers: gradient fade instead of flat ──────── */
.section-divider {
  background: linear-gradient(90deg,
    transparent 0%,
    var(--border2) 20%,
    var(--border2) 80%,
    transparent 100%
  );
}

/* ── Hero badge: subtle glow pulse ───────────────────────── */
@keyframes badge-shimmer {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.0); }
  50%       { box-shadow: 0 0 14px rgba(99,102,241,0.2); }
}
.hero-badge {
  animation: badge-shimmer 3s ease-in-out infinite;
}

/* ── Hero glow: larger, more vibrant ─────────────────────── */
.hero-glow {
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(99,102,241,0.3) 0%,
    rgba(139,92,246,0.18) 35%,
    rgba(168,85,247,0.08) 60%,
    transparent 75%
  );
}

/* ── Hero stats: vertical dividers between items ─────────── */
.hero-stat {
  position: relative;
}
.hero-stat + .hero-stat::before {
  content: '';
  position: absolute;
  left: -24px; /* centered in the 48px gap */
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  width: 1px;
  background: var(--border2);
}

/* ── Feature cards: icon gradient fill + stronger hover ───── */
.feature-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 1px var(--border2);
}
.feature-card:hover .feature-icon-wrap {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}
.feature-card:hover .feature-icon-wrap svg {
  stroke: #fff;
}
.feature-icon-wrap {
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* ── Steps: hover circle glow + lift ─────────────────────── */
.step-item {
  transition: transform 0.2s ease;
}
.step-item:hover {
  transform: translateY(-4px);
}
.step-item:hover .step-num {
  box-shadow:
    inset 0 0 0 1px var(--accent),
    0 0 16px rgba(99,102,241,0.3);
}
.step-num {
  transition: box-shadow 0.2s ease;
}

/* ── Mode cards: stronger featured glow animation ─────────── */
@keyframes featured-glow-pulse {
  0%, 100% { box-shadow: 0 0 28px rgba(99,102,241,0.25); }
  50%       { box-shadow: 0 0 48px rgba(99,102,241,0.45); }
}
.mode-highlight-card.featured {
  animation: featured-glow-pulse 3s ease-in-out infinite;
}
.mode-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.mode-highlight-card:hover .mode-icon-lg {
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
  color: #fff;
}
.mode-icon-lg {
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* ── Testimonial cards: quote accent + hover elevation ────── */
.testimonial-card {
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.12;
  font-style: italic;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--border2);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
}

/* ── Pricing: featured card animated shimmer border ──────── */
@keyframes pricing-border-shimmer {
  0%, 100% { box-shadow: 0 0 30px rgba(99,102,241,0.28); }
  50%       { box-shadow: 0 0 52px rgba(99,102,241,0.48); }
}
.pricing-card.featured {
  animation: pricing-border-shimmer 3s ease-in-out infinite;
}
.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pricing-card:not(.featured):hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  border-color: var(--border2);
}
.pricing-card.featured:hover {
  transform: translateY(-3px);
}

/* ── Pricing primary button: lift on hover ───────────────── */
.pricing-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.45);
  opacity: 1;
}
.pricing-btn-primary {
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}

/* ── FAQ: background tint on hover, smoother animation ────── */
.faq-item {
  transition: background 0.15s ease;
  border-radius: var(--radius);
}
.faq-q {
  padding: 20px 8px;
}
.faq-item:hover .faq-q {
  color: var(--text);
}
.faq-item.open .faq-q {
  color: var(--accent2);
}
.faq-a {
  padding-left: 8px;
  padding-right: 8px;
}

/* ── CTA section: shimmer orb + button lift ──────────────── */
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  opacity: 1;
}
.cta-section .btn-cta-white {
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}

/* ── Footer links: arrow hint on hover ───────────────────── */
.footer-col a:hover {
  color: var(--accent2);
  padding-left: 4px;
}
.footer-col a {
  transition: color var(--transition), padding-left 0.15s ease;
}

/* ── Lang pills: accent tint on hover ────────────────────── */
.lang-pill {
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.lang-pill:hover {
  border-color: rgba(99,102,241,0.3);
  background: var(--accent-dim);
  color: var(--accent2);
}

/* ── Auth submit: lift on hover ──────────────────────────── */
.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(99,102,241,0.4);
  opacity: 1;
}
.auth-submit {
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}

/* ── Google sign-in button: lift + border glow on hover ──── */
.auth-google:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}
.auth-google {
  transition: background var(--transition), border-color var(--transition),
              transform 0.15s ease, box-shadow 0.15s ease;
}

/* ── Nav CTA button: lift ─────────────────────────────────── */
.btn-nav-cta:hover {
  transform: translateY(-1px);
  opacity: 1;
}
.btn-nav-cta {
  transition: box-shadow var(--transition), opacity var(--transition), transform 0.15s ease;
}

/* ── Hero primary button: lift ───────────────────────────── */
.btn-hero-primary:hover {
  transform: translateY(-2px);
  opacity: 1;
}
.btn-hero-primary {
  transition: box-shadow var(--transition), opacity var(--transition), transform 0.15s ease;
}

/* ── Scroll-reveal: smoother fade animation ──────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── Footer social icons ─────────────────────────────────── */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: color var(--transition), border-color var(--transition);
}
.footer-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Annual billing toggle ───────────────────────────────── */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.billing-toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: color var(--transition);
}
.billing-toggle-label.active { color: var(--text); }
.billing-switch {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.billing-switch input { opacity: 0; width: 0; height: 0; }
.billing-switch-track {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  transition: background var(--transition);
}
.billing-switch input:checked + .billing-switch-track { background: var(--accent); }
.billing-switch-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  pointer-events: none;
}
.billing-switch input:checked ~ .billing-switch-thumb { transform: translateX(20px); }
.billing-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  padding: 2px 8px;
  letter-spacing: 0.02em;
}

/* ── Onboarding welcome banner ───────────────────────────── */
.onboarding-banner {
  background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(168,85,247,.08));
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 20px;
  position: relative;
}
.onboarding-banner h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.onboarding-banner p {
  font-size: 13px;
  color: var(--text2);
  margin: 0 0 14px;
  line-height: 1.6;
}
.onboarding-steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.onboarding-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
}
.onboarding-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.onboarding-dismiss {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text2);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.onboarding-dismiss:hover { color: var(--text); background: var(--surface-hover); }

/* ── Limit warning banner ────────────────────────────────── */
.limit-warning-banner {
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.limit-warning-banner svg { color: #f59e0b; flex-shrink: 0; }
.limit-warning-banner a { color: var(--accent); text-decoration: underline; }

/* ── Product demo section ────────────────────────────────── */
.demo-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 800px;
  margin: 40px auto 0;
}
.demo-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.demo-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.demo-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.demo-frame {
  padding: 28px 28px 24px;
}
.demo-step {
  display: none;
}
.demo-step.active { display: block; }
.demo-step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.demo-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.demo-step-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(99,102,241,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.demo-step-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 3px;
}
.demo-step-text p {
  font-size: 13px;
  color: var(--text2);
  margin: 0;
  line-height: 1.55;
}
.demo-output-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 20px;
}
.demo-output-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text2);
}
.demo-output-row:last-child { border-bottom: none; }
.demo-output-badge {
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.demo-output-badge.done { background: rgba(16,185,129,.15); color: #10b981; }
.demo-output-badge.gen  { background: rgba(99,102,241,.15); color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ════════════════════════════════════════════════════════════ */
@keyframes cookie-slide-up {
  from { transform: translateY(calc(100% + 24px)); opacity: 0; }
  to   { transform: translateY(0);                  opacity: 1; }
}
@keyframes cookie-slide-down {
  from { transform: translateY(0);                  opacity: 1; }
  to   { transform: translateY(calc(100% + 24px)); opacity: 0; }
}
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 24px));
  width: calc(100% - 48px);
  max-width: 780px;
  z-index: 9000;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: none;
}
.cookie-banner.visible {
  animation: cookie-slide-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.cookie-banner.hiding {
  animation: cookie-slide-down 0.35s cubic-bezier(0.4, 0, 1, 1) forwards;
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}
.cookie-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--accent-dim);
  border: 1px solid rgba(99,102,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.cookie-content {
  flex: 1;
  min-width: 0;
}
.cookie-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.cookie-text {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.55;
  margin: 0;
}
.cookie-text a {
  color: var(--accent2);
  text-decoration: none;
  white-space: nowrap;
}
.cookie-text a:hover { text-decoration: underline; opacity: 1; }
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn-decline {
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  background: none;
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  white-space: nowrap;
}
.cookie-btn-decline:hover {
  color: var(--text);
  border-color: var(--border3);
  background: var(--surface2);
}
.cookie-btn-accept {
  padding: 8px 18px;
  border-radius: var(--radius);
  border: none;
  background: var(--gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: opacity var(--transition), transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 12px rgba(99,102,241,0.35);
  white-space: nowrap;
}
.cookie-btn-accept:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.45);
}
/* Light theme adjustments */
body.theme-light .cookie-banner {
  background: var(--bg2);
}
/* Responsive */
@media (max-width: 600px) {
  .cookie-banner {
    bottom: 16px;
    width: calc(100% - 24px);
    border-radius: var(--radius-lg);
  }
  .cookie-inner {
    flex-wrap: wrap;
    padding: 16px;
    gap: 12px;
  }
  .cookie-icon-wrap { display: none; }
  .cookie-content { min-width: 100%; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* ── Hero: subtle dot-grid texture overlay ───────────────── */
.hero-section {
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(99,102,241,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero-section > * { position: relative; z-index: 1; }

/* ── Auth modal entrance animation ──────────────────────── */
@keyframes modal-scale-in {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.auth-overlay.open .auth-box {
  animation: modal-scale-in 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.paywall-overlay.open .paywall-box {
  animation: modal-scale-in 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
