/* ==========================================================
   Learn With Aadhi — Premium SaaS Landing
   ========================================================== */

:root {
  --bg: #07070d;
  --bg-2: #0b0b16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5fa;
  --text-dim: #a4a4b8;
  --text-muted: #6b6b80;
  --primary: #8b5cf6;
  --primary-2: #ec4899;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --grad-brand: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f59e0b 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(236, 72, 153, 0.9));
  --grad-text: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #f9a8d4 100%);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 20px 60px -20px rgba(139, 92, 246, 0.6);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-feature-settings: "cv02","cv03","cv04","cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ===== Background ===== */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #14142b 0%, var(--bg) 60%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: #8b5cf6; top: -120px; left: -100px; }
.orb-2 { width: 600px; height: 600px; background: #ec4899; top: 30%; right: -180px; animation-delay: -6s; }
.orb-3 { width: 480px; height: 480px; background: #06b6d4; bottom: -160px; left: 30%; animation-delay: -12s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.08); }
  66% { transform: translate(-40px, 40px) scale(0.95); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 820px; }

/* ===== Glass ===== */
.glass {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-xl { padding: 18px 34px; font-size: 17px; }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #a78bfa, #f472b6, #fbbf24);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -6px rgba(236, 72, 153, 0.65); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary .arrow { transition: transform 0.3s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* ===== Navigation ===== */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  padding: 0 16px;
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 22px;
  border-radius: 999px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px -2px rgba(245,158,11,0.5);
  border: 1.5px solid rgba(245,158,11,0.35);
}
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 18px; letter-spacing: -0.02em; }

.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

/* ===== Hero ===== */
.hero { padding: 60px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.hero-title {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 28px;
  animation: fadeUp 1s var(--ease) 0.1s both;
}

/* Countdown */
.countdown {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  animation: fadeUp 1s var(--ease) 0.2s both;
}
.countdown-label {
  font-size: 13px;
  color: var(--text-dim);
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.fire { filter: drop-shadow(0 0 6px rgba(245,158,11,0.8)); }
.countdown-timer { display: flex; align-items: center; gap: 8px; }
.time-box {
  min-width: 58px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  display: flex; flex-direction: column;
}
.time-box span {
  font-family: 'Space Grotesk', monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.time-box small { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.time-sep { color: var(--text-muted); font-weight: 700; }

.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeUp 1s var(--ease) 0.3s both;
}
.hero-stats {
  display: flex; gap: 40px;
  animation: fadeUp 1s var(--ease) 0.4s both;
}
.stat { display: flex; flex-direction: column; }
.stat strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; letter-spacing: -0.02em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat small { font-size: 13px; color: var(--text-muted); }

/* Hero video */
.hero-video {
  position: relative;
  animation: fadeIn 1.2s var(--ease) 0.2s both;
  transform: scale(1.08);
  transform-origin: center;
}
.video-glow {
  position: absolute;
  inset: -20px;
  background: var(--grad-brand);
  filter: blur(60px);
  opacity: 0.35;
  border-radius: var(--radius-lg);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.04); }
}
.video-frame {
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.video-top {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px 12px;
}
.video-top .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.video-url {
  margin-left: 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Space Grotesk', monospace;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.video-wrapper iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-thumb {
  position: absolute; inset: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.video-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.play-btn {
  position: relative;
  z-index: 2;
  width: 68px; height: 68px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.95);
  color: #111;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 40px -8px rgba(0,0,0,0.5);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.play-btn:hover {
  transform: scale(1.08);
  background: #fff;
}
.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.15);
  border-radius: 14px;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  animation: bob 5s ease-in-out infinite;
  background: rgba(20, 20, 35, 0.75);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.floating-card strong { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.floating-card small { color: var(--text-muted); font-size: 12px; }
.fc-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.card-float-1 { top: -18px; right: -20px; animation-delay: 0s; }
.card-float-1 .fc-icon { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.card-float-2 { bottom: -18px; left: -20px; animation-delay: -2.5s; }
.card-float-2 .fc-icon { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Trust ===== */
.trust { padding: 40px 0; }
.trust-label { text-align: center; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 22px; }
.trust-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 48px;
  opacity: 0.55;
}
.trust-logos span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-dim);
  transition: opacity 0.3s ease;
}
.trust-logos span:hover { opacity: 1; color: var(--text); }

/* ===== Section head ===== */
.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 14px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head p { color: var(--text-dim); max-width: 600px; margin: 0 auto; font-size: 17px; }

/* ===== Features ===== */
.features { padding: 80px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.feature {
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.feature-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 24px;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
}
.grad-1 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.grad-2 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.grad-3 { background: linear-gradient(135deg, #10b981, #14b8a6); }
.grad-4 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.feature h3 { font-family: 'Space Grotesk', sans-serif; font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; }
.feature p { color: var(--text-dim); font-size: 15px; }

/* ===== Courses ===== */
.courses { padding: 80px 0; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.course-card {
  position: relative;
  padding: 22px;
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(139,92,246,0), rgba(236,72,153,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  transition: background 0.4s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -20px rgba(139,92,246,0.45);
}
.course-card:hover::before {
  background: linear-gradient(135deg, rgba(139,92,246,0.8), rgba(236,72,153,0.8));
}
.course-card.active::before {
  background: linear-gradient(135deg, rgba(139,92,246,0.9), rgba(236,72,153,0.9));
}
.course-thumb {
  position: relative;
  border-radius: 12px;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
  display: grid;
  place-items: center;
}
.course-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(236,72,153,0.3));
  mix-blend-mode: overlay;
}
.course-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}
.course-tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid var(--border);
}
.course-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-muted); }
.course-stars { color: #fbbf24; letter-spacing: 0.06em; }
.course-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.25;
  flex-grow: 1;
}
.course-actions { display: flex; gap: 8px; }
.course-actions .btn { flex: 1; justify-content: center; }

/* ===== Apps Built ===== */
.apps-built { padding: 80px 0; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  margin: 0 auto 40px;
  justify-content: center;
  width: max-content;
  max-width: 100%;
}
@media (max-width: 640px) {
  .filter-bar { width: 100%; overflow-x: auto; justify-content: flex-start; border-radius: 14px; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.filter-chip:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.filter-chip.active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(236,72,153,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.chip-icon { font-size: 13px; opacity: 0.9; }
.chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}
.chip-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.filter-chip:not(.active) .chip-count { background: rgba(255,255,255,0.08); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
  animation: appCardIn 0.5s var(--ease) both;
}
@keyframes appCardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.app-card::after {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(139,92,246,0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.app-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px -16px rgba(139,92,246,0.45);
}
.app-card:hover::after { opacity: 1; }
.app-card[data-platform="android"]:hover { box-shadow: 0 16px 40px -16px rgba(16,185,129,0.45); }
.app-card[data-platform="chrome"]:hover { box-shadow: 0 16px 40px -16px rgba(59,130,246,0.45); }
.app-card[data-platform="apify"]:hover { box-shadow: 0 16px 40px -16px rgba(245,158,11,0.45); }

.app-head {
  display: flex; align-items: center; justify-content: space-between;
}
.app-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  overflow: hidden;
  position: relative;
}
.app-icon img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--badge-grad, var(--grad-brand));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.badge-icon { font-size: 10px; }
.app-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.app-desc {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  flex-grow: 1;
}
.app-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.app-arrow {
  transition: transform 0.3s var(--ease);
  color: var(--text-dim);
  font-size: 16px;
}
.app-card:hover .app-arrow { transform: translateX(4px); color: var(--text); }

/* ===== Icon SVGs ===== */
.feature-icon svg,
.fc-icon svg { color: #fff; }

.fire svg {
  width: 16px; height: 16px;
  color: var(--warning);
  filter: drop-shadow(0 0 6px rgba(245,158,11,0.8));
}

.chev svg { color: currentColor; }

.chip-icon svg { width: 13px; height: 13px; }

.badge-icon svg { width: 10px; height: 10px; }

.app-arrow svg { width: 14px; height: 14px; }

/* animate icon on hover */
.btn-primary:hover .arrow svg,
.app-card:hover .app-arrow svg {
  transform: translateX(3px);
}
.arrow svg {
  transition: transform 0.3s var(--ease);
}

.stat-star { display: inline-block; vertical-align: middle; margin-left: 2px; color: #fbbf24; }
.stars { display: flex; gap: 2px; align-items: center; }
.stars svg { color: #fbbf24; }
.course-stars { display: inline-flex; gap: 1px; align-items: center; color: #fbbf24; font-size: 13px; }

/* ===== Reviews ===== */
.reviews { padding: 80px 0; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review {
  padding: 24px;
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.35s var(--ease);
}
.review:hover { transform: translateY(-4px); }
.stars { color: #fbbf24; letter-spacing: 0.08em; font-size: 15px; }
.review p { color: var(--text); font-size: 15px; line-height: 1.55; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.reviewer strong { display: block; font-size: 14px; }
.reviewer small { color: var(--text-muted); font-size: 12px; }

/* ===== FAQ ===== */
.faq { padding: 80px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.chev {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item[open] .chev { transform: rotate(45deg); background: var(--grad-brand); }
.faq-item p { padding: 0 22px 20px; color: var(--text-dim); font-size: 15px; }

/* ===== Final CTA ===== */
.final-cta { padding: 40px 0 120px; }
.final-card {
  position: relative;
  padding: 64px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
}
.final-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at center, rgba(139,92,246,0.4), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.final-card > * { position: relative; z-index: 1; }
.final-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-card p { color: var(--text-dim); margin-bottom: 26px; font-size: 17px; }

/* ===== Footer ===== */
.footer { padding: 50px 0 30px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--text-dim); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer a:hover { color: var(--text); }
.muted { color: var(--text-muted); font-size: 14px; margin-top: 10px; max-width: 280px; }
.copyright { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--text-muted); }

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 16px; right: 16px;
  z-index: 90;
  transform: translateY(130%);
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.sticky-cta.visible { transform: translateY(0); pointer-events: auto; }
.sticky-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 14px 12px 18px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.6);
}
.sticky-info { display: flex; flex-direction: column; overflow: hidden; }
.sticky-info strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-info small { font-size: 11px; color: var(--text-muted); }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-video { order: -1; max-width: 640px; margin: 0 auto; width: 100%; transform: none; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 0 60px; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 22px; }
  .time-box { min-width: 48px; padding: 6px 8px; }
  .time-box span { font-size: 18px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .features, .courses, .reviews, .faq, .apps-built { padding: 60px 0; }
  .final-card { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav { padding: 10px 10px 10px 16px; }
  .logo-text { font-size: 16px; }
  .card-float-1, .card-float-2 { display: none; }
  .trust-logos { gap: 28px; }
  .trust-logos span { font-size: 15px; }
}

@media (max-width: 420px) {
  .countdown-timer { gap: 4px; }
  .time-sep { display: none; }
  .btn-sm { padding: 8px 14px; font-size: 13px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
