/* =========================================================
   EasyTech — Digital Marketing with AI
   Design system + motion. Vanilla CSS, zero build step.
   ========================================================= */

:root {
  /* Brand (from logo): deep navy, bright blue swoosh, red spark */
  --navy-900: #050d24;
  --navy-800: #081534;
  --navy-700: #0c1f4a;
  --blue-600: #1e63d6;
  --blue-500: #2f7bf2;
  --blue-400: #5b9bff;
  --red-500: #e63946;

  --ink: #0b1530;
  --muted: #5a6781;
  --line: #e6eaf2;
  --surface: #ffffff;
  --surface-2: #f5f8ff;

  --grad-brand: linear-gradient(120deg, #2f7bf2 0%, #1e63d6 45%, #5b9bff 100%);
  --grad-text: linear-gradient(110deg, #2f7bf2 0%, #1e63d6 55%, #6aa8ff 100%);

  --shadow-sm: 0 6px 18px rgba(8, 21, 52, 0.06);
  --shadow-md: 0 18px 44px rgba(8, 21, 52, 0.10);
  --shadow-lg: 0 36px 80px rgba(8, 21, 52, 0.16);
  --shadow-blue: 0 18px 44px rgba(30, 99, 214, 0.30);

  --max-width: 1200px;
  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: 'Sora', Inter, sans-serif; line-height: 1.08; letter-spacing: -0.02em; }

.container { width: min(100%, var(--max-width)); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  left: 16px; top: 16px; width: auto; height: auto; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 10px;
}

/* ---------- Animated background ---------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(47,123,242,0.10), transparent 60%),
              radial-gradient(900px 500px at -10% 10%, rgba(91,155,255,0.10), transparent 55%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; will-change: transform; }
.orb-1 { width: 460px; height: 460px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(47,123,242,0.55), transparent 70%); animation: drift 22s var(--ease) infinite alternate; }
.orb-2 { width: 380px; height: 380px; top: 480px; left: -120px; background: radial-gradient(circle, rgba(91,155,255,0.45), transparent 70%); animation: drift 28s var(--ease) infinite alternate-reverse; }
.orb-3 { width: 300px; height: 300px; bottom: -80px; right: 20%; background: radial-gradient(circle, rgba(230,57,70,0.18), transparent 70%); animation: drift 26s var(--ease) infinite alternate; }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(8,21,52,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(8,21,52,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1000px 600px at 50% 0%, #000 30%, transparent 75%);
}
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px,60px,0) scale(1.12); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.logo { height: 42px; }
.brand { display: inline-flex; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative; color: var(--ink); text-decoration: none; font-size: 0.95rem; font-weight: 600;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width .3s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer;
  padding: 8px; border-radius: 10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 999px; text-decoration: none; font-weight: 650; font-size: 0.97rem;
  border: 0; cursor: pointer; padding: 13px 22px; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
}
.btn-primary:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { to { left: 130%; } }

.btn-secondary { background: #fff; color: var(--navy-800); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--blue-400); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-glass { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.28); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,0.2); }

/* ---------- Hero ---------- */
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-light { background: linear-gradient(110deg, #8fc0ff, #5b9bff); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { padding: 64px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 620px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 8px 15px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  background: rgba(47,123,242,0.09); color: var(--blue-600); border: 1px solid rgba(47,123,242,0.18);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 0 0 rgba(230,57,70,0.5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(230,57,70,0.5); } 70% { box-shadow: 0 0 0 8px rgba(230,57,70,0); } 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); } }

h1 { margin: 0 0 22px; font-size: clamp(2.6rem, 4.2vw + 0.6rem, 4.4rem); font-weight: 800; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 560px; margin: 0 0 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.hero-badges svg { color: #16a34a; }

/* Hero visual / motion graphic */
.hero-media { display: flex; justify-content: center; }
.hero-visual { position: relative; width: min(440px, 100%); aspect-ratio: 1 / 1; }
.hv-glow { position: absolute; inset: 6% 6%; background: var(--grad-brand); filter: blur(48px); opacity: 0.35; border-radius: 50%; }

.hv-card {
  position: absolute; inset: 14% 8% auto 8%; padding: 20px; border-radius: 24px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  box-shadow: var(--shadow-lg); color: #fff; border: 1px solid rgba(255,255,255,0.08);
}
.hv-head { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.hv-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.hv-dot:nth-child(1){ background:#ff5f57;} .hv-dot:nth-child(2){ background:#febc2e;} .hv-dot:nth-child(3){ background:#28c840;}
.hv-title { margin-left: auto; font-size: 0.78rem; color: rgba(255,255,255,0.65); font-weight: 600; letter-spacing: .04em; }
.hv-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-bottom: 14px; }
.hv-bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
  transform-origin: bottom; animation: grow 1.1s var(--ease) both;
}
.hv-bars span:nth-child(odd){ animation-delay: .1s; opacity:.92;}
.hv-bars span:nth-child(3n){ background: linear-gradient(180deg, #ff8a93, var(--red-500)); }
@keyframes grow { from { transform: scaleY(0.05); opacity: 0; } to { transform: scaleY(1); } }
.hv-line svg { width: 100%; height: 50px; }
.hv-line polyline { fill: none; stroke: #8fc0ff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hv-chip {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 12px 16px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-radius: 16px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,0.7);
}
.hv-chip strong { display: block; font-size: 1.05rem; font-family: 'Sora'; color: var(--ink); }
.hv-chip small { color: var(--muted); font-size: 0.74rem; }
.chip-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(47,123,242,0.12); font-size: 1.1rem; }
.chip-green { background: rgba(22,163,74,0.12); }
.chip-red { background: rgba(230,57,70,0.12); }
.hv-chip-1 { top: 4%; right: -2%; }
.hv-chip-2 { bottom: 16%; left: -6%; }
.hv-chip-3 { bottom: 0; right: 6%; }

.hv-ring { position: absolute; border: 1.5px dashed rgba(47,123,242,0.25); border-radius: 50%; }
.hv-ring-1 { inset: -4%; animation: spin 28s linear infinite; }
.hv-ring-2 { inset: 10%; border-color: rgba(230,57,70,0.16); animation: spin 36s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.float-slow { animation: float 6s ease-in-out infinite; }
.float-mid  { animation: float 5s ease-in-out infinite .4s; }
.float-fast { animation: float 4s ease-in-out infinite .2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Trust marquee */
.trust-strip { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.trust-label { display: block; text-align: center; color: var(--muted); font-size: 0.82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 26s linear infinite; }
.marquee-track span { color: var(--navy-800); font-family: 'Sora'; font-weight: 700; font-size: 1.25rem; opacity: 0.55; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-600); background: rgba(47,123,242,0.09); border: 1px solid rgba(47,123,242,0.16);
}
.section-head h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 2.4vw + 0.8rem, 3rem); font-weight: 800; }
.section-sub { color: var(--muted); font-size: 1.06rem; margin: 0; }

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(245,248,255,0.85));
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow-md);
}

/* Stats */
.stats-section { padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 30px; border-radius: var(--radius); background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.stats-grid::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 20% 0%, rgba(47,123,242,0.35), transparent 60%); }
.stat { text-align: center; position: relative; }
.stat-num { display: block; font-family: 'Sora'; font-weight: 800; font-size: clamp(2rem, 3vw, 2.8rem); background: linear-gradient(120deg, #fff, #9cc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: rgba(255,255,255,0.72); font-size: 0.92rem; font-weight: 500; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px 28px; border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.f-ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 18px; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-blue); }
.feature-card h3 { margin: 0 0 10px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); }

/* Problem cards */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.info-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-color .3s; }
.info-card:hover { transform: translateY(-5px); border-color: var(--blue-400); }
.ic-num { display: inline-block; font-family: 'Sora'; font-weight: 800; font-size: 1.1rem; color: var(--blue-500); margin-bottom: 12px; }
.info-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.info-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Curriculum */
.curriculum-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.module-card {
  position: relative; padding: 26px 26px 26px 78px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  overflow: hidden;
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(47,123,242,0.4); }
.mod-no {
  position: absolute; left: 22px; top: 26px; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; font-family: 'Sora'; font-weight: 800; font-size: 0.95rem;
  color: var(--blue-600); background: rgba(47,123,242,0.10);
}
.module-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.module-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.module-card.feat { background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); border-color: transparent; }
.module-card.feat h3 { color: #fff; }
.module-card.feat p { color: rgba(255,255,255,0.7); }
.module-card.feat .mod-no { background: rgba(255,255,255,0.14); color: #9cc4ff; }

/* Tools */
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tool-grid span {
  display: inline-flex; align-items: center; justify-content: center; padding: 20px 14px;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
  color: var(--navy-800); font-weight: 650; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), color .3s, box-shadow .3s;
}
.tool-grid span:hover { transform: translateY(-4px) scale(1.03); color: var(--blue-600); box-shadow: var(--shadow-md); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 26px; max-width: 880px; margin: 0 auto; }
.pricing-card { position: relative; padding: 36px 32px; border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; }
.pricing-card h3 { margin: 0 0 8px; font-size: 1.4rem; }
.price { margin: 0 0 22px; font-family: 'Sora'; font-size: 2.6rem; font-weight: 800; color: var(--ink); }
.price-cur { font-size: 1.1rem; font-weight: 700; color: var(--muted); vertical-align: super; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.pricing-card li { position: relative; padding-left: 30px; color: var(--ink); font-size: 0.97rem; }
.pricing-card li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 50%; font-size: 0.72rem; font-weight: 800; color: #fff; background: var(--grad-brand);
}
.pricing-card-highlight { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; box-shadow: var(--shadow-lg); }
.popular { position: absolute; top: -14px; right: 26px; padding: 7px 15px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-blue); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 30px; border-radius: var(--radius); transition: transform .35s var(--ease); }
.testimonial-card:hover { transform: translateY(-5px); }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { margin: 0 0 22px; color: var(--ink); font-size: 1rem; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-family: 'Sora'; font-weight: 700; background: var(--grad-brand); }
.t-person strong { display: block; font-size: 0.96rem; }
.t-person small { color: var(--muted); font-size: 0.84rem; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: var(--blue-400); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: transparent; color: var(--ink); font-family: 'Sora'; font-size: 1.04rem; font-weight: 600; text-align: left; padding: 20px 22px; cursor: pointer; }
.faq-ic { flex-shrink: 0; color: var(--blue-600); transition: transform .3s var(--ease); }
.faq-item.open .faq-ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Final CTA */
.cta-panel {
  position: relative; overflow: hidden; padding: 64px 48px; border-radius: 32px; text-align: center;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700) 60%, #123a86);
  box-shadow: var(--shadow-lg);
}
.cta-glow { position: absolute; inset: -40% 30% auto; height: 400px; background: radial-gradient(circle at 50% 0, rgba(47,123,242,0.5), transparent 60%); pointer-events: none; }
.cta-content { position: relative; max-width: 660px; margin: 0 auto; }
.cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 2.6vw + 0.8rem, 3rem); margin: 0 0 14px; }
.cta-panel p { color: rgba(255,255,255,0.78); font-size: 1.08rem; margin: 0 0 30px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: var(--surface-2); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin: 16px 0 0; max-width: 340px; font-size: 0.95rem; }
.logo-footer { height: 34px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { margin: 0 0 14px; font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-800); }
.footer-cols a { display: block; color: var(--muted); text-decoration: none; font-size: 0.95rem; margin-bottom: 10px; transition: color .2s; }
.footer-cols a:hover { color: var(--blue-600); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px;
  background: #25D366; border-radius: 50%; display: grid; place-items: center; color: #fff;
  text-decoration: none; box-shadow: 0 14px 34px rgba(37,211,102,0.45); transition: transform .3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.wf-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; opacity: .6; animation: wfp 2.2s ease-out infinite; z-index: -1; }
@keyframes wfp { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

/* Cookie consent */
.cookie-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 110; max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px;
  box-shadow: var(--shadow-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.cookie-consent p { margin: 0; flex: 1 1 240px; font-size: 0.9rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.9rem; }
/* Ensure the hidden attribute actually hides the banner (beats display:flex above) */
.cookie-consent[hidden] { display: none; }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-hero { padding: 64px 0 24px; text-align: center; }
.legal-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 14px 0 12px; }
.legal-hero p { color: var(--muted); margin: 0; }
.legal-updated { display: inline-block; margin-bottom: 8px; padding: 6px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); background: rgba(47,123,242,0.09); border: 1px solid rgba(47,123,242,0.16); }
.legal-body { max-width: 820px; margin: 0 auto; padding: 24px 0 84px; }
.legal-body h2 { font-size: 1.4rem; margin: 40px 0 12px; padding-top: 8px; }
.legal-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: #34405c; font-size: 1.02rem; }
.legal-body ul { padding-left: 22px; display: grid; gap: 8px; }
.legal-body a { color: var(--blue-600); }
.legal-body .lead-note { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.legal-toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--navy-800); text-decoration: none; font-size: 0.88rem; font-weight: 600; transition: border-color .2s, color .2s; }
.legal-toc a:hover { border-color: var(--blue-400); color: var(--blue-600); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .hero-visual { width: min(380px, 80%); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .4s var(--ease); visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .nav-toggle { display: flex; }

  .feature-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .curriculum-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding-top: 40px; }
  .hero-actions, .cta-buttons { flex-direction: column; }
  .hero-actions .btn, .cta-buttons .btn { width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cards-grid, .tool-grid { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 44px 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hv-chip { padding: 9px 12px; }
  .hv-chip strong { font-size: 0.9rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
