/* =====================================================================
   EL-PROF ACADEMY — main stylesheet (mobile-first, RTL-first, logical props)
   ===================================================================== */
:root {
  --p950: #12052f;
  --p900: #1B0845;
  --p800: #310E68;
  --p700: #4C1D95;
  --p600: #6D28D9;
  --p500: #8B5CF6;
  --p400: #A855F7;
  --p200: #DDD0FB;
  --p100: #EDE5FE;
  --p50: #F5F0FF;
  --gold: #F5C66B;
  --ink: #1E1433;
  --muted: #5E5675;
  --line: #ECE4FA;
  --white: #fff;
  --grad: linear-gradient(135deg, #310E68 0%, #6D28D9 55%, #A855F7 100%);
  --grad-btn: linear-gradient(135deg, #5B21B6 0%, #7C3AED 50%, #A855F7 100%);
  --grad-dark: linear-gradient(160deg, #1B0845 0%, #310E68 55%, #6D28D9 120%);
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 8px -2px rgba(49, 14, 104, .10);
  --shadow: 0 14px 40px -18px rgba(49, 14, 104, .28);
  --shadow-lg: 0 30px 70px -30px rgba(49, 14, 104, .45);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --font: 'Cairo', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}
html[lang="en"] { --font: 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.75; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
html[lang="en"] body { line-height: 1.65; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--p600); text-decoration: none; }
a:hover { color: var(--p800); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
bdi { unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--p400); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 1000; background: var(--p800); color: #fff; padding: .6rem 1rem; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 2.5rem); }

.ic { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .ic.flip { transform: scaleX(-1); }
[dir="ltr"] .ic.flip-prev { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn { --bg: var(--p50); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.2; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s; }
.btn svg { width: 1.2em; height: 1.2em; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 26px -10px rgba(109, 40, 217, .65); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(109, 40, 217, .75); }
.btn--outline { background: #fff; color: var(--p700); border-color: var(--p600); }
.btn--outline:hover { background: var(--p50); color: var(--p800); }
.btn--ghost { background: transparent; color: var(--p700); border-color: var(--p100); }
.btn--ghost:hover { background: var(--p50); }
.btn--white { background: #fff; color: var(--p800); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); }
.btn--white:hover { color: var(--p900); transform: translateY(-2px); }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn--lg { min-height: 56px; padding: .9rem 1.9rem; font-size: 1.05rem; }
.btn--sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--shine::after { content: ""; position: absolute; inset: -20% auto -20% -60%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: shine 4.5s var(--ease) infinite; pointer-events: none; }
.btn--white.btn--shine::after { background: linear-gradient(100deg, transparent, rgba(168, 85, 247, .25), transparent); }
@keyframes shine { 0%, 62% { left: -60%; } 82%, 100% { left: 130%; } }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, box-shadow .4s, transform .7s var(--ease), opacity .7s var(--ease); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(49, 14, 104, .35); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 1rem; }
.brand { flex: none; display: block; transition: opacity .5s, transform .5s var(--ease); }
.brand img { height: 56px; width: auto; }
.nav { margin-inline-start: auto; }
.nav__list > li > a, .nav__ddrow > a { display: block; padding: .5rem .6rem; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 10px; transition: color .2s, background-color .2s; }
.nav__list a[aria-current="page"] { color: var(--p600); }
.nav__list > li > a:hover, .nav__ddrow > a:hover { color: var(--p600); background: var(--p50); }
.header__actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.lang-switch { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--p100); color: var(--p700); font-weight: 800; font-size: .9rem; font-family: 'Inter', 'Cairo', sans-serif; transition: background-color .2s, color .2s, border-color .2s; }
.lang-switch:hover { background: var(--p50); }
.login-link { display: none; font-weight: 700; font-size: .92rem; color: var(--p700); padding: .4rem .6rem; }
.header__cta { display: none; }
.burger { display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--p50); cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--p800); transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
@media (max-width: 1199px) {
  .nav { position: fixed; inset: var(--header-h) 0 0; z-index: 99; background: #fff; padding: 1rem 1.25rem 7rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  [dir="rtl"] .nav { transform: translateX(-100%); }
  .nav.is-open { transform: none !important; visibility: visible; transition: transform .45s var(--ease); }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li > a, .nav__ddrow > a { padding: .95rem .25rem; font-size: 1.05rem; flex: 1; }
  .nav__ddrow { display: flex; align-items: center; }
  .dd-toggle { width: 44px; height: 44px; border: 0; background: var(--p50); border-radius: 10px; color: var(--p700); display: grid; place-items: center; cursor: pointer; }
  .dd-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .dd { display: none; padding-bottom: .75rem; }
  .has-dd.is-open .dd { display: block; }
  .dd__grid li a { display: flex; gap: .75rem; align-items: center; padding: .6rem .25rem; color: var(--ink); }
  .dd__grid small { display: none; }
  .dd__all { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; padding: .5rem .25rem; }
  .nav__mobile-extra { display: grid; gap: .75rem; margin-top: 1.5rem; }
  .nav__mobile-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 640px) { .header__cta { display: inline-flex; } }
@media (min-width: 1200px) {
  :root { --header-h: 84px; }
  .brand img { height: 62px; }
  .burger, .nav__mobile-extra { display: none; }
  .nav { margin-inline-start: 1.25rem; }
  .nav__list { display: flex; align-items: center; gap: .1rem; }
  .header__actions { margin-inline-start: auto; }
  .login-link { display: inline-block; }
  .has-dd { position: relative; }
  .nav__ddrow { display: flex; align-items: center; }
  .dd-toggle { width: 22px; height: 30px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; margin-inline-start: -.4rem; }
  .dd-toggle svg { width: 16px; height: 16px; transition: transform .25s; }
  .dd { position: absolute; top: calc(100% + 12px); inset-inline-start: -1rem; width: 560px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 1rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .dd::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
  .has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.is-open .dd { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .has-dd:hover .dd-toggle svg, .has-dd.is-open .dd-toggle svg { transform: rotate(180deg); }
  .dd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
  .dd__grid a { display: flex; gap: .75rem; padding: .7rem; border-radius: 14px; color: var(--ink); transition: background-color .2s; }
  .dd__grid a:hover { background: var(--p50); }
  .dd__grid b { display: block; font-size: .95rem; }
  .dd__grid small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }
  .dd__all { display: flex; justify-content: center; gap: .4rem; align-items: center; margin-top: .5rem; padding: .7rem; border-radius: 12px; background: var(--p50); font-weight: 700; }
}
.dd__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.dd__ic svg { width: 20px; height: 20px; }

/* header over hero */
.site-header.is-over-hero:not(.is-solid) { background: linear-gradient(to bottom, rgba(18, 5, 47, .55), transparent); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; box-shadow: none; }
.site-header.is-over-hero:not(.is-solid) .brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
@media (min-width: 1200px) {
  .site-header.is-over-hero:not(.is-solid) .nav__list > li > a, .site-header.is-over-hero:not(.is-solid) .nav__ddrow > a, .site-header.is-over-hero:not(.is-solid) .login-link, .site-header.is-over-hero:not(.is-solid) .dd-toggle { color: #fff; }
  .site-header.is-over-hero:not(.is-solid) .nav__list > li > a:hover, .site-header.is-over-hero:not(.is-solid) .nav__ddrow > a:hover { background: rgba(255, 255, 255, .12); }
}
.site-header.is-over-hero:not(.is-solid) .lang-switch { color: #fff; border-color: rgba(255, 255, 255, .4); }
.site-header.is-over-hero:not(.is-solid) .burger { background: rgba(255, 255, 255, .14); }
.site-header.is-over-hero:not(.is-solid) .burger span { background: #fff; }
body.nav-open .site-header { background: #fff !important; }
body.nav-open .site-header .brand { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
body.nav-open .site-header .burger { background: var(--p50) !important; }
body.nav-open .site-header .burger span { background: var(--p800) !important; }
body.nav-open .site-header .lang-switch { color: var(--p700) !important; border-color: var(--p100) !important; }
.js body.intro-active .site-header { transform: translateY(-110%); opacity: 0; pointer-events: none; }

/* ---------- floating whatsapp + mobile bar ---------- */
.wa-float { position: fixed; z-index: 90; inset-inline-end: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: none; place-items: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--ease), opacity .5s; }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ping 2.6s ease-out infinite; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.mobile-bar { position: fixed; z-index: 90; inset: auto 0 0; display: grid; grid-template-columns: auto 1fr; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(49, 14, 104, .4); transition: transform .5s var(--ease); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; border-radius: 14px; font-weight: 800; font-size: .98rem; position: relative; overflow: hidden; isolation: isolate; }
.mobile-bar svg { width: 22px; height: 22px; }
.mobile-bar__wa { padding: 0 1.1rem; background: #E9FBEF; color: #128C4B; }
.mobile-bar__book { background: var(--grad-btn); color: #fff; }
.mobile-bar__book:hover { color: #fff; }
.js body.intro-active .mobile-bar, .js body.intro-active .wa-float { transform: translateY(140%); }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .mobile-bar { display: none; } .wa-float { display: grid; } body { padding-bottom: 0; } }

/* ---------- sections ---------- */
main { display: block; }
body:not(.has-hero) main { padding-top: var(--header-h); }
.section { padding: 4.5rem 0; position: relative; }
.section--tight { padding: 3rem 0; }
.section--soft { background: var(--p50); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .9rem; border-radius: 999px; background: var(--p100); color: var(--p700); font-weight: 700; font-size: .85rem; }
.eyebrow--light { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.lead { font-size: 1.12rem; color: var(--muted); }
.center-actions { display: flex; justify-content: center; margin-top: 2.25rem; }
.demo-badge { display: inline-flex; align-items: center; padding: .15rem .65rem; border-radius: 999px; background: #FFF6DE; color: #7A5200; border: 1px dashed #E7B94C; font-size: .72rem; font-weight: 700; letter-spacing: 0; vertical-align: middle; white-space: nowrap; }
.demo-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; justify-content: center; color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
@media (min-width: 992px) { .section { padding: 6rem 0; } .section--tight { padding: 3.5rem 0; } }

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid--courses { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--why { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
@media (min-width: 768px) { .grid { gap: 1.5rem; } }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 1.75rem; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--p800); }
.chips--light li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; }
.checks .ic { color: var(--p600); margin-top: .3em; width: 1.1em; height: 1.1em; padding: .12em; background: var(--p100); border-radius: 50%; stroke-width: 3; }
.checks--lg li { font-size: 1.06rem; padding: .5rem 0; }
.checks--light li { color: #fff; }
.checks--light .ic { color: #fff; background: rgba(255, 255, 255, .18); }

/* ---------- HERO (video intro) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--p950); color: #fff; --p: 1; --exit: 0; --hx: 50%; --hy: 40%; }
.hero.is-intro { height: 220vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: radial-gradient(ellipse at 50% 40%, #2b1d3c 0%, #1d1229 60%, #12052f 100%); }
.hero__media { position: absolute; inset: 0; transform-origin: 50% 45%; transition: transform 1.6s var(--ease); -webkit-mask-image: radial-gradient(140% 120% at 50% 50%, #000 58%, transparent 82%); mask-image: radial-gradient(140% 120% at 50% 50%, #000 58%, transparent 82%); will-change: transform; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .6s; }
.hero__poster img { transition: opacity .6s; }
.hero.is-intro .hero__poster img { opacity: 0; } /* intro starts from the video's first frame, poster stays as fallback */
.hero.has-video .hero__video { opacity: 1; }
.hero.is-fallback .hero__stage { background: var(--grad-dark); }
.hero.is-fallback .hero__poster img { opacity: .92; }
.hero__tint { position: absolute; inset: 0; background: linear-gradient(160deg, #1B0845 0%, #310E68 50%, #6D28D9 100%); mix-blend-mode: color; opacity: .6; pointer-events: none; }
.hero__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 48%, transparent 40%, rgba(18, 5, 47, .55) 75%, rgba(18, 5, 47, .92) 100%); opacity: calc(.25 + .75 * var(--p)); }
.hero__halo { position: absolute; width: 70vmax; height: 70vmax; left: 0; top: 0; translate: calc(var(--hx) - 35vmax) calc(var(--hy) - 35vmax); border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .28) 0%, rgba(245, 198, 107, .06) 35%, transparent 62%); mix-blend-mode: screen; pointer-events: none; opacity: calc(.2 + .8 * var(--p)); }
.hero__geo { position: absolute; inset: -10%; width: 120%; height: 120%; pointer-events: none; opacity: calc(.15 + .5 * var(--p)); }
.hero__geo g { fill: none; stroke: rgba(221, 208, 251, .22); stroke-width: 1; will-change: transform; transform-box: fill-box; transform-origin: center; }
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: calc(.15 + .85 * var(--p)); }
.hero__scrim { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); background: linear-gradient(to top, rgba(18, 5, 47, .96) 0%, rgba(18, 5, 47, .82) 38%, rgba(18, 5, 47, .2) 62%, transparent 75%); }
.hero__content { position: absolute; inset: 0; margin: auto; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); pointer-events: none; visibility: hidden; }
.hero__content > * { pointer-events: auto; }
.hero__title { font-size: clamp(2.3rem, 5.5vw + .8rem, 4.4rem); font-weight: 900; line-height: 1.15; margin: .9rem 0 .7rem; color: #fff; text-shadow: 0 6px 40px rgba(109, 40, 217, .55); max-width: 14ch; }
html[lang="en"] .hero__title { line-height: 1.05; }
.hero__title .w { display: inline-block; }
.hero__sub { color: rgba(255, 255, 255, .86); font-size: clamp(1rem, .6vw + .9rem, 1.2rem); max-width: 34rem; margin-bottom: 1.4rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__ctas .btn { flex: 1 1 auto; }
.hero__stats { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem; margin-top: 1.6rem; }
.hero__stats li { display: grid; }
.hero__stats b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; font-family: 'Inter', 'Cairo', sans-serif; background: linear-gradient(90deg, #fff, #E9D5FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats span { color: rgba(255, 255, 255, .72); font-size: .85rem; }
.hero__stats .hero__demo { font-size: .7rem; color: rgba(255, 255, 255, .55); align-self: center; }
.hero__controls { position: absolute; z-index: 3; bottom: calc(1.1rem + env(safe-area-inset-bottom)); inset-inline-end: 1rem; display: flex; gap: .5rem; }
.hero__btn { min-width: 42px; height: 42px; padding: 0 .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(18, 5, 47, .35); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: inline-grid; place-items: center; cursor: pointer; font-weight: 600; font-size: .85rem; transition: background-color .3s, opacity .5s; }
.hero__btn:hover { background: rgba(255, 255, 255, .16); }
.hero__sound { padding: 0; width: 42px; }
.hero__sound .ic { grid-area: 1 / 1; width: 18px; height: 18px; }
.hero__sound .is-on, .hero__sound[aria-pressed="true"] .is-off { opacity: 0; }
.hero__sound[aria-pressed="true"] .is-on { opacity: 1; }
.hero__skip { display: none; }
.hero.is-intro:not(.is-done) .hero__skip { display: inline-grid; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: calc(1.1rem + env(safe-area-inset-bottom)); translate: -50% 0; display: grid; justify-items: center; gap: .35rem; color: rgba(255, 255, 255, .8); font-size: .78rem; font-weight: 600; letter-spacing: .02em; transition: opacity .6s; }
.hero__scroll:hover { color: #fff; }
.hero__scroll i { width: 26px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 14px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80%, 100% { transform: translateY(14px); opacity: 0; } }
.hero.is-done .hero__scroll, .hero.is-static .hero__scroll, html:not(.js) .hero__scroll { opacity: 0; pointer-events: none; }
.hero__exit { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, #fff 0%, rgba(255, 255, 255, .85) 30%, rgba(255, 255, 255, 0) 70%); opacity: var(--exit); }

/* final hero layout (after intro, static, or no JS) */
html:not(.js) .hero__content, .hero.is-static .hero__content, .hero.is-done .hero__content { visibility: visible; }
html:not(.js) .hero__scrim, .hero.is-static .hero__scrim, .hero.is-done .hero__scrim { opacity: 1; }
html:not(.js) .hero__media, .hero.is-static .hero__media, .hero.is-done .hero__media { transform: translateY(-33%) scale(.5); }
.hero.is-static .hero__media { transition: none; }
html:not(.js) .hero__media, .hero.is-static .hero__media, .hero.is-done .hero__media { -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
@media (min-width: 768px) and (min-aspect-ratio: 4/5) {
  .hero__content { justify-content: center; padding-bottom: 0; padding-top: var(--header-h); }
  .hero__content > * { max-width: 46%; }
  .hero__title { max-width: none; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__scrim { background: linear-gradient(to left, rgba(18, 5, 47, .94) 0%, rgba(18, 5, 47, .7) 34%, rgba(18, 5, 47, 0) 62%); }
  [dir="ltr"] .hero__scrim { background: linear-gradient(to right, rgba(18, 5, 47, .94) 0%, rgba(18, 5, 47, .7) 34%, rgba(18, 5, 47, 0) 62%); }
  html:not(.js) .hero__media, .hero.is-static .hero__media, .hero.is-done .hero__media { transform: translateX(-30%) scale(.64); }
  [dir="ltr"] .hero__media.x, html[dir="ltr"]:not(.js) .hero__media, [dir="ltr"] .hero.is-static .hero__media, [dir="ltr"] .hero.is-done .hero__media { transform: translateX(30%) scale(.64); }
  .hero__stats b { font-size: 1.9rem; }
}
@media (max-height: 640px) and (max-width: 767px) { .hero__stats { display: none; } .hero__sub { font-size: .95rem; margin-bottom: 1rem; } }

/* reveal choreography (only when the intro runs) */
.hero.is-intro .hero__title .w { opacity: 0; filter: blur(14px); transform: translateY(.35em); }
.hero.is-intro .hero__reveal { opacity: 0; transform: translateY(18px); }
.hero.is-intro.is-done .hero__title .w { animation: wordIn 1s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .16s); }
.hero.is-intro.is-done .hero__reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); opacity: 1; transform: none; }
.hero.is-intro.is-done .eyebrow.hero__reveal { transition-delay: .2s; }
.hero.is-intro.is-done .hero__sub { transition-delay: .9s; }
.hero.is-intro.is-done .hero__ctas { transition-delay: 1.1s; }
.hero.is-intro.is-done .hero__stats { transition-delay: 1.3s; }
@keyframes wordIn { to { opacity: 1; filter: blur(0); transform: none; } }

/* ---------- trust bar ---------- */
.after-hero { position: relative; background: #fff; }
.trust { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.trust__list li { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; color: var(--p800); }
.trust__list .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--p50); color: var(--p600); }
@media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* ---------- placement test card ---------- */
.test-card { position: relative; overflow: hidden; display: grid; gap: 2rem; padding: 2rem; border-radius: var(--r-lg); background: var(--grad-dark); color: #fff; box-shadow: var(--shadow-lg); }
.test-card::before { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-end: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .5), transparent 65%); }
.test-card > * { position: relative; }
.test-card h2 { color: #fff; font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); margin-top: .8rem; }
.test-card p { color: rgba(255, 255, 255, .85); max-width: 34rem; }
.test-card .eyebrow { background: rgba(255, 255, 255, .12); color: #fff; font-family: 'Inter', sans-serif; }
.test-card .chips li { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.test-card .btn--primary { background: #fff; color: var(--p800); }
.test-card__scale { display: flex; align-items: flex-end; gap: .6rem; height: 210px; padding: 1rem; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); direction: ltr; }
.test-card__scale span { flex: 1; display: grid; place-items: end center; padding-bottom: .5rem; height: calc(28% + var(--i) * 14%); border-radius: 12px 12px 6px 6px; background: linear-gradient(to top, rgba(168, 85, 247, .35), rgba(168, 85, 247, .9)); font-family: 'Inter', sans-serif; font-weight: 800; font-size: .9rem; transform-origin: bottom; animation: grow 1.2s var(--ease) both; animation-delay: calc(var(--i) * .1s); }
.test-card__scale span:last-child { background: linear-gradient(to top, rgba(245, 198, 107, .4), var(--gold)); color: var(--p900); }
@keyframes grow { from { transform: scaleY(.1); } }
@media (min-width: 900px) { .test-card { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 3rem; } }

/* ---------- course cards ---------- */
.course-card { position: relative; display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, #fff); }
.course-card__ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #F0ABFC)); box-shadow: 0 10px 22px -10px var(--c); margin-bottom: 1.1rem; }
.course-card__ic svg { width: 26px; height: 26px; }
.course-card__tag { position: absolute; top: 1.4rem; inset-inline-end: 1.4rem; padding: .2rem .7rem; border-radius: 999px; background: var(--p50); color: var(--p700); font-size: .78rem; font-weight: 700; }
.blog-card .course-card__tag { position: static; align-self: flex-start; margin-bottom: .6rem; }
.course-card h3 { font-size: 1.22rem; margin-bottom: .35rem; }
.course-card h3 a { color: inherit; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.course-card p { color: var(--muted); font-size: .96rem; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: auto 0 1rem; padding-top: .5rem; color: var(--muted); font-size: .85rem; }
.course-card__meta li { display: inline-flex; align-items: center; gap: .35rem; }
.course-card__meta .ic { width: 1rem; height: 1rem; color: var(--p500); }
.course-card__more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--p600); }
.course-card:hover .course-card__more .ic { translate: 4px 0; }
[dir="rtl"] .course-card:hover .course-card__more .ic { translate: -4px 0; }
.course-card__more .ic { transition: translate .3s var(--ease); }

/* ---------- learning systems ---------- */
.system-card { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.system-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.system-card.is-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.system-card__ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--p50); color: var(--p600); margin-bottom: 1.2rem; }
.system-card__ic svg { width: 28px; height: 28px; }
.system-card.is-featured .system-card__ic { background: var(--grad); color: #fff; }
.system-card h3 { font-size: 1.35rem; }
.system-card p { color: var(--muted); }
.system-card .checks { margin: .25rem 0 1.5rem; flex: 1; }
.ribbon { position: absolute; top: -13px; inset-inline-start: 1.5rem; padding: .25rem .9rem; border-radius: 999px; background: var(--grad); color: #fff; font-size: .78rem; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(109, 40, 217, .8); }

/* ---------- why ---------- */
.why-item { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; padding: 1.4rem; border-radius: var(--r); transition: background-color .3s; }
.why-item:hover { background: var(--p50); }
.why-item__ic { grid-row: span 2; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(109, 40, 217, .8); }
.why-item__ic svg { width: 26px; height: 26px; }
.why-item h3 { font-size: 1.12rem; margin: 0; align-self: end; }
.why-item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: s; }
.step { position: relative; padding: 2rem 1.75rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.step__n { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; font-size: 1.4rem; font-family: 'Inter', sans-serif; margin-bottom: 1rem; box-shadow: 0 0 0 8px var(--p100); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 58px; inset-inline-start: calc(100% - 1rem); width: 3rem; border-top: 2px dashed var(--p200); }
}

/* ---------- levels journey ---------- */
.journey { position: relative; display: grid; gap: 1rem; padding-inline-start: 2.25rem; }
.journey::before { content: ""; position: absolute; inset-block: 1rem; inset-inline-start: 1.05rem; width: 3px; border-radius: 3px; background: linear-gradient(to bottom, var(--p200), var(--p600), var(--p400)); }
.journey__stop { position: relative; }
.journey__code { position: absolute; inset-inline-start: -2.25rem; top: 1rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--grad); color: #fff; font-family: 'Inter', sans-serif; font-weight: 800; font-size: .82rem; box-shadow: 0 0 0 5px #fff, 0 6px 14px -4px rgba(109, 40, 217, .6); }
.journey__card { padding: 1.2rem 1.4rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.journey__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.journey__card h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.journey__card p { color: var(--muted); font-size: .93rem; margin-bottom: .7rem; }
.journey__sessions { display: inline-flex; gap: .4rem; align-items: center; padding: .25rem .75rem; border-radius: 999px; background: var(--p50); color: var(--p700); font-weight: 700; font-size: .85rem; }
.journey__sessions .ic { width: 1rem; height: 1rem; }
@media (min-width: 992px) {
  .journey { grid-template-columns: repeat(5, 1fr); padding: 3.4rem 0 0; gap: 1.1rem; }
  .journey::before { inset: 1.35rem 6% auto; width: auto; height: 3px; background: linear-gradient(to left, var(--p200), var(--p600), var(--p400)); }
  [dir="ltr"] .journey::before { background: linear-gradient(to right, var(--p200), var(--p600), var(--p400)); }
  .journey__code { inset-inline-start: 50%; top: -3.4rem; translate: 50% 0; width: 2.8rem; height: 2.8rem; font-size: .95rem; }
  [dir="ltr"] .journey__code { translate: -50% 0; }
  .journey__stop { margin-top: calc(var(--i) * -0px); }
  .journey__card { height: 100%; display: flex; flex-direction: column; }
  .journey__sessions { margin-top: auto; align-self: flex-start; }
}

/* ---------- pricing ---------- */
.pricing-grid { align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); }
.price-card.is-featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
@media (min-width: 992px) { .pricing-grid .price-card.is-featured { transform: translateY(-12px); } }
.price-card__head { display: flex; align-items: center; gap: .75rem; }
.price-card__head h3 { margin: 0; font-size: 1.3rem; }
.price-card__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--p50); color: var(--p600); }
.price-card.is-featured .price-card__ic { background: var(--grad); color: #fff; }
.price-card__tag { color: var(--muted); margin: .75rem 0 1rem; font-size: .95rem; }
.price-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px dashed var(--line); color: var(--p800); }
.price-card__price b { font-size: 2.6rem; font-weight: 900; font-family: 'Inter', 'Cairo', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-card__price small { color: var(--muted); font-size: .9rem; }
.price-card .checks { flex: 1; margin-bottom: 1.5rem; }
.price-card .demo-badge { align-self: flex-start; margin: -.6rem 0 1rem; }
.installment { display: flex; justify-content: center; align-items: center; gap: .5rem; flex-wrap: wrap; text-align: center; margin: 2rem auto 0; padding: .9rem 1.4rem; max-width: 720px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--p800); }
.installment .ic { color: var(--p500); }
.installment--sm { border-radius: var(--r-sm); font-size: .85rem; margin-top: 1rem; padding: .7rem; background: var(--p50); border: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; text-align: center; }
.compare th, .compare td { padding: 1rem; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--p50); color: var(--p800); font-weight: 800; }
.compare tbody th { text-align: start; font-weight: 600; }
.compare .is-featured { background: color-mix(in srgb, var(--p100) 50%, #fff); }
.compare thead .is-featured { background: var(--grad); color: #fff; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .ok { color: var(--p600); margin-inline: auto; stroke-width: 3; }

/* ---------- teachers ---------- */
.teacher-card { padding: 1.25rem 1.25rem 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.teacher-card__photo { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; margin-bottom: 1rem; }
.teacher-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.avatar { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, .9); }
.avatar svg { width: 40%; height: 40%; stroke-width: 1.2; }
.avatar--0 { background: linear-gradient(135deg, #310E68, #7C3AED); }
.avatar--1 { background: linear-gradient(135deg, #6D28D9, #C084FC); }
.avatar--2 { background: linear-gradient(135deg, #4C1D95, #A855F7); }
.avatar--3 { background: linear-gradient(135deg, #5B21B6, #E9D5FF); }
.teacher-card h3 { font-size: 1.12rem; margin-bottom: .1rem; }
.teacher-card__role { color: var(--p600); font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.teacher-card p { color: var(--muted); font-size: .9rem; }
.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.certs li { padding: .2rem .65rem; border-radius: 999px; background: var(--p50); color: var(--p700); font-size: .78rem; font-weight: 700; font-family: 'Inter', 'Cairo', sans-serif; }
.join-card { display: grid; gap: 1.5rem; align-items: center; padding: 2rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.join-card p { color: var(--muted); margin: 0; }
.join-card .btn svg { width: 22px; height: 22px; }
@media (min-width: 768px) { .join-card { grid-template-columns: 1fr auto; padding: 2.5rem 3rem; } }

/* ---------- stories slider ---------- */
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 340px); gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: .5rem .25rem 1.5rem; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; display: flex; }
.slide > figure { margin: 0; width: 100%; }
.slider__nav { display: flex; justify-content: center; gap: .75rem; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--p200); background: #fff; color: var(--p700); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .2s; }
.slider__btn:hover { background: var(--p50); transform: scale(1.05); }
.slider__btn:disabled { opacity: .4; cursor: default; transform: none; }
.wa-shot { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: #ECE5DD; box-shadow: var(--shadow); border: 6px solid #1f1530; min-height: 300px; }
.wa-shot__top { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; background: #075E54; color: #fff; font-size: .92rem; }
.wa-shot__av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: grid; place-items: center; }
.wa-shot__av svg { width: 18px; height: 18px; }
.wa-shot__ex { margin-inline-start: auto; font-size: .7rem; padding: .1rem .5rem; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.wa-shot__body { flex: 1; display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1rem; background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 14px 14px; }
.wa-bubble { position: relative; align-self: flex-start; max-width: 88%; margin: 0; padding: .55rem .8rem 1.2rem; border-radius: 12px; border-start-start-radius: 2px; background: #fff; font-size: .95rem; line-height: 1.6; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-bubble time { position: absolute; bottom: .2rem; inset-inline-end: .6rem; font-size: .68rem; color: #7b8b85; font-family: 'Inter', sans-serif; }
.review { display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 300px; }
.stars { display: flex; gap: .15rem; color: #F5B83D; margin-bottom: 1rem; }
.stars svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0 0 1.25rem; font-size: 1.05rem; flex: 1; }
.review figcaption { display: grid; }
.review figcaption span { color: var(--muted); font-size: .88rem; }
.video-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--grad-dark); color: #fff; box-shadow: var(--shadow); min-height: 300px; }
.video-card video { width: 100%; aspect-ratio: 9/12; object-fit: cover; }
.video-card__ph { flex: 1; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(168, 85, 247, .45), transparent 60%); }
.video-card__ph svg { width: 70px; height: 70px; padding: 20px; border-radius: 50%; background: rgba(255, 255, 255, .15); fill: #fff; stroke: none; backdrop-filter: blur(6px); }
.video-card figcaption { padding: 1rem 1.25rem; font-weight: 700; }

/* ---------- faq ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: var(--p200); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--p50); color: var(--p600); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq__item[open] summary .ic { transform: rotate(45deg); background: var(--p600); color: #fff; }
.faq__a { padding: 0 1.4rem 1.2rem; color: var(--muted); animation: fadeDown .45s var(--ease); }
.faq__a p { margin: 0; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 5rem 0; background: var(--grad); color: #fff; text-align: center; }
.cta-band__fx span { position: absolute; border-radius: 50%; filter: blur(10px); background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); animation: float 12s ease-in-out infinite; }
.cta-band__fx span:nth-child(1) { width: 380px; height: 380px; top: -140px; inset-inline-start: -80px; }
.cta-band__fx span:nth-child(2) { width: 260px; height: 260px; bottom: -120px; inset-inline-end: 10%; animation-delay: -4s; }
.cta-band__fx span:nth-child(3) { width: 160px; height: 160px; top: 20%; inset-inline-end: -40px; animation-delay: -8s; background: radial-gradient(circle, rgba(245, 198, 107, .3), transparent 65%); }
@keyframes float { 50% { transform: translate(20px, -24px) scale(1.06); } }
.cta-band__inner { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3vw + 1rem, 3rem); }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 40rem; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.cta-band__actions svg { width: 22px; height: 22px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 4rem 0 4.5rem; background: var(--grad-dark); color: #fff; border-radius: 0 0 36px 36px; }
.page-hero__fx { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 85% 10%, rgba(168, 85, 247, .45), transparent 60%), radial-gradient(500px 300px at 10% 100%, rgba(245, 198, 107, .12), transparent 60%); }
.page-hero__fx::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); }
.page-hero__inner { position: relative; max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.5vw + 1rem, 3.4rem); font-weight: 900; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 1.12rem; max-width: 40rem; }
.page-hero .chips { margin-bottom: 1.5rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.page-hero--full { min-height: 70vh; display: grid; align-items: center; text-align: center; }
.page-hero--full .page-hero__inner { margin-inline: auto; }
.page-hero--full h1 { font-size: 6rem; font-family: 'Inter', sans-serif; }
.page-hero--full .page-hero__actions { justify-content: center; }
@media (min-width: 992px) { .page-hero { padding: 5.5rem 0 6rem; } }

/* ---------- courses page ---------- */
.soon-card { text-align: center; padding: 3rem 1.5rem; border-radius: var(--r-lg); border: 2px dashed var(--p200); background: #fff; }
.soon-card__badge { display: inline-block; padding: .25rem .9rem; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; font-size: .82rem; margin-bottom: 1rem; }
.soon-card p { color: var(--muted); max-width: 36rem; margin-inline: auto; }
.soon-card__slots { display: flex; justify-content: center; gap: 1rem; margin: 1.5rem 0; }
.soon-card__slots span { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--p50); color: var(--p400); border: 1.5px dashed var(--p200); }
.course-layout { display: grid; gap: 2.5rem; }
.course-main > div { margin-bottom: 2.75rem; }
.course-main h2 { font-size: 1.6rem; }
.syllabus { display: grid; gap: .9rem; }
.syllabus li { display: flex; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--r); background: var(--p50); }
.syllabus__n { flex: none; font-family: 'Inter', sans-serif; font-weight: 900; font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.syllabus h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.syllabus p { margin: 0; color: var(--muted); }
.course-aside .price-card { gap: 0; }
.course-aside .btn + .btn { margin-top: .6rem; }
@media (min-width: 992px) { .course-layout { grid-template-columns: 1fr 380px; gap: 4rem; } .is-sticky { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- blog ---------- */
.blog-card { display: flex; flex-direction: column; padding: 1rem 1rem 1.5rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.blog-card__img { aspect-ratio: 16/9; border-radius: var(--r); display: grid; place-items: center; color: rgba(255, 255, 255, .9); margin-bottom: 1rem; }
.blog-card__img svg { width: 56px; height: 56px; stroke-width: 1.3; }
.blog-card__img--0 { background: linear-gradient(135deg, #310E68, #8B5CF6); }
.blog-card__img--1 { background: linear-gradient(135deg, #6D28D9, #E879F9); }
.blog-card__img--2 { background: linear-gradient(135deg, #1B0845, #A855F7); }
.blog-card h3 { font-size: 1.12rem; padding-inline: .4rem; }
.blog-card p { color: var(--muted); font-size: .94rem; padding-inline: .4rem; }
.blog-card .course-card__more, .blog-card .course-card__tag { margin-inline: .4rem; }
.blog-card .course-card__more { margin-top: auto; color: var(--muted); font-size: .88rem; }

/* ---------- forms ---------- */
.form-card { padding: 1.75rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); color: var(--ink); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 14px; border: 1.5px solid #E3DAF7; background: #FDFBFF; transition: border-color .2s, box-shadow .2s, background-color .2s; font-size: 1rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D28D9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: left 1rem center; padding-inline-end: 2.75rem; }
[dir="ltr"] .field select { background-position: right 1rem center; }
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--p500); background: #fff; box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #DC2626; }
.field__err { color: #B91C1C; font-size: .82rem; min-height: 0; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } .form-card { padding: 2.25rem; } }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 1rem 0 0; }
.form-status { margin: 1rem 0 0; font-weight: 700; color: var(--p700); text-align: center; }
.form-status:empty { display: none; }
.form-status.is-ok { padding: .9rem; border-radius: 14px; background: #ECFDF5; color: #047857; }
.book { position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; padding: 3.5rem 0 5rem; min-height: calc(100vh - var(--header-h)); }
.book__inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.book h1 { color: #fff; font-size: clamp(2rem, 3vw + 1rem, 3.1rem); font-weight: 900; margin-top: 1rem; }
.book__intro p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
@media (min-width: 992px) { .book { padding: 5rem 0 6rem; } .book__inner { grid-template-columns: 1fr 480px; gap: 4rem; } }
.contact-cards { margin-bottom: 3rem; }
.contact-card { display: grid; justify-items: center; gap: .3rem; text-align: center; padding: 1.6rem 1rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--p50); color: var(--p600); margin-bottom: .4rem; }
.contact-card__ic svg { width: 24px; height: 24px; }
.contact-card__ic.is-wa { background: #E9FBEF; color: #1DA851; }
.contact-card span { color: var(--muted); font-size: .92rem; }
.contact-layout { display: grid; gap: 1.5rem; }
.map-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.map-card iframe { width: 100%; flex: 1; min-height: 340px; border: 0; }
.map-card .online-card { flex: 1; min-height: 340px; display: grid; place-content: center; justify-items: center; gap: .75rem; background: var(--grad); color: #fff; text-align: center; }
.map-card .online-card .ic { width: 64px; height: 64px; }
.map-card .online-card strong { font-size: 1.75rem; font-weight: 800; }
.map-card p { display: flex; gap: .5rem; align-items: center; margin: 0; padding: 1rem 1.25rem; color: var(--muted); }
@media (min-width: 992px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p { color: var(--muted); }

/* ---------- placement test app ---------- */
.section--test { background: var(--p50); }
.pt { max-width: 720px; margin-inline: auto; margin-top: -6rem; position: relative; }
.pt__card { padding: 1.75rem; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: ptIn .5s var(--ease); }
@keyframes ptIn { from { opacity: 0; transform: translateY(14px); } }
@media (min-width: 640px) { .pt__card { padding: 2.5rem; } }
.pt__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; font-weight: 700; color: var(--muted); font-size: .9rem; }
.pt__lvl { padding: .15rem .6rem; border-radius: 999px; background: var(--p50); color: var(--p700); font-family: 'Inter', sans-serif; font-size: .8rem; }
.pt__bar { height: 8px; border-radius: 8px; background: var(--p100); overflow: hidden; margin-bottom: 2rem; }
.pt__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width .5s var(--ease); }
.pt__q { font-family: 'Inter', 'Cairo', sans-serif; font-size: clamp(1.2rem, 1.5vw + 1rem, 1.6rem); font-weight: 700; margin-bottom: 1.5rem; direction: ltr; text-align: left; }
.pt__opts { display: grid; gap: .7rem; direction: ltr; }
.pt__opt { display: flex; align-items: center; gap: .8rem; width: 100%; padding: 1rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--line); background: #FDFBFF; text-align: left; font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s, transform .15s; }
.pt__opt:hover { border-color: var(--p400); background: var(--p50); }
.pt__opt[aria-checked="true"] { border-color: var(--p600); background: var(--p50); box-shadow: 0 0 0 3px rgba(139, 92, 246, .18); }
.pt__opt i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--p100); color: var(--p700); font-style: normal; font-weight: 800; font-size: .85rem; }
.pt__opt[aria-checked="true"] i { background: var(--grad); color: #fff; }
.pt__nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 2rem; }
.pt__nav .btn { flex: 1; }
@media (min-width: 640px) { .pt__nav .btn { flex: 0 0 auto; min-width: 150px; } }
.pt__goals { display: flex; flex-wrap: wrap; gap: .5rem; }
.pt__goals label { cursor: pointer; }
.pt__goals input { position: absolute; opacity: 0; pointer-events: none; }
.pt__goals span { display: inline-block; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; transition: all .2s; }
.pt__goals input:checked + span { border-color: var(--p600); background: var(--p600); color: #fff; }
.pt__goals input:focus-visible + span { outline: 3px solid var(--p400); outline-offset: 2px; }
.pt__result { text-align: center; }
.pt__badge { width: 140px; height: 140px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: 'Inter', sans-serif; font-size: 3rem; font-weight: 900; box-shadow: 0 0 0 10px var(--p100), 0 24px 50px -20px rgba(109, 40, 217, .9); animation: pop .7s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.pt__scale { display: grid; grid-template-columns: repeat(6, 1fr); gap: .35rem; margin: 1.5rem 0; direction: ltr; }
.pt__scale span { padding: .5rem 0; border-radius: 10px; background: var(--p50); color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 800; font-size: .85rem; }
.pt__scale span.is-done { background: var(--p200); color: var(--p800); }
.pt__scale span.is-me { background: var(--grad); color: #fff; transform: scale(1.08); }
.pt__rec { display: block; text-align: start; padding: 1.25rem; border-radius: var(--r); background: var(--p50); margin: 1.5rem 0; color: var(--ink); }
.pt__rec small { color: var(--p600); font-weight: 700; }
.pt__rec b { display: block; font-size: 1.15rem; }
.pt__rec span { color: var(--muted); font-size: .92rem; }
.pt__actions { display: grid; gap: .7rem; }
.pt__actions svg { width: 20px; height: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--p950); color: rgba(255, 255, 255, .75); padding: 4rem 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 600px; top: -300px; inset-inline-end: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 40, 217, .35), transparent 65%); pointer-events: none; }
.footer__grid { position: relative; display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__logo { display: inline-block; padding: 14px 18px; border-radius: 22px; background: #fff; box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .6); }
.footer__logo img { height: 96px; width: auto; }
.footer__slogan { margin: 1rem 0 .25rem; font-size: 1.6rem; font-weight: 900; background: linear-gradient(90deg, #fff, #D8B4FE); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__about { max-width: 22rem; font-size: .93rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s; }
.footer__social a:hover { background: var(--p600); transform: translateY(-2px); color: #fff; }
.footer__social svg { width: 20px; height: 20px; }
.footer__col h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col li { margin-bottom: .55rem; }
.footer__col a { color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer__col a:hover { color: #fff; }
.footer__contact { grid-column: 1 / -1; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: .55rem; }
.footer__contact svg { width: 18px; height: 18px; flex: none; color: var(--p400); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #D8B4FE; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .footer__brand, .footer__contact { grid-column: auto; } }

/* ---------- scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn--shine::after, .wa-float::before { display: none; }
}
@media (min-width: 1100px) { .grid--goals { grid-template-columns: repeat(5, 1fr); gap: 1rem; } .grid--goals .course-card { padding: 1.4rem 1.2rem; } .grid--goals .course-card__tag { position: static; align-self: flex-start; margin-bottom: .6rem; order: -1; } .grid--goals .course-card__ic { margin-bottom: .9rem; } }
