/* ============================================
   Amplify AI — Dynamic Earth-Tone Theme
   Features: parallax, glassmorphism, bento grid,
   text reveals, marquee, before/after slider,
   animated gradient mesh, pipeline flow
   ============================================ */

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

:root {
  --bg: #f5efe6;
  --bg-card: #ece5d9;
  --bg-card-hover: #e4dccf;
  --bg-input: #fff8f0;
  --bg-dark: #3d2b1f;
  --text: #2c1810;
  --text-secondary: #7a6555;
  --text-muted: #a8977f;
  --accent: #c47a3a;
  --accent-light: #e8a060;
  --accent-bg: rgba(196, 122, 58, 0.08);
  --accent-border: rgba(196, 122, 58, 0.18);
  --border: rgba(60, 43, 31, 0.08);
  --border-hover: rgba(196, 122, 58, 0.3);
  --glass-bg: rgba(236, 229, 217, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px rgba(60, 43, 31, 0.06);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --max-w: 1140px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }


/* ============================================
   ANIMATED HERO BACKGROUND MESH
   ============================================ */
.hero-bg-mesh {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}
.mesh-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,122,58,0.25) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orb-drift-1 20s ease-in-out infinite;
}
.mesh-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(228,220,207,0.4) 0%, transparent 70%);
  top: 50%; left: -80px;
  animation: orb-drift-2 25s ease-in-out infinite;
}
.mesh-orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(196,122,58,0.15) 0%, transparent 70%);
  bottom: -50px; right: 20%;
  animation: orb-drift-3 22s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 40px) scale(1.1); }
  66% { transform: translate(30px, -30px) scale(0.95); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -40px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(0.92); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, -30px) scale(1.12); }
}


/* ============================================
   GLASSMORPHISM CARD
   ============================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass-card-dark {
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
}


/* ============================================
   ANIMATED GRADIENT TEXT
   ============================================ */
.gradient-text {
  background: linear-gradient(135deg, #c47a3a 0%, #e8a060 25%, #c47a3a 50%, #d4944e 75%, #c47a3a 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}


/* ============================================
   FLOATING LEAVES
   ============================================ */
.leaf {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  font-size: 18px;
  animation: leaf-float linear infinite;
}
@keyframes leaf-float {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(calc(100vh + 40px)) rotate(360deg); opacity: 0; }
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; border: none; border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition); white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--bg-dark); color: var(--bg);
  box-shadow: 0 2px 8px rgba(60,43,31,0.15);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(60,43,31,0.2); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(60,43,31,0.03); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }
.btn-accent {
  background: var(--accent); color: #fff;
  box-shadow: 0 2px 8px rgba(196,122,58,0.25);
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196,122,58,0.3); }


/* ============================================
   NAV — Enhanced Glassmorphism
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(245,239,230,0.7);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(60,43,31,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(245,239,230,0.88);
  box-shadow: 0 4px 24px rgba(60,43,31,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav-logo-icon {
  width: 32px; height: 32px;
  transition: transform 0.3s ease;
}
.nav-logo:hover .nav-logo-icon { transform: scale(1.08) rotate(-3deg); }
.nav-logo-text {
  font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text);
}

.nav-tabs { display: flex; gap: 4px; }
.nav-tab {
  padding: 8px 18px; font-size: 14px; font-weight: 500; color: var(--text-secondary);
  background: none; border: none; border-radius: 8px; cursor: pointer; transition: all var(--transition);
}
.nav-tab:hover { color: var(--text); background: rgba(60,43,31,0.04); }
.nav-tab.active { color: var(--text); background: rgba(60,43,31,0.06); }

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 4px;
  width: 36px; height: 36px; padding: 8px;
  background: none; border: none; cursor: pointer; border-radius: 8px;
  transition: background var(--transition);
}
.nav-hamburger:hover { background: rgba(60,43,31,0.06); }
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: all 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 16px 16px;
  flex-direction: column; gap: 4px;
  box-shadow: 0 8px 24px rgba(60,43,31,0.12);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-tab {
  padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--text-secondary);
  background: none; border: none; border-radius: 10px; cursor: pointer;
  text-align: left; transition: all var(--transition); font-family: var(--font);
}
.nav-mobile-tab:hover { color: var(--text); background: rgba(60,43,31,0.04); }
.nav-mobile-tab.active { color: var(--text); background: rgba(60,43,31,0.06); font-weight: 600; }


/* ============================================
   TAB CONTENT
   ============================================ */
.tab-content { display: none; position: relative; z-index: 1; }
.tab-content.active { display: block; }


/* ============================================
   HERO — Text Reveals + Parallax
   ============================================ */
.hero {
  padding: 140px 0 80px;
  position: relative;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.hero-left { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  background: var(--accent-bg); border: 1px solid var(--accent-border); border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 28px;
  opacity: 0; animation: badge-enter 0.6s ease 0.2s forwards;
}
@keyframes badge-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: dot-pulse 2s infinite; }
@keyframes dot-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Hero Title — line-by-line reveal */
.hero-title {
  font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 20px; color: var(--text);
}
.hero-title .accent { color: var(--accent); }

.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-word {
  display: inline-block;
  transform: translateY(110%);
  animation: reveal-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal-line:nth-child(1) .reveal-word { animation-delay: 0.3s; }
.reveal-line:nth-child(2) .reveal-word { animation-delay: 0.45s; }
.reveal-line:nth-child(3) .reveal-word { animation-delay: 0.6s; }

@keyframes reveal-up {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}

/* Fade-in for subtitle and CTAs */
.reveal-fade {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-in-up 0.6s ease forwards;
  animation-delay: var(--reveal-delay, 0.75s);
}
@keyframes fade-in-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 17px; color: var(--text-secondary); max-width: 460px;
  margin-bottom: 32px; line-height: 1.7;
}
.hero-sub strong { color: var(--text); }
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }


/* ============================================
   DEMO WINDOW
   ============================================ */
.demo-window-wrap { position: relative; z-index: 2; }
.demo-window {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(60,43,31,0.18), 0 0 0 1px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.demo-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 100px rgba(60,43,31,0.22), 0 0 0 1px rgba(0,0,0,0.08);
}

.demo-titlebar {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  background: #2a2a2a; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-dot { width: 11px; height: 11px; border-radius: 50%; }
.demo-dot.red { background: #ff5f57; }
.demo-dot.yellow { background: #febc2e; }
.demo-dot.green { background: #28c840; }
.demo-titlebar-text { margin-left: 8px; font-size: 13px; color: #888; font-weight: 500; }

.demo-body { padding: 28px 22px; min-height: 320px; position: relative; color: #e4e4e7; display: flex; flex-direction: column; }

/* Demo input with enhanced glow */
.demo-chatgpt-input {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px 18px; font-size: 14px; color: #e4e4e7;
  min-height: 54px; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word;
  transition: border-color 0.3s, box-shadow 0.3s;
  cursor: default; position: relative;
  margin-top: auto;
}
.demo-chatgpt-input.demo-underlined {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 20px rgba(196,122,58,0.12);
  animation: underline-pulse 2s ease-in-out infinite;
}
@keyframes underline-pulse {
  0%, 100% { box-shadow: 0 0 0 1px var(--accent), 0 0 16px rgba(196,122,58,0.1); }
  50% { box-shadow: 0 0 0 1.5px var(--accent), 0 0 24px rgba(196,122,58,0.2); }
}
/* Focus glow when typing */
.demo-chatgpt-input.demo-typing {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 0 20px rgba(255,255,255,0.03);
}

.demo-cursor { color: var(--accent); animation: blink 1s step-end infinite; font-weight: 300; }
@keyframes blink { 50%{opacity:0} }

/* Demo logo */
.demo-amp-logo-img {
  border-radius: 6px;
  background: var(--accent-bg);
  padding: 2px;
  border: 1px solid rgba(196,122,58,0.2);
}

/* Amplify popup in demo */
.demo-amplify-popup {
  position: relative;
  background: linear-gradient(145deg, #2d2d2d 0%, #252525 100%);
  border: 1px solid rgba(196,122,58,0.3);
  border-radius: 16px;
  padding: 0;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              margin-bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(196,122,58,0.08), inset 0 1px 0 rgba(255,255,255,0.04);
  z-index: 10;
  overflow: hidden;
}
.demo-amplify-popup::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(196,122,58,0.4), transparent 40%, transparent 60%, rgba(196,122,58,0.3));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.demo-amplify-popup::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(196,122,58,0.06) 0%, transparent 100%);
  border-radius: 16px 16px 0 0;
  pointer-events: none;
}
.demo-amplify-popup.popup-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  max-height: 400px;
  padding: 18px;
  margin-bottom: 14px;
}
.demo-amplify-popup.popup-visible::before {
  opacity: 1;
  animation: border-shimmer 3s ease-in-out infinite;
}
@keyframes border-shimmer {
  0%, 100% { background-position: 0% 50%; opacity: 0.7; }
  50% { background-position: 100% 50%; opacity: 1; }
}

.demo-amp-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; position: relative; z-index: 1; }
.demo-amp-brand {
  font-size: 15px; font-weight: 700; color: var(--accent-light);
  letter-spacing: -0.01em;
}
.demo-amp-badge {
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 100px;
  background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(74,222,128,0.08));
  color: #4ade80; margin-left: auto;
  border: 1px solid rgba(74,222,128,0.2);
  animation: badge-glow 2s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 4px rgba(74,222,128,0.1); }
  50% { box-shadow: 0 0 10px rgba(74,222,128,0.2); }
}

.demo-amp-msg { font-size: 13px; color: #aaa; margin-bottom: 14px; line-height: 1.55; position: relative; z-index: 1; }
.demo-amp-msg strong { color: #e4e4e7; }

.demo-amp-quality {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  position: relative; z-index: 1;
}
.demo-qual-item { text-align: center; flex: 1; }
.demo-qual-label { display: block; font-size: 9px; color: #666; font-weight: 600; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.demo-qual-score { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.demo-qual-bad .demo-qual-score { color: #ef4444; text-shadow: 0 0 12px rgba(239,68,68,0.3); }
.demo-qual-good .demo-qual-score { color: #4ade80; text-shadow: 0 0 12px rgba(74,222,128,0.3); }
.demo-qual-arrow { color: #555; flex-shrink: 0; }

.demo-amp-techniques { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; position: relative; z-index: 1; }
.technique-tag {
  font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 100px;
  background: rgba(196,122,58,0.1); color: var(--accent-light);
  border: 1px solid rgba(196,122,58,0.2);
  transition: all 0.2s ease;
}
.popup-visible .technique-tag {
  animation: tag-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.popup-visible .technique-tag:nth-child(1) { animation-delay: 0.05s; }
.popup-visible .technique-tag:nth-child(2) { animation-delay: 0.1s; }
.popup-visible .technique-tag:nth-child(3) { animation-delay: 0.15s; }
.popup-visible .technique-tag:nth-child(4) { animation-delay: 0.2s; }
.popup-visible .technique-tag:nth-child(5) { animation-delay: 0.25s; }
@keyframes tag-pop {
  0% { opacity: 0; transform: scale(0.8) translateY(4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.demo-amp-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 13px 22px;
  background: linear-gradient(135deg, var(--accent) 0%, #d4944e 50%, var(--accent) 100%);
  background-size: 200% auto;
  color: #fff; border: none; border-radius: 12px;
  font-size: 14px; font-weight: 700; cursor: pointer; font-family: var(--font);
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(196,122,58,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative; z-index: 1; letter-spacing: 0.01em; overflow: hidden;
}
.demo-amp-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(196,122,58,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  background-position: right center;
}
.demo-amp-btn:active { transform: scale(0.97); }
.demo-amp-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  border-radius: 12px;
  animation: btn-shine 3s ease-in-out infinite;
}
@keyframes btn-shine {
  0% { left: -100%; }
  60%, 100% { left: 150%; }
}

.demo-status {
  margin-top: 12px; font-size: 11px; color: #666; text-align: center; font-style: italic;
}


/* ============================================
   QUIZ FLASHCARDS
   ============================================ */
.demo-quiz {
  position: relative;
  background: linear-gradient(145deg, #2d2d2d 0%, #252525 100%);
  border: 1px solid rgba(196,122,58,0.3);
  border-radius: 16px;
  margin-bottom: 14px;
  max-height: 0;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}
.demo-quiz.quiz-visible {
  opacity: 1;
  max-height: 500px;
  padding: 16px 18px 18px;
  pointer-events: auto;
}

.quiz-top-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.quiz-logo-row { display: flex; align-items: center; gap: 8px; }
.quiz-title-text {
  font-size: 14px; font-weight: 700; color: var(--accent-light);
  letter-spacing: -0.01em;
}
.quiz-step-badge {
  font-size: 11px; font-weight: 700; color: #888;
  background: rgba(255,255,255,0.06);
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 0.03em;
}

.quiz-progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #4ade80);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-card-area {
  position: relative;
  min-height: 120px;
}

.quiz-question {
  font-size: 14px; font-weight: 600; color: #e4e4e7;
  margin-bottom: 12px; line-height: 1.4;
  animation: quiz-fade-in 0.3s ease both;
}
@keyframes quiz-fade-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes quiz-fade-out {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-12px); }
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  animation: quiz-fade-in 0.3s ease 0.05s both;
}

.quiz-opt-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px; font-weight: 500; color: #ccc;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  transition: all 0.2s ease;
  line-height: 1.35;
}
.quiz-opt-btn:hover {
  background: rgba(196,122,58,0.12);
  border-color: rgba(196,122,58,0.3);
  color: #fff;
  transform: translateY(-1px);
}
.quiz-opt-btn:active { transform: scale(0.97); }
.quiz-opt-btn.quiz-opt-selected {
  background: rgba(196,122,58,0.2);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(196,122,58,0.15);
}

.quiz-opt-btn.quiz-opt-other {
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
  border-style: dashed;
  font-style: italic;
}
.quiz-opt-btn.quiz-opt-other:hover { color: var(--accent-light); }

.quiz-other-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  animation: quiz-fade-in 0.2s ease both;
}
.quiz-other-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,122,58,0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px; color: #e4e4e7;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.quiz-other-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(196,122,58,0.15);
}
.quiz-other-input::placeholder { color: #555; }
.quiz-other-confirm {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  border: none; border-radius: 8px;
  color: #fff; cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.quiz-other-confirm:hover { background: var(--accent-light); transform: scale(1.05); }

/* Generating state */
.demo-generating {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px 18px;
  animation: quiz-fade-in 0.3s ease both;
}
.demo-generating-dots { display: flex; gap: 6px; }
.demo-generating-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: gen-bounce 1.4s ease-in-out infinite;
}
.demo-generating-dots span:nth-child(2) { animation-delay: 0.16s; }
.demo-generating-dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes gen-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
.demo-generating-text { font-size: 13px; color: #aaa; font-weight: 500; }

.demo-quiz-result-tags {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px;
  justify-content: center;
}


/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 100px 0; }
.section-alt { background: rgba(60,43,31,0.025); }

.section-title {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700; text-align: center; letter-spacing: -0.02em; margin-bottom: 14px; color: var(--text);
}
.section-title .accent { color: var(--accent); }
.section-sub { font-size: 17px; color: var(--text-secondary); text-align: center; max-width: 520px; margin: 0 auto 48px; }


/* ============================================
   WORKFLOW — Pipeline Flow Dots
   ============================================ */
.workflow-diagram { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.workflow-step {
  border-radius: var(--radius-lg); padding: 28px 22px; text-align: center;
  width: 240px; transition: all 0.3s ease;
}
.workflow-step:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.workflow-icon-box {
  width: 52px; height: 52px; margin: 0 auto 16px; background: var(--accent-bg);
  border: 1px solid var(--accent-border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.workflow-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.workflow-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* Flow dots — animated pipeline particles */
.workflow-arrow { flex-shrink: 0; display: flex; align-items: center; }
.flow-dots {
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px;
}
.flow-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: flow-pulse 1.8s ease-in-out infinite;
}
.flow-dots span:nth-child(1) { animation-delay: 0s; }
.flow-dots span:nth-child(2) { animation-delay: 0.3s; }
.flow-dots span:nth-child(3) { animation-delay: 0.6s; }
@keyframes flow-pulse {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.2); }
}


/* ============================================
   MARQUEE TICKER
   ============================================ */
.marquee-section {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(60,43,31,0.015);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 12px;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--accent); }
.marquee-dot {
  color: var(--accent);
  font-size: 20px;
  padding: 0 4px;
  opacity: 0.5;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}


/* ============================================
   BENTO GRID — Asymmetric Techniques
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.bento-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  background: linear-gradient(135deg, rgba(196,122,58,0.04) 0%, transparent 50%);
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--border-hover);
}
.bento-card:hover::after { opacity: 1; }

/* Card 1: Tall (spans 2 rows) */
.bento-tall { grid-row: span 2; }
/* Card 4: Wide (spans 2 columns) */
.bento-wide { grid-column: span 2; }
.bento-wide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  height: 100%;
}

.tech-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  color: var(--accent);
  flex-shrink: 0;
}

.bento-card h4 {
  font-size: 16px; font-weight: 700; color: var(--text); margin: 0;
}
.bento-card p {
  font-size: 13px; color: var(--text-secondary); line-height: 1.55; margin: 0;
}

.tech-example {
  display: block;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 12px; line-height: 1.5;
  color: var(--accent);
  background: rgba(196,122,58,0.06);
  border: 1px solid rgba(196,122,58,0.12);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: auto;
  white-space: normal;
  word-break: break-word;
}

/* Signal bars visualization in tall card */
.tech-visual {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 48px;
  margin-top: auto;
  padding-top: 12px;
}
.signal-bar {
  flex: 1;
  height: var(--bar-h, 50%);
  background: linear-gradient(180deg, var(--accent), rgba(196,122,58,0.3));
  border-radius: 3px 3px 0 0;
  animation: signal-grow 2s ease-out both;
  transform-origin: bottom;
}
@keyframes signal-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}


/* ============================================
   VISION + FEATURES
   ============================================ */
.vision-layout { display: grid; grid-template-columns: 180px 1fr; gap: 56px; align-items: start; }
.vision-title {
  font-family: var(--font-display); font-size: 52px; font-weight: 700;
  line-height: 1.12; letter-spacing: 0.12em; color: var(--accent);
}
.vision-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-top: 20px; }

.vision-section-label {
  font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 20px;
}
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-card {
  border-radius: var(--radius-lg);
  padding: 24px 20px; transition: all 0.3s ease; position: relative;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.feature-num {
  position: absolute; top: 10px; right: 14px; font-family: var(--font-display);
  font-size: 32px; font-weight: 700; color: rgba(196,122,58,0.1); line-height: 1;
}
.feature-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.feature-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }


/* ============================================
   BEFORE / AFTER — Interactive Slider
   ============================================ */
.compare-slider-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.compare-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(60,43,31,0.1);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}

/* After pane: sits in normal flow, sets the height */
.compare-pane-after {
  position: relative;
  z-index: 1;
  width: 100%;
}
.compare-pane-after .compare-pane-inner {
  background: linear-gradient(135deg, #2d2118 0%, #1e1510 100%);
  color: #e4e4e7;
  padding: 32px 28px;
  min-height: 300px;
}

/* Before pane: absolutely overlaid, clipped by width */
.compare-pane-before {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 50%;
  z-index: 2;
  overflow: hidden;
}
.compare-pane-before .compare-pane-inner {
  background: var(--bg-card);
  padding: 32px 28px;
  /* Match the full slider width so text doesn't reflow when dragging */
  width: 800px;
  max-width: calc(100vw - 64px);
  height: 100%;
  box-sizing: border-box;
}

.compare-label {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 12px; border-radius: 6px; margin-bottom: 16px;
}
.compare-label-before { background: rgba(200,50,50,0.08); color: #b94a4a; }
.compare-label-after { background: rgba(74,222,128,0.12); color: #4ade80; }

.compare-content {
  padding: 16px; border-radius: 10px; margin-bottom: 20px;
  min-height: 100px;
}
.compare-pane-before .compare-content {
  background: rgba(60,43,31,0.04);
}
.compare-pane-after .compare-content {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.compare-content code {
  font-family: 'SF Mono','Fira Code', monospace; font-size: 13px; line-height: 1.6;
  white-space: pre-wrap;
}
.compare-pane-before .compare-content code { color: var(--text-secondary); }
.compare-pane-after .compare-content code { color: #ccc; }

.compare-result-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.compare-pane-after .compare-result-label { color: #888; }
.compare-bar-track { height: 6px; background: rgba(60,43,31,0.06); border-radius: 3px; margin-bottom: 8px; overflow: hidden; }
.compare-pane-after .compare-bar-track { background: rgba(255,255,255,0.06); }
.compare-bar { height: 100%; border-radius: 3px; width: 0; transition: width 1.5s cubic-bezier(0.16,1,0.3,1); }
.compare-bar-before { background: #c25050; }
.compare-bar-after { background: linear-gradient(90deg, var(--accent), #4ade80); }
.compare-score { font-size: 12px; font-weight: 600; }
.compare-score-before { color: #b94a4a; }
.compare-score-after { color: #4ade80; }

/* Drag Handle */
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 4px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: ew-resize;
  transform: translateX(-50%);
}
.compare-handle-line {
  flex: 1;
  width: 2px;
  background: var(--accent);
  opacity: 0.8;
}
.compare-handle-knob {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 2px 12px rgba(196,122,58,0.4);
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.compare-handle:hover .compare-handle-knob,
.compare-handle.dragging .compare-handle-knob {
  transform: scale(1.15);
  box-shadow: 0 4px 20px rgba(196,122,58,0.5);
}


/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta .btn {
  box-shadow: 0 4px 20px rgba(196,122,58,0.3), 0 0 0 1px rgba(196,122,58,0.1);
  padding: 12px 20px;
  font-size: 14px;
  border-radius: 100px;
}


/* ============================================
   WAITLIST
   ============================================ */
.waitlist-page { padding: 120px 0 80px; }
.waitlist-hero { text-align: center; margin-bottom: 40px; }

.waitlist-counter {
  display: inline-flex; gap: 0; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 12px;
}
.counter-item { padding: 16px 32px; text-align: center; }
.counter-num { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text); }
.counter-label { font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.counter-divider { width: 1px; background: var(--border); }

.waitlist-auth { max-width: 440px; margin: 0 auto; }
.auth-card {
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}
.auth-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 24px; text-align: center; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-optional { font-weight: 400; color: var(--text-muted); }
.form-field input {
  width: 100%; padding: 12px 16px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: 15px; font-family: var(--font); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(196,122,58,0.1); }
.form-field input::placeholder { color: var(--text-muted); }

.auth-footer { text-align: center; font-size: 13px; color: var(--text-secondary); margin-top: 20px; }
.link-btn { background: none; border: none; color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 600; text-decoration: underline; }

/* Dashboard */
.dashboard-card { text-align: center; }
.dashboard-header { margin-bottom: 28px; }
.dashboard-header h3 { margin-top: 12px; font-family: var(--font-display); font-size: 22px; }

.dashboard-stats {
  display: flex; gap: 0; background: rgba(60,43,31,0.03); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px;
}
.dash-stat { flex: 1; padding: 16px 8px; }
.dash-stat:not(:last-child) { border-right: 1px solid var(--border); }
.dash-stat-num { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 2px; color: var(--accent); }
.dash-stat-label { font-size: 11px; color: var(--text-secondary); font-weight: 500; }

.dash-section { margin-bottom: 24px; text-align: left; }
.dash-section h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.dash-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }

.code-display {
  display: flex; align-items: center; gap: 8px; background: rgba(60,43,31,0.04);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px;
}
.code-display code { flex: 1; font-family: 'Courier New', monospace; font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: 1px; }

#dash-logout { margin-top: 8px; }


/* ============================================
   UPDATES
   ============================================ */
.updates-page { padding: 120px 0 80px; }
.updates-timeline { max-width: 640px; margin: 0 auto; }
.update-item { display: flex; gap: 20px; margin-bottom: 36px; }
.update-date { text-align: center; flex-shrink: 0; width: 50px; }
.update-month { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; }
.update-day { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; color: var(--text); }
.update-line { width: 2px; background: var(--border); flex-shrink: 0; border-radius: 1px; }
.update-card {
  flex: 1; border-radius: var(--radius-lg); padding: 24px;
}
.update-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.update-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.update-tag {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 3px 10px; border-radius: 6px; margin-bottom: 10px;
}
.update-tag-milestone { background: rgba(196,122,58,0.1); color: var(--accent); }
.update-tag-feature { background: rgba(50,160,80,0.08); color: #2d8f4e; }
.update-tag-idea { background: rgba(80,120,200,0.08); color: #5078c8; }


/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-secondary); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }


/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Staggered children */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.06s; }
.fade-up:nth-child(3) { transition-delay: 0.12s; }
.fade-up:nth-child(4) { transition-delay: 0.18s; }
.fade-up:nth-child(5) { transition-delay: 0.24s; }
.fade-up:nth-child(6) { transition-delay: 0.3s; }
.fade-up:nth-child(7) { transition-delay: 0.36s; }


/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet landscape (<=1024px) */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .hero { padding: 120px 0 64px; }
  .bento-grid { gap: 12px; }
}

/* Tablet portrait (<=900px): stack hero, 2-col grids */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-tall { grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
  .bento-wide-inner { grid-template-columns: 1fr; }
  .vision-layout { grid-template-columns: 1fr; gap: 28px; }
  .vision-title { display: flex; gap: 6px; font-size: 28px; letter-spacing: 0.08em; justify-content: center; }
  .compare-pane-before .compare-pane-inner { width: 100vw; max-width: none; }
  .compare-pane-after .compare-pane-inner,
  .compare-pane-before .compare-pane-inner { padding: 24px 20px; }
}

/* Tablet spacing (<=768px) */
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .workflow-diagram { flex-direction: column; }
  .flow-dots { transform: rotate(90deg); }
  .workflow-step { width: 100%; max-width: 320px; }
  .waitlist-counter { flex-direction: column; }
  .counter-divider { width: 100%; height: 1px; }
  .demo-body { padding: 20px 16px; min-height: 280px; }
  .demo-chatgpt-input { padding: 14px 16px; font-size: 13px; }
  .quiz-options { gap: 6px; }
  .quiz-opt-btn { padding: 9px 12px; font-size: 11px; }
  .compare-handle-knob { width: 32px; height: 32px; }
  .compare-handle-knob svg { width: 12px; height: 12px; }
}

/* Large phone (<=600px): hamburger, single columns */
@media (max-width: 600px) {
  .nav-tabs { display: none; }
  .nav-hamburger { display: flex; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .bento-wide-inner { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(28px, 7vw, 36px); }
  .hero-sub { font-size: 15px; }
  .section-title { font-size: clamp(24px, 5vw, 32px); }
  .section-sub { font-size: 15px; }
  .marquee-item { font-size: 13px; }
  .compare-slider { border-radius: var(--radius-lg); }
  .floating-cta { bottom: 16px; right: 16px; }
}

/* Phone (<=480px) */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 100px 0 48px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .auth-card { padding: 28px 20px; }
  .demo-amplify-popup.popup-visible { padding: 14px; }
  .demo-quiz.quiz-visible { padding: 14px 14px 16px; }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-opt-btn { padding: 12px 14px; font-size: 13px; }
  .demo-amp-quality { flex-direction: column; gap: 8px; padding: 10px 14px; }
  .demo-qual-arrow { transform: rotate(90deg); }
  .counter-item { padding: 12px 20px; }
  .counter-num { font-size: 22px; }
  .compare-pane-after .compare-pane-inner,
  .compare-pane-before .compare-pane-inner { padding: 20px 16px; }
  .mesh-orb { filter: blur(60px); opacity: 0.25; }
}


/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-page {
  padding: 120px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--text);
  margin-bottom: 4px;
}
.legal-updated {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 18px;
  color: var(--text);
  margin: 32px 0 12px;
}
.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page li {
  margin-bottom: 6px;
}
