/* ===================================================================
   TrainBot — site de prezentare
   Brand: purple futuristic friendly AI. Distinct, nu "purple pe alb".
   =================================================================== */

:root {
  --purple: #7B6CF0;
  --purple-blue: #6B86F0;
  --purple-deep: #5341c8;
  --purple-ink: #2a2070;
  --ink: #1b1733;
  --ink-soft: #4a4566;
  --cream: #f4f2fb;      /* warm off-white, nu alb pur */
  --lavender: #e9e6fa;
  --white: #ffffff;
  --line: rgba(43, 32, 112, 0.10);

  --grad: linear-gradient(135deg, var(--purple) 0%, var(--purple-blue) 100%);
  --grad-deep: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 60%, var(--purple-blue) 100%);

  --shadow-sm: 0 2px 8px rgba(43, 32, 112, 0.06);
  --shadow-md: 0 12px 34px rgba(91, 79, 212, 0.14);
  --shadow-lg: 0 30px 70px rgba(91, 79, 212, 0.22);
  --shadow-glow: 0 0 50px rgba(123, 108, 240, 0.45);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-xl: 42px;

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

/* subtle grain texture overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- atmospheric blobs ---------- */
.bg-atmosphere { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.5;
}
.blob-1 { width: 540px; height: 540px; background: radial-gradient(circle, #8e7cff, transparent 70%); top: -180px; right: -120px; animation: float1 22s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle, #6b86f0, transparent 70%); top: 40%; left: -200px; animation: float2 26s ease-in-out infinite; }
.blob-3 { width: 400px; height: 400px; background: radial-gradient(circle, #b9a8ff, transparent 70%); bottom: -160px; right: 10%; animation: float1 30s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 50px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(60px, -40px); } }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; position: relative; z-index: 2; }
.container.narrow { max-width: 820px; }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 16px clamp(20px, 4vw, 48px);
  backdrop-filter: blur(14px);
  background: rgba(244, 242, 251, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }

.brand { display: flex; align-items: center; font-weight: 700; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; }

/* ---- logo wordmark (concept C: ochi-robot ca „o") ---- */
.logo {
  display: inline-flex; align-items: center; font-family: var(--font-display);
  font-weight: 800; font-size: 1.42rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap;
}
.logo-train { color: var(--ink); }
.logo-bot {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-eye { display: inline-flex; align-items: center; }
.logo-eye svg { width: .94em; height: .94em; margin: 0 .015em; filter: drop-shadow(0 1px 3px rgba(91,79,212,.3)); }
.logo-light .logo-train { color: #fff; }

.nav-links { display: flex; gap: 28px; margin-left: auto; font-weight: 500; font-size: .98rem; }
.nav-links a { color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--purple-deep); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: inline-flex; background: var(--lavender); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: none; background: transparent; cursor: pointer;
  font: 600 .82rem var(--font-body); color: var(--ink-soft);
  padding: 5px 12px; border-radius: 999px; transition: all .2s;
}
.lang-switch button.is-active { background: var(--white); color: var(--purple-deep); box-shadow: var(--shadow-sm); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; border: none;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.2), box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-block { width: 100%; padding: 16px; font-size: 1.05rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--purple-deep); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--white); border-color: var(--purple); transform: translateY(-2px); }

/* ===================== HERO ===================== */
.hero { padding: 150px 26px 90px; position: relative; z-index: 2; }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero-inner > * { min-width: 0; }
.hero-copy { min-width: 0; max-width: 100%; }
.hero-title { overflow-wrap: break-word; }
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--purple-deep);
  background: var(--lavender); padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.05rem, 7vw, 4.1rem); line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: 22px;
  background: linear-gradient(120deg, var(--ink) 30%, var(--purple-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.hero-trust .dot { color: var(--purple); }

.hero-mascot { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mascot-caption {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--purple-deep);
  background: var(--white); padding: 12px 20px; border-radius: 18px 18px 18px 4px;
  box-shadow: var(--shadow-md); max-width: 280px; text-align: center; position: relative;
}

/* ===================== MASCOT (din MascotView.swift) ===================== */
.mascot { position: relative; display: grid; place-items: center; }
.mascot-xl { --m: 200px; }
.mascot-md { --m: 96px; }
.mascot-sm { --m: 66px; }
.mascot-head {
  width: var(--m); height: calc(var(--m) * 0.95);
  border-radius: calc(var(--m) * 0.28);
  background: var(--grad);
  box-shadow: var(--shadow-glow), inset 0 -8px 24px rgba(42,32,112,.25), inset 0 6px 18px rgba(255,255,255,.25);
  display: grid; place-items: center;
  position: relative; z-index: 2;
  animation: bob 4.5s ease-in-out infinite;
}
.mascot-glow {
  position: absolute; width: calc(var(--m) * 1.1); height: calc(var(--m) * 1.1);
  border-radius: 50%; background: radial-gradient(circle, rgba(123,108,240,.4), transparent 65%);
  filter: blur(20px); z-index: 1; animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseGlow { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: .8; transform: scale(1.08); } }

.mascot-eyes { display: flex; gap: calc(var(--m) * 0.16); transform: translateY(calc(var(--m) * -0.04)); }
.eye {
  width: calc(var(--m) * 0.13); height: calc(var(--m) * 0.18);
  background: #fff; border-radius: 999px;
  box-shadow: 0 0 10px rgba(255,255,255,.6);
  transition: height .18s ease, transform .25s ease, border-radius .2s;
}
/* state: idle — blink */
.mascot[data-state="idle"] .eye { animation: blink 5s infinite; }
@keyframes blink { 0%,92%,100% { height: calc(var(--m) * 0.18); } 95% { height: calc(var(--m) * 0.02); } }
/* state: thinking — small round eyes */
.mascot[data-state="thinking"] .eye { height: calc(var(--m) * 0.09); width: calc(var(--m) * 0.09); border-radius: 50%; }
/* state: learning — pulsing round eyes */
.mascot[data-state="learning"] .eye { height: calc(var(--m) * 0.18); width: calc(var(--m) * 0.18); border-radius: 50%; animation: learnPulse 1s ease-in-out infinite; }
@keyframes learnPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .75; } }
/* state: happy — arc/smile eyes */
.mascot[data-state="happy"] .eye {
  height: calc(var(--m) * 0.10); border-radius: 0 0 999px 999px;
  background: transparent; border-bottom: calc(var(--m)*0.045) solid #fff; box-shadow: none;
}
/* state: confused — tilted */
.mascot[data-state="confused"] .eye-l { transform: rotate(-15deg); }
.mascot[data-state="confused"] .eye-r { transform: rotate(15deg); }

/* ===================== SECTIONS base ===================== */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; z-index: 2; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 16px;
}
.section-tag.light { color: #c9beff; }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.025em;
  margin-bottom: 18px;
}
.section-lead { font-size: 1.14rem; color: var(--ink-soft); }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- PROBLEM ---------- */
.problem .section-lead { margin-bottom: 48px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.problem-card {
  background: var(--white); border-radius: var(--r-lg); padding: 32px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.problem-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.problem-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.problem-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; margin-bottom: 8px; }
.problem-card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- HOW ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.step {
  background: linear-gradient(180deg, var(--white), #faf9ff);
  border-radius: var(--r-lg); padding: 36px 28px 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.step.is-active, .step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.step.is-active::before, .step:hover::before { transform: scaleX(1); }
.step-num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--purple); opacity: .25; line-height: 1; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 10px 0 10px; }
.step p { color: var(--ink-soft); }
.how-mascot { display: flex; justify-content: center; margin: -10px auto 44px; }
.how-mascot .mascot-head { animation-duration: 3.8s; }

/* ---------- SPLIT (teachers / kids) ---------- */
.container.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.container.split.reverse .split-visual { order: -1; }
.split-copy .section-lead { margin-bottom: 26px; }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.feature-list li { padding-left: 30px; position: relative; color: var(--ink-soft); }
.feature-list li strong { color: var(--ink); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 0 4px rgba(123,108,240,.14);
}

/* ---------- MOCKUPS ---------- */
.split-visual { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.visual-note { font-size: .8rem; color: var(--ink-soft); opacity: .7; }

.mockup-browser {
  width: 100%; max-width: 480px; background: var(--white);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--line); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s;
}
.mockup-browser:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f0eef9; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d4cdf0; }
.mock-bar em { margin-left: 12px; font-size: .72rem; color: var(--ink-soft); font-style: normal; }
.mock-body { display: flex; min-height: 260px; }
.mock-side { width: 64px; background: var(--grad-deep); padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-logo { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: .9rem; }
.mock-nav { width: 30px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.3); }
.mock-nav.is-on { background: #fff; }
.mock-main { flex: 1; padding: 20px; }
.mock-stats { display: flex; gap: 12px; margin-bottom: 18px; }
.mock-stat { flex: 1; background: #f6f4ff; border-radius: 12px; padding: 12px; text-align: center; }
.mock-stat b { font-family: var(--font-display); font-size: 1.4rem; color: var(--purple-deep); display: block; }
.mock-stat i { font-size: .68rem; color: var(--ink-soft); font-style: normal; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mock-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }
.mock-bar-line { height: 8px; border-radius: 4px; background: #e6e2f5; }
.mock-bar-line.w80 { width: 80%; } .mock-bar-line.w60 { width: 60%; } .mock-bar-line.w90 { width: 90%; } .mock-bar-line.w50 { width: 50%; }
.mock-pill { width: 18px; height: 18px; border-radius: 50%; background: #e0dbf2; margin-left: auto; flex-shrink: 0; }
.mock-pill.ok { background: #5fd0a0; }

.mockup-phone {
  width: 240px; background: #16122e; border-radius: 38px; padding: 12px;
  box-shadow: var(--shadow-lg); position: relative; border: 3px solid #2a2350;
}
.phone-notch { width: 90px; height: 22px; background: #16122e; border-radius: 0 0 14px 14px; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 3; }
.phone-screen { background: var(--cream); border-radius: 28px; padding: 38px 20px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 420px; }
.phone-mascot { margin-top: 8px; }
.phone-title { font-family: var(--font-display); font-weight: 700; color: var(--purple-deep); font-size: 1.05rem; }
.phone-progress { width: 100%; height: 8px; background: var(--lavender); border-radius: 999px; overflow: hidden; }
.phone-progress span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 999px; animation: loadbar 2.6s ease-in-out infinite; }
@keyframes loadbar { 0% { width: 12%; } 50% { width: 78%; } 100% { width: 12%; } }
.phone-chips { display: flex; gap: 10px; }
.chip { width: 42px; height: 42px; border-radius: 14px; background: var(--white); display: grid; place-items: center; font-size: 1.3rem; box-shadow: var(--shadow-sm); }
.phone-btn { margin-top: auto; width: 100%; text-align: center; padding: 13px; background: var(--grad); color: #fff; border-radius: 16px; font-weight: 600; }

/* ---------- SAFETY (dark) ---------- */
.safety { background: var(--grad-deep); color: #fff; border-radius: var(--r-xl); margin: 0 14px; overflow: hidden; }
.safety::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.12), transparent 50%); pointer-events: none; }
.safety .section-title { color: #fff; -webkit-text-fill-color: #fff; }
.safety .section-lead { color: rgba(255,255,255,.82); }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.safety-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-md); padding: 26px 22px; backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.safety-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.14); }
.safety-ic { font-size: 1.7rem; display: block; margin-bottom: 12px; }
.safety-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 8px; color: #fff; }
.safety-card p { font-size: .92rem; color: rgba(255,255,255,.78); }

/* ---------- PRICING ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s; position: relative;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: var(--grad-deep); color: #fff; border: none;
  box-shadow: var(--shadow-lg); transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.price-badge {
  position: absolute; top: 18px; right: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; background: rgba(255,255,255,.22); color: #fff; padding: 5px 11px; border-radius: 999px;
}
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.price-big { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1; letter-spacing: -.02em; }
.featured .price-big { color: #fff; }
.price-card:not(.featured) .price-big { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-per { font-size: .92rem; color: var(--ink-soft); }
.featured .price-per { color: rgba(255,255,255,.8); }
.price-desc { font-size: .95rem; color: var(--ink-soft); margin-bottom: 20px; }
.featured .price-desc { color: rgba(255,255,255,.85); }
.price-feats { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-feats li { padding-left: 26px; position: relative; font-size: .95rem; }
.price-feats li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; font-weight: 800; color: var(--purple);
}
.featured .price-feats li::before { color: #fff; }
.price-card.featured .btn-primary { background: #fff; color: var(--purple-deep); }
.price-card.featured .btn-primary:hover { background: #fff; }
.price-foot { text-align: center; margin-top: 28px; font-size: .85rem; color: var(--ink-soft); }

/* ---------- PILOT FORM ---------- */
.pilot { }
.pilot-card {
  background: var(--white); border-radius: var(--r-xl); padding: clamp(36px, 5vw, 60px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); text-align: center; position: relative;
}
.pilot-mascot { display: flex; justify-content: center; margin-bottom: 10px; }
.pilot-card .section-lead { max-width: 480px; margin: 0 auto 32px; }
.pilot-form { display: grid; gap: 16px; max-width: 460px; margin: 0 auto; text-align: left; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field textarea {
  font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #faf9ff; color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(123,108,240,.14); }
.form-status { text-align: center; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: #2faf7a; }
.form-status.err { color: #d6536a; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 56px 0 40px; margin-top: 40px; position: relative; z-index: 2; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; }
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand p { font-size: .9rem; max-width: 320px; margin-top: 6px; }
.footer-links { display: flex; gap: 22px; font-weight: 500; font-size: .95rem; }
.footer-links a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-links a:hover { color: var(--purple-blue); }
.footer-meta { font-size: .82rem; color: rgba(255,255,255,.45); }

/* ---------- LEARN (ce învață copiii) ---------- */
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.learn-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 24px; transition: transform .3s, box-shadow .3s; }
.learn-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.learn-ic { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.learn-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; margin-bottom: 7px; }
.learn-card p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- PROOF (dovadă socială) ---------- */
.proof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 24px; box-shadow: var(--shadow-sm);
}
.proof-stat { text-align: center; }
.proof-stat b { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
.proof-stat span { font-size: .9rem; color: var(--ink-soft); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px; }
.proof-card blockquote { font-size: 1.04rem; line-height: 1.55; color: var(--ink); font-weight: 500; }
.proof-card figcaption { display: flex; align-items: center; gap: 12px; }
.proof-av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex-shrink: 0; }
.proof-card figcaption b { display: block; font-size: .95rem; }
.proof-card figcaption i { font-style: normal; font-size: .85rem; color: var(--ink-soft); }
.proof-note { text-align: center; margin-top: 22px; font-size: .82rem; color: var(--ink-soft); opacity: .7; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 24px; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; padding: 18px 30px 18px 0; cursor: pointer; list-style: none; position: relative; outline: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--purple); transition: transform .3s; line-height: 1; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:focus-visible { color: var(--purple-deep); }
.faq-item p { color: var(--ink-soft); padding: 0 0 18px; margin-top: -4px; animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- COOKIE CONSENT ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 60; width: min(640px, calc(100% - 32px));
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 18px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  animation: cookieUp .5s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner[hidden] { display: none; } /* override UA [hidden] vs .cookie-banner display:flex */
@keyframes cookieUp { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translateX(-50%); } }
.cookie-banner p { font-size: .9rem; color: var(--ink-soft); flex: 1; min-width: 220px; margin: 0; }
.cookie-actions { display: flex; gap: 10px; }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-copy { order: 2; }
  .hero-mascot { order: 1; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .container.split { grid-template-columns: 1fr; gap: 36px; }
  .container.split.reverse .split-visual { order: 0; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .proof-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
}
@media (max-width: 540px) {
  .hero { padding-top: 120px; }
  .hero-title { font-size: 1.9rem; letter-spacing: -.02em; overflow-wrap: break-word; }
  .mascot-xl { --m: 150px; }
  .nav-actions .btn { display: none; }
  .safety-grid { grid-template-columns: 1fr; }
  .learn-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
