/* ════════════════════════════════════════════════════════════════════════════
   KIBEE — LANDING PAGE STYLES  (mobile-first, deep space, AAA micro-motion)
   ROUND 2 — SVG icon system, member pill nav, mobile diorama fix
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --kibi-coral: #FF4466; --kibi-coral-glow: rgba(255,68,102,0.35);
  --kibi-teal: #00C9A7;  --kibi-teal-glow: rgba(0,201,167,0.3);
  --kibi-purple: #845EC2; --kibi-gold: #FFD54F;
  --space-bg: #03050a; --space-bg-light: #0a0e29;
  --space-surface: rgba(255,255,255,0.03); --space-border: rgba(255,255,255,0.08);
  --text-primary: #F8FAFC; --text-secondary: rgba(248,250,252,0.65);
  --text-muted: rgba(248,250,252,0.4); --glass: rgba(10,14,41,0.7);
  --glass-border: rgba(255,255,255,0.1); --radius: 20px; --radius-lg: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif; color: var(--text-primary);
  background: var(--space-bg); line-height: 1.6; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; font-weight: 800; line-height: 1.1; }
a { color: inherit; }

/* ─── Starfield ─── */
#starfield {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, var(--space-bg-light) 0%, var(--space-bg) 100%);
}
.micro-particle {
  position: absolute; border-radius: 50%; will-change: transform, opacity;
  background: #FFF; box-shadow: 0 0 4px #FFF;
  animation: twinkle var(--d) ease-in-out infinite alternate;
}
@keyframes twinkle { 0% { opacity: 0.1; transform: scale(0.8); } 100% { opacity: 0.9; transform: scale(1.2); } }

/* ─── Announcement bar ─── */
.announcement-bar {
  background: linear-gradient(90deg, var(--kibi-coral), #E85A28);
  color: white; text-align: center; padding: 11px 16px; font-size: 13px;
  font-weight: 600; position: relative; z-index: 100; letter-spacing: 0.3px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.announcement-bar strong { font-weight: 800; }
.bar-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ─── Header ─── */
.header {
  position: sticky; top: 0; z-index: 99; padding: 12px 0;
  background: rgba(3,5,10,0.85); backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--space-border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
/* ─── Premium Micro-Pill Logo ─── */
.logo {
  background: #ffffff;
  padding: 5px 12px; /* Tighter padding prevents the "chunky" button look */
  border-radius: 40px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  text-decoration: none; 
  flex-shrink: 0;
  /* Diffused shadow blends the sharp white edge into the deep space background */
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-svg {
  height: 22px; /* Ultra-sleek and premium size for mobile phones */
  width: auto;
  display: block;
}

.logo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 30px rgba(255, 255, 255, 0.18);
}
.header-nav { display: none; align-items: center; gap: 26px; }
.header-nav a.nav-link { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.3s; }
.header-nav a.nav-link:hover { color: var(--text-primary); }
.header-nav-mobile { display: flex; align-items: center; gap: 16px; }

/* Member login pill — solid high-contrast teal, clearly visible on dark nav */
.btn-member {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 18px; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 12.5px; letter-spacing: 0.3px;
  color: #03352c; text-decoration: none;
  background: linear-gradient(135deg, #00e0b8, var(--kibi-teal));
  border: 1.5px solid rgba(255,255,255,0.25);
  box-shadow: 0 3px 14px rgba(0,201,167,0.4);
  transition: all 0.3s ease; white-space: nowrap;
}
.btn-member:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #2affd9, #00e0b8);
  box-shadow: 0 6px 22px rgba(0,201,167,0.55);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px;
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--kibi-coral), #E85A28); color: white;
  box-shadow: 0 4px 20px var(--kibi-coral-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 30px var(--kibi-coral-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary:active { transform: translateY(1px) scale(0.99); }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--space-border); backdrop-filter: blur(10px);
}
.btn-secondary:hover { border-color: var(--kibi-coral); background: rgba(255,68,102,0.08); }
.btn-large { padding: 16px 36px; font-size: 16.5px; }
.btn-small { padding: 9px 20px; font-size: 13px; }

/* ─── Hero ─── */
.hero { position: relative; z-index: 1; padding: 44px 20px 64px; overflow: hidden; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
/* gold star cluster (used inside the "Loved by Parents & Teachers" trust chip) */
.badge-stars { display: inline-flex; gap: 2px; }
.badge-stars svg { width: 13px; height: 13px; fill: var(--kibi-gold); filter: drop-shadow(0 0 4px rgba(255,213,79,0.6)); }
.hero h1 { font-size: 34px; color: var(--text-primary); margin-bottom: 18px; letter-spacing: -0.5px; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--kibi-coral), var(--kibi-gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero h1 .highlight-teal { background: linear-gradient(135deg, var(--kibi-teal), #00f0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 16px; color: var(--text-secondary); margin-bottom: 26px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
/* reassurance line under the CTA — clear enough to drive action */
.hero-micro {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: rgba(248,250,252,0.82);
  margin-bottom: 26px; padding: 7px 14px; border-radius: 50px;
  background: rgba(0,201,167,0.07); border: 1px solid rgba(0,201,167,0.16);
}
.hero-micro svg { width: 16px; height: 16px; color: var(--kibi-teal); flex-shrink: 0; }

/* Trust chips — premium glass pills with SVG icons */
.hero-trust-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 8px; border-radius: 50px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 600; color: rgba(248,250,252,0.88);
  transition: all 0.3s ease;
}
.trust-chip:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
.ticon {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ticon svg { width: 14px; height: 14px; }
.ticon-teal   { background: rgba(0,201,167,0.15); color: var(--kibi-teal); }
.ticon-coral  { background: rgba(255,68,102,0.15); color: var(--kibi-coral); }
.ticon-purple { background: rgba(132,94,194,0.18); color: #b39ddb; }
.ticon-gold   { background: rgba(255,213,79,0.15); color: var(--kibi-gold); }

/* ─── Hero diorama ─── */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.diorama { position: relative; width: min(86vw, 360px); aspect-ratio: 1; will-change: transform; }
.diorama-aura {
  position: absolute; inset: -10%; border-radius: 50%; z-index: 0;
  background:
    radial-gradient(circle at 50% 55%, rgba(255,68,102,0.16) 0%, transparent 55%),
    radial-gradient(circle at 30% 30%, rgba(132,94,194,0.14) 0%, transparent 50%),
    radial-gradient(circle at 70% 75%, rgba(0,201,167,0.10) 0%, transparent 50%);
  animation: aura-breathe 6s ease-in-out infinite alternate;
}
@keyframes aura-breathe { from { opacity: 0.7; transform: scale(0.97); } to { opacity: 1; transform: scale(1.05); } }

/* Orbiting glassmorphic numbers
   --r must be a LENGTH (translate % resolves vs the item's own zero-size box) —
   tied to the diorama size so rings scale with the stage. Mobile radii are
   tighter so the rings stay visible instead of overflowing the screen. */
.orbit {
  --t: 26s; --r: calc(min(86vw, 360px) * 0.37);
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  animation: orbit-spin var(--t) linear infinite;
}
.orbit-2 { --t: 34s; --r: calc(min(86vw, 360px) * 0.53); animation-direction: reverse; }
.orbit-3 { --t: 46s; --r: calc(min(86vw, 360px) * 0.69); }
@keyframes orbit-spin {
  from { transform: translate(var(--px, 0px), var(--py, 0px)) rotate(0deg); }
  to   { transform: translate(var(--px, 0px), var(--py, 0px)) rotate(360deg); }
}
.orbit-item {
  position: absolute; top: 50%; left: 50%;
  transform: rotate(var(--ang)) translateX(var(--r)) rotate(calc(-1 * var(--ang)));
}
.dnum {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px; border-radius: 13px;
  font-family: 'Fredoka One', 'Outfit', cursive; font-size: 17px; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  animation: orbit-spin var(--t) linear infinite reverse;
}
.orbit-2 .dnum { min-width: 42px; height: 42px; font-size: 21px; border-radius: 15px; animation-direction: normal; }
.dnum-coral { text-shadow: 0 0 14px var(--kibi-coral); color: #ffb3c1; }
.dnum-teal  { text-shadow: 0 0 14px var(--kibi-teal);  color: #8df5e2; }
.dnum-gold  { text-shadow: 0 0 14px var(--kibi-gold);  color: #ffe9a3; }
.dnum-purple{ text-shadow: 0 0 14px var(--kibi-purple);color: #d5c2f5; }
.dspark { font-size: 15px; color: rgba(255,255,255,0.75); text-shadow: 0 0 10px #fff; animation: spark-twinkle 3s ease-in-out infinite alternate; }
.dspark-teal { color: var(--kibi-teal); text-shadow: 0 0 10px var(--kibi-teal); animation-delay: 0.8s; }
.dspark-gold { color: var(--kibi-gold); text-shadow: 0 0 10px var(--kibi-gold); animation-delay: 1.6s; }
@keyframes spark-twinkle { from { opacity: 0.35; transform: scale(0.85); } to { opacity: 1; transform: scale(1.15); } }

/* Characters */
.diorama-character {
  position: absolute; z-index: 2;
  width: 50%; aspect-ratio: 200/250;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0; filter: blur(6px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.34,1.3,0.64,1), filter 0.9s ease;
  pointer-events: none;
}
.diorama-character.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
.diorama-character.is-jump svg { animation: dchar-jump 0.7s cubic-bezier(0.175,0.885,0.32,1.275); }
@keyframes dchar-jump {
  0% { transform: translateY(0) scale(1,1); }
  35% { transform: translateY(-26px) scale(0.96,1.06); }
  70% { transform: translateY(4px) scale(1.06,0.92); }
  100% { transform: translateY(0) scale(1,1); }
}
.dchar-float { animation: dchar-hover 4s ease-in-out infinite alternate; }
@keyframes dchar-hover { from { transform: translateY(6px) rotate(-1.2deg); } to { transform: translateY(-10px) rotate(1.2deg); } }
.bobo-breathe { transform-origin: center bottom; animation: dchar-hover 4s ease-in-out infinite alternate, bobo-breathe-scale 2.6s ease-in-out infinite alternate; }
@keyframes bobo-breathe-scale { from { scale: 1 1; } to { scale: 1.02 0.98; } }

/* Face micro-animations */
.maca-blink { animation: dchar-blink 4.5s infinite; }
@keyframes dchar-blink { 0%, 93%, 97%, 100% { transform: scaleY(1); } 94%, 96% { transform: scaleY(0.08); } }
.maca-antenna { animation: antenna-glow 2.2s ease-in-out infinite alternate; }
@keyframes antenna-glow {
  from { fill: #00f0ff; filter: drop-shadow(0 0 4px #00f0ff); }
  to   { fill: #ffffff; filter: drop-shadow(0 0 14px #00f0ff); }
}

/* Bobo ear twitch */
.bobo-ear-l { transform-origin: 78px 95px; animation: ear-twitch-l 5.5s ease-in-out infinite; }
.bobo-ear-r { transform-origin: 122px 95px; animation: ear-twitch-r 5.5s ease-in-out infinite 2.4s; }
@keyframes ear-twitch-l {
  0%, 78%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(-9deg); } 86% { transform: rotate(4deg); } 90% { transform: rotate(-3deg); } 94% { transform: rotate(0deg); }
}
@keyframes ear-twitch-r {
  0%, 78%, 100% { transform: rotate(0deg); }
  82% { transform: rotate(9deg); } 86% { transform: rotate(-4deg); } 90% { transform: rotate(3deg); } 94% { transform: rotate(0deg); }
}

/* ─── Sections ─── */
.section { position: relative; z-index: 1; padding: 72px 20px; max-width: 1280px; margin: 0 auto; }
.section[id] { scroll-margin-top: 84px; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--space-surface); border: 1px solid var(--space-border);
  color: var(--kibi-coral); padding: 8px 18px; border-radius: 50px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 18px; backdrop-filter: blur(10px);
}
.section h2 { font-size: 30px; margin-bottom: 14px; color: var(--text-primary); }
/* gradient accent underline beneath each section headline */
.section-header h2::after {
  content: ''; display: block; width: 56px; height: 4px; border-radius: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--kibi-coral), var(--kibi-purple));
  box-shadow: 0 0 12px rgba(255,68,102,0.4);
}
.section-header p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-top: 16px; }
.pain-sub { font-size: 18px !important; font-weight: 600; color: rgba(248,250,252,0.88) !important; letter-spacing: 0.2px; }

/* Problem cards */
.problem-section { background: linear-gradient(180deg, transparent 0%, rgba(255,68,102,0.03) 50%, transparent 100%); }
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.problem-card {
  position: relative; /* anchor for the red-flag badge */
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; backdrop-filter: blur(20px); transition: all 0.4s;
}
/* red-flag X badge — signals "this is bad for your kid" */
.flag-badge {
  position: absolute; top: -8px; right: -8px; z-index: 2;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ff4466, #d32f4f);
  border: 2px solid rgba(3,5,10,0.9);
  color: #fff; box-shadow: 0 4px 14px rgba(255,68,102,0.5);
  animation: flag-pulse 3s ease-in-out infinite;
}
.flag-badge svg { width: 12px; height: 12px; }
@keyframes flag-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(255,68,102,0.5); }
  50% { transform: scale(1.1); box-shadow: 0 4px 22px rgba(255,68,102,0.8); }
}
.problem-card:hover { transform: translateY(-6px); border-color: rgba(255,68,102,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.problem-icon {
  width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  background: rgba(255,68,102,0.08); border: 1px solid rgba(255,68,102,0.18); color: var(--kibi-coral);
}
.problem-icon svg { width: 30px; height: 30px; }
.problem-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--text-primary); }
.problem-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* Video */
.video-section { padding-bottom: 48px; }
.video-container {
  position: relative; max-width: 900px; margin: 0 auto; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.5); border: 1px solid var(--space-border);
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f1329, #1a1f3d);
}
.video-placeholder { text-align: center; color: var(--text-primary); padding: 24px; }
.video-play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--kibi-coral), var(--kibi-purple));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  font-size: 26px; cursor: pointer;
  box-shadow: 0 0 0 16px rgba(255,68,102,0.15), 0 10px 40px rgba(0,0,0,0.3);
  transition: all 0.3s;
}
.video-play-btn:hover { transform: scale(1.1); box-shadow: 0 0 0 26px rgba(255,68,102,0.1), 0 15px 50px rgba(0,0,0,0.4); }
.video-placeholder h3 { font-size: 18px; margin-bottom: 6px; }
.video-placeholder p { color: var(--text-muted); font-size: 13px; }

/* USP cards */
.usp-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.usp-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; backdrop-filter: blur(20px); transition: all 0.4s;
}
.usp-card:hover { transform: translateY(-8px); border-color: rgba(255,68,102,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.usp-icon {
  width: 62px; height: 62px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; background: var(--space-surface); border: 1px solid var(--space-border);
}
.usp-icon svg { width: 30px; height: 30px; }
.usp-coral  { background: rgba(255,68,102,0.08);  border-color: rgba(255,68,102,0.2);  color: var(--kibi-coral); }
.usp-teal   { background: rgba(0,201,167,0.08);   border-color: rgba(0,201,167,0.2);   color: var(--kibi-teal); }
.usp-gold   { background: rgba(255,213,79,0.08);  border-color: rgba(255,213,79,0.2);  color: var(--kibi-gold); }
.usp-purple { background: rgba(132,94,194,0.1);   border-color: rgba(132,94,194,0.22); color: #b39ddb; }
.usp-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--text-primary); }
.usp-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* Demo CTA panel */
.demo-section { background: linear-gradient(180deg, var(--space-bg) 0%, #070a1a 50%, var(--space-bg) 100%); position: relative; }
.demo-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,68,102,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.demo-cta-panel {
  position: relative; z-index: 1; max-width: 620px; margin: 0 auto;
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: 40px 28px; text-align: center; backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.demo-cta-text { font-size: 15.5px; color: var(--text-secondary); margin-bottom: 26px; line-height: 1.7; }

/* Curriculum cards */
.curriculum-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.curriculum-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  overflow: hidden; backdrop-filter: blur(20px); transition: all 0.4s;
}
.curriculum-card:hover { transform: translateY(-6px); border-color: rgba(0,201,167,0.2); }
.curriculum-img {
  height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1a1f3d, #0f1329);
  border-bottom: 1px solid var(--space-border); position: relative; overflow: hidden;
}
.curriculum-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.curriculum-card:hover .curriculum-img img { transform: scale(1.05); }
/* graceful fallback while screenshots are missing */
.curriculum-img img.img-missing { display: none; }
.ss-tag {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.6); padding: 6px 16px; border-radius: 50px;
  font-size: 11px; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(10px);
}
.curriculum-card-body { padding: 24px; }
.curriculum-card h4 { font-size: 19px; margin-bottom: 6px; color: var(--text-primary); }
.curriculum-card p { font-size: 14.5px; color: var(--text-secondary); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.testimonial-card {
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 30px 26px; backdrop-filter: blur(20px); transition: all 0.4s;
}
.testimonial-card:hover { border-color: rgba(255,68,102,0.15); transform: translateY(-4px); }
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 17px; height: 17px; fill: var(--kibi-gold); filter: drop-shadow(0 0 6px rgba(255,213,79,0.45)); }
.testimonial-text { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--kibi-coral), var(--kibi-purple));
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16px;
}
.testimonial-author-info h5 { font-size: 15.5px; color: var(--text-primary); margin-bottom: 2px; }
.testimonial-author-info p { font-size: 13px; color: var(--text-muted); }

/* Pricing */
.pricing-card {
  max-width: 520px; margin: 0 auto; background: var(--glass);
  border-radius: var(--radius-lg); padding: 44px 26px; text-align: center;
  border: 2px solid var(--kibi-coral); position: relative; backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(255,68,102,0.08);
}
.pricing-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--kibi-coral), #E85A28); color: white;
  padding: 8px 24px; border-radius: 50px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px var(--kibi-coral-glow);
  white-space: nowrap;
}
.pricing-card h3 { font-size: 27px; margin-bottom: 6px; color: var(--text-primary); }
.pricing-age { font-size: 13px; font-weight: 700; color: var(--kibi-teal); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.pricing-card .subtitle { color: var(--text-secondary); font-size: 15px; margin-bottom: 24px; }
.price-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.price-old { font-size: 24px; color: var(--text-muted); text-decoration: line-through; }
.price-new { font-size: 52px; font-family: 'Outfit', sans-serif; font-weight: 900; color: var(--kibi-coral); }
.price-period { font-size: 17px; color: var(--text-secondary); }
.pricing-features { text-align: left; margin: 28px 0; }
.pricing-features li {
  list-style: none; padding: 12px 0; display: flex; align-items: center; gap: 14px;
  font-size: 15.5px; color: var(--text-primary); border-bottom: 1px solid var(--space-border);
}
.pricing-features li::before {
  content: '✓'; width: 26px; height: 26px; background: rgba(0,201,167,0.15); color: var(--kibi-teal);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.pricing-note {
  margin-top: 24px; padding: 16px; background: rgba(255,255,255,0.03);
  border-radius: var(--radius); font-size: 12.5px; color: var(--text-muted);
  border: 1px solid var(--space-border); line-height: 1.6;
}
.pricing-note p + p { margin-top: 8px; }
.pricing-note a { color: var(--kibi-teal); }

/* FAQ */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--glass); border-radius: var(--radius); margin-bottom: 12px;
  border: 1px solid var(--glass-border); overflow: hidden; backdrop-filter: blur(20px);
}
.faq-question {
  padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 16.5px;
  color: var(--text-primary); transition: background 0.3s;
}
.faq-question:hover { background: rgba(255,68,102,0.03); }
.faq-question .icon { font-size: 22px; color: var(--kibi-coral); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.4s ease;
  color: var(--text-secondary); font-size: 15px; line-height: 1.8;
}
.faq-item.open .faq-answer { padding: 0 24px 24px; max-height: 400px; }

/* Final CTA */
.footer-cta {
  background: linear-gradient(135deg, rgba(255,68,102,0.1), rgba(132,94,194,0.1));
  padding: 64px 20px; text-align: center; border-top: 1px solid var(--space-border);
  position: relative; z-index: 1;
}
.footer-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,68,102,0.05) 0%, transparent 60%);
}
.footer-cta h2 { font-size: 27px; margin-bottom: 14px; color: var(--text-primary); position: relative; }
.footer-cta p { font-size: 16px; color: var(--text-secondary); margin-bottom: 30px; position: relative; }
.footer-cta .btn { position: relative; font-size: 17px; padding: 16px 40px; }

/* Footer */
.footer {
  background: var(--space-bg); color: var(--text-muted); padding: 44px 20px;
  text-align: center; font-size: 13.5px; border-top: 1px solid var(--space-border);
  position: relative; z-index: 1;
}
.heart-icon { width: 13px; height: 13px; vertical-align: -1.5px; }
.footer-links { margin-top: 16px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }

/* Sticky CTA */
.sticky-cta {
  display: flex; position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(3,5,10,0.95); backdrop-filter: blur(20px);
  padding: 12px 16px; border-top: 1px solid var(--space-border);
  z-index: 100; justify-content: center; gap: 12px;
}
.sticky-cta .btn { flex: 1; max-width: 220px; }
body { padding-bottom: 72px; }

/* Scroll reveal */
.fade-in { opacity: 0; transform: translateY(36px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════ TABLET & UP ═══════════════ */
@media (min-width: 640px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 18px; }
  .section h2 { font-size: 36px; }
  .announcement-bar { font-size: 14px; }
}

@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .header-nav-mobile { display: none; }
  .btn-member { padding: 9px 22px; font-size: 13.5px; }
  .hero { padding: 80px 32px 100px; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero h1 { font-size: 54px; letter-spacing: -1.5px; }
  .diorama { width: min(40vw, 480px); }
  .orbit   { --r: calc(min(40vw, 480px) * 0.38); }
  .orbit-2 { --r: calc(min(40vw, 480px) * 0.54); }
  .orbit-3 { --r: calc(min(40vw, 480px) * 0.70); }
  .dnum { min-width: 44px; height: 44px; font-size: 22px; border-radius: 16px; }
  .orbit-2 .dnum { min-width: 52px; height: 52px; font-size: 26px; border-radius: 18px; }
  .section { padding: 100px 32px; }
  .problem-grid { grid-template-columns: repeat(4, 1fr); }
  /* 3 per row × 2 rows on desktop — not cramped */
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .curriculum-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card { padding: 52px 44px; }
  .footer-cta h2 { font-size: 38px; }
  .footer-cta { padding: 90px 32px; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* Reduced motion — accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.2s !important; }
  html { scroll-behavior: auto; }
}

/* Restores the larger size for Tablets and Desktops */
@media (min-width: 640px) {
  .logo {
    padding: 6px 16px;
  }
  .logo-svg {
    height: 30px; 
  }
}