/* ═══════════════════════════════════════════════
   Vornel Study — Main Stylesheet
   study.vornel.net
   ═══════════════════════════════════════════════ */

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

/* ─── DESIGN TOKENS ─── */
:root {
  --bg-base: #080b12;
  --bg-surface: #0d1117;
  --bg-elevated: #111827;
  --bg-card: #141b27;
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(99,102,241,0.3);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --accent-violet: #7c3aed;
  --accent-indigo: #4f46e5;
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-orange: #f97316;
  --glow-violet: rgba(124,58,237,0.25);
  --glow-indigo: rgba(79,70,229,0.2);
  --glow-blue: rgba(37,99,235,0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-violet), var(--accent-indigo));
  border-radius: 3px;
}

/* ─── NOISE TEXTURE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ─── ORB GLOWS ─── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: orb-float 8s ease-in-out infinite alternate;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 70%); top: -200px; left: -150px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%); top: 100px; right: -100px; animation-delay: 3s; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 70%); top: 400px; left: 30%; animation-delay: 6s; }

@keyframes orb-float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-30px) scale(1.05); }
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 24px;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(8, 11, 18, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── DUAL LOGO BRAND LOCKUP ── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

/* Vornel parent section */
.nav-brand-parent {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 12px;
  border-right: 1px solid rgba(255,255,255,0.12);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-brand-parent:hover { opacity: 1; }

.nav-brand-parent img {
  height: 26px;
  width: auto;
  filter: brightness(0.9);
}

/* Vornel Study child section */
.nav-brand-child {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
}

.nav-brand-child img {
  height: 40px;
  width: auto;
}



/* ── NAV LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-indigo));
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: center;
}

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

/* ── CTA PILL ── */
.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-indigo));
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 0 20px var(--glow-violet);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--glow-violet);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #a78bfa;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.6); }
}

.hero h1 {
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fade-up 0.6s ease 0.1s both;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 40%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.7;
  animation: fade-up 0.6s ease 0.2s both;
}

.hero-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fade-up 0.6s ease 0.3s both;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-indigo), var(--accent-blue));
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 30px rgba(124,58,237,0.4);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(124,58,237,0.55);
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--text-primary);
  background: rgba(255,255,255,0.04);
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  animation: fade-up 0.6s ease 0.4s both;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 3px;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fade-in 1s ease 1s both;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: var(--accent-indigo);
  border-radius: 2px;
  animation: scroll-wheel 1.6s ease infinite;
}
@keyframes scroll-wheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.25; }
}

/* ══════════════════════════════════════
   GLOBAL SECTION STYLES
══════════════════════════════════════ */
section { padding: 100px 24px; position: relative; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #818cf8;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── GLOW DIVIDER ─── */
.glow-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), rgba(79,70,229,0.5), transparent);
}

/* ─── GRID BG (hero) ─── */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ══════════════════════════════════════
   TICKER
══════════════════════════════════════ */
.ticker-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  background: rgba(0,0,0,0.2);
}

.ticker {
  display: flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.ticker-item span { color: #a78bfa; }

/* ══════════════════════════════════════
   BENTO FEATURE GRID
══════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.04) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-card:hover {
  border-color: rgba(124,58,237,0.28);
  transform: translateY(-2px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.bento-card:hover::before { opacity: 1; }

.bento-card.col-8  { grid-column: span 8; }
.bento-card.col-4  { grid-column: span 4; }
.bento-card.col-6  { grid-column: span 6; }
.bento-card.col-5  { grid-column: span 5; }
.bento-card.col-7  { grid-column: span 7; }
.bento-card.col-12 { grid-column: span 12; }

/* ── Card elements ── */
.card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(79,70,229,0.1));
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #818cf8;
}

.card-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ══════════════════════════════════════
   FEATURE MOCKUPS
══════════════════════════════════════ */

/* Upload */
.upload-mockup {
  margin-top: 24px;
  border: 2px dashed rgba(124,58,237,0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  background: rgba(124,58,237,0.04);
  cursor: pointer;
  transition: all 0.3s;
}
.upload-mockup:hover { border-color: rgba(124,58,237,0.55); background: rgba(124,58,237,0.08); }

.upload-files { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

.file-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(79,70,229,0.12);
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: #a78bfa;
  animation: chip-appear 0.4s ease both;
}

@keyframes chip-appear {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Streak */
.streak-display { margin-top: 20px; display: flex; gap: 6px; align-items: flex-end; }

.streak-day {
  flex: 1;
  background: rgba(124,58,237,0.12);
  border-radius: 6px;
  min-height: 20px;
  transition: all 0.3s;
}
.streak-day.active {
  background: linear-gradient(to top, var(--accent-violet), #818cf8);
  box-shadow: 0 0 12px rgba(124,58,237,0.45);
}

.streak-fire { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.fire-num {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.xp-bar-wrap {
  margin-top: 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
}
.xp-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
  border-radius: 100px;
  width: 72%;
  animation: xp-glow 2s ease-in-out infinite alternate;
}
@keyframes xp-glow {
  0%   { box-shadow: 0 0 8px rgba(124,58,237,0.4); }
  100% { box-shadow: 0 0 20px rgba(6,182,212,0.5); }
}

/* Flashcard */
.flashcard-wrap { margin-top: 20px; perspective: 1000px; }

.flashcard {
  width: 100%; height: 140px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}
.flashcard.flipped { transform: rotateY(180deg); }

.card-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.card-front {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(79,70,229,0.08));
  border: 1px solid rgba(124,58,237,0.2);
}
.card-back {
  background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(37,99,235,0.08));
  border: 1px solid rgba(6,182,212,0.2);
  transform: rotateY(180deg);
}
.card-face-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px; font-weight: 600; }
.card-face-text  { font-size: 14px; font-weight: 600; color: var(--text-primary); }

/* Question mockup */
.question-mockup {
  margin-top: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.q-header {
  padding: 12px 16px;
  background: rgba(124,58,237,0.1);
  border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 600;
  color: #a78bfa;
  display: flex; align-items: center; gap: 8px;
}
.q-body { padding: 16px; }
.q-text { font-size: 13px; font-weight: 600; margin-bottom: 12px; line-height: 1.5; }
.q-option {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  margin-bottom: 6px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.q-option:hover    { background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.2); }
.q-option.correct  { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: #34d399; }
.q-option.incorrect{ background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.2); color: #f87171; }
.q-letter {
  width: 20px; height: 20px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}

/* Planner */
.planner-wrap { margin-top: 20px; }
.planner-day {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.planner-day:last-child { border-bottom: none; }
.day-name { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; width: 30px; }
.day-tasks { display: flex; gap: 6px; flex: 1; }
.task-chip { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; }
.task-math    { background: rgba(124,58,237,0.15); color: #a78bfa; }
.task-science { background: rgba(6,182,212,0.12);  color: #67e8f9; }
.task-turkish { background: rgba(245,158,11,0.12); color: #fcd34d; }
.task-history { background: rgba(16,185,129,0.12); color: #6ee7b7; }
.day-done { margin-left: auto; }

/* Summary mockup */
.summary-mockup {
  margin-top: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
}
.summary-line { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.summary-dot { width: 5px; height: 5px; background: #818cf8; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.summary-typing { border-right: 2px solid #818cf8; animation: blink 1s step-end infinite; }

/* Achievements */
.achievement-row { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.achievement {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600;
  color: #fbbf24;
}

/* ══════════════════════════════════════
   HOW IT WORKS STEPS
══════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.step-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color 0.3s, transform 0.3s;
}
.step-card:hover { border-color: rgba(124,58,237,0.28); transform: translateY(-4px); }
.step-num {
  font-size: 64px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(79,70,229,0.1));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px; display: block;
}
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-desc  { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ══════════════════════════════════════
   FREE SECTION
══════════════════════════════════════ */
.free-section { padding: 80px 24px; }

.free-card {
  max-width: 900px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(124,58,237,0.12) 0%, rgba(37,99,235,0.08) 50%, rgba(79,70,229,0.12) 100%);
  border: 1px solid rgba(124,58,237,0.22);
  border-radius: var(--radius-2xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.free-card::before {
  content: '';
  position: absolute; top: -100px; left: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.free-card::after {
  content: '';
  position: absolute; bottom: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.free-emoji  { font-size: 56px; margin-bottom: 24px; display: block; animation: float 3s ease-in-out infinite; }
.free-title  { font-size: clamp(36px, 6vw, 60px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px; }
.free-sub    { font-size: 18px; color: var(--text-secondary); max-width: 480px; margin: 0 auto 32px; line-height: 1.7; }

.free-checks { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.free-check  { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-secondary); }
.check-icon  { color: #34d399; }

/* ══════════════════════════════════════
   WAITLIST
══════════════════════════════════════ */
.waitlist-section { padding: 100px 24px; text-align: center; position: relative; }

.waitlist-card { max-width: 560px; margin: 0 auto; }

.waitlist-form { display: flex; gap: 10px; margin-top: 32px; }

.waitlist-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-input:focus {
  border-color: rgba(124,58,237,0.45);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}

.waitlist-success {
  display: none;
  padding: 36px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.22);
  border-radius: var(--radius-lg);
  text-align: center;
  animation: fade-up 0.5s ease both;
}
.waitlist-success.show { display: block; }
.success-icon  { font-size: 52px; margin-bottom: 16px; display: block; }
.success-title { font-size: 22px; font-weight: 800; color: #34d399; margin-bottom: 10px; }
.success-sub   { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
.waitlist-note { margin-top: 16px; font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════
   ECOSYSTEM
══════════════════════════════════════ */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.eco-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
}
.eco-card:hover { border-color: rgba(124,58,237,0.28); transform: translateY(-2px); }
.eco-card.active { border-color: rgba(124,58,237,0.38); background: rgba(124,58,237,0.06); }
.eco-badge        { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; margin-bottom: 16px; }
.eco-badge.beta   { background: rgba(124,58,237,0.15); color: #a78bfa; }
.eco-badge.soon   { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.eco-name  { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.eco-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { border-top: 1px solid var(--border); padding: 48px 24px; }

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { height: 26px; }

.footer-divider {
  width: 1px; height: 20px;
  background: rgba(255,255,255,0.1);
}

.footer-product { font-size: 13px; font-weight: 600; color: var(--text-muted); }
.footer-copy    { font-size: 12px; color: var(--text-muted); }
.footer-links   { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

/* ══════════════════════════════════════
   ANIMATIONS & UTILITIES
══════════════════════════════════════ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }

.spin { animation: spin 1s linear infinite; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   RESPONSIVE & MOBILE
══════════════════════════════════════ */

/* ── NAV RIGHT (CTA + Hamburger container) ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.hamburger:hover {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.3);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
  opacity: 0;
  border-top: 1px solid transparent;
}
.mobile-menu.open {
  max-height: 400px;
  opacity: 1;
  border-top-color: var(--border);
}
.mobile-menu ul {
  list-style: none;
  padding: 12px 20px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu ul li a {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu ul li a:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.mobile-menu ul li a.mobile-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(79,70,229,0.08));
  border: 1px solid rgba(124,58,237,0.2);
  color: #a78bfa;
  font-weight: 700;
  margin-top: 8px;
  text-align: center;
}

/* ══════════════════════════════════════
   BETA APPLICATION FORM
══════════════════════════════════════ */
.beta-form {
  max-width: 760px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.req { color: #f87171; margin-left: 2px; }

.form-optional {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  outline: none;
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.04);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-select option { background: #0f1117; color: var(--text-primary); }

.form-textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.6;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.btn-submit {
  width: 100%;
  max-width: 380px;
  justify-content: center;
  font-size: 16px;
  padding: 16px 32px;
}

/* ══════════════════════════════════════
   BREAKPOINTS
══════════════════════════════════════ */

/* ── 1024px: Tablet landscape ── */
@media (max-width: 1024px) {
  .section-inner { padding: 80px 32px; }
  .bento-grid { gap: 14px; }
  h1 { font-size: clamp(40px, 8vw, 72px); }
}

/* ── 900px: Tablet portrait — show hamburger ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-badge { font-size: 12px; padding: 8px 14px; }

  .bento-card.col-8,
  .bento-card.col-4,
  .bento-card.col-7,
  .bento-card.col-5,
  .bento-card.col-6 { grid-column: span 12; }

  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .waitlist-card { padding: 48px 32px; }
}

/* ── 768px: Mobile landscape ── */
@media (max-width: 768px) {
  .section-inner { padding: 60px 20px; }

  .hero { min-height: 100svh; padding: 100px 24px 80px; }
  .hero-content { max-width: 100%; }
  .hero-cta-group { flex-direction: column; gap: 12px; }
  .hero-cta-group a { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .scroll-indicator { display: none; }

  .form-row { grid-template-columns: 1fr; gap: 14px; }

  .eco-card { padding: 24px 20px; }
  .free-card { padding: 40px 28px; }
  .free-checks { grid-template-columns: 1fr 1fr; }

  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-brand { justify-content: center; }
}

/* ── 600px: Mobile portrait ── */
@media (max-width: 600px) {
  .nav-badge { display: none; }

  h1 { font-size: clamp(36px, 10vw, 56px); }
  .section-title { font-size: clamp(26px, 7vw, 38px); }

  .bento-grid { gap: 12px; }
  .bento-card { padding: 22px 18px; }

  .waitlist-card { padding: 36px 20px; border-radius: 20px; }
  .waitlist-section { padding: 60px 16px; }

  .ticker-item { padding: 0 16px; font-size: 12px; }

  .steps-grid { gap: 12px; }
  .step-card { padding: 24px 20px; }

  .eco-card { padding: 20px 18px; }

  .contact-grid { padding: 0 16px 60px; }

  .btn-submit { max-width: 100%; }
}

/* ── 480px: Small phones ── */
@media (max-width: 480px) {
  .nav-brand-parent { display: none; }
  .nav-brand-child img { height: 32px; }

  .hero-eyebrow { font-size: 12px; padding: 8px 14px; }
  .hero-sub { font-size: 15px; }
  .hero-stat-num { font-size: 20px; }

  .free-checks { grid-template-columns: 1fr; }
  .achievement-row { grid-template-columns: 1fr 1fr; }

  .planner-wrap { gap: 6px; }
  .day-tasks { flex-wrap: wrap; gap: 4px; }

  .q-option { padding: 8px 10px; font-size: 12px; }

  .footer-copy { font-size: 12px; }
}

/* ── 380px: Very small devices ── */
@media (max-width: 380px) {
  .nav-inner { padding: 0 14px; }
  .section-inner { padding: 50px 14px; }
  .hero { padding: 90px 14px 60px; }
  .bento-card { padding: 18px 14px; }
  .waitlist-card { padding: 28px 16px; }
}

