:root{
  --purple-900:#32106E;
  --purple-800:#4B169B;
  --purple-700:#5E22C6;
  --purple:#6D28D9;
  --purple-500:#7C3AED;
  --purple-200:#D8C8FF;
  --purple-100:#F3EEFF;
  --ink:#17131F;
  --muted:#756E80;
  --white:#FFFFFF;
  --line:#ECE7F5;
  --radius:28px;
  --shadow:0 24px 70px rgba(70,27,132,.11);
  --arabic:"Siwa Arabic","Siwa","SiwaUI","Cairo","Tahoma",sans-serif;
  --latin:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#fff;font-family:var(--latin);line-height:1.6}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(236,231,245,.8)}
.nav-wrap{height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{height:40px;width:auto;display:block}
.nav{display:flex;align-items:center;gap:22px;font-size:12px;font-weight:800;letter-spacing:.05em;color:#514A5B}
.nav a{transition:.2s}.nav a:hover{color:var(--purple)}
.nav-cta{padding:12px 18px;border:1px solid var(--purple);border-radius:999px;font-size:12px;font-weight:900;color:var(--purple)}
.hero{overflow:hidden;position:relative;padding:88px 0 100px;background:linear-gradient(180deg,#fff 0%,#fff 70%,#FAF8FF 100%)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}
.eyebrow,.kicker{font-size:12px;letter-spacing:.16em;font-weight:900;color:var(--purple);text-transform:uppercase}
.eyebrow{display:flex;align-items:center;gap:10px}.eyebrow span{width:8px;height:8px;border-radius:50%;background:var(--purple);box-shadow:0 0 0 7px var(--purple-100)}
h1{font-size:clamp(48px,6vw,82px);line-height:.98;letter-spacing:-.055em;margin:22px 0 14px;max-width:800px}
h1 em{font-style:normal;color:var(--purple)}
.ar-text{font-family:var(--arabic);}
.hero-ar,.pain-points,.hero-desc,.section-heading p,.stat-card p,.learn-card p,.learn-card h3 span,.journey-intro p,.journey-step p,.note-box,.routine-grid p,.offer-left>p,.offer-row span,.join-grid>div>p,.quote,.form-msg{font-family:var(--arabic);}
.hero-ar{font-family:var(--arabic);font-size:27px;font-weight:700;color:var(--purple-900);margin:0 0 25px}
.pain-points{font-family:var(--arabic);font-size:18px;color:#4E4758;border-right:3px solid var(--purple-200);padding-right:18px;margin:0 0 20px}
.pain-points p{margin:7px 0}
.hero-desc{font-family:var(--arabic);font-size:20px;max-width:690px;color:#3E3748}
.hero-desc strong{color:var(--purple-700)}
.hero-actions{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:13px;padding:15px 21px;border-radius:999px;font-weight:900;font-size:13px;transition:transform .2s,box-shadow .2s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--purple);color:white;box-shadow:0 14px 30px rgba(109,40,217,.2)}
.btn-ghost{border:1px solid var(--line);background:white}
.btn-white{background:#fff;color:var(--purple-800)}
.hero-visual{position:relative;min-height:510px;display:grid;place-items:center}
.hero-card{position:relative;width:min(410px,90%);background:linear-gradient(145deg,#5D1FC2,#7B38E5);color:white;border-radius:46px;padding:26px;box-shadow:0 34px 80px rgba(83,25,168,.28);transform:rotate(2deg)}
.mini-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800;letter-spacing:.14em;opacity:.92}
.live-dot{width:9px;height:9px;border-radius:50%;background:white;box-shadow:0 0 0 8px rgba(255,255,255,.12)}
.progress-ring{height:280px;width:280px;border-radius:50%;margin:34px auto 25px;display:grid;place-items:center;background:radial-gradient(circle at center,#6E2ACF 0 57%,transparent 58%),conic-gradient(#fff 0 265deg,rgba(255,255,255,.2) 265deg 360deg);padding:14px}
.progress-ring>div{height:100%;width:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15)}
.progress-ring strong{font-size:70px;line-height:1}
.progress-ring small{font-size:11px;letter-spacing:.18em;font-weight:900;margin-top:7px}
.hero-card-bottom{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(255,255,255,.18);padding-top:20px;gap:20px}
.hero-card-bottom div{display:flex;flex-direction:column;gap:2px}.hero-card-bottom strong{font-size:15px}.hero-card-bottom span{font-size:9px;letter-spacing:.16em;opacity:.75;font-weight:800}
.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb-a{width:250px;height:250px;background:#EEE7FF;top:20px;right:0}.orb-b{width:120px;height:120px;background:#F1EBFF;bottom:16px;left:0}
.floating-note{position:absolute;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);font-size:11px;font-weight:900}
.note-1{right:-10px;top:82px;font-family:var(--arabic);color:var(--purple-700)}.note-2{left:-10px;bottom:84px;color:var(--purple-800);letter-spacing:.06em}
.section{padding:105px 0}.section-soft{background:#FAF8FF}
.section-heading{max-width:760px}.section-heading.centered{text-align:center;margin:0 auto 44px}.section-heading h2,.why-panel h2,.join-grid h2{margin:14px 0 18px;font-size:clamp(40px,5vw,62px);line-height:1.03;letter-spacing:-.05em}.section-heading h2 span,,.why-panel h2 span,.join-grid h2 span{color:var(--purple)}
.section-heading p{font-family:var(--arabic);font-size:18px;font-weight:500;color:var(--muted)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat-card{padding:28px;border:1px solid var(--line);border-radius:24px;background:#fff;min-height:220px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;box-shadow:0 12px 35px rgba(44,20,78,.04)}
.stat-number{font-size:58px;line-height:1;font-weight:900;letter-spacing:-.06em;color:var(--purple)}
.stat-label{font-size:11px;letter-spacing:.16em;font-weight:900}.stat-card p{font-family:var(--arabic);font-size:16px;color:#625A6C;margin:0}.stat-price{background:var(--purple-800);color:white;border-color:var(--purple-800)}.stat-price .stat-number{color:white}.stat-price p{color:#EDE6FF}
.learn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.learn-card{position:relative;padding:31px;border:1px solid var(--line);border-radius:24px;min-height:280px;background:#fff;overflow:hidden}
.learn-card:before{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:var(--purple-100);right:-55px;top:-55px}
.card-index{position:absolute;top:24px;right:27px;font-size:11px;font-weight:900;letter-spacing:.08em;color:#948CA0}
.learn-card .icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:white;background:var(--purple);font-weight:900;margin-bottom:30px}
.learn-card h3{font-size:18px;margin:0 0 11px}.learn-card h3 span{display:block;margin-top:3px;font-family:var(--arabic);font-size:15px;color:var(--purple);font-weight:700}
.learn-card p{font-family:var(--arabic);font-size:16px;color:#655D6D;margin:0}
.dark-card{background:var(--purple-800);color:white;border-color:var(--purple-800)}.dark-card p,.dark-card h3 span{color:#F0EAFE}.dark-card .icon{background:white;color:var(--purple-800)}.dark-card .card-index{color:#C9B7EC}
.why-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:stretch}.why-panel{padding:45px;border:1px solid var(--line);border-radius:30px;background:#fff}.why-panel p{font-family:var(--arabic);font-size:18px;color:#5E5667;max-width:740px}.method-box{padding:34px;border-radius:30px;background:var(--purple-100);display:flex;align-items:center;justify-content:space-between;gap:10px}.method-step{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:95px}.method-step b{font-size:10px;color:#8A6BB8}.method-step strong{font-size:19px;color:var(--purple-800)}.method-step span{font-family:var(--arabic);font-size:13px;color:#6C6178}.arrow{font-size:24px;color:var(--purple)}
.note-box{grid-column:1/-1;border-radius:22px;background:var(--purple);color:white;padding:20px 28px;font-family:var(--arabic);font-size:20px;text-align:center}
.routine-section{background:#FCFBFE}
.routine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.routine-grid article{padding:35px 28px;border-radius:25px;background:#fff;border:1px solid var(--line);min-height:220px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.routine-grid span{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--purple-100);color:var(--purple);font-weight:900}
.routine-grid h3{font-size:20px;margin:24px 0 10px;letter-spacing:.05em}
.routine-grid p{font-family:var(--arabic);font-weight:500;color:#665E70;font-size:17px;margin:0;line-height:1.8;max-width:300px}

.offer-section{padding-top:40px}
.offer-card{overflow:hidden;border-radius:36px;background:linear-gradient(135deg,#4B169B,#7628D7);color:white;box-shadow:0 35px 85px rgba(77,18,158,.21)}
.offer-content{text-align:center;max-width:960px;margin:0 auto;padding:64px 54px 58px}
.offer-content .kicker{color:#DCCBFF}
.offer-content h2{font-size:clamp(46px,5.3vw,64px);line-height:1.02;letter-spacing:-.05em;margin:17px 0 28px}
.offer-content h2 span{color:#DCCBFF}
.offer-price-block{display:flex;justify-content:center;align-items:baseline;gap:14px;margin-top:4px}
.offer-only{font-size:12px;font-weight:900;letter-spacing:.18em;color:#E8DFFF}
.price{font-size:78px;font-weight:900;letter-spacing:-.08em;line-height:1}
.price span{font-size:21px;letter-spacing:.02em}
.offer-summary{max-width:760px;margin:22px auto 30px;color:#EDE6FA;font-family:var(--latin);font-size:16px;line-height:1.7}
.offer-highlights{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16);margin:0 auto;padding:8px 0}
.offer-highlights div{padding:16px 12px;display:flex;flex-direction:column;align-items:center;gap:2px}
.offer-highlights div+div{border-left:1px solid rgba(255,255,255,.13)}
.offer-highlights strong{font-size:15px;letter-spacing:.06em}
.offer-highlights span{font-size:9px;letter-spacing:.14em;color:#D6C7F1;font-weight:800}
.offer-content .btn{margin-top:30px}
.join-section{padding-bottom:130px}.join-grid{display:grid;grid-template-columns:1fr .9fr;gap:70px;align-items:start}.join-grid>div>p{font-family:var(--arabic);font-size:19px;color:#60586A;max-width:670px}.quote{font-family:var(--arabic);font-size:24px;color:var(--purple);font-weight:800;border-right:4px solid var(--purple-200);padding-right:15px;margin-top:25px}.join-form{padding:30px;border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);background:white}.join-form h3{margin:3px 0 25px;font-size:22px}.join-form label{display:block;font-size:10px;letter-spacing:.13em;font-weight:900;color:#6E6679;margin-top:16px}.join-form input,.join-form textarea{margin-top:8px;width:100%;border:1px solid var(--line);border-radius:13px;padding:13px 14px;font:inherit;outline:none;transition:.2s;resize:vertical}.join-form input:focus,.join-form textarea:focus{border-color:var(--purple);box-shadow:0 0 0 4px var(--purple-100)}.wide{width:100%;border:0;margin-top:20px;cursor:pointer}.form-msg{font-family:var(--arabic);margin:10px 0 0;color:var(--purple);font-size:14px;min-height:20px}
.footer{border-top:1px solid var(--line);padding:30px 0;background:#fff}.footer-inner{display:grid;grid-template-columns:1fr 1fr auto;gap:30px;align-items:center}.footer-brand img{height:34px}.footer-brand p{margin:8px 0 0;color:#777080;font-size:12px}.footer-founder{display:flex;flex-direction:column;gap:4px;font-size:11px}.footer-founder span{color:#8A8290}.footer-copy{font-size:10px;color:#918998;white-space:nowrap}

@media (max-width: 980px){
  .nav{display:none}
  .hero-grid,.join-grid{grid-template-columns:1fr}
  .hero{padding-top:60px}.hero-visual{min-height:440px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .learn-grid{grid-template-columns:repeat(2,1fr)}
  
  .footer-inner{grid-template-columns:1fr;gap:18px}
}
@media (max-width: 640px){
  .container{width:min(100% - 26px,1180px)}
  .site-header .nav-wrap{height:66px}.brand img{height:35px}.nav-cta{padding:10px 14px}
  .hero{padding:54px 0 70px}
  h1{font-size:48px}.hero-ar{font-size:22px}.pain-points{font-size:16px}.hero-desc{font-size:18px}
  .hero-visual{min-height:390px}.hero-card{width:min(320px,92%)}.progress-ring{width:215px;height:215px}.progress-ring strong{font-size:56px}.note-1{right:0}.note-2{left:0}
  .section{padding:78px 0}.section-heading h2,.why-panel h2,.join-grid h2{font-size:42px}
  .stats-grid,.learn-grid,.routine-grid{grid-template-columns:1fr}
  .method-box{padding:20px 12px}.method-step{min-width:72px}.method-step strong{font-size:15px}.arrow{font-size:18px}
  .offer-content{padding:44px 22px}.offer-content h2{font-size:43px}.price{font-size:60px}.offer-highlights{grid-template-columns:repeat(2,1fr)}.offer-highlights div:nth-child(3){border-left:0}.offer-highlights div:nth-child(n+3){border-top:1px solid rgba(255,255,255,.13)}
  .join-grid{gap:35px}
}

/* Arabic typography: keep the same requested typeface across all Arabic text and titles. */
[lang="ar"], [dir="rtl"] { font-family: var(--arabic) !important; }

/* Keep the program heading on one line on desktop while allowing natural wrapping on smaller screens. */
@media (min-width: 981px){
  .program-ar-heading{white-space:nowrap;font-size:clamp(34px,3.4vw,46px);}
  
}

/* The requested exact family is Siwa Arabic. Add the licensed Siwa Arabic webfont kit via @font-face for identical rendering on machines where it is not installed. */

/* v4 refinements: white program text + luminous premium purple offer. */
.section-soft{
  background:linear-gradient(180deg,#17131F 0%,#1F182A 100%);
  color:#fff;
}
.section-soft .kicker{color:#DCCBFF}
.section-soft .section-heading h2{color:#fff}
.section-soft .section-heading p{color:#D0C8D8}
.stats-grid{align-items:stretch}
.stat-card{
  min-height:250px;
  height:100%;
  padding:30px 24px;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-color:rgba(255,255,255,.10);
  background:rgba(255,255,255,.045);
  box-shadow:none;
  color:#fff;
}
.stat-card .stat-number{color:#fff}
.stat-card .stat-label{color:#fff}
.stat-card p{color:#D6CFDC;margin-top:14px}
.stat-price{
  background:linear-gradient(145deg,#4B169B,#5E22C6);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 18px 45px rgba(109,40,217,.22), inset 0 1px 0 rgba(255,255,255,.08);
}
.stat-price .stat-number{color:#fff}
.stat-price p{color:#F2EAFB}

.offer-card{
  background:
    radial-gradient(circle at 50% -8%,rgba(255,255,255,.22),transparent 32%),
    radial-gradient(circle at 18% 35%,rgba(180,130,255,.18),transparent 30%),
    radial-gradient(circle at 88% 78%,rgba(99,50,190,.28),transparent 34%),
    linear-gradient(135deg,#2B0A62 0%,#4B169B 46%,#6D28D9 100%);
  color:#fff;
  border:1px solid rgba(205,174,255,.34);
  box-shadow:0 35px 90px rgba(52,12,112,.34),0 0 0 1px rgba(255,255,255,.03) inset,0 0 60px rgba(109,40,217,.18);
}
.offer-card:before{
  background:
    linear-gradient(120deg,transparent 0%,rgba(255,255,255,.08) 38%,transparent 62%),
    radial-gradient(circle at 50% 100%,rgba(196,157,255,.14),transparent 42%);
}
.offer-content .kicker{color:#DCCBFF}
.offer-content h2{color:#fff}
.offer-content h2 span{color:#fff}
.offer-price-block{
  min-height:88px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin-top:4px;
  white-space:nowrap;
}
.offer-only{
  color:#fff;
  line-height:1;
  padding-top:0;
}
.price{
  color:#fff;
  line-height:1;
  text-shadow:0 6px 24px rgba(0,0,0,.24);
}
.price span{color:#E9DDFB}
.offer-summary{
  color:#F0E9FA;
  max-width:700px;
}
.offer-highlights{
  border-top-color:rgba(255,255,255,.18);
  border-bottom-color:rgba(255,255,255,.18);
}
.offer-highlights div+div{border-left-color:rgba(255,255,255,.12)}
.offer-highlights strong{color:#fff}
.offer-highlights span{color:#E3D7F5}
@media (max-width:980px){
  .stat-card{min-height:230px}
}
@media (max-width:640px){
  .stat-card{min-height:215px}
  .offer-price-block{min-height:72px;gap:10px}
  .offer-only{font-size:11px}
  .price{font-size:54px}
  .price span{font-size:18px}
}


/* v5 final refinements: purple shining CTA + unified price + purple confidence phrase. */
.offer-content h2 span{
  color:#C9A8FF;
  text-shadow:0 0 24px rgba(201,168,255,.34);
}
.offer-price-block{
  gap:12px;
  align-items:center;
}
.offer-only, .price, .price span{
  font-size:clamp(30px,4.8vw,64px);
  font-weight:900;
  line-height:1;
  letter-spacing:-.04em;
  color:#fff;
}
.offer-only{
  letter-spacing:.02em;
}
.price span{
  letter-spacing:-.02em;
}
.btn-offer{
  background:linear-gradient(135deg,#8B5CF6 0%,#7C3AED 45%,#5B21B6 100%);
  color:#fff;
  border:1px solid rgba(220,203,255,.42);
  box-shadow:
    0 14px 30px rgba(109,40,217,.34),
    0 0 22px rgba(139,92,246,.42),
    0 0 48px rgba(124,58,237,.22),
    inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-offer:hover{
  box-shadow:
    0 18px 38px rgba(109,40,217,.42),
    0 0 28px rgba(139,92,246,.52),
    0 0 58px rgba(124,58,237,.30),
    inset 0 1px 0 rgba(255,255,255,.26);
}
@media (max-width:640px){
  .offer-price-block{gap:8px;}
  .offer-only, .price, .price span{font-size:clamp(25px,8vw,40px);}
}

/* v6: make the main speaking-confidence phrase purple. */
.join-grid h2 span{
  color:var(--purple);
  text-shadow:0 0 22px rgba(124,58,237,.18);
}


/* v7: commitment + offer highlight alignment refinements. */
.routine-section .section-heading{
  text-align:center;
}
.routine-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
.routine-grid article{
  min-height:230px;
  text-align:center;
  align-items:center;
  justify-content:center;
}
.routine-grid h3{
  font-family:var(--sans);
  font-size:19px;
  font-weight:900;
  letter-spacing:.08em;
}
.routine-grid p{
  text-align:center;
}
.offer-highlights{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
.offer-highlights div{
  min-height:74px;
  justify-content:center;
  text-align:center;
  padding:16px 18px;
}
.offer-highlights strong{
  font-family:var(--sans);
  font-size:14px;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1.15;
  white-space:nowrap;
}
.offer-highlights span{
  font-family:var(--sans);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  line-height:1.35;
  text-align:center;
}
@media (max-width:640px){
  .routine-grid{grid-template-columns:1fr;}
  .routine-grid article{min-height:205px;}
  .offer-highlights{grid-template-columns:1fr;}
  .offer-highlights div+div{border-left:0;border-top:1px solid rgba(255,255,255,.12);}
  .offer-highlights div{min-height:68px;}
}


/* v8: make YOUR COMMITMENT an explicit section headline. */
.commitment-heading .kicker{
  display:none;
}
.commitment-title{
  margin:12px 0 10px;
  font-family:var(--sans);
  font-size:clamp(42px,5vw,62px);
  line-height:1.03;
  font-weight:900;
  letter-spacing:-.05em;
  color:var(--purple);
  text-transform:uppercase;
}
.commitment-subtitle{
  margin:0 0 18px;
  font-family:var(--arabic);
  font-size:clamp(28px,3.3vw,42px);
  line-height:1.15;
  font-weight:800;
  color:var(--ink);
}
@media (max-width:640px){
  .commitment-title{font-size:38px}
  .commitment-subtitle{font-size:28px}
}

/* v11: refined motion. Reveals replay whenever the section enters/leaves the viewport. */
.hero-copy > *{
  animation:heroContentReveal .8s cubic-bezier(.22,1,.36,1) both;
}
.hero-copy .eyebrow{animation-delay:.10s}
.hero-copy h1{animation-delay:.18s}
.hero-copy .hero-ar{animation-delay:.28s}
.hero-copy .hero-desc{animation-delay:.34s}
.hero-copy .hero-actions{animation-delay:.42s}
.hero-card{
  transform:rotate(2deg) translateY(0);
  animation:heroCardFloat 5.5s ease-in-out infinite;
}
.floating-note{animation:noteFloat 4.5s ease-in-out infinite}
.note-2{animation-delay:-2.1s}
.orb-a{animation:orbPulse 7s ease-in-out infinite}
.orb-b{animation:orbPulse 8.5s ease-in-out -2s infinite}

.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .72s ease,transform .72s cubic-bezier(.22,1,.36,1);
  will-change:opacity,transform;
}
.reveal.is-visible{opacity:1;transform:translateY(0)}
.stats-grid .reveal:nth-child(2),
.routine-grid .reveal:nth-child(2){transition-delay:.08s}
.stats-grid .reveal:nth-child(3),
.routine-grid .reveal:nth-child(3){transition-delay:.16s}
.stats-grid .reveal:nth-child(4){transition-delay:.24s}
.section-heading.reveal{transform:translateY(18px)}
.offer-card.reveal,.join-grid > .reveal,.join-form.reveal{transform:translateY(20px) scale(.99)}
.offer-card.reveal.is-visible,.join-grid > .reveal.is-visible,.join-form.reveal.is-visible{transform:translateY(0) scale(1)}

/* Offer presentation — purple/white only. */
.offer-card{
  background:
    radial-gradient(circle at 50% -8%,rgba(255,255,255,.22),transparent 32%),
    radial-gradient(circle at 12% 72%,rgba(180,130,255,.16),transparent 30%),
    radial-gradient(circle at 88% 76%,rgba(99,50,190,.24),transparent 34%),
    linear-gradient(135deg,#2B0A62 0%,#4B169B 46%,#6D28D9 100%);
  border:1px solid rgba(220,203,255,.24);
}
.offer-content .kicker{color:#E9DDFB}
.offer-price-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin:6px auto 0;
  max-width:780px;
}
.regular-price, .offer-price-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.regular-price{
  position:relative;
  opacity:.82;
  padding:18px 22px;
  min-width:190px;
}
.regular-price span, .offer-label{
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
  color:#DDD2EC;
}
.no-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:7px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  color:#BDB2CB !important;
  font-size:9px !important;
  letter-spacing:.14em !important;
}
.regular-price strong{
  margin-top:8px;
  font-size:clamp(34px,4vw,54px);
  line-height:1;
  color:#D8D0E1;
  text-decoration-line:line-through;
  text-decoration-thickness:3px;
  text-decoration-color:#C4B8D1;
  letter-spacing:-.05em;
}
.regular-price small, .offer-price-card small{
  font-size:.34em;
  letter-spacing:0;
}
.price-arrow{
  color:#C9A8FF;
  font-size:28px;
  font-weight:900;
  opacity:.9;
}
.offer-price-card{
  position:relative;
  min-width:230px;
  padding:18px 28px 20px;
  border:1px solid rgba(255,255,255,.26);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.05));
  box-shadow:0 18px 44px rgba(30,7,73,.26), inset 0 1px 0 rgba(255,255,255,.16);
  animation:offerPricePulse 3.6s ease-in-out infinite;
}
.offer-price-card strong{
  margin-top:6px;
  color:#fff;
  font-size:clamp(58px,6vw,86px);
  font-weight:900;
  line-height:.9;
  letter-spacing:-.08em;
  text-shadow:0 10px 34px rgba(0,0,0,.2);
}
.offer-price-card b{
  position:absolute;
  top:-13px;
  right:18px;
  padding:7px 13px;
  border-radius:999px;
  background:#fff;
  color:#5B21B6;
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
  box-shadow:0 10px 24px rgba(21,5,53,.22);
}
.offer-term{
  margin-top:18px;
  color:#E9DDFB;
  font-size:11px;
  font-weight:900;
  letter-spacing:.14em;
}
.offer-saving{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:9px;
  padding:6px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.13em;
}
.offer-summary strong{color:#fff;font-weight:900}
.btn-primary,.btn-ghost,.btn-offer,.nav-cta{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,filter .25s ease}
.btn-primary:hover,.btn-ghost:hover,.btn-offer:hover,.nav-cta:hover{transform:translateY(-3px)}
.btn-offer{
  background:linear-gradient(135deg,#A78BFA 0%,#7C3AED 48%,#5B21B6 100%);
  color:#fff;
  border:1px solid rgba(255,255,255,.30);
  box-shadow:
    0 16px 34px rgba(76,29,149,.34),
    0 0 28px rgba(139,92,246,.24),
    inset 0 1px 0 rgba(255,255,255,.20);
  animation:ctaPulse 3.2s ease-in-out infinite;
}
.btn-offer:hover{filter:brightness(1.06)}
@keyframes offerPricePulse{
  0%,100%{transform:translateY(0);box-shadow:0 18px 44px rgba(30,7,73,.26), inset 0 1px 0 rgba(255,255,255,.16)}
  50%{transform:translateY(-4px);box-shadow:0 22px 52px rgba(30,7,73,.32),0 0 34px rgba(139,92,246,.20), inset 0 1px 0 rgba(255,255,255,.20)}
}
@keyframes ctaPulse{
  0%,100%{box-shadow:0 16px 34px rgba(76,29,149,.34),0 0 22px rgba(139,92,246,.24),inset 0 1px 0 rgba(255,255,255,.20)}
  50%{box-shadow:0 20px 42px rgba(76,29,149,.42),0 0 34px rgba(139,92,246,.34),inset 0 1px 0 rgba(255,255,255,.24)}
}
@media (max-width:760px){
  .offer-price-wrap{gap:10px}
  .regular-price{padding:14px 8px}
  .regular-price strong{font-size:34px}
  .price-arrow{font-size:22px}
  .offer-price-card{min-width:185px;padding:16px 22px 18px}
  .offer-price-card strong{font-size:56px}
}
@media (max-width:640px){
  .offer-price-wrap{flex-direction:column;gap:10px}
  .price-arrow{transform:rotate(90deg)}
  .regular-price{padding:4px 0}
  .regular-price strong{font-size:40px}
  .offer-price-card{min-width:210px}
  .offer-term{font-size:9px;letter-spacing:.08em;line-height:1.5}
  .offer-saving{font-size:9px}
}

/* v16: single, accessible monthly price anchor. */
.offer-price-single{
  margin-top:10px;
}
.offer-price-single .offer-price-card{
  min-width:250px;
  padding:20px 34px 24px;
}
.offer-price-single .offer-price-card b{
  position:static;
  margin-top:10px;
  padding:0;
  background:none;
  color:#E9DDFB;
  border:0;
  box-shadow:none;
  font-size:12px;
  letter-spacing:.18em;
}
@media (max-width:640px){
  .offer-price-single .offer-price-card{
    min-width:220px;
    padding:18px 26px 22px;
  }
}

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

/* v12: cleaner three-point offer + warmer, more guided registration form. */
.offer-highlights{
  grid-template-columns:repeat(3,minmax(0,1fr));
  max-width:820px;
  margin:4px auto 0;
  padding:10px 0;
}
.offer-highlights div{
  min-height:76px;
  padding:14px 28px;
  justify-content:center;
}
.offer-highlights div+div{border-left:1px solid rgba(255,255,255,.14)}
.offer-highlights strong{
  font-size:18px;
  letter-spacing:.01em;
}
.offer-highlights span{
  font-size:9px;
  letter-spacing:.13em;
}

.join-form{
  position:relative;
  overflow:hidden;
  padding:34px;
  border-radius:30px;
  background:
    radial-gradient(circle at 100% 0%,rgba(109,40,217,.08),transparent 30%),
    #fff;
  border:1px solid #E7E0F2;
  box-shadow:0 28px 80px rgba(70,27,132,.12);
}
.join-form:before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:86px;
  height:4px;
  background:linear-gradient(90deg,#6D28D9,#A78BFA);
  border-radius:0 0 999px 0;
}
.form-topline{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
  color:#8A8195;
  margin-bottom:15px;
}
.form-topline-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--purple);
  box-shadow:0 0 0 5px var(--purple-100);
}
.form-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}
.form-kicker{
  display:block;
  margin-bottom:4px;
  color:var(--purple);
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
}
.join-form h3{
  margin:0;
  font-size:30px;
  line-height:1;
  letter-spacing:-.04em;
}
.form-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:62px;
  height:34px;
  border-radius:999px;
  background:var(--purple-100);
  color:var(--purple-800);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
.form-intro{
  margin:11px 0 25px;
  color:#6F6778;
  font-size:14px;
  line-height:1.65;
  max-width:520px;
}
.form-section{
  padding:18px;
  margin-top:14px;
  border:1px solid #EEE9F6;
  border-radius:20px;
  background:#FCFBFE;
}
.form-section-head{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:14px;
}
.form-section-number{
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  flex:0 0 32px;
  border-radius:10px;
  background:var(--purple);
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
}
.form-section-head strong{
  display:block;
  color:#2D2637;
  font-size:10px;
  letter-spacing:.12em;
  font-weight:900;
}
.form-section-head div span{
  display:block;
  margin-top:2px;
  color:#8A8291;
  font-size:11px;
}
.form-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.field-card{
  display:block;
  margin:0 !important;
  padding:0;
  letter-spacing:normal !important;
  font-size:inherit !important;
  color:inherit !important;
}
.field-card>span:first-child{
  display:block;
  margin:0 0 7px;
  color:#7C7384;
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
}
.join-form input,
.join-form select{
  display:block;
  width:100%;
  margin:0;
  height:50px;
  border:1px solid #E4DDED;
  border-radius:14px;
  padding:0 14px;
  background:#fff;
  color:#241D2D;
  font:inherit;
  outline:none;
  transition:.2s ease;
}
.join-form input::placeholder{color:#A69DAC}
.join-form input:hover,
.join-form select:hover{border-color:#D4C6E6}
.join-form input:focus,
.join-form select:focus{
  border-color:var(--purple);
  box-shadow:0 0 0 4px var(--purple-100);
  transform:translateY(-1px);
}
.select-wrap{position:relative;display:block}
.select-wrap:after{
  content:"↓";
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  color:var(--purple);
  font-size:14px;
  font-weight:900;
  pointer-events:none;
}
.join-form select{
  appearance:none;
  font-weight:400;
  -webkit-appearance:none;
  padding-right:38px;
  cursor:pointer;
}
.form-submit{
  min-height:58px;
  margin-top:18px;
  border-radius:16px;
  font-size:13px;
  letter-spacing:.02em;
  box-shadow:0 16px 32px rgba(109,40,217,.19);
}
.form-submit-arrow{font-size:19px;transition:transform .2s ease}
.form-submit:hover .form-submit-arrow{transform:translateX(4px)}
.form-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:11px 0 0;
  color:#918898;
  font-size:10px;
  letter-spacing:.02em;
}
.form-note span{color:var(--purple);font-size:9px}
.form-msg{margin-top:12px !important}

@media (max-width:760px){
  .offer-highlights{max-width:100%;}
  .offer-highlights div{padding:14px 10px;}
  .offer-highlights strong{font-size:15px;}
  .join-form{padding:25px 20px;}
  .form-two-col{grid-template-columns:1fr;gap:12px;}
}
@media (max-width:640px){
  .offer-highlights div{min-height:70px;padding:12px 6px;}
  .offer-highlights strong{font-size:14px;}
  .offer-highlights span{font-size:8px;letter-spacing:.08em;}
  .offer-term{font-size:9px;line-height:1.5;}
  .join-form h3{font-size:26px;}
  .form-count{min-width:56px;height:32px;}
  .form-section{padding:15px;}
}

/* v13: premium motion layer — subtle, continuous movement without distracting from the message. */
:root{
  --motion-ease:cubic-bezier(.22,1,.36,1);
}

/* Ambient depth behind the hero */
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.hero::before,
.hero::after{
  content:"";
  position:absolute;
  pointer-events:none;
  border-radius:50%;
  z-index:-1;
  filter:blur(8px);
}
.hero::before{
  width:420px;
  height:420px;
  top:-190px;
  left:-130px;
  background:radial-gradient(circle,rgba(167,139,250,.18),rgba(167,139,250,0) 68%);
  animation:ambientDriftOne 11s ease-in-out infinite;
}
.hero::after{
  width:500px;
  height:500px;
  right:-220px;
  bottom:-260px;
  background:radial-gradient(circle,rgba(109,40,217,.12),rgba(109,40,217,0) 70%);
  animation:ambientDriftTwo 13s ease-in-out infinite;
}

/* The visual feels like it is gently floating in the air. */
.hero-visual{
  position:relative;
  perspective:1200px;
}
.hero-card{
  will-change:transform;
  transform-origin:center center;
  animation:heroCardFloat 5.8s ease-in-out infinite, heroCardBreath 7s ease-in-out infinite;
}

/* Soft light sweep across the hero card and offer card. */
.hero-card::after,
.offer-card::after{
  content:"";
  position:absolute;
  inset:-35% -55%;
  background:linear-gradient(110deg,transparent 42%,rgba(255,255,255,.11) 50%,transparent 58%);
  transform:translateX(-55%) rotate(7deg);
  pointer-events:none;
  opacity:0;
  animation:surfaceShine 7.5s ease-in-out infinite;
}
.hero-card{overflow:hidden}
.offer-card{position:relative}

/* Floating notes have slightly different paths so they never feel mechanically synced. */
.floating-note{
  will-change:transform;
  box-shadow:0 14px 35px rgba(44,20,78,.10);
}
.note-1{animation:noteFloatOne 5.2s ease-in-out infinite}
.note-2{animation:noteFloatTwo 6.2s ease-in-out -1.7s infinite}

/* Orbs slowly breathe instead of just pulsing in place. */
.orb-a{animation:orbPulse 7.5s ease-in-out infinite,orbDrift 10s ease-in-out infinite}
.orb-b{animation:orbPulse 8.5s ease-in-out -2s infinite,orbDriftReverse 12s ease-in-out infinite}

/* Cards pop slightly as they enter and then settle into a low-amplitude float. */
.stats-grid .stat-card,
.routine-grid article{
  transform-origin:center bottom;
  will-change:transform,box-shadow;
  transition:transform .35s var(--motion-ease),box-shadow .35s var(--motion-ease),border-color .35s ease;
}
.reveal.is-visible.stats-grid .stat-card,
.reveal.is-visible.routine-grid article{animation:none}
.stats-grid .stat-card:hover,
.routine-grid article:hover{
  transform:translateY(-9px) scale(1.012);
  box-shadow:0 22px 52px rgba(44,20,78,.12);
  border-color:rgba(109,40,217,.18);
}
.stats-grid .stat-card:nth-child(1){animation:cardFloatA 7.8s ease-in-out 0.2s infinite}
.stats-grid .stat-card:nth-child(2){animation:cardFloatB 8.8s ease-in-out -1.3s infinite}
.stats-grid .stat-card:nth-child(3){animation:cardFloatA 8.2s ease-in-out -2.4s infinite}
.stats-grid .stat-card:nth-child(4){animation:cardFloatB 7.4s ease-in-out -3.1s infinite}
.routine-grid article:nth-child(1){animation:cardFloatB 8.6s ease-in-out -.6s infinite}
.routine-grid article:nth-child(2){animation:cardFloatA 8s ease-in-out -2s infinite}
.routine-grid article:nth-child(3){animation:cardFloatB 9s ease-in-out -3.4s infinite}

/* Better hover depth for navigation and CTAs. */
.nav a,
.nav-cta,
.btn-primary,
.btn-ghost,
.btn-offer{
  will-change:transform;
}
.nav a:hover{transform:translateY(-1px)}
.btn-primary::before,
.btn-ghost::before,
.btn-offer::before,
.nav-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.22) 50%,transparent 62%);
  transform:translateX(-120%);
  transition:transform .55s var(--motion-ease);
  pointer-events:none;
}
.btn-primary,
.btn-ghost,
.btn-offer,
.nav-cta{position:relative;overflow:hidden}
.btn-primary:hover::before,
.btn-ghost:hover::before,
.btn-offer:hover::before,
.nav-cta:hover::before{transform:translateX(120%)}
.btn-primary:hover,
.btn-ghost:hover,
.nav-cta:hover{box-shadow:0 14px 32px rgba(44,20,78,.12)}
.btn-offer:hover{transform:translateY(-4px) scale(1.015);}

/* The YES badge gets a tiny pop to keep the pricing block visually active. */
.offer-price-card b{
  animation:badgePop 3.4s ease-in-out infinite;
}

/* Offer section gets a barely visible moving glow. */
.offer-card::before{
  animation:offerGlowDrift 10s ease-in-out infinite;
}

/* Registration card and fields feel tactile. */
.join-form{
  transition:transform .45s var(--motion-ease),box-shadow .45s var(--motion-ease),border-color .3s ease;
}
.join-form:hover{
  transform:translateY(-5px);
  box-shadow:0 34px 90px rgba(70,27,132,.15);
  border-color:#DED2EE;
}
.form-section{
  transition:transform .35s var(--motion-ease),border-color .3s ease,box-shadow .35s ease;
}
.form-section:hover{
  transform:translateY(-2px);
  border-color:#E3D7F1;
  box-shadow:0 12px 28px rgba(70,27,132,.06);
}
.form-section-number{
  transition:transform .35s var(--motion-ease),box-shadow .35s ease;
}
.form-section:hover .form-section-number{
  transform:scale(1.08) rotate(-3deg);
  box-shadow:0 8px 20px rgba(109,40,217,.20);
}
.form-submit:hover .form-submit-arrow{transform:translateX(6px)}

/* Small live indicator pulse. */
.live-dot{
  animation:livePulse 1.8s ease-in-out infinite;
}

/* Keep motion accessible. */
@media (prefers-reduced-motion: reduce){
  .hero::before,.hero::after,
  .hero-card,.floating-note,.orb-a,.orb-b,
  .stats-grid .stat-card,.routine-grid article,
  .offer-card::before,.offer-card::after,.hero-card::after,
  .offer-price-card b,.live-dot{animation:none !important}
  .stats-grid .stat-card:hover,.routine-grid article:hover,.join-form:hover,.form-section:hover{transform:none}
}

@keyframes ambientDriftOne{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(70px,35px,0) scale(1.08)}
}
@keyframes ambientDriftTwo{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(-55px,-28px,0) scale(1.06)}
}
@keyframes heroCardFloat{
  0%,100%{transform:rotate(2deg) translate3d(0,0,0)}
  50%{transform:rotate(1.1deg) translate3d(0,-10px,0)}
}
@keyframes heroCardBreath{
  0%,100%{filter:drop-shadow(0 34px 50px rgba(83,25,168,.10))}
  50%{filter:drop-shadow(0 40px 60px rgba(83,25,168,.17))}
}
@keyframes noteFloatOne{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  33%{transform:translate3d(4px,-7px,0) rotate(-1deg)}
  66%{transform:translate3d(-3px,-11px,0) rotate(1deg)}
}
@keyframes noteFloatTwo{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  35%{transform:translate3d(-5px,-8px,0) rotate(1deg)}
  70%{transform:translate3d(3px,-5px,0) rotate(-1deg)}
}
@keyframes orbPulse{
  0%,100%{opacity:.82;transform:scale(1)}
  50%{opacity:1;transform:scale(1.06)}
}
@keyframes orbDrift{
  0%,100%{margin-top:0;margin-right:0}
  50%{margin-top:10px;margin-right:-7px}
}
@keyframes orbDriftReverse{
  0%,100%{margin-bottom:0;margin-left:0}
  50%{margin-bottom:9px;margin-left:7px}
}
@keyframes cardFloatA{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}
@keyframes cardFloatB{
  0%,100%{transform:translateY(-1px)}
  50%{transform:translateY(5px)}
}
@keyframes surfaceShine{
  0%,74%,100%{opacity:0;transform:translateX(-58%) rotate(7deg)}
  79%{opacity:1}
  87%{opacity:0;transform:translateX(58%) rotate(7deg)}
}
@keyframes badgePop{
  0%,78%,100%{transform:translateY(0) scale(1)}
  83%{transform:translateY(-2px) scale(1.04)}
  88%{transform:translateY(0) scale(1)}
}
@keyframes offerGlowDrift{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(16px,-10px,0) scale(1.035)}
}
@keyframes livePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,.25);opacity:.95}
  50%{box-shadow:0 0 0 6px rgba(255,255,255,0);opacity:1}
}

@media (max-width:760px){
  .stats-grid .stat-card,
  .routine-grid article{animation-duration:9.5s}
  .join-form:hover{transform:translateY(-2px)}
}

/* v14 — refined formula + calmer premium motion */
.formula-block{
  position:relative;
  margin:34px auto 0;
  max-width:1060px;
  padding:28px 30px 24px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:28px;
  background:
    radial-gradient(circle at 14% 0%,rgba(167,139,250,.12),transparent 26%),
    radial-gradient(circle at 86% 100%,rgba(109,40,217,.16),transparent 30%),
    rgba(255,255,255,.045);
  box-shadow:0 24px 60px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.06);
  overflow:hidden;
}
.formula-block::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.06) 50%,transparent 80%);
  transform:translateX(-100%);
  animation:formulaShine 8s ease-in-out infinite;
}
.formula-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.formula-kicker{
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.18em;
  color:#DCCBFF;
}
.formula-caption{
  color:#BDB5C8;
  font-size:12px;
}
.formula-track{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr 72px 1fr 72px 1fr;
  align-items:center;
  gap:10px;
}
.formula-step{
  position:relative;
  min-height:110px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:18px 12px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
  background:rgba(255,255,255,.045);
  transition:transform .35s var(--motion-ease),border-color .35s ease,box-shadow .35s ease,background .35s ease;
}
.formula-step:hover{
  transform:translateY(-6px);
  border-color:rgba(196,168,255,.34);
  background:rgba(255,255,255,.075);
  box-shadow:0 18px 36px rgba(0,0,0,.18),0 0 28px rgba(139,92,246,.10);
}
.formula-index{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  margin-bottom:10px;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  color:#C9B6E7;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}
.formula-step strong{
  color:#fff;
  font-size:16px;
  font-weight:900;
  letter-spacing:.12em;
}
.formula-step small{
  margin-top:5px;
  color:#AAA1B7;
  font-size:11px;
}
.formula-step-final{
  border-color:rgba(196,168,255,.20);
  background:linear-gradient(145deg,rgba(124,58,237,.17),rgba(255,255,255,.05));
}
.formula-step-final .formula-index{
  background:rgba(167,139,250,.18);
  color:#E7DCFA;
}
.formula-connector{
  position:relative;
  height:2px;
  background:linear-gradient(90deg,rgba(167,139,250,.15),rgba(196,168,255,.72),rgba(167,139,250,.15));
  overflow:visible;
}
.formula-connector::after{
  content:"";
  position:absolute;
  top:50%;
  left:-4px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#DCCBFF;
  box-shadow:0 0 0 4px rgba(220,203,255,.08),0 0 18px rgba(167,139,250,.72);
  transform:translate(-50%,-50%);
  animation:formulaDot 2.8s ease-in-out infinite;
}
.formula-connector:nth-of-type(2)::after{animation-delay:-1.2s}
.formula-equation{
  position:relative;
  z-index:1;
  margin-top:20px;
  text-align:center;
  color:#BDB5C8;
  font-size:10px;
  font-weight:900;
  letter-spacing:.14em;
}
.formula-equation span{
  color:#A78BFA;
  padding:0 8px;
  font-size:13px;
}
.formula-equation b{
  color:#fff;
  padding:0 10px;
  font-size:14px;
}

/* Replace the earlier continuous card floating with a single controlled hero motion. */
.hero-card{
  animation:heroCardFloatRefined 7s ease-in-out infinite;
}
.stats-grid .stat-card,
.routine-grid article{
  animation:none !important;
}
.floating-note{
  transition:transform .3s var(--motion-ease),box-shadow .3s ease;
}
.floating-note:hover{
  transform:translateY(-7px) rotate(0deg) scale(1.025);
  box-shadow:0 18px 42px rgba(44,20,78,.16);
}

/* Slightly more deliberate CTA motion: glow breathes instead of constantly pulsing hard. */
.btn-offer{
  animation:ctaBreath 4.6s ease-in-out infinite;
}
.btn-offer:hover{animation:none}

@keyframes heroCardFloatRefined{
  0%,100%{transform:translate3d(0,0,0) rotate(2deg) scale(1)}
  50%{transform:translate3d(0,-11px,0) rotate(-1deg) scale(1.012)}
}
@keyframes formulaDot{
  0%,100%{left:-3px;opacity:.5}
  50%{left:calc(100% + 3px);opacity:1}
}
@keyframes formulaShine{
  0%,65%{transform:translateX(-100%);opacity:0}
  72%{opacity:1}
  86%,100%{transform:translateX(100%);opacity:0}
}
@keyframes ctaBreath{
  0%,100%{box-shadow:0 16px 34px rgba(76,29,149,.30),0 0 18px rgba(139,92,246,.17),inset 0 1px 0 rgba(255,255,255,.20)}
  50%{box-shadow:0 20px 42px rgba(76,29,149,.40),0 0 30px rgba(139,92,246,.28),inset 0 1px 0 rgba(255,255,255,.25)}
}

@media (max-width:760px){
  .formula-block{padding:22px 16px 18px;border-radius:23px}
  .formula-head{align-items:flex-start;flex-direction:column;gap:7px}
  .formula-track{grid-template-columns:1fr;gap:9px}
  .formula-step{min-height:88px}
  .formula-connector{height:30px;width:2px;justify-self:center;background:linear-gradient(180deg,rgba(167,139,250,.15),rgba(196,168,255,.72),rgba(167,139,250,.15))}
  .formula-connector::after{top:-3px;left:50%;animation:formulaDotVertical 2.8s ease-in-out infinite}
  .formula-equation{line-height:1.8;font-size:9px}
}
@keyframes formulaDotVertical{
  0%,100%{top:-3px;opacity:.5}
  50%{top:calc(100% + 3px);opacity:1}
}

@media (prefers-reduced-motion: reduce){
  .formula-block::before,.formula-connector::after,.hero-card,.btn-offer{animation:none !important}
  .formula-step,.floating-note{transition:none}
}


/* v14: requested landing-page refinements — tighter hero, removed formula UI, stronger stat motion. */
.hero-copy{max-width:720px}
.hero{padding-top:78px;padding-bottom:86px}
h1{
  max-width:680px;
  font-size:clamp(44px,5.5vw,74px);
  line-height:.88;
  letter-spacing:-.06em;
  margin:14px 0 18px;
}
h1 br{display:block}
.hero-ar{
  font-size:clamp(21px,2.2vw,27px);
  line-height:1.15;
  margin:0 0 6px;
}
.hero-desc{
  max-width:620px;
  font-size:clamp(17px,1.6vw,20px);
  line-height:1.45;
  margin-top:0;
}
.hero-copy > *{animation-duration:.72s}

/* The stats are animated by entrance + count-up, not perpetual floating. */
.stats-grid .stat-card{
  position:relative;
  overflow:hidden;
  transform:translateY(18px) scale(.985);
  opacity:0;
  animation:none;
}
.stats-grid .stat-card::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:linear-gradient(90deg,transparent,var(--purple),transparent);
  transform:translateX(-100%);
  opacity:0;
}
.stats-grid .stat-number,
.stats-grid .stat-label,
.stats-grid .stat-card p{
  opacity:0;
  transform:translateY(10px);
}
.stats-grid .stat-card.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
  transition:opacity .6s ease, transform .7s var(--motion-ease), box-shadow .35s ease,border-color .35s ease;
}
.stats-grid .stat-card.is-visible::after{
  opacity:1;
  transform:translateX(100%);
  transition:transform 1.05s cubic-bezier(.4,0,.2,1),opacity .2s ease;
}
.stats-grid .stat-card.is-visible .stat-number{
  opacity:1;
  transform:translateY(0);
  transition:opacity .45s ease .12s,transform .55s var(--motion-ease) .12s;
}
.stats-grid .stat-card.is-visible .stat-label{
  opacity:1;
  transform:translateY(0);
  transition:opacity .45s ease .25s,transform .55s var(--motion-ease) .25s;
}
.stats-grid .stat-card.is-visible p{
  opacity:1;
  transform:translateY(0);
  transition:opacity .5s ease .34s,transform .6s var(--motion-ease) .34s;
}
.stats-grid .stat-card:nth-child(2).is-visible{transition-delay:.08s}
.stats-grid .stat-card:nth-child(3).is-visible{transition-delay:.16s}
.stats-grid .stat-card:nth-child(4).is-visible{transition-delay:.24s}
.stats-grid .stat-number{will-change:contents,transform}
.stats-grid .stat-card:hover{transform:translateY(-7px) scale(1.01)}

@media (max-width:980px){
  .hero{padding-top:62px;padding-bottom:72px}
  h1{max-width:620px;font-size:clamp(42px,7vw,64px);line-height:.9}
}
@media (max-width:640px){
  .hero{padding:46px 0 60px}
  h1{max-width:100%;font-size:clamp(40px,11vw,52px);line-height:.91;margin:10px 0 14px}
  .hero-ar{font-size:21px;line-height:1.15;margin-bottom:5px}
  .hero-desc{font-size:17px;line-height:1.5;max-width:100%}
  .hero-visual{min-height:360px}
  .stats-grid .stat-card{min-height:205px;padding:24px}
}

@media (prefers-reduced-motion: reduce){
  .stats-grid .stat-card,
  .stats-grid .stat-card.is-visible,
  .stats-grid .stat-number,
  .stats-grid .stat-label,
  .stats-grid .stat-card p{
    opacity:1!important;transform:none!important;transition:none!important;animation:none!important;
  }
  .stats-grid .stat-card::after{display:none}
}

/* v15: strict two-line hero headline, viewport-safe on mobile and desktop. */
.hero-copy h1{
  width:100%;
  max-width:660px;
  overflow:visible;
  font-size:clamp(34px,5.25vw,68px);
  line-height:.94;
  letter-spacing:-.065em;
  white-space:normal;
}
.hero-copy h1 span{
  display:block;
  white-space:nowrap;
}
.hero-copy h1 span:last-child{
  font-style:normal;
}
@media (max-width:980px){
  .hero-copy h1{max-width:610px;font-size:clamp(34px,7vw,58px)}
}
@media (max-width:640px){
  .hero-copy{max-width:100%;min-width:0}
  .hero-copy h1{
    max-width:100%;
    font-size:clamp(28px,8.9vw,36px);
    line-height:.98;
    letter-spacing:-.055em;
    margin:10px 0 13px;
  }
  .hero-copy h1 span{white-space:nowrap}
}


/* v17: split the bilingual practice message into two independent floating cards. */
.hero-copy h1 .headline-purple{
  color:var(--purple);
}
.hero-desc{
  width:100%;
  max-width:620px;
  margin-left:auto;
  margin-right:0;
  text-align:right;
  direction:rtl;
}
.floating-note{
  z-index:5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:12px 18px;
  border-radius:17px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(109,40,217,.08);
  box-shadow:0 16px 38px rgba(44,20,78,.12);
  backdrop-filter:blur(7px);
  white-space:nowrap;
  line-height:1;
}
.floating-note.note-1{
  right:-12px;
  top:78px;
  direction:rtl;
  text-align:right;
  color:var(--purple-700);
  font-family:var(--arabic);
  font-size:12px;
  font-weight:900;
}
.floating-note.note-2{
  left:-12px;
  bottom:76px;
  direction:ltr;
  text-align:left;
  color:var(--purple-800);
  font-family:var(--sans);
  font-size:11px;
  font-weight:900;
  letter-spacing:.055em;
}
@media (max-width:640px){
  .hero-desc{
    width:100%;
    margin-left:auto;
    margin-right:0;
    text-align:right;
  }
  .floating-note.note-1{
    right:0;
    top:72px;
    font-size:11px;
    padding:11px 15px;
  }
  .floating-note.note-2{
    left:0;
    bottom:62px;
    font-size:9px;
    letter-spacing:.045em;
    padding:11px 14px;
  }
}

/* v14: replace the old hero card with the supplied transformation illustration. */
.hero-visual{
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 0 28px;
}
.hero-illustration-wrap{
  position:relative;
  width:min(100%, 610px);
  flex:0 1 610px;
  transform-origin:center center;
  will-change:transform,filter;
  animation:heroCardFloat 5.8s ease-in-out infinite, heroCardBreath 7s ease-in-out infinite;
  z-index:2;
}
.hero-illustration{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:2048 / 1365;
  object-fit:contain;
}
/* Keep the decorative notes, but move them clear of the baked-in illustration text. */
.note-1{right:-4px;top:34px;z-index:3}
.note-2{left:-4px;bottom:34px;z-index:3}

@media (max-width: 980px){
  .hero-visual{padding-top:4px;}
  .hero-illustration-wrap{width:min(100%, 760px);flex-basis:760px;}
  .note-1{right:6px;top:10px}
  .note-2{left:6px;bottom:10px}
}

@media (max-width: 640px){
  .hero-visual{
    padding:8px 0 18px;
  }
  .hero-illustration-wrap{
    width:100%;
    flex-basis:100%;
    animation:heroCardFloatMobile 6s ease-in-out infinite, heroCardBreath 7s ease-in-out infinite;
  }
  .floating-note{
    font-size:9px;
    padding:9px 11px;
    border-radius:13px;
  }
  .note-1{right:-2px;top:2px}
  .note-2{left:-2px;bottom:0}
}

@media (max-width: 390px){
  .floating-note{font-size:8px;padding:8px 9px}
}

@media (prefers-reduced-motion: reduce){
  .hero-illustration-wrap{animation:none !important}
}

@keyframes heroCardFloatMobile{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg)}
  50%{transform:translate3d(0,-6px,0) rotate(.35deg)}
}

/* Keep the floating labels beside the artwork on larger screens so the supplied illustration remains fully legible. */
@media (min-width: 981px){
  .note-1{right:-58px;top:-2px}
  .note-2{left:-58px;bottom:-2px}
}
@media (min-width: 641px) and (max-width: 980px){
  .note-1{right:8px;top:-8px}
  .note-2{left:8px;bottom:-8px}
}
@media (max-width: 640px){
  .floating-note{display:none}
}

/* v15: frame the supplied illustration softly and keep floating cards completely clear of its embedded text. */
.hero-visual{
  min-height:560px;
  padding:54px 0 54px;
}
.hero-illustration-wrap{
  border-radius:60px;
  overflow:hidden;
}
.hero-illustration{
  border-radius:60px;
}

@media (min-width: 981px){
  .hero-visual{
    min-height:560px;
    padding:76px 0 76px;
  }
  .note-1{
    right:12px;
    top:10px;
  }
  .note-2{
    left:12px;
    bottom:10px;
  }
}

@media (min-width: 641px) and (max-width: 980px){
  .hero-visual{
    min-height:620px;
    padding:72px 0 72px;
  }
  .note-1{
    right:18px;
    top:10px;
  }
  .note-2{
    left:18px;
    bottom:10px;
  }
}

@media (max-width: 640px){
  .hero-visual{
    min-height:0;
    padding:12px 0 20px;
  }
  .hero-illustration-wrap,
  .hero-illustration{
    border-radius:36px;
  }
  .floating-note{display:none;}
}

/* Final hero refinements from the annotated review */
@media (min-width: 981px){
  .hero-grid{
    gap:90px;
  }
  .hero-ar{
    width:100%;
    max-width:620px;
    margin-left:auto;
    margin-right:0;
    text-align:right;
    direction:rtl;
  }
}

.hero-illustration-wrap,
.hero-illustration{
  border-radius:40px;
}

@media (max-width:640px){
  .hero-illustration-wrap,
  .hero-illustration{
    border-radius:36px;
  }
}

/* v16: mobile hero visibility + exact Arabic alignment refinement. */
@media (min-width: 981px){
  /* Align the Arabic headline to the exact same right boundary as the English headline. */
  .hero-copy h1,
  .hero-copy .hero-ar,
  .hero-copy .hero-desc{
    width:100%;
    max-width:none;
  }
  .hero-copy .hero-ar,
  .hero-copy .hero-desc{
    margin-left:0;
    margin-right:0;
    text-align:right;
    direction:rtl;
  }
}

@media (max-width: 640px){
  /* Keep the decorative purple circles visible around the artwork instead of hiding them behind it. */
  .hero-visual{
    min-height:300px;
    padding:34px 0 42px;
    overflow:visible;
  }
  .hero-illustration-wrap{
    width:94%;
    flex-basis:94%;
    z-index:2;
  }
  .orb{
    z-index:1;
    pointer-events:none;
  }
  .orb-a{
    width:150px;
    height:150px;
    top:-2px;
    right:-14px;
  }
  .orb-b{
    width:105px;
    height:105px;
    bottom:-8px;
    left:-14px;
  }

  /* Keep the two floating cards visible on phone screens. */
  .floating-note{
    display:block;
    z-index:4;
    font-size:9px;
    line-height:1.25;
    padding:9px 11px;
    border-radius:13px;
    white-space:nowrap;
  }
  .note-1{
    right:-3px;
    top:4px;
  }
  .note-2{
    left:-3px;
    bottom:4px;
  }
}

@media (max-width: 390px){
  .hero-visual{
    min-height:285px;
    padding-top:30px;
    padding-bottom:38px;
  }
  .hero-illustration-wrap{width:94%;flex-basis:94%;}
  .floating-note{font-size:8px;padding:8px 9px;}
  .orb-a{width:132px;height:132px;right:-11px;}
  .orb-b{width:94px;height:94px;left:-11px;}
}

/* v18: replace the hero illustration with the I SPEAK ENGLISH logo as a large, calm visual. */
.hero-visual{
  min-height:560px;
  padding:44px 0 48px;
  overflow:visible;
}
.hero-illustration-wrap{
  position:relative;
  width:min(100%, 640px);
  flex:0 1 640px;
  border-radius:0;
  overflow:visible;
  background:transparent;
  box-shadow:none;
  transform:none;
  z-index:2;
  animation:heroLogoFloat 7s ease-in-out infinite;
}
.hero-illustration{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  border-radius:0;
  background:transparent;
}
/* Keep the purple ambience visible behind the transparent logo. */
.orb{z-index:1;}
.orb-a{
  width:250px;
  height:250px;
  top:72px;
  right:-2px;
}
.orb-b{
  width:120px;
  height:120px;
  bottom:62px;
  left:-4px;
}
.floating-note{z-index:4;}

@media (min-width:981px){
  .hero-visual{min-height:560px;padding:42px 0 50px;}
  .hero-illustration-wrap{width:min(100%, 660px);flex-basis:660px;}
  .note-1{right:-2px;top:42px;}
  .note-2{left:-2px;bottom:42px;}
}

@media (max-width:980px){
  .hero-visual{min-height:500px;padding:24px 0 34px;}
  .hero-illustration-wrap{width:min(100%, 680px);flex-basis:680px;}
  .orb-a{top:30px;right:0;}
  .orb-b{bottom:30px;left:0;}
}

@media (max-width:640px){
  .hero-visual{
    min-height:330px;
    padding:34px 0 42px;
    overflow:visible;
  }
  .hero-illustration-wrap{
    width:94%;
    flex-basis:94%;
    max-width:560px;
    z-index:2;
    animation:heroLogoFloatMobile 7s ease-in-out infinite;
  }
  .hero-illustration{width:100%;}
  .orb-a{
    width:140px;
    height:140px;
    top:-2px;
    right:-10px;
  }
  .orb-b{
    width:96px;
    height:96px;
    bottom:-2px;
    left:-10px;
  }
  .floating-note{display:block;z-index:4;}
  .note-1{right:-2px;top:2px;}
  .note-2{left:-2px;bottom:2px;}
}

@media (max-width:390px){
  .hero-visual{min-height:295px;padding-top:28px;padding-bottom:36px;}
  .hero-illustration-wrap{width:94%;flex-basis:94%;}
  .orb-a{width:126px;height:126px;right:-8px;}
  .orb-b{width:88px;height:88px;left:-8px;}
}

@media (prefers-reduced-motion: reduce){
  .hero-illustration-wrap{animation:none !important;}
}

@keyframes heroLogoFloat{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-5px,0)}
}
@keyframes heroLogoFloatMobile{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-4px,0)}
}

/* v19: balanced logo hero — desktop logo height tracks the left text zone; mobile floating cards never sit on the logo. */
@media (min-width:981px){
  .hero-grid{
    align-items:stretch;
  }
  .hero-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .hero-visual{
    min-height:0;
    height:auto;
    padding:0;
    align-self:stretch;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:visible;
  }
  .hero-illustration-wrap{
    width:100%;
    max-width:660px;
    height:100%;
    flex:1 1 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    animation:heroLogoFloat 7s ease-in-out infinite;
  }
  .hero-illustration{
    width:auto;
    height:100%;
    max-width:100%;
    object-fit:contain;
  }
}

@media (max-width:980px){
  .hero-illustration-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
  }
}

@media (max-width:640px){
  /* Cards sit outside the logo's footprint rather than over it. */
  .floating-note{z-index:4;}
  .note-1{
    top:-20px;
    right:6px;
  }
  .note-2{
    bottom:-20px;
    left:6px;
  }
  .hero-illustration-wrap{z-index:2;}
}

@media (max-width:390px){
  .note-1{top:-18px;right:4px;}
  .note-2{bottom:-18px;left:4px;}
}


/* v20: floating labels are physically separated from the logo at every breakpoint. */
body{overflow-x:hidden;}
@media (min-width:981px){
  .hero{overflow:visible;}
  .hero-visual{overflow:visible;}
  .note-1{
    top:28px;
    right:0;
    transform:translateX(108%);
    z-index:6;
    white-space:nowrap;
  }
  .note-2{
    bottom:28px;
    left:0;
    transform:translateX(-108%);
    z-index:6;
    white-space:nowrap;
  }
}
@media (min-width:641px) and (max-width:980px){
  .hero{overflow:visible;}
  .hero-visual{overflow:visible;}
  .note-1{
    top:12px;
    right:0;
    transform:translateX(104%);
    z-index:6;
    white-space:nowrap;
  }
  .note-2{
    bottom:12px;
    left:0;
    transform:translateX(-104%);
    z-index:6;
    white-space:nowrap;
  }
}
@media (max-width:640px){
  .hero-visual{overflow:visible;}
  .floating-note{
    z-index:6;
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%);
    white-space:nowrap;
  }
  .note-1{top:-18px;bottom:auto !important;}
  .note-2{bottom:-18px;top:auto !important;}
}
@media (max-width:390px){
  .note-1{top:-16px;}
  .note-2{bottom:-16px;}
}

/* v21: clean logo hero — no floating white cards, exact headline purple, subtle premium motion. */
.hero-illustration-wrap{
  position:relative;
  isolation:isolate;
  filter:drop-shadow(0 26px 48px rgba(68,25,132,.12));
}
.hero-illustration-wrap::before{
  content:"";
  position:absolute;
  inset:10% 12%;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(109,40,217,.16) 0%,rgba(124,58,237,.08) 38%,rgba(255,255,255,0) 72%);
  filter:blur(18px);
  transform:scale(.86);
  animation:logoGlowDrift 8s ease-in-out infinite;
}
.hero-illustration-wrap::after{
  content:"";
  position:absolute;
  inset:-8% -4%;
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 35%,rgba(167,139,250,.08) 49%,transparent 63%);
  transform:translateX(-25%);
  animation:logoAmbientSweep 9s ease-in-out infinite;
}
.hero-illustration{
  color:#6D28D9;
}
.hero-visual .orb-a,
.hero-visual .orb-b{
  opacity:.72;
}

@keyframes logoGlowDrift{
  0%,100%{transform:translate3d(0,0,0) scale(.86);opacity:.72}
  50%{transform:translate3d(10px,-8px,0) scale(1);opacity:1}
}
@keyframes logoAmbientSweep{
  0%,100%{transform:translate3d(-8%,0,0) rotate(0deg);opacity:0}
  22%{opacity:.7}
  58%{transform:translate3d(12%,0,0) rotate(2deg);opacity:.35}
  78%{opacity:0}
}

/* The hero stays intentionally clean: these old labels are not displayed. */
.floating-note{display:none !important;}

@media (prefers-reduced-motion: reduce){
  .hero-illustration-wrap::before,
  .hero-illustration-wrap::after{animation:none !important;}
}

/* Center the full Moroccan Arabic program promise and keep it comfortably inside the viewport. */
.program-ar-heading{
  display:block;
  width:100%;
  max-width:none;
  margin-left:auto;
  margin-right:auto;
  text-align:center !important;
  direction:rtl;
  box-sizing:border-box;
}
@media (min-width:981px){
  .program-ar-heading{
    white-space:nowrap;
    font-size:clamp(28px,2.9vw,42px) !important;
    letter-spacing:0;
  }
}
@media (max-width:980px){
  .program-ar-heading{
    white-space:normal;
    font-size:clamp(25px,5.2vw,34px) !important;
    line-height:1.35;
    padding-inline:4px;
  }
}
@media (max-width:640px){
  .program-ar-heading{
    font-size:clamp(22px,5.8vw,29px) !important;
    line-height:1.4;
    padding-inline:0;
  }
}

/* v12: align the entire PROGRAM intro block with the full card grid below. */
#program > .container > .section-heading.centered{
  width:100%;
  max-width:none;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}
#program > .container > .section-heading.centered .kicker,
#program > .container > .section-heading.centered .program-ar-heading,
#program > .container > .section-heading.centered p{
  width:100%;
  text-align:center !important;
  margin-left:auto;
  margin-right:auto;
}
@media (min-width:981px){
  #program > .container > .section-heading.centered .program-ar-heading{
    white-space:nowrap;
    font-size:clamp(30px,3vw,42px) !important;
  }
}

/* v22: header brand is a text "Home" link; more line spacing for Arabic program heading on mobile. */
.site-header .brand{font-weight:800;font-size:20px;color:#6D28D9;text-decoration:none;letter-spacing:-.01em}
@media (max-width:640px){
  #program > .container > .section-heading.centered .program-ar-heading,
  .program-ar-heading{line-height:1.75 !important}
}


/* v18: requested mobile header + breathable program copy + single-line monthly price. */
.brand{font-size:15px;font-weight:900;letter-spacing:-.02em;color:#17131F;white-space:nowrap}
.brand:hover{color:var(--purple)}

/* Keep the monthly price visually unified: 449 DH / MONTH on one strong line. */
.offer-price-single .offer-price-card{
  min-width:0;
  width:max-content;
  max-width:100%;
  flex-direction:row;
  align-items:baseline;
  justify-content:center;
  gap:10px;
  padding:20px 28px 22px;
}
.offer-price-single .offer-price-card .offer-label{
  position:absolute;
  top:-11px;
  left:50%;
  transform:translateX(-50%);
  padding:5px 10px;
  border-radius:999px;
  background:#fff;
  color:#5B21B6;
  font-size:9px;
  letter-spacing:.14em;
  line-height:1;
  box-shadow:0 8px 18px rgba(21,5,53,.18);
}
.offer-price-single .offer-price-card strong{margin-top:0;white-space:nowrap}
.offer-price-single .offer-price-card b{
  margin-top:0;
  white-space:nowrap;
  font-size:14px;
  letter-spacing:.12em;
}

@media (max-width:640px){
  .site-header .nav-wrap{height:66px;gap:12px}
  .brand{font-size:14px}

  /* Give the two Arabic program lines a little breathing room without adding bulk. */
  .section-heading.centered{margin-bottom:36px}
  .section-heading .program-ar-heading{
    margin-top:10px;
    margin-bottom:12px;
    line-height:1.18;
    font-size:clamp(28px,8.2vw,34px);
  }
  .section-heading .program-ar-heading + p{
    margin-top:0;
    line-height:1.7;
  }

  .offer-price-single .offer-price-card{
    width:auto;
    max-width:100%;
    padding:18px 20px 21px;
    gap:8px;
  }
  .offer-price-single .offer-price-card strong{font-size:52px}
  .offer-price-single .offer-price-card b{font-size:12px;letter-spacing:.10em}
}

/* v23: refined hero/header alignment. */
.site-header .brand,
.brand{
  font-family:var(--latin);
  font-size:12px;
  font-weight:800;
  letter-spacing:.05em;
  color:#514A5B;
}
.site-header .brand:hover,
.brand:hover{color:var(--purple)}

@media (min-width:981px){
  /* Illustration on the left, hero copy anchored to the far right. */
  .hero-grid{
    grid-template-columns:.95fr 1.05fr;
  }
  .hero-visual{
    grid-column:1;
    grid-row:1;
    justify-content:flex-start;
  }
  .hero-copy{
    grid-column:2;
    grid-row:1;
    max-width:720px;
    margin-left:auto;
    text-align:right;
  }
  .hero-copy h1,
  .hero-copy .hero-ar,
  .hero-copy .hero-desc{
    text-align:right;
  }
  .hero-actions{
    justify-content:flex-end;
  }
}

/* Center the journey message as one visual unit. */
#join .join-grid > div:first-child{
  text-align:center;
  margin-inline:auto;
}
#join .join-grid > div:first-child p{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}


/* v22: quieter premium registration form + more fluid hero illustration motion. */
.hero-illustration-wrap{
  animation:heroLogoFloatFlow 10s cubic-bezier(.37,0,.23,1) infinite;
  transform-origin:50% 52%;
  will-change:transform,filter;
  filter:drop-shadow(0 22px 46px rgba(68,25,132,.10));
}
.hero-illustration-wrap::before{
  animation:logoGlowFlow 11s ease-in-out infinite;
}
.hero-illustration-wrap::after{
  animation:logoAmbientFlow 12s cubic-bezier(.37,0,.23,1) infinite;
}

@keyframes heroLogoFloatFlow{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1)}
  22%{transform:translate3d(4px,-7px,0) rotate(.35deg) scale(1.006)}
  48%{transform:translate3d(-2px,-13px,0) rotate(-.25deg) scale(1.012)}
  73%{transform:translate3d(-5px,-6px,0) rotate(.2deg) scale(1.006)}
}
@keyframes logoGlowFlow{
  0%,100%{transform:translate3d(0,0,0) scale(.86);opacity:.58}
  35%{transform:translate3d(7px,-5px,0) scale(.98);opacity:.82}
  68%{transform:translate3d(-6px,-10px,0) scale(1.04);opacity:.68}
}
@keyframes logoAmbientFlow{
  0%,100%{transform:translate3d(-16%,0,0) rotate(0deg);opacity:0}
  22%{opacity:.58}
  52%{transform:translate3d(8%,2px,0) rotate(1.5deg);opacity:.32}
  74%{transform:translate3d(18%,0,0) rotate(-1deg);opacity:0}
}

/* Premium, lighter registration form: less visual weight, more whitespace, finer hierarchy. */
.join-form{
  padding:32px;
  border-radius:26px;
  background:rgba(255,255,255,.96);
  border:1px solid #ECE7F2;
  box-shadow:0 22px 60px rgba(50,28,80,.08);
}
.join-form::before{
  width:64px;
  height:2px;
  background:linear-gradient(90deg,#6D28D9,#B9A0E8);
}
.join-form h3{
  font-size:27px;
  font-weight:700;
  letter-spacing:-.035em;
  color:#302B37;
}
.form-count{
  min-width:58px;
  height:30px;
  background:#F7F3FB;
  border:1px solid #ECE4F5;
  color:#7B5AA8;
  font-weight:700;
}
.form-intro{
  color:#777080;
  font-size:13px;
  line-height:1.75;
}
.form-section{
  padding:16px 17px;
  margin-top:12px;
  border:1px solid #F0EBF5;
  border-radius:17px;
  background:#FEFDFF;
  box-shadow:none;
}
.form-section-head{gap:10px;margin-bottom:12px}
.form-section-number{
  width:29px;
  height:29px;
  flex-basis:29px;
  border-radius:9px;
  background:#FBF8FE;
  border:1px solid #E5D9F0;
  color:#6D28D9;
  font-size:9px;
  font-weight:700;
  box-shadow:none;
}
.form-section-head strong{
  color:#51495B;
  font-size:9px;
  font-weight:700;
  letter-spacing:.14em;
}
.form-section-head div span{color:#938B99;font-size:10px}
.field-card>span:first-child{
  color:#817887;
  font-size:8px;
  font-weight:700;
  letter-spacing:.13em;
}
.join-form input,
.join-form select{
  height:48px;
  border:1px solid #E8E1EE;
  border-radius:12px;
  background:#fff;
  color:#332D39;
  font-weight:400;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.join-form input::placeholder{color:#B0A8B4}
.join-form input:hover,
.join-form select:hover{border-color:#DCD1E8}
.join-form input:focus,
.join-form select:focus{
  border-color:#BBA1D7;
  box-shadow:0 0 0 3px rgba(109,40,217,.07);
  transform:none;
}
.select-wrap:after{color:#8A70A5;font-size:12px;font-weight:700}
.form-submit{
  min-height:54px;
  margin-top:16px;
  border-radius:14px;
  font-size:12px;
  font-weight:700;
  box-shadow:0 12px 26px rgba(109,40,217,.14);
}
.form-submit:hover{box-shadow:0 15px 30px rgba(109,40,217,.16)}
.form-note{color:#9A929F;font-size:9px}

@media (max-width:640px){
  .join-form{padding:24px 18px;border-radius:23px}
  .join-form h3{font-size:24px}
  .form-section{padding:14px}
}

@media (prefers-reduced-motion: reduce){
  .hero-illustration-wrap,
  .hero-illustration-wrap::before,
  .hero-illustration-wrap::after{animation:none !important}
}

/* v23: flowing registration card motion — subtle, premium movement rather than a static panel. */
.join-form.is-visible{
  animation:joinCardFlow 9s cubic-bezier(.37,0,.23,1) infinite;
  will-change:transform,box-shadow;
}
.join-form::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 28%,rgba(109,40,217,.045) 48%,rgba(255,255,255,.3) 56%,transparent 72%);
  background-size:220% 100%;
  animation:joinCardSheen 8.5s ease-in-out infinite;
  opacity:.75;
}
.join-form > *{position:relative;z-index:1}

@keyframes joinCardFlow{
  0%,100%{
    transform:translate3d(0,0,0) rotate(0deg);
    box-shadow:0 22px 60px rgba(50,28,80,.08);
  }
  24%{
    transform:translate3d(2px,-2px,0) rotate(.08deg);
    box-shadow:0 25px 66px rgba(50,28,80,.09);
  }
  50%{
    transform:translate3d(-1px,-6px,0) rotate(-.12deg);
    box-shadow:0 30px 72px rgba(50,28,80,.11);
  }
  76%{
    transform:translate3d(-2px,-2px,0) rotate(.06deg);
    box-shadow:0 24px 63px rgba(50,28,80,.09);
  }
}
@keyframes joinCardSheen{
  0%,22%{background-position:120% 0;opacity:0}
  38%{opacity:.55}
  62%{background-position:-20% 0;opacity:.22}
  72%,100%{background-position:-40% 0;opacity:0}
}

@media (prefers-reduced-motion: reduce){
  .join-form.is-visible,
  .join-form::after{animation:none !important}
}

/* FINAL MOBILE FIX: keep the offer highlights as one clean 3-column row. */
@media (max-width: 640px){
  .offer-highlights{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    border-top:1px solid rgba(255,255,255,.18) !important;
    border-bottom:1px solid rgba(255,255,255,.18) !important;
    padding:8px 0 !important;
    width:100%;
    max-width:100%;
  }

  .offer-highlights div{
    min-width:0;
    min-height:70px !important;
    padding:12px 4px !important;
    justify-content:center;
    border-top:0 !important;
    border-left:0 !important;
  }

  .offer-highlights div + div{
    border-left:1px solid rgba(255,255,255,.12) !important;
  }

  .offer-highlights strong{
    font-size:clamp(13px,4.2vw,18px) !important;
    line-height:1.1;
    letter-spacing:.02em;
    white-space:nowrap;
  }

  .offer-highlights span{
    font-size:clamp(7px,2.1vw,9px) !important;
    line-height:1.2;
    letter-spacing:.08em;
    white-space:nowrap;
  }
}
