:root {
  --navy:   #0A1628;
  --lapis:  #0D2240;
  --blue:   #1B3D6E;
  --gold:   #C9921A;
  --goldL:  #E8B84B;
  --goldD:  #9A6E10;
  --cream:  #FFFDF7;
  --sand:   #F5EDD8;
  --txt:    #0D1F35;
  --txts:   #4A5568;
}

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

html {
  scroll-behavior: smooth;
  /* Fixed two-row nav — anchor targets aren’t hidden under the bar */
  scroll-padding-top: max(9rem, 140px);
}
html:has(body.with-pre-banner) {
  /* Banner + fixed nav — generous offset for #anchors */
  scroll-padding-top: max(15rem, 300px);
}

body {
  font-family: 'Cairo', sans-serif;
  background: var(--cream);
  color: var(--txt);
  overflow-x: hidden;
}

/* Skip link — WCAG 2.4.1 (keyboard users jump past long nav) */
.skip-link {
  position: fixed;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 200;
  padding: 10px 18px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0a1628;
  background: var(--goldL);
  border: 2px solid var(--gold);
  border-radius: 8px;
  text-decoration: none;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/*
  Opt-in copy deterrence — add data-content-protect to a wrapper + load js/content-protect.js.
  Not real security (source/photos/ DevTools bypass). Cannot block OS screenshots in a browser.
*/
.content-protect {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.content-protect input,
.content-protect textarea,
.content-protect select,
.content-protect button,
.content-protect [contenteditable='true'] {
  -webkit-user-select: text;
  user-select: text;
}

/* Pre-release banner (see js/pre-release-banner.js) — height drives --pre-banner-stack */
body.with-pre-banner {
  --pre-banner-stack: 86px;
}
@media (max-width: 540px) {
  body.with-pre-banner {
    --pre-banner-stack: 112px;
  }
}
/* Pre-release banner (see js/pre-release-banner.js) */
.pre-release-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 6px 42px 7px 46px;
  background: linear-gradient(165deg, #050f22 0%, rgba(10, 22, 40, 0.99) 38%, rgba(27, 61, 110, 0.94) 100%);
  border-bottom: 1px solid rgba(201, 146, 26, 0.45);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(232, 184, 75, 0.1);
}
.pre-release-banner__inner {
  max-width: min(920px, calc(100% - 8px));
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  text-align: center;
}
.pre-release-banner__fancy {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  width: 100%;
}
.pre-release-banner__fancy-title {
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-align: center;
  background: linear-gradient(115deg, #f5e6b8 0%, var(--goldL) 28%, #fff8e0 52%, var(--gold) 78%, #f0d78c 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 10px rgba(232, 184, 75, 0.4));
  animation: preBannerGoldShift 10s ease-in-out infinite alternate;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .pre-release-banner__fancy-title {
    color: var(--goldL);
    background: none;
    filter: none;
  }
}
.pre-release-banner__fancy-sub {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(11px, 2.1vw, 13px);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 248, 230, 0.9);
  text-align: justify;
  text-align-last: center;
  text-shadow: 0 1px 12px rgba(232, 184, 75, 0.2);
  padding-inline: 2px;
}
.pre-release-banner__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
}
.pre-release-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(232, 184, 75, 0.14);
  border: 1px solid rgba(232, 184, 75, 0.5);
  font-size: 10px;
  font-weight: 800;
  color: var(--goldL);
  white-space: nowrap;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.pre-release-banner__text {
  flex: 1 1 min(100%, 280px);
  min-width: 0;
  text-align: justify;
  text-align-last: center;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.84);
}
.pre-release-banner__text strong {
  color: var(--goldL);
  font-weight: 800;
}
@keyframes preBannerGoldShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.pre-release-banner__close {
  position: absolute;
  inset-inline-start: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.pre-release-banner__close:hover {
  background: rgba(255, 255, 255, 0.22);
}
body.with-pre-banner nav {
  top: var(--pre-banner-stack);
}
body.with-pre-banner #prog {
  top: var(--pre-banner-stack);
}

section[id] {
  scroll-margin-top: 270px;
}
main#content {
  scroll-margin-top: 270px;
  outline: none;
}

/* â”€â”€ NAV â”€â”€ */
nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,146,26,0.2);
  padding: 14px 4% 12px;
  overflow: visible;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
nav.nav--scrolled {
  padding: 10px 4% 8px;
  background: rgba(10,22,40,0.97);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  border-bottom-color: rgba(201,146,26,0.28);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  margin-inline-end: 0.75rem;
}
.nav-logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  line-height: normal;
}
.nav-logo-word {
  font-family: 'Amiri', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--goldL);
  letter-spacing: 0.5px;
  line-height: 1.32;
  padding-top: 0.1em;
}
.nav-logo-mark[data-rafidain-mark] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--goldL);
}
.nav-logo-mark[data-rafidain-mark] svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.28));
}
[data-rafidain-mark] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--goldL);
}
[data-rafidain-mark] svg {
  width: 1.2em;
  height: 1.2em;
  display: block;
}
.hero .btn-primary [data-rafidain-mark] {
  color: var(--navy);
}
.hero .btn-primary [data-rafidain-mark] svg {
  width: 1.35em;
  height: 1.35em;
  filter: drop-shadow(0 1px 2px rgba(27, 61, 110, 0.2));
}
/* صفّان: روابط الأقسام تلتفّ في الأعلى؛ دخول/تسجيل + لوحة التحكم/حمّل في شريط ثابت أسفلها */
.nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
}
.nav-links-primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 12px;
  row-gap: 8px;
  min-width: 0;
}
.nav-links-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 12px;
  flex-shrink: 0;
  padding: 10px 14px 8px;
  border-top: 1px solid rgba(201, 146, 26, 0.28);
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(232, 184, 75, 0.1) 0%, rgba(10, 22, 40, 0.45) 50%, rgba(8, 18, 34, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.22);
}
.nav-links a { color:rgba(255,255,255,0.7); text-decoration:none; font-size:14px; font-weight:600; transition:.2s; }
.nav-links a:hover { color:var(--goldL); }

/* «المزيد» — تفاصيل إضافية دون إرهاق الشريط العلوي */
.nav-more-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: center;
}
.nav-more-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 146, 26, 0.4);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-more-btn:hover {
  color: var(--goldL);
  background: rgba(232, 184, 75, 0.12);
  border-color: rgba(232, 184, 75, 0.55);
}
.nav-more-btn:focus-visible {
  outline: 2px solid var(--goldL);
  outline-offset: 2px;
}
.nav-more-btn[aria-expanded="true"] {
  color: var(--goldL);
  border-color: rgba(232, 184, 75, 0.7);
  background: rgba(232, 184, 75, 0.14);
}
.nav-more-chevron {
  font-size: 0.75em;
  opacity: 0.9;
}
.nav-more-panel {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 240px;
  max-width: min(92vw, 320px);
  padding: 8px;
  border-radius: 16px;
  background: rgba(12, 24, 44, 0.98);
  border: 1px solid rgba(201, 146, 26, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  z-index: 220;
  flex-direction: column;
  gap: 2px;
}
.nav-more-panel:not([hidden]) {
  display: flex;
}
.nav-more-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
}
.nav-more-panel a:hover {
  background: rgba(232, 184, 75, 0.12);
  color: var(--goldL) !important;
}
/* روابط مع أيقونات خطية ذهبية (مثل هوية الشعار) */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: nowrap;
}
.nav-link-ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--goldL);
  opacity: 0.92;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 10px rgba(232, 184, 75, 0.2));
  transition:
    opacity 0.2s,
    filter 0.2s,
    transform 0.2s;
}
.nav-link:hover .nav-link-ico {
  opacity: 1;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3))
    drop-shadow(0 0 14px rgba(232, 184, 75, 0.45));
  transform: scale(1.06);
}
.nav-link-ico svg {
  width: 17px;
  height: 17px;
  display: block;
  stroke: currentColor;
  fill: none;
}
.nav-link-txt {
  white-space: nowrap;
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--goldD));
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
}
/* لوحة التحكم + حمّل التطبيق side by side */
.nav-cta-pair {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.nav-auth-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.nav-auth-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
/* Yellow pill — same label as in-app «لوحة التحكم»; links to /admin/ */
.nav-links a.nav-cta-dashboard {
  flex-shrink: 0;
}
/* تواصل — أيقونة ظرف بريد بجانب أزرار التحميل */
.nav-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: var(--goldL) !important;
  border: 1.5px solid rgba(232, 184, 75, 0.55);
  background: rgba(232, 184, 75, 0.08);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.nav-contact-pill:hover {
  background: rgba(232, 184, 75, 0.18);
  border-color: rgba(232, 184, 75, 0.85);
  color: #f5d78a !important;
}
.nav-contact-pill-ico {
  display: block;
  flex-shrink: 0;
}
.nav-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  transition: 0.2s;
  white-space: nowrap;
}
.nav-auth-btn:hover {
  background: rgba(232, 184, 75, 0.2);
  border-color: var(--goldL);
  color: var(--goldL) !important;
}
.nav-auth-btn--reg {
  border-color: rgba(232, 184, 75, 0.55);
  background: rgba(232, 184, 75, 0.12);
  color: var(--goldL) !important;
}
.nav-auth-btn--reg:hover {
  background: rgba(232, 184, 75, 0.22);
  color: #fffbe8 !important;
}
.nav-auth-ico {
  font-size: 16px;
  line-height: 1;
}
.nav-auth-txt {
  font-size: 13px;
}
.nav-auth-links a:not(.nav-auth-btn) {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.nav-auth-links a:not(.nav-auth-btn):hover {
  color: var(--goldL);
}
.nav-auth-register {
  color: var(--goldL) !important;
}
.nav-auth-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nav-auth-name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-auth-ico--user {
  font-size: 18px;
  opacity: 0.95;
}
.nav-auth-out {
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  transition: 0.2s;
}
.nav-auth-out:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--goldL);
}
.nav-auth-msg {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.auth-page-wrap {
  max-width: 480px;
  margin: 0 auto 80px;
  padding: 0 5%;
}
.auth-card {
  margin-top: 8px;
}
.register-page-wrap {
  max-width: 600px;
  position: relative;
  z-index: 2;
  margin: -2.25rem auto 5rem;
}
@media (max-width: 540px) {
  .register-page-wrap {
    margin-top: -1.35rem;
    margin-bottom: 4rem;
  }
}
.auth-card--register {
  max-width: 100%;
  margin-top: 0;
  padding: 34px 30px 38px;
  border-radius: 28px;
  border: 1px solid rgba(201, 146, 26, 0.28);
  background: linear-gradient(165deg, #fffefb 0%, #fffdf7 42%, #faf6ee 100%);
  box-shadow:
    0 4px 0 rgba(201, 146, 26, 0.14),
    0 28px 64px rgba(13, 34, 64, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
}
.auth-card--register::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(232, 184, 75, 0.85), var(--gold), rgba(232, 184, 75, 0.85), transparent);
  opacity: 0.95;
  pointer-events: none;
}

/* —— Register page: hero strip + form (matches home hero mood) —— */
body.register-body {
  background: var(--navy);
}
.register-page {
  position: relative;
  padding: 0;
  min-height: calc(100vh - 48px);
  overflow: hidden;
}
.register-hero-strip {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: max(5.35rem, calc(env(safe-area-inset-top, 0px) + 4.35rem)) 5% 2.75rem;
  background: linear-gradient(160deg, var(--navy) 0%, var(--lapis) 50%, #1a3557 100%);
}
.register-hero-strip__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 45%, rgba(201, 146, 26, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 82% 18%, rgba(27, 61, 110, 0.5) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(201, 146, 26, 0.08) 0%, transparent 45%);
  animation: heroMeshDrift 12s ease-in-out infinite alternate;
}
.register-deco {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.register-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.72;
  animation: heroOrbFloat 12s ease-in-out infinite;
}
.register-orb--a {
  width: min(46vw, 360px);
  height: min(46vw, 360px);
  background: radial-gradient(circle, rgba(232, 184, 75, 0.52) 0%, transparent 68%);
  top: -12%;
  right: -10%;
  animation-delay: 0s;
}
.register-orb--b {
  width: min(54vw, 420px);
  height: min(54vw, 420px);
  background: radial-gradient(circle, rgba(27, 61, 110, 0.62) 0%, transparent 62%);
  bottom: -22%;
  left: -16%;
  animation-delay: -4s;
  animation-duration: 16s;
  opacity: 0.65;
}
.register-orb--c {
  width: min(32vw, 220px);
  height: min(32vw, 220px);
  background: radial-gradient(circle, rgba(201, 146, 26, 0.42) 0%, transparent 68%);
  top: 38%;
  left: 4%;
  animation-delay: -8s;
  animation-duration: 14s;
  opacity: 0.52;
}
.register-gridline {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 184, 75, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 184, 75, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 22%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, black 22%, transparent 78%);
  opacity: 0.6;
  animation: heroGridPulse 5s ease-in-out infinite alternate;
}
.register-hero-strip__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.85rem);
}
.register-hero-strip .hero-badge {
  margin-bottom: 0;
}
.register-strip-headline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0.15rem 0 0.1rem;
}
.register-strip-title {
  font-family: 'Amiri', serif;
  font-size: clamp(2.35rem, 8vw, 3.65rem);
  font-weight: 700;
  color: var(--goldL);
  line-height: 1.22;
  letter-spacing: 0.02em;
  margin: 0;
  padding-top: 0.06em;
  animation:
    fadeUp 0.6s 0.12s ease both,
    heroTitleGlow 3s ease-in-out infinite 0.65s;
}
.register-strip-mark {
  display: flex;
  align-items: center;
  color: var(--goldL);
  opacity: 0.92;
  filter: drop-shadow(0 2px 12px rgba(232, 184, 75, 0.35));
}
.register-strip-mark svg {
  width: clamp(36px, 8vw, 52px);
  height: auto;
}
.register-strip-lead {
  margin-bottom: 0 !important;
  max-width: 36em;
  margin-inline: auto !important;
  font-size: clamp(15px, 2.5vw, 17px) !important;
  line-height: 1.65 !important;
}
.register-strip-dual-lead {
  margin: 0 !important;
  max-width: 38em;
  margin-inline: auto !important;
  font-size: clamp(13px, 2.2vw, 15px) !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}
.register-strip-dual-lead strong {
  color: var(--goldL);
  font-weight: 800;
}
.register-strip-path-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  margin-top: 0.2rem;
}
.register-path-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  text-decoration: none;
  color: var(--lapis);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(201, 146, 26, 0.4);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.register-path-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.register-path-chip--wa {
  color: #fff;
  background: rgba(37, 211, 102, 0.98);
  border-color: rgba(255, 255, 255, 0.28);
}
.register-path-chip--wa:hover {
  background: #1ebe5d;
}
#register-signup-actions,
#register-whatsapp {
  scroll-margin-top: max(6rem, 120px);
}
.register-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 0.35rem;
}
.register-hero-trust--dark {
  margin-top: 0.5rem;
}
.register-trust-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--lapis);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(201, 146, 26, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.register-trust-pill--dark {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 184, 75, 0.38);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.register-strip-cta {
  margin-top: 1.1rem !important;
  justify-content: center;
}
.register-form-band {
  position: relative;
  padding: 0 0 4.5rem;
  background: linear-gradient(180deg, #dce3ee 0%, var(--cream) 14%, #ebe4d8 100%);
  overflow: hidden;
}
.register-form-band__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(232, 184, 75, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 80%, rgba(27, 61, 110, 0.06), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 60%, rgba(201, 146, 26, 0.07), transparent 55%);
}
.register-form-band .auth-page-wrap {
  position: relative;
  z-index: 1;
}
.register-shell {
  position: relative;
  padding: 3px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.58), rgba(27, 61, 110, 0.28), rgba(201, 146, 26, 0.45));
  box-shadow:
    0 32px 80px rgba(13, 34, 64, 0.22),
    0 12px 40px rgba(201, 146, 26, 0.12),
    0 0 0 1px rgba(232, 184, 75, 0.2);
}
.register-shell-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 210deg, transparent, rgba(232, 184, 75, 0.06), transparent 40%);
  animation: registerGlow 14s linear infinite;
  pointer-events: none;
  opacity: 0.9;
}
@keyframes registerGlow {
  to {
    transform: rotate(360deg);
  }
}
.register-msg {
  animation: registerFade 0.35s ease;
}

.register-email-tips {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(27, 61, 110, 0.07), rgba(232, 184, 75, 0.06));
  border: 1px solid rgba(201, 146, 26, 0.22);
  box-shadow: 0 8px 24px rgba(13, 34, 64, 0.06);
  font-size: 13px;
  line-height: 1.65;
  color: var(--txts, #4a5568);
  text-align: right;
}
.register-email-tips-title {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--lapis, #1b3d6e);
  font-size: 14px;
}
.register-email-tips-list {
  margin: 0;
  padding-right: 1.1rem;
}
.register-email-tips-list li {
  margin-bottom: 6px;
}
.register-email-tips a {
  color: var(--goldD, #a67a12);
  font-weight: 700;
  text-decoration: underline;
}
.register-resend-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 146, 26, 0.2);
}
.register-resend-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(27, 61, 110, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--lapis, #1b3d6e);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.register-resend-btn:hover:not(:disabled) {
  border-color: rgba(201, 146, 26, 0.45);
  background: #fff;
  transform: translateY(-1px);
}
.register-resend-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.register-resend-status {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--txts, #4a5568);
}
@keyframes registerFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.register-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--goldD));
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(201, 146, 26, 0.35);
  vertical-align: middle;
}
.register-block {
  margin-bottom: 26px;
  padding: 20px 18px 22px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 253, 247, 0.9), rgba(245, 237, 216, 0.18));
  border: 1px solid rgba(201, 146, 26, 0.14);
  box-shadow: 0 10px 36px rgba(13, 34, 64, 0.05);
  border-inline-end: 3px solid rgba(201, 146, 26, 0.32);
}
.register-block-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--lapis);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(201, 146, 26, 0.2);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.register-legend-hint {
  font-size: 13px;
  color: var(--txts);
  margin: 0 0 12px;
  line-height: 1.65;
}
.register-tutor-subtitle {
  font-size: 15px;
  font-weight: 800;
  color: var(--lapis);
  margin: 22px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(27, 61, 110, 0.12);
  text-align: right;
}
.register-tutor-subtitle:first-of-type {
  margin-top: 6px;
}
.register-tutor-inline-hint {
  font-size: 12px;
  color: var(--txts);
  margin: -6px 0 12px;
  line-height: 1.55;
  text-align: right;
}
.register-tutor-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 640px) {
  .register-tutor-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }
}
.register-tutor-terms {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(27, 61, 110, 0.06);
  border: 1px solid rgba(201, 146, 26, 0.22);
  text-align: right;
}
.register-tutor-terms summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--lapis);
  font-size: 14px;
}
.register-tutor-terms-list {
  margin: 12px 0 0;
  padding: 0 1.15em 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--txt);
  list-style: disc;
}
.register-tutor-terms-list li {
  margin-bottom: 8px;
}
.register-tutor-note {
  font-size: 12px;
  color: var(--goldD);
  background: rgba(232, 184, 75, 0.12);
  border: 1px solid rgba(201, 146, 26, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 8px;
  line-height: 1.55;
}
.register-tutor-note--compact {
  font-size: 11px;
  margin-top: 6px;
}
.register-doc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  line-height: 1.6;
}
.register-doc-list li {
  font-size: 13px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--lapis);
  font-weight: 700;
}
.register-doc-req {
  font-size: 11px;
  color: #b91c1c;
  font-weight: 800;
}
.register-doc-opt {
  font-size: 11px;
  color: var(--txts);
  font-weight: 600;
}
.register-file-input {
  width: 100%;
  max-width: 100%;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1.5px solid rgba(27, 61, 110, 0.2);
  background: rgba(255, 253, 247, 0.95);
  color: var(--txt);
}
.register-tutor-grades-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 16px;
}
.register-legend--inline {
  font-size: 14px;
  margin-bottom: 10px;
}
.register-tutor-grades-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.register-tutor-grade-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1.5px solid rgba(27, 61, 110, 0.2);
  background: rgba(255, 253, 247, 0.9);
  font-size: 13px;
  font-weight: 700;
  color: var(--lapis);
  cursor: pointer;
  user-select: none;
}
.register-tutor-grade-label input {
  margin: 0;
  accent-color: var(--lapis);
}
.register-tutor-grade-label.is-checked {
  border-color: var(--lapis);
  background: rgba(27, 61, 110, 0.1);
}
.register-tutor-grade-label input:checked + span {
  font-weight: 900;
}
.register-tutor-grade-label input:focus-visible + span {
  outline: 2px solid rgba(27, 61, 110, 0.35);
  outline-offset: 2px;
  border-radius: 4px;
}
.register-tutor-terms {
  font-size: 13px;
  line-height: 1.7;
  color: var(--txt);
  background: rgba(255, 253, 247, 0.95);
  border: 1px solid rgba(201, 146, 26, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.register-tutor-terms p {
  margin: 0 0 10px;
  padding-right: 0.5em;
  border-right: 3px solid rgba(201, 146, 26, 0.35);
}
.register-tutor-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--lapis);
  cursor: pointer;
  margin-bottom: 8px;
  line-height: 1.5;
}
.register-tutor-terms-check input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--lapis);
}
.register-footnote {
  text-align: center;
}
.auth-card--register .register-footnote a,
.auth-card--register .auth-switch a {
  color: var(--goldD);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 146, 26, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.auth-card--register .register-footnote a:hover,
.auth-card--register .auth-switch a:hover {
  color: var(--lapis);
  border-bottom-color: rgba(27, 61, 110, 0.35);
}

.register-role-fieldset {
  border: none;
  border-radius: 20px;
  padding: 18px 16px 10px;
  margin-bottom: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(232, 184, 75, 0.07));
  border: 1px solid rgba(201, 146, 26, 0.16);
  box-shadow: 0 10px 32px rgba(13, 34, 64, 0.05);
}
.register-legend {
  font-weight: 900;
  color: var(--lapis);
  font-size: 15px;
  padding: 0;
  margin-bottom: 4px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.register-role-guide {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.95);
  border: 1px solid rgba(27, 61, 110, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.register-role-guide-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--lapis);
}
.register-role-guide-list {
  margin: 0;
  padding: 0 1.1em 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--txt);
}
.register-role-guide-list li {
  margin-bottom: 8px;
}
.register-role-guide-list li:last-child {
  margin-bottom: 0;
}
.register-role-guide-list strong {
  color: var(--lapis);
  font-weight: 800;
}
.register-role-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
@media (max-width: 520px) {
  .register-role-row {
    grid-template-columns: 1fr;
  }
}
.register-role-pill {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
  border-radius: 20px;
  border: 2px solid rgba(201, 146, 26, 0.28);
  background: #fff;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.2s;
  overflow: hidden;
}
.register-role-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(27, 61, 110, 0.1);
  border-color: rgba(201, 146, 26, 0.45);
}
.register-role-pill input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.register-role-pill:focus-within {
  outline: 2px solid rgba(27, 61, 110, 0.45);
  outline-offset: 3px;
}
.register-role-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 16px 20px;
  gap: 6px;
}
.register-role-icon {
  font-size: 2.25rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}
.register-role-title {
  font-weight: 900;
  font-size: 17px;
  color: var(--lapis);
}
.register-role-hint {
  font-size: 12px;
  color: var(--txts);
  line-height: 1.45;
  max-width: 12rem;
}
.register-role-pill--on {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffdf7 0%, rgba(232, 184, 75, 0.18) 100%);
  box-shadow:
    0 0 0 1px rgba(201, 146, 26, 0.25),
    0 16px 36px rgba(201, 146, 26, 0.18);
}
.register-role-pill--on .register-role-title {
  color: var(--lapis);
}

.register-field label {
  font-size: 13px;
}
.register-block-lead {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--txts);
}
.register-block-lead strong {
  color: var(--lapis);
  font-weight: 800;
}
.register-block-lead--compact {
  margin-bottom: 14px;
  font-size: 12.5px;
  line-height: 1.65;
}
.register-input-line {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid rgba(201, 146, 26, 0.22);
  border-radius: 14px;
  padding: 4px 4px 4px 12px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.register-input-line:focus-within {
  border-color: rgba(27, 61, 110, 0.45);
  box-shadow: 0 0 0 3px rgba(27, 61, 110, 0.08);
}
.register-input-ico {
  font-size: 15px;
  opacity: 0.85;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.register-input-line input,
.register-input-line select {
  flex: 1;
  border: none !important;
  background: transparent !important;
  padding: 10px 10px 10px 0 !important;
  box-shadow: none !important;
  min-width: 0;
}
.register-show-both-wrap {
  margin: 10px 0 6px;
}
.register-show-both-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--lapis);
  line-height: 1.55;
  user-select: none;
}
.register-show-both-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--lapis);
  cursor: pointer;
}
.register-show-both-label:focus-within {
  outline: none;
}
.register-show-both-label:has(input:focus-visible) {
  outline: 2px solid var(--lapis);
  outline-offset: 4px;
  border-radius: 8px;
}
.auth-show-password-wrap {
  margin: -8px 0 16px;
}
.auth-show-password-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--lapis);
  user-select: none;
}
.auth-show-password-label input {
  width: 17px;
  height: 17px;
  accent-color: var(--lapis);
  cursor: pointer;
}
.auth-show-password-label:has(input:focus-visible) {
  outline: 2px solid var(--lapis);
  outline-offset: 3px;
  border-radius: 6px;
}
.register-input-line--select select {
  cursor: pointer;
}
.register-input-line--textarea {
  align-items: stretch;
  padding: 10px 12px;
}
.register-input-line--textarea textarea {
  width: 100%;
  border: none !important;
  background: transparent !important;
  padding: 4px !important;
  box-shadow: none !important;
  min-height: 100px;
}

.register-pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
@media (max-width: 520px) {
  .register-pass-grid {
    grid-template-columns: 1fr;
  }
}

.register-password-hint {
  margin-top: 4px;
  margin-bottom: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(27, 61, 110, 0.06);
  border: 1px solid rgba(27, 61, 110, 0.12);
}
.register-password-hint-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--lapis);
}
.register-password-hint-list {
  margin: 0;
  padding: 0 1.1em 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--txts);
}
.register-password-hint-list li {
  margin-bottom: 6px;
}
.register-password-hint-list li:last-child {
  margin-bottom: 0;
}
.register-password-hint-list strong {
  color: var(--txt);
  font-weight: 700;
}

.register-submit {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  border: none;
  box-shadow:
    0 4px 0 rgba(154, 110, 16, 0.35),
    0 12px 28px rgba(201, 146, 26, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.2s;
}
.register-submit:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 rgba(154, 110, 16, 0.3),
    0 18px 36px rgba(201, 146, 26, 0.38);
}
.register-submit:active {
  transform: translateY(1px);
}
.register-submit-text {
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.register-submit-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: registerShine 3.5s ease-in-out infinite;
}
@keyframes registerShine {
  0%,
  60% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .register-hero-strip__mesh,
  .register-orb,
  .register-gridline {
    animation: none !important;
  }
  .register-strip-title {
    animation: none !important;
  }
  .btn-submit.register-submit {
    animation: none !important;
    background: linear-gradient(135deg, var(--gold), var(--goldD)) !important;
    background-size: auto !important;
  }
  .register-shell-glow,
  .register-submit-shine {
    animation: none;
  }
  .register-msg {
    animation: none;
  }
  .register-role-pill:hover {
    transform: none;
  }
}

.register-subtitle {
  font-size: 15px;
  font-weight: 800;
  color: var(--lapis);
  margin: 8px 0 14px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(201, 146, 26, 0.3);
}
.auth-msg {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.auth-msg--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991b1b;
}
.auth-msg--ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #166534;
}
.auth-switch {
  margin-top: 16px;
  text-align: center;
}

.auth-forgot-line {
  margin: 0 0 10px;
  text-align: right;
}
.auth-forgot-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-forgot-link:hover {
  color: var(--goldL);
}
.auth-forgot-panel {
  margin-bottom: 18px;
}
.auth-forgot-hint {
  margin-top: 6px;
  margin-bottom: 12px;
  line-height: 1.55;
}

/* â”€â”€ HERO â”€â”€ */
.hero {
  /* Fill viewport so copy can sit optically centered (nav is fixed over the top) */
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(160deg, var(--navy) 0%, var(--lapis) 50%, #1a3557 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  /* Don’t clip heroTitleGlow / badge glow (overflow:hidden on section cut off drop-shadows) */
  overflow: visible;
  /* Two-row fixed nav + glow above wordmark — generous top inset */
  padding: max(10.5rem, calc(env(safe-area-inset-top, 0px) + 8.5rem)) 4% max(2rem, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
body.with-pre-banner .hero {
  padding-top: max(14rem, calc(env(safe-area-inset-top, 0px) + var(--pre-banner-stack, 118px) + 7rem));
}

.hero::before {
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 45%, rgba(201,146,26,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 82% 18%, rgba(27,61,110,0.45) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(201,146,26,0.06) 0%, transparent 45%);
  animation: heroMeshDrift 12s ease-in-out infinite alternate;
}

@keyframes heroMeshDrift {
  0%   { filter: hue-rotate(0deg); transform: scale(1) translate(0, 0); opacity: 1; }
  50%  { filter: hue-rotate(14deg); transform: scale(1.08) translate(-2.5%, 1.8%); opacity: 0.88; }
  100% { filter: hue-rotate(-8deg); transform: scale(1.12) translate(2%, -1.2%); opacity: 1; }
}

/* Ambient orbs + subtle grid — behind content */
.hero-deco {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.72;
  animation: heroOrbFloat 12s ease-in-out infinite;
}
.hero-orb--a {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  background: radial-gradient(circle, rgba(232,184,75,0.55) 0%, transparent 68%);
  top: -10%;
  right: -8%;
  animation-delay: 0s;
}
.hero-orb--b {
  width: min(58vw, 440px);
  height: min(58vw, 440px);
  background: radial-gradient(circle, rgba(27,61,110,0.65) 0%, transparent 62%);
  bottom: -18%;
  left: -14%;
  animation-delay: -4s;
  animation-duration: 16s;
  opacity: 0.68;
}
.hero-orb--c {
  width: min(34vw, 240px);
  height: min(34vw, 240px);
  background: radial-gradient(circle, rgba(201,146,26,0.45) 0%, transparent 68%);
  top: 36%;
  left: 5%;
  animation-delay: -8s;
  animation-duration: 14s;
  opacity: 0.55;
}
@keyframes heroOrbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(8%, -10%) scale(1.12); }
  66% { transform: translate(-6%, 8%) scale(0.92); }
}

.hero-gridline {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,184,75,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,184,75,0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 20%, transparent 78%);
  opacity: 0.65;
  animation: heroGridPulse 5s ease-in-out infinite alternate;
}
@keyframes heroGridPulse {
  from { opacity: 0.45; }
  to   { opacity: 0.85; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Single vertical group: centered column, consistent gaps (no “floating” blocks) */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  gap: clamp(0.65rem, 2.2vw, 1rem);
}
.hero-copy .hero-sub,
.hero-copy .hero-desc {
  margin-bottom: 0;
}
.hero-copy .hero-btns {
  justify-content: center;
  margin-top: 0.35rem;
}

/* Badge + wordmark share one vertical axis (optical center) */
.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
  /* Room for h1 diacritics (harakat) — margin alone was too small vs large Amiri */
  gap: clamp(28px, 4.5vw, 52px);
}

.hero-badge {
  display: inline-flex; align-items:center; justify-content:center; gap:8px;
  background: rgba(201,146,26,0.12);
  border: 1px solid rgba(201,146,26,0.35);
  color: var(--goldL);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0;
  animation: fadeUp .6s ease both, heroBadgeGlow 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(232,184,75,0.15);
}
@keyframes heroBadgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,184,75,0.2); border-color: rgba(201,146,26,0.4); transform: scale(1); }
  50%      { box-shadow: 0 0 32px 6px rgba(232,184,75,0.45); border-color: rgba(232,184,75,0.85); transform: scale(1.02); }
}

.hero-head .hero-badge {
  margin-bottom: 0;
}

/* Title + Iraq map on one row (RTL: map is screen-left of «رافِدَيْن», matching design) */
.hero-head-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(0px, 1vw, 10px);
  width: 100%;
  flex-wrap: nowrap;
}
.hero-head-title-row h1 {
  margin-inline: 0;
  flex: 0 1 auto;
  min-width: 0;
}

.hero h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(56px, 9vw, 112px);
  color: var(--goldL);
  /* Wider line box so marks above/below glyphs don’t collide with sibling */
  line-height: 1.28;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  margin-inline: auto;
  max-width: 100%;
  padding-top: 0.06em;
  animation:
    fadeUp .6s .1s ease both,
    heroTitleGlow 3s ease-in-out infinite 0.65s;
}
@keyframes heroTitleGlow {
  0%, 100% {
    filter: drop-shadow(0 4px 24px rgba(232, 184, 75, 0.35)) drop-shadow(0 0 2px rgba(232, 184, 75, 0.4));
  }
  50% {
    filter: drop-shadow(0 6px 40px rgba(232, 184, 75, 0.75)) drop-shadow(0 0 16px rgba(255, 220, 140, 0.55));
  }
}

.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 0;
  animation: fadeUp .6s .2s ease both;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 0;
  animation: fadeUp .6s .3s ease both;
}

.hero-btns {
  display: flex; gap: 10px; flex-wrap: wrap;
  animation: fadeUp .6s .4s ease both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--goldD));
  color: var(--navy);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex; align-items:center; gap:8px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(201,146,26,0.3);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(201,146,26,0.4); }

/* Home hero only — obvious motion (animated gold + breathing shadow; no overlay on text) */
.hero .btn-primary {
  background: linear-gradient(125deg, var(--goldD) 0%, var(--gold) 35%, #ffe6a8 50%, var(--gold) 65%, var(--goldD) 100%);
  background-size: 240% 240%;
  animation: heroCtaPulse 2.4s ease-in-out infinite, heroCtaGradient 3.2s ease-in-out infinite;
}
@keyframes heroCtaGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes heroCtaPulse {
  0%, 100% { box-shadow: 0 4px 22px rgba(201,146,26,0.45); }
  50% { box-shadow: 0 10px 40px rgba(232,184,75,0.72), 0 0 32px rgba(232,184,75,0.4); }
}
.hero .btn-primary:hover {
  box-shadow: 0 10px 36px rgba(201,146,26,0.55);
  animation-play-state: paused, paused;
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: .2s;
}
.btn-secondary:hover { background:rgba(255,255,255,0.15); }

.hero-cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  max-width: 540px;
  margin: 18px 0 14px;
  animation: fadeUp .6s .45s ease both;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 14px;
  font-weight: 600;
  animation: fadeUp .6s .5s ease both;
}
.hero-cta-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.hero-cta-link:hover {
  color: var(--goldL);
  border-bottom-color: rgba(232,184,75,0.45);
}
.hero-cta-link--accent {
  color: var(--goldL);
  font-weight: 800;
}
.hero-cta-sep {
  color: rgba(255,255,255,0.28);
  user-select: none;
}

/* Hero — quick links to interactive book demos */
.hero-demo-strip {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeUp .6s .55s ease both;
}
.hero-demo-strip-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: rgba(232, 184, 75, 0.9);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.hero-demo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(232, 184, 75, 0.35);
  transition: background .2s, border-color .2s, transform .2s;
}
.hero-demo-btn:hover {
  background: rgba(232, 184, 75, 0.2);
  border-color: var(--goldL);
  transform: translateY(-2px);
}

/* Interactive book demos section (homepage anchor #topic-demos) */
.topic-demos {
  padding: 48px 4% 40px;
  background: linear-gradient(180deg, rgba(26, 53, 87, 0.05), var(--cream));
  text-align: center;
}
.topic-demos .section-title { margin-bottom: 12px; }
.topic-demos-lead {
  max-width: 520px;
  margin: 0 auto !important;
  line-height: 1.75;
}
.topic-demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 960px;
  margin: 28px auto 0;
  text-align: right;
}
.topic-demo-card {
  display: block;
  padding: 20px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid rgba(201, 146, 26, 0.28);
  text-decoration: none;
  color: var(--lapis);
  transition: box-shadow .2s, border-color .2s, transform .2s;
  box-shadow: 0 4px 24px rgba(26, 53, 87, 0.06);
}
.topic-demo-card:hover {
  border-color: rgba(201, 146, 26, 0.55);
  box-shadow: 0 12px 40px rgba(26, 53, 87, 0.1);
  transform: translateY(-3px);
}
.topic-demo-card-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}
.topic-demo-card-meta {
  font-size: 13px;
  color: rgba(26, 53, 87, 0.62);
  line-height: 1.55;
}
.topic-demo-card-go {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}
.topic-demo-card:hover .topic-demo-card-go {
  color: var(--goldD);
}
.topic-demos-foot {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(26, 53, 87, 0.55);
}
.topic-demos-foot a {
  color: var(--lapis);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 146, 26, 0.35);
}
.topic-demos-foot a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hero visual — flag stacked above phone mock, centered in column */
.hero-visual {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  animation: fadeUp .6s .2s ease both;
}
.hero-visual-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.2vw, 22px);
  flex-shrink: 0;
}
/* Animated Iraq flag — above phone mock (PNG artwork + 3D-style motion + sheen) */
.hero-iraq-flag-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hero-iraq-flag {
  width: clamp(120px, 22vw, 188px);
  flex-shrink: 0;
}
.hero-iraq-flag-inner {
  perspective: 900px;
  perspective-origin: 18% 45%;
}
.hero-iraq-flag-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transform-origin: 6% 48%;
  transform-style: preserve-3d;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(232, 184, 75, 0.18);
  animation: heroIraqFlagWave 4.2s ease-in-out infinite;
}
.hero-iraq-flag-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  user-select: none;
  -webkit-user-drag: none;
}
/* Moving highlight — suggests folds / light on fabric */
.hero-iraq-flag-sheen {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 255, 255, 0) 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  mix-blend-mode: soft-light;
  pointer-events: none;
  animation: heroIraqFlagSheen 4.2s ease-in-out infinite;
  opacity: 0.85;
}
/* Iraq map beside wordmark — glow on wrapper (filter on <img>+external SVG can render blank in WebKit) */
.hero-head-title-row .hero-iraq-map-glow {
  width: clamp(56px, 10.5vw, 128px);
  margin-top: 0;
  /* RTL: pull silhouette toward the wordmark */
  margin-inline-start: clamp(-10px, -0.8vw, -2px);
  line-height: 0;
  flex-shrink: 0;
  animation: heroIraqMapGlow 3s ease-in-out infinite 0.35s;
}
.hero-iraq-map-glow {
  line-height: 0;
}
.hero-iraq-map-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  /* Keep filters off the img so SVG rasterizes reliably */
}
@keyframes heroIraqMapGlow {
  0%,
  100% {
    filter: drop-shadow(0 4px 22px rgba(232, 184, 75, 0.45)) drop-shadow(0 0 3px rgba(232, 184, 75, 0.5));
  }
  50% {
    filter: drop-shadow(0 6px 36px rgba(232, 184, 75, 0.85)) drop-shadow(0 0 16px rgba(255, 220, 140, 0.55));
  }
}
.hero-iraq-flag-caption {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(232, 184, 75, 0.75);
  text-transform: none;
}
@keyframes heroIraqFlagWave {
  0%,
  100% {
    transform: perspective(720px) rotateY(-7deg) rotateX(2.5deg) skewY(-0.8deg) translateZ(0);
    box-shadow:
      0 10px 32px rgba(0, 0, 0, 0.42),
      0 2px 0 rgba(255, 255, 255, 0.06) inset,
      0 0 0 1px rgba(232, 184, 75, 0.32);
  }
  33% {
    transform: perspective(720px) rotateY(2deg) rotateX(-1.2deg) skewY(0.6deg) translateZ(4px);
    box-shadow:
      0 14px 38px rgba(0, 0, 0, 0.48),
      0 2px 0 rgba(255, 255, 255, 0.08) inset,
      0 0 0 1px rgba(232, 184, 75, 0.4);
  }
  66% {
    transform: perspective(720px) rotateY(8deg) rotateX(1deg) skewY(0.4deg) translateZ(0);
    box-shadow:
      0 8px 28px rgba(0, 0, 0, 0.38),
      0 2px 0 rgba(255, 255, 255, 0.05) inset,
      0 0 0 1px rgba(232, 184, 75, 0.35);
  }
}
@keyframes heroIraqFlagSheen {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.55;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.95;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-iraq-flag-img-wrap {
    animation: none;
  }
  .hero-iraq-flag-sheen {
    animation: none;
    opacity: 0.35;
  }
  .hero-iraq-map-glow {
    animation: none;
    filter: drop-shadow(0 3px 16px rgba(232, 184, 75, 0.45));
  }
}

.phone-mock {
  width: 240px;
  height: 480px;
  background: linear-gradient(160deg, #1a3557, #0f2035);
  border-radius: 36px;
  border: 2px solid rgba(201,146,26,0.3);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  animation: heroPhoneFloat 4.5s ease-in-out infinite;
}
@keyframes heroPhoneFloat {
  0%, 100% { transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%      { transform: perspective(1000px) rotateY(-6deg) rotateX(2deg) translateY(-22px); }
}

.phone-screen {
  position:absolute; inset:8px;
  background: linear-gradient(160deg, #0D2240, #0A1628);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction:column;
  align-items: center;
  padding: 18px 14px;
  gap: 8px;
}

.phone-logo {
  font-family:'Amiri',serif;
  font-size:32px;
  color:var(--goldL);
  letter-spacing:0.02em;
  margin-bottom:2px;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.phone-logo [data-rafidain-mark] svg {
  width:30px;
  height:30px;
}
.phone-meso {
  display:inline-flex;
  vertical-align:middle;
  margin-inline-end:4px;
}
.phone-meso svg {
  width:18px;
  height:18px;
  display:block;
  color:var(--goldL);
}
.phone-meso--muted svg {
  color:rgba(232,184,75,0.85);
}

.phone-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,146,26,0.2);
  border-radius:14px;
  padding: 12px 14px;
  width:100%;
}
.phone-card-title { font-size:11px; color:rgba(255,255,255,0.5); margin-bottom:4px; }
.phone-card-val { font-size:13px; color:white; font-weight:700; }

.phone-subjects {
  display:grid; grid-template-columns:1fr 1fr;
  gap:8px; width:100%;
}
.phone-subj {
  background: rgba(201,146,26,0.1);
  border:1px solid rgba(201,146,26,0.2);
  border-radius:10px;
  padding:10px 8px;
  text-align:center;
  font-size:11px;
  color:var(--goldL);
  font-weight:600;
}

/* â”€â”€ HERO — golden quick-nav rail + centered assistant â”€â”€ */
.hero-page-rail {
  position: relative;
  width: 100%;
  max-width: 44rem;
  margin: clamp(0.75rem, 2.5vw, 1.25rem) auto 0;
  padding: clamp(14px, 2.5vw, 20px) clamp(12px, 3vw, 22px);
  border-radius: 20px;
  border: 1px solid rgba(232, 184, 75, 0.28);
  background:
    radial-gradient(ellipse 120% 180% at 50% 0%, rgba(232, 184, 75, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 80% 100% at 50% 100%, rgba(201, 146, 26, 0.12) 0%, transparent 50%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 2;
}
.hero-page-rail-glow {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: radial-gradient(circle at 50% 40%, rgba(232, 184, 75, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-page-rail-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(8px, 2vw, 14px);
}
.hero-page-rail-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 8px 10px;
}
.hero-page-rail-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 4px;
}
.hero-page-ico {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 56px;
  max-width: 88px;
  padding: 8px 6px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  border: 1px solid rgba(232, 184, 75, 0.25);
  background: rgba(10, 22, 40, 0.35);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.hero-page-ico:hover {
  background: rgba(201, 146, 26, 0.22);
  border-color: rgba(232, 184, 75, 0.55);
  color: #fff;
  transform: translateY(-2px);
}
.hero-page-ico:focus-visible {
  outline: 2px solid var(--goldL);
  outline-offset: 2px;
}
.hero-page-ico-emoji {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}
.hero-page-ico-txt {
  display: block;
  max-width: 5.5rem;
}
.hero-page-rail-extras {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 2px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(232, 184, 75, 0.2);
  font-size: 12px;
  font-weight: 600;
}
.hero-page-rail-extras a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.hero-page-rail-extras a:hover {
  color: var(--goldL);
  background: rgba(201, 146, 26, 0.12);
}
.hero-page-rail-dot {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

/* â”€â”€ HERO — quick FAQ assistant (centered in rail) â”€â”€ */
.hero-assistant-slot {
  margin: clamp(0.75rem, 2.5vw, 1.25rem) auto 0;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 44rem;
}
.hero-assistant-root {
  position: relative;
  z-index: 6;
  width: 56px;
  height: 56px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-assistant-root--ready {
  opacity: 1;
  transform: scale(1);
  pointer-events: none;
}
.hero-assistant-root--ready .hero-assistant-fab,
.hero-assistant-root--ready .hero-assistant-panel {
  pointer-events: auto;
}
.hero-assistant-root--pop.hero-assistant-root--ready {
  animation: heroAssistantPeek 0.7s ease 0.35s both;
}
@keyframes heroAssistantPeek {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-assistant-fab {
  position: absolute;
  inset: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(232, 184, 75, 0.65);
  background: linear-gradient(145deg, rgba(201, 146, 26, 0.95), rgba(232, 184, 75, 0.88));
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-assistant-fab:hover {
  transform: scale(1.06);
  border-color: rgba(255, 220, 160, 0.9);
  box-shadow:
    0 8px 28px rgba(201, 146, 26, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}
.hero-assistant-fab:focus-visible {
  outline: 2px solid var(--goldL);
  outline-offset: 3px;
}
.hero-assistant-fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-assistant-fab-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.45) 0%, transparent 70%);
  opacity: 0.85;
  animation: heroAssistantPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroAssistantPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

.hero-assistant-panel {
  position: absolute;
  bottom: calc(100% + 14px);
  inset-inline-start: 0;
  width: min(300px, calc(100vw - 28px));
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(13, 34, 64, 0.98), rgba(10, 22, 40, 0.98));
  border: 1px solid rgba(201, 146, 26, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  text-align: right;
  direction: rtl;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.hero-assistant-panel:not([hidden]) {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.hero-page-rail .hero-assistant-panel,
.hero-assistant-slot .hero-assistant-panel {
  left: 50%;
  inset-inline-start: auto;
  right: auto;
  transform: translateX(-50%) translateY(10px) scale(0.96);
}
.hero-page-rail .hero-assistant-panel:not([hidden]),
.hero-assistant-slot .hero-assistant-panel:not([hidden]) {
  transform: translateX(-50%) translateY(0) scale(1);
}
.hero-page-rail .hero-assistant-panel--enter,
.hero-assistant-slot .hero-assistant-panel--enter {
  animation: heroPanelInRail 0.28s ease both;
}
@keyframes heroPanelInRail {
  from { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.94); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
.hero-assistant-panel--enter {
  animation: heroPanelIn 0.28s ease both;
}
@keyframes heroPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 146, 26, 0.2);
}
.hero-assistant-title {
  font-family: 'Amiri', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--goldL);
}
.hero-assistant-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.hero-assistant-close:hover {
  background: rgba(201, 146, 26, 0.15);
  color: #fff;
}

.hero-assistant-lead {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin-bottom: 10px;
}

.hero-assistant-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.hero-assistant-chip {
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(201, 146, 26, 0.28);
  background: rgba(201, 146, 26, 0.1);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.hero-assistant-chip:hover {
  background: rgba(201, 146, 26, 0.2);
  border-color: rgba(232, 184, 75, 0.45);
}

.hero-assistant-reply {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 146, 26, 0.15);
  margin-bottom: 10px;
}

.hero-assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
.hero-assistant-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--goldL);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(201, 146, 26, 0.35);
  transition: background 0.15s ease, color 0.15s ease;
}
.hero-assistant-link:hover {
  background: rgba(201, 146, 26, 0.15);
  color: #fff;
}
.hero-assistant-link--secondary {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}
.hero-assistant-link--secondary:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .hero-assistant-root,
  .hero-assistant-fab,
  .hero-assistant-panel,
  .hero-assistant-fab-glow {
    animation: none !important;
    transition: none !important;
  }
  .hero-assistant-root--pop.hero-assistant-root--ready {
    animation: none !important;
  }
}

/* â”€â”€ STATS â”€â”€ */
.stats {
  background: var(--navy);
  padding: 36px 4%;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2px;
  max-width:1000px;
  margin:0 auto;
}
.stat-item {
  text-align:center;
  padding: 22px 16px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(201,146,26,0.12);
  transition:.3s;
}
.stat-item:hover { background:rgba(201,146,26,0.05); }
.stat-num {
  font-family:'Amiri',serif;
  font-size:48px;
  color:var(--goldL);
  display:block;
  line-height:1;
  margin-bottom:8px;
}
.stat-lbl { font-size:13px; color:rgba(255,255,255,0.5); font-weight:600; }

/* Prestige band — trust + for-whom (ambient mesh, matches journey warmth) */
.home-prestige-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, #faf7f0 48%, var(--sand) 100%);
  border-top: 1px solid rgba(201, 146, 26, 0.14);
}
.home-prestige-band__glow {
  pointer-events: none;
  position: absolute;
  inset: -35% -15% -25% -15%;
  background:
    radial-gradient(ellipse 52% 42% at 88% 0%, rgba(232, 184, 75, 0.2), transparent 58%),
    radial-gradient(ellipse 48% 40% at 8% 95%, rgba(27, 61, 110, 0.1), transparent 55%),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.65), transparent 62%);
  opacity: 0.9;
}
.home-prestige-band .trust-strip-inner,
.home-prestige-band .for-whom-inner {
  position: relative;
  z-index: 1;
}

/* TRUST STRIP — homepage #trust (after stats, before journey) */
.trust-strip {
  padding: 52px 4% 36px;
}
.trust-strip-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.trust-strip-header {
  text-align: center;
  margin-bottom: 28px;
}
.trust-strip-header .section-sub {
  margin-inline: auto;
}
.trust-strip-title {
  margin-bottom: 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.trust-strip-sub {
  margin-bottom: 0;
  max-width: 520px;
}
.trust-strip-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.trust-strip-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  background: linear-gradient(165deg, #ffffff 0%, #fbf9f5 55%, #fff 100%);
  border-radius: 20px;
  padding: 18px 16px 20px;
  border: 1px solid rgba(201, 146, 26, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 36px rgba(10, 22, 40, 0.07),
    0 2px 8px rgba(27, 61, 110, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}
.trust-strip-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--goldL));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.trust-strip-card:hover {
  border-color: rgba(201, 146, 26, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 48px rgba(27, 61, 110, 0.12),
    0 0 0 1px rgba(232, 184, 75, 0.12);
  transform: translateY(-4px);
}
.trust-strip-card:hover::before {
  transform: scaleX(1);
}
.trust-strip-ico-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--lapis);
  background: linear-gradient(145deg, rgba(27, 61, 110, 0.09), rgba(232, 184, 75, 0.12));
  border: 1px solid rgba(27, 61, 110, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 4px 14px rgba(27, 61, 110, 0.06);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.trust-strip-card:hover .trust-strip-ico-wrap {
  color: var(--goldD);
  border-color: rgba(201, 146, 26, 0.35);
  transform: scale(1.05);
}
.trust-strip-ico {
  width: 26px;
  height: 26px;
  display: block;
}
.trust-strip-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--lapis);
  text-align: center;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .trust-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 380px) {
  .trust-strip-grid {
    grid-template-columns: 1fr;
  }
}

/* FOR WHOM — homepage #for-whom (after trust strip, before journey) */
.for-whom {
  padding: 28px 4% 56px;
  border-top: none;
}
.for-whom-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.for-whom-header {
  text-align: center;
  margin-bottom: 30px;
}
.for-whom-header .section-sub {
  margin-inline: auto;
}
.for-whom-title {
  margin-bottom: 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.for-whom-sub {
  margin-bottom: 0;
  max-width: 520px;
}
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.for-whom-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #ffffff 0%, #fbf9f5 50%, #fff 100%);
  border-radius: 24px;
  padding: 22px 22px 26px;
  border: 1px solid rgba(201, 146, 26, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 40px rgba(10, 22, 40, 0.08),
    0 2px 10px rgba(27, 61, 110, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
  text-align: right;
}
.for-whom-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--goldL));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.for-whom-card:hover {
  border-color: rgba(201, 146, 26, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 52px rgba(27, 61, 110, 0.14),
    0 0 0 1px rgba(232, 184, 75, 0.14);
  transform: translateY(-5px);
}
.for-whom-card:hover::before {
  transform: scaleX(1);
}
.for-whom-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 12px;
}
.for-whom-ico-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--lapis);
  background: linear-gradient(155deg, rgba(27, 61, 110, 0.1), rgba(232, 184, 75, 0.12));
  border: 1px solid rgba(27, 61, 110, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 6px 18px rgba(27, 61, 110, 0.07);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.28s ease;
}
.for-whom-card:hover .for-whom-ico-wrap {
  color: var(--goldD);
  border-color: rgba(201, 146, 26, 0.38);
  transform: scale(1.04);
}
.for-whom-ico {
  width: 28px;
  height: 28px;
  display: block;
}
.for-whom-card-title {
  font-family: "Cairo", sans-serif;
  font-size: 19px;
  font-weight: 900;
  color: var(--lapis);
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.for-whom-card-desc {
  font-family: "Cairo", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--txts);
  line-height: 1.62;
  margin: 0;
  padding-inline-start: 2px;
}
@media (max-width: 640px) {
  .for-whom-grid {
    grid-template-columns: 1fr;
  }
  .for-whom {
    padding: 24px 4% 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trust-strip-card,
  .for-whom-card,
  .trust-strip-card::before,
  .for-whom-card::before,
  .trust-strip-ico-wrap,
  .for-whom-ico-wrap {
    transition: none;
  }
  .trust-strip-card:hover,
  .for-whom-card:hover {
    transform: none;
  }
  .trust-strip-card:hover::before,
  .for-whom-card:hover::before {
    transform: scaleX(1);
  }
}

/* â”€â”€ VISITOR MAP â”€â”€ (dashboard / hero palette: navy + bright gold + panel) */
.visitor-section {
  --map-navy-deep: #050c1a;
  --map-navy-mid: #0a192f;
  --map-panel: #16213e;
  --map-gold: #ffcc33;
  --map-gold-mid: #f9c80e;
  padding: 48px 4% 56px;
  background: var(--sand);
  border-top: 1px solid rgba(201,146,26,0.15);
  max-width: 1100px;
  margin: 0 auto;
}
.visitor-section .section-sub { margin-bottom: 12px; }
.visitor-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 8px;
}
.visitor-heading-title {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.visitor-total {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--txt);
  margin: 20px 0 16px;
}
.visitor-total strong {
  font-family: 'Amiri', serif;
  font-size: 28px;
  color: var(--map-gold-mid);
  text-shadow: 0 0 28px rgba(255, 204, 51, 0.35);
}
.visitor-map {
  position: relative;
  height: 340px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 204, 51, 0.35);
  box-shadow:
    0 12px 48px rgba(5, 12, 26, 0.55),
    0 0 0 1px rgba(255, 204, 51, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  background: linear-gradient(165deg, var(--map-navy-deep) 0%, var(--map-navy-mid) 48%, #0d1a2e 100%);
}
/* Subtle grid like the hero / dashboard mock (above tiles, below markers) */
.visitor-map::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(120, 170, 255, 0.06) 22px, rgba(120, 170, 255, 0.06) 23px),
    repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(120, 170, 255, 0.06) 22px, rgba(120, 170, 255, 0.06) 23px);
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) {
  .visitor-total strong { text-shadow: none; }
}
/* Leaflet: match dashboard navy / bright gold / panel */
.visitor-section .leaflet-container {
  background: var(--map-navy-mid);
  font-family: 'Cairo', 'Segoe UI', sans-serif;
}
.visitor-section .leaflet-popup-content-wrapper {
  background: var(--map-panel);
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 204, 51, 0.45);
  box-shadow: 0 8px 32px rgba(5, 12, 26, 0.65);
}
.visitor-section .leaflet-popup-tip {
  background: var(--map-panel);
  box-shadow: none;
}
.visitor-section .leaflet-popup-content {
  margin: 12px 14px;
  line-height: 1.5;
}
.visitor-section .leaflet-popup-content strong {
  color: var(--map-gold);
}
.visitor-section .leaflet-control-attribution {
  background: rgba(5, 12, 26, 0.9);
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  max-width: 70%;
  line-height: 1.35;
  border-radius: 6px 0 0 0;
  border-top: 1px solid rgba(255, 204, 51, 0.18);
}
.visitor-section .leaflet-control-attribution a {
  color: var(--map-gold-mid);
}
.visitor-note {
  text-align: center;
  font-size: 12px;
  color: var(--txts);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .visitor-map { height: 260px; }
}

/* â”€â”€ FEATURES â”€â”€ */
/* JOURNEY — homepage #journey */
.journey-section {
  position: relative;
  padding: 76px 4% 88px;
  overflow: hidden;
  background: linear-gradient(165deg, #fbf9f4 0%, #eef3f9 42%, #faf6ef 100%);
}
.journey-bg {
  pointer-events: none;
  position: absolute;
  inset: -20% -10% -10% -10%;
  background:
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(232, 184, 75, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 40% at 6% 88%, rgba(27, 61, 110, 0.12), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5), transparent 72%);
  opacity: 0.95;
}
.journey-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
}
.journey-header {
  text-align: center;
  margin-bottom: 28px;
}
.journey-section .journey-tag {
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.2), rgba(27, 61, 110, 0.08));
  border-color: rgba(201, 146, 26, 0.38);
  box-shadow: 0 6px 24px rgba(201, 146, 26, 0.12);
  margin-bottom: 14px;
}
.journey-section .journey-heading {
  margin-bottom: 0;
  color: var(--lapis);
  text-shadow: 0 2px 28px rgba(27, 61, 110, 0.08);
  letter-spacing: -0.02em;
}
.journey-heading-sub {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 600;
  color: var(--txts);
  margin: 10px auto 0;
  max-width: 36rem;
  line-height: 1.55;
}
.journey-heading-accent {
  width: min(200px, 40vw);
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--lapis), transparent);
  opacity: 0.85;
}
.journey-lead-wrap {
  max-width: 680px;
  margin: 0 auto 40px;
}
.journey-lead-panel {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-right: 4px solid var(--gold);
  border-radius: 20px;
  padding: 26px 28px 24px;
  box-shadow:
    0 12px 40px rgba(10, 22, 40, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.journey-lead-main {
  margin: 0 0 16px;
  font-size: clamp(17px, 2.1vw, 20px);
  line-height: 1.78;
  color: var(--txt);
  font-weight: 500;
}
.journey-lead-sub {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 700;
  color: var(--lapis);
}
.journey-lead-icon {
  color: var(--goldD);
  line-height: 0;
  display: inline-flex;
  align-items: center;
}
.journey-lead-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  color: var(--goldD);
  filter: drop-shadow(0 1px 2px rgba(201, 146, 26, 0.25));
}

/* مسار رافِدَيْن — guided step path (homepage #journey) */
.journey-path {
  position: relative;
  margin-top: 6px;
}
.journey-path__tagline {
  text-align: center;
  font-family: 'Cairo', sans-serif;
  font-size: clamp(15px, 2.1vw, 18px);
  font-weight: 600;
  color: var(--lapis);
  margin: 0 auto 26px;
  max-width: 36em;
  line-height: 1.65;
  letter-spacing: -0.01em;
}
.journey-path__rail {
  pointer-events: none;
  position: absolute;
  inset-inline-end: -2px;
  top: 10%;
  bottom: 14%;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(232, 184, 75, 0.55) 0%,
    rgba(27, 61, 110, 0.35) 45%,
    rgba(201, 146, 26, 0.45) 100%
  );
  opacity: 0.35;
  display: none;
}
@media (min-width: 901px) {
  .journey-path__rail {
    display: block;
  }
}
.journey-path__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.journey-path__step {
  margin: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .journey-path__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }
}
@media (max-width: 540px) {
  .journey-path__steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .journey-path__rail {
    display: none !important;
  }
}
.journey-card--path {
  height: 100%;
  position: relative;
  z-index: 1;
}
.journey-card--start {
  border-color: rgba(201, 146, 26, 0.32);
  box-shadow:
    0 14px 44px rgba(201, 146, 26, 0.12),
    0 10px 36px rgba(10, 22, 40, 0.06);
}
.journey-card--start::before {
  transform: scaleX(1);
  transform-origin: center;
  height: 4px;
  background: linear-gradient(90deg, var(--goldD), var(--goldL), var(--gold));
}
.journey-card--end {
  border-color: rgba(27, 61, 110, 0.22);
  box-shadow:
    0 14px 44px rgba(27, 61, 110, 0.1),
    0 10px 36px rgba(10, 22, 40, 0.06);
}
.journey-card--end::before {
  transform: scaleX(1);
  transform-origin: center;
  height: 4px;
  background: linear-gradient(90deg, var(--lapis), var(--gold));
}
.journey-card--start .journey-step,
.journey-card--end .journey-step {
  min-width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 16px;
}
.journey-icon-wrap--sm {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}
.journey-icon--sm {
  width: 44px;
  height: 44px;
}

.journey-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(155deg, #ffffff 0%, #f8fafc 48%, #fffdf8 100%);
  border-radius: 22px;
  padding: 22px 18px 20px;
  border: 1px solid rgba(27, 61, 110, 0.1);
  box-shadow: 0 10px 36px rgba(10, 22, 40, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
  overflow: hidden;
}
.journey-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.45), rgba(27, 61, 110, 0.15), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.journey-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lapis), var(--gold));
  transform: scaleX(0.25);
  transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.journey-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 50px rgba(27, 61, 110, 0.12), 0 0 0 1px rgba(201, 146, 26, 0.18);
  border-color: rgba(201, 146, 26, 0.28);
}
.journey-card:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}
.journey-card:hover::after {
  opacity: 1;
}
.journey-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.journey-step {
  min-width: 44px;
  height: 44px;
  padding: 0 9px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  background: linear-gradient(145deg, #fff3d6, #e8b84b);
  box-shadow: 0 4px 14px rgba(201, 146, 26, 0.28);
  line-height: 1;
}
.journey-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lapis);
  background: linear-gradient(155deg, rgba(27, 61, 110, 0.1), rgba(232, 184, 75, 0.08));
  border: 1px solid rgba(27, 61, 110, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 4px 14px rgba(27, 61, 110, 0.08);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  line-height: 0;
}
.journey-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.journey-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(27, 61, 110, 0.14));
}
.journey-card:hover .journey-icon-wrap {
  transform: scale(1.06) rotate(-2deg);
  background: linear-gradient(155deg, rgba(232, 184, 75, 0.22), rgba(27, 61, 110, 0.06));
  border-color: rgba(201, 146, 26, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 26px rgba(201, 146, 26, 0.18);
  color: var(--goldD);
}
.journey-card:hover .journey-icon svg {
  filter: drop-shadow(0 3px 6px rgba(201, 146, 26, 0.22));
}
.journey-title {
  display: block;
  font-weight: 800;
  font-size: 16px;
  color: var(--lapis);
  margin-bottom: 8px;
  line-height: 1.38;
}
.journey-desc {
  display: block;
  font-size: 13px;
  line-height: 1.68;
  color: var(--txts);
  flex: 1;
}
.journey-foot {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.journey-foot-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s;
  border: 2px solid transparent;
  overflow: hidden;
}
.journey-foot-btn--primary {
  color: var(--navy);
  background: linear-gradient(135deg, #f0d78c, var(--gold) 45%, #c99530);
  box-shadow: 0 8px 28px rgba(201, 146, 26, 0.35);
  z-index: 0;
}
.journey-foot-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 146, 26, 0.42);
}
.journey-foot-glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.journey-foot-btn--primary:hover .journey-foot-glow {
  opacity: 0.7;
}
.journey-foot-btn--ghost {
  color: var(--lapis);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(27, 61, 110, 0.2);
  box-shadow: 0 4px 18px rgba(10, 22, 40, 0.05);
}
.journey-foot-btn--ghost:hover {
  background: #fff;
  border-color: rgba(201, 146, 26, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27, 61, 110, 0.1);
}

/* FEATURES */
.features { padding:56px 4%; background:var(--cream); }
.section-tag {
  display:inline-block;
  background:rgba(201,146,26,0.1);
  color:var(--goldD);
  border:1px solid rgba(201,146,26,0.25);
  border-radius:50px;
  padding:6px 16px;
  font-size:12px;
  font-weight:700;
  letter-spacing:0.06em;
  margin-bottom:10px;
}
.section-title {
  font-family:'Amiri',serif;
  font-size:clamp(32px,4vw,48px);
  color:var(--lapis);
  margin-bottom:10px;
  line-height:1.28;
}
.section-sub {
  font-size:16px;
  color:var(--txts);
  max-width:560px;
  line-height:1.6;
}

.features-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:36px;
}
.feat-card {
  background:white;
  border-radius:24px;
  padding:24px;
  border:1px solid rgba(201,146,26,0.12);
  transition:.3s;
  position:relative;
  overflow:hidden;
}
.feat-card::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background:linear-gradient(90deg,var(--gold),var(--goldL));
  transform:scaleX(0);
  transition:.3s;
  transform-origin:right;
}
.feat-card:hover { transform:translateY(-4px); box-shadow:0 20px 40px rgba(201,146,26,0.1); }
.feat-card:hover::before { transform:scaleX(1); }
.feat-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lapis);
  background: linear-gradient(155deg, rgba(27, 61, 110, 0.09), rgba(232, 184, 75, 0.1));
  border: 1px solid rgba(27, 61, 110, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 4px 14px rgba(27, 61, 110, 0.06);
  transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.feat-card:hover .feat-icon-wrap {
  transform: scale(1.04);
  color: var(--goldD);
  border-color: rgba(201, 146, 26, 0.35);
}
.feat-icon-wrap svg {
  width: 46px;
  height: 46px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(27, 61, 110, 0.1));
}
.feat-card:hover .feat-icon-wrap svg {
  filter: drop-shadow(0 3px 6px rgba(201, 146, 26, 0.18));
}
.feat-title { font-size:18px; font-weight:700; color:var(--lapis); margin-bottom:10px; }
.feat-desc { font-size:14px; color:var(--txts); line-height:1.7; }

/* â”€â”€ IN-APP TOOLS (Profile-style cards) â”€â”€ */
.tools {
  padding: 56px 4% 56px;
  background:
    radial-gradient(ellipse 900px 420px at 50% 0%, rgba(201, 146, 26, 0.09), transparent 55%),
    linear-gradient(180deg, #fffefb 0%, var(--cream) 45%, #f3f0ea 100%);
  border-top: 1px solid rgba(201, 146, 26, 0.12);
  border-bottom: 1px solid rgba(201, 146, 26, 0.08);
}
.tools-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.tools-header {
  text-align: center;
  margin-bottom: 8px;
}
.tools-title {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.tools-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
  align-items: stretch;
}
.tool-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(27, 61, 110, 0.1);
  box-shadow:
    0 4px 6px rgba(10, 22, 40, 0.04),
    0 16px 40px rgba(10, 22, 40, 0.06);
  text-align: right;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--goldL));
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 146, 26, 0.35);
  box-shadow:
    0 8px 16px rgba(10, 22, 40, 0.06),
    0 28px 56px rgba(201, 146, 26, 0.12);
}
.tool-card:hover::before {
  transform: scaleX(1);
}
.tool-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.tool-card-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(201, 146, 26, 0.14), rgba(27, 61, 110, 0.08));
  border: 1px solid rgba(201, 146, 26, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.tool-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  line-height: 0;
}
.tool-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--lapis);
  filter: drop-shadow(0 2px 4px rgba(27, 61, 110, 0.12));
}
.tool-card:hover .tool-card-icon svg {
  color: var(--goldD);
  filter: drop-shadow(0 3px 6px rgba(201, 146, 26, 0.2));
}
.tool-card-title {
  font-family: 'Amiri', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--lapis);
  margin-bottom: 8px;
  line-height: 1.35;
}
.tool-card-desc {
  font-size: 15px;
  color: var(--txts);
  line-height: 1.62;
  margin: 0 0 auto;
  padding-bottom: 12px;
  flex: 1;
}
.tool-card-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--lapis);
  background: rgba(27, 61, 110, 0.06);
  border: 1px solid rgba(27, 61, 110, 0.12);
}
.tool-card-badge--web {
  color: #0d5d3a;
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.28);
}
.tool-card-badge--optional {
  color: var(--goldD);
  background: rgba(232, 184, 75, 0.12);
  border-color: rgba(201, 146, 26, 0.35);
}

@media (max-width: 900px) {
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .tool-card {
    min-height: 0;
  }
}

/* Homepage — smart study tools (#smart-study-tools), after #tools */
.home-smart-tools {
  padding: 52px 4% 56px;
  background: linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, var(--sand) 48%, #ede6d8 100%);
  border-bottom: 1px solid rgba(201, 146, 26, 0.12);
}
.home-smart-tools-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.home-smart-tools-header {
  text-align: center;
  margin-bottom: 4px;
}
.home-smart-tools-lead {
  max-width: 620px;
  margin: 0 auto;
}
.home-smart-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.home-smart-tool-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: right;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 18px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(27, 61, 110, 0.1);
  box-shadow: 0 4px 22px rgba(26, 53, 87, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  min-height: 100%;
}
.home-smart-tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 146, 26, 0.38);
  box-shadow: 0 14px 40px rgba(26, 53, 87, 0.1);
}
.home-smart-tool-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.home-smart-tool-ico-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: linear-gradient(145deg, rgba(232, 184, 75, 0.18), rgba(27, 61, 110, 0.08));
  border: 1px solid rgba(201, 146, 26, 0.22);
  color: var(--lapis);
  flex-shrink: 0;
}
.home-smart-tool-ico {
  width: 28px;
  height: 28px;
  display: block;
}
.home-smart-tool-title {
  font-family: "Amiri", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--lapis);
  margin-bottom: 6px;
  line-height: 1.35;
}
.home-smart-tool-desc {
  font-size: 14px;
  color: var(--txts);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
}
.home-smart-tool-go {
  font-size: 13px;
  font-weight: 700;
  color: var(--goldD);
  margin-top: auto;
}
.home-smart-tool-card:hover .home-smart-tool-go {
  color: var(--blue);
}
@media (max-width: 520px) {
  .home-smart-tools-grid {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ HOW IT WORKS â”€â”€ */
.how { padding:56px 4%; background:var(--sand); }
.steps {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2px;
  margin-top:36px;
  position:relative;
}
.step {
  background:white;
  padding:22px 18px;
  text-align:center;
  position:relative;
}
.step-num {
  width:52px; height:52px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--gold),var(--goldD));
  color:var(--navy);
  font-size:20px;
  font-weight:900;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
}
.step-icon-wrap {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lapis);
  background: linear-gradient(150deg, rgba(27, 61, 110, 0.07), rgba(232, 184, 75, 0.08));
  border: 1px solid rgba(27, 61, 110, 0.1);
}
.step-icon-wrap svg {
  width: 36px;
  height: 36px;
  display: block;
}
.step-title { font-size:15px; font-weight:700; color:var(--lapis); margin-bottom:8px; }
.step-desc { font-size:13px; color:var(--txts); line-height:1.6; }

/* Homepage — ministerial exams CTA (#ministerial-exams), between #how and #topic-demos */
.exam-cta-section {
  padding: 48px 4% 52px;
  background: linear-gradient(165deg, var(--lapis) 0%, var(--navy) 42%, #152a45 100%);
  border-block: 1px solid rgba(232, 184, 75, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.exam-cta-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 36px 34px;
  border-radius: 20px;
  background: linear-gradient(152deg, rgba(255, 253, 247, 0.97) 0%, rgba(245, 237, 216, 0.65) 100%);
  border: 1px solid rgba(201, 146, 26, 0.32);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  display: grid;
  grid-template-columns: 1fr minmax(100px, 120px);
  gap: 24px 32px;
  align-items: center;
}
.exam-cta-copy .section-title {
  margin-bottom: 10px;
}
.exam-cta-sub {
  max-width: 480px;
  margin-bottom: 0;
}
.exam-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  margin-top: 22px;
}
.exam-cta-btn-primary {
  box-shadow: 0 6px 28px rgba(201, 146, 26, 0.38);
}
.exam-cta-btn-secondary.journey-foot-btn {
  padding: 14px 22px;
  font-size: 14px;
}
.exam-cta-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 146, 26, 0.42);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.exam-cta-more:hover {
  color: var(--goldD);
  border-bottom-color: var(--gold);
}
.exam-cta-deco {
  display: flex;
  align-items: center;
  justify-content: center;
}
.exam-cta-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lapis);
  background: linear-gradient(155deg, rgba(27, 61, 110, 0.1), rgba(232, 184, 75, 0.14));
  border: 1px solid rgba(27, 61, 110, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.exam-cta-icon-wrap svg {
  width: 52px;
  height: 52px;
  display: block;
}
@media (max-width: 720px) {
  .exam-cta-inner {
    grid-template-columns: 1fr;
    padding: 28px 22px 30px;
    text-align: center;
  }
  .exam-cta-sub {
    margin-inline: auto;
  }
  .exam-cta-btns {
    justify-content: center;
  }
  .exam-cta-deco {
    order: -1;
  }
}

/* â”€â”€ SUBJECTS â”€â”€ */
.subjects { padding:56px 4%; background:var(--cream); }
.subjects-grid {
  display:flex; flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
  justify-content:center;
}
.subj-pill {
  background:white;
  border:1.5px solid rgba(201,146,26,0.2);
  color:var(--lapis);
  padding:12px 24px;
  border-radius:50px;
  font-size:14px;
  font-weight:600;
  display:flex; align-items:center; gap:8px;
  transition:.2s;
  cursor:default;
}
.subj-pill:hover { background:var(--lapis); color:white; transform:scale(1.04); }
a.subj-pill {
  text-decoration: none;
  color: inherit;
}
a.subj-pill:hover {
  color: #fff;
}
.subj-pill-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lapis);
}
.subj-pill-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.subj-pill:hover .subj-pill-icon {
  color: #fff;
}

/* â”€â”€ PAYMENT â”€â”€ */
.payment { padding:56px 4%; background:var(--navy); position:relative; overflow:hidden; }
.payment::before {
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 30% 50%,rgba(201,146,26,0.08),transparent 60%);
}
.payment-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:32px; align-items:center;
  max-width:1100px; margin:0 auto;
  position:relative; z-index:1;
}
.payment h2 { color:white; }
.payment .section-sub { color:rgba(255,255,255,0.6); }
.payment-methods {
  display:flex; flex-direction:column; gap:12px;
  margin-top:22px;
}
.pay-card {
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(201,146,26,0.2);
  border-radius:20px;
  padding:20px 24px;
  display:flex; align-items:center; gap:16px;
  transition:.2s;
}
.pay-card:hover { background:rgba(255,255,255,0.08); border-color:rgba(201,146,26,0.4); }
.pay-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(232, 184, 75, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--goldL);
}
.pay-icon-wrap svg {
  width: 28px;
  height: 28px;
  display: block;
}
.pay-icon { font-size:32px; flex-shrink:0; }
.pay-name { font-size:16px; font-weight:700; color:white; }
.pay-desc { font-size:13px; color:rgba(255,255,255,0.5); margin-top:2px; }
.pay-badge {
  margin-right:auto;
  background:rgba(201,146,26,0.15);
  color:var(--goldL);
  border:1px solid rgba(201,146,26,0.3);
  border-radius:50px;
  padding:4px 12px;
  font-size:11px;
  font-weight:700;
}

.payment-visual {
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(201,146,26,0.15);
  border-radius:28px;
  padding:28px;
  text-align:center;
}
.payment-visual .payment-seal-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(232, 184, 75, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--goldL);
}
.payment-visual .payment-seal-wrap svg {
  width: 52px;
  height: 52px;
  display: block;
}
.payment-visual .big-icon { font-size:64px; display:block; margin-bottom:14px; }
.payment-visual h3 { color:white; font-size:20px; font-weight:700; margin-bottom:10px; }
.payment-visual p { color:rgba(255,255,255,0.5); font-size:14px; line-height:1.7; }

/* Homepage FAQ (#faq) — native <details>, after payment, before testimonials */
.home-faq {
  padding: 52px 4% 56px;
  background: var(--cream);
  border-block: 1px solid rgba(201, 146, 26, 0.12);
}
.home-faq-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.home-faq .section-title {
  margin-bottom: 8px;
}
.home-faq-lead {
  margin: 0 auto 28px;
  max-width: 520px;
}
.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: start;
}
.home-faq-item {
  background: #fff;
  border: 1px solid rgba(27, 61, 110, 0.1);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(26, 53, 87, 0.04);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-faq-item:hover {
  border-color: rgba(201, 146, 26, 0.28);
}
.home-faq-item[open] {
  border-color: rgba(201, 146, 26, 0.38);
  box-shadow: 0 8px 28px rgba(26, 53, 87, 0.07);
}
.home-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 16px 44px 16px 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--lapis);
  position: relative;
  line-height: 1.45;
}
.home-faq-q::-webkit-details-marker {
  display: none;
}
.home-faq-q::after {
  content: "";
  position: absolute;
  inset-inline-end: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-inline-end: 2px solid var(--goldD);
  border-block-end: 2px solid var(--goldD);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
  pointer-events: none;
  opacity: 0.85;
}
.home-faq-item[open] .home-faq-q::after {
  transform: translateY(-35%) rotate(-135deg);
}
.home-faq-a {
  padding: 0 18px 16px;
  border-top: 1px solid rgba(201, 146, 26, 0.12);
}
.home-faq-a p {
  margin: 0;
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--txts);
}
.home-faq-a a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 146, 26, 0.35);
}
.home-faq-a a:hover {
  color: var(--goldD);
  border-bottom-color: var(--gold);
}
@media (max-width: 540px) {
  .home-faq-q {
    padding: 14px 40px 14px 14px;
    font-size: 15px;
  }
  .home-faq-q::after {
    inset-inline-end: 14px;
  }
  .home-faq-a {
    padding-inline: 14px;
  }
}

/* â”€â”€ TESTIMONIALS â”€â”€ */
.testimonials { padding:56px 4%; background:var(--sand); }
.test-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:36px; }
.test-card {
  background:white;
  border-radius:24px;
  padding:24px;
  border:1px solid rgba(201,146,26,0.1);
  transition:.2s;
}
.test-card:hover { transform:translateY(-4px); box-shadow:0 20px 40px rgba(0,0,0,0.06); }
.test-stars { color:var(--gold); font-size:18px; margin-bottom:16px; }
.test-text { font-size:15px; color:var(--txts); line-height:1.8; margin-bottom:20px; font-style:italic; }
.test-author { display:flex; align-items:center; gap:12px; }
.test-avatar {
  width:44px;height:44px;
  background:linear-gradient(135deg,var(--lapis),var(--blue));
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;
}
.test-avatar svg {
  width: 26px;
  height: 26px;
  display: block;
  color: #fff;
}
.test-name { font-weight:700; color:var(--lapis); font-size:14px; }
.test-city { font-size:12px; color:var(--txts); margin-top:2px; }

/* Homepage success stats (#trust-success) — after testimonials, before #download */
.home-success-stats {
  padding: 48px 4% 52px;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(245, 237, 216, 0.85) 100%);
  border-block: 1px solid rgba(201, 146, 26, 0.14);
}
.home-success-stats-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.home-success-stats .section-title {
  margin-bottom: 8px;
}
.home-success-stats-lead {
  margin: 0 auto 32px;
  max-width: 520px;
}
.home-success-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: center;
}
.home-success-stat {
  background: #fff;
  border: 1px solid rgba(27, 61, 110, 0.1);
  border-radius: 16px;
  padding: 22px 14px 20px;
  box-shadow: 0 4px 20px rgba(26, 53, 87, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-success-stat:hover {
  border-color: rgba(201, 146, 26, 0.32);
  box-shadow: 0 8px 28px rgba(26, 53, 87, 0.08);
}
.home-success-stat-num {
  font-family: "Amiri", serif;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700;
  color: var(--goldD);
  display: block;
  line-height: 1.05;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.home-success-stat-num--soon {
  font-size: clamp(22px, 3.6vw, 32px);
  letter-spacing: 0;
}
.home-success-stat-lbl {
  font-size: 13px;
  font-weight: 700;
  color: var(--lapis);
  line-height: 1.45;
}
@media (max-width: 820px) {
  .home-success-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .home-success-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€ DOWNLOAD â”€â”€ */
/* HOME — YouTube / Meet / Calendar / Forms */
.home-integrations {
  padding: 52px 4% 56px;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--papyrus, #f8f6f0);
}
.home-integrations-title {
  text-align: center;
  margin-bottom: 8px;
}
.home-integrations-sub {
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  color: var(--txts);
  line-height: 1.7;
}
.home-integrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}
.integration-card {
  background: #fff;
  border: 1px solid rgba(27, 61, 110, 0.12);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 12px 40px rgba(13, 34, 64, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.integration-card--wide {
  grid-column: 1 / -1;
}
.integration-card-icon {
  color: #c0392b;
  margin-bottom: 4px;
}
.integration-card-icon--meet {
  color: #00897b;
}
.integration-card-title {
  font-family: 'Amiri', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lapis);
  margin: 0;
}
.integration-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--txts);
  flex: 1;
}
.integration-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.integration-card-actions--block {
  flex-direction: column;
  align-items: stretch;
}
.integration-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.integration-btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--goldD, #b8891a));
  color: var(--navy) !important;
  border: none;
}
.integration-btn--primary:hover {
  filter: brightness(1.05);
}
.integration-btn--ghost {
  background: transparent;
  color: var(--lapis) !important;
  border: 1.5px solid rgba(27, 61, 110, 0.25);
}
.integration-btn--ghost:hover {
  border-color: rgba(201, 146, 26, 0.55);
  color: var(--lapis) !important;
}
.integration-btn--block {
  width: 100%;
  text-align: center;
}
.integration-placeholder {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(27, 61, 110, 0.65);
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(27, 61, 110, 0.05);
  border: 1px dashed rgba(201, 146, 26, 0.35);
}
.integration-meet-when {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lapis);
  line-height: 1.55;
}
.integration-meet-dial {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(27, 61, 110, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.integration-meet-dial:hover {
  color: var(--lapis);
}
.integration-calendar-web-wrap {
  margin: 14px 0 0;
  text-align: center;
}
.integration-calendar-web {
  font-size: 14px;
  font-weight: 700;
  color: var(--lapis);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.integration-calendar-web:hover {
  color: #1b3d6e;
}
.integration-calendar-web-hint {
  font-size: 12px;
  font-weight: 500;
  color: rgba(27, 61, 110, 0.55);
}
.integration-embed-wrap {
  margin-top: 8px;
  width: 100%;
  min-height: 120px;
}
.integration-iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
  background: rgba(27, 61, 110, 0.04);
  display: block;
}
.integration-iframe--calendar {
  min-height: 420px;
}
.integration-iframe--form {
  min-height: 520px;
}
@media (max-width: 720px) {
  .home-integrations-grid {
    grid-template-columns: 1fr;
  }
  .integration-card--wide {
    grid-column: auto;
  }
}

.download {
  padding:56px 4%;
  background:linear-gradient(135deg,var(--navy),var(--lapis));
  text-align:center;
  position:relative;overflow:hidden;
}
.download::before {
  content: '';
  position: absolute;
  width: min(92vw, 520px);
  height: min(92vw, 520px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23ffffff'%3E%3Cpath d='M18 98h84M24 98V82h72V98M32 82V64h56V82M42 64V44h36V64M52 44V26h16V44' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M8 72c12-4 24-2 36 1s24 2 36-1 24-3 32-2' stroke-width='2' stroke-linecap='round' opacity='0.7'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.download h2 {
  font-family:'Amiri',serif;
  font-size:clamp(36px,5vw,60px);
  color:white;
  margin-bottom:16px;
  position:relative;z-index:1;
}
.download p {
  font-size:17px;
  color:rgba(255,255,255,0.6);
  margin-bottom:24px;
  position:relative;z-index:1;
}
.download-btns { display:flex;gap:12px;justify-content:center;flex-wrap:wrap;position:relative;z-index:1; }
.download-contact-row {
  margin: 8px 0 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  font-size: 15px;
}
.download-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8b84b;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid rgba(232, 184, 75, 0.45);
  border-radius: 999px;
  padding: 10px 20px 10px 18px;
  background: rgba(232, 184, 75, 0.1);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.download-contact-link:hover {
  color: #f5d78a;
  border-color: rgba(245, 215, 138, 0.65);
  background: rgba(232, 184, 75, 0.18);
}
.download-contact-ico {
  flex-shrink: 0;
  display: block;
}
.download-contact-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
}
.store-btn {
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.2);
  color:white;
  padding:16px 32px;
  border-radius:16px;
  text-decoration:none;
  display:flex;align-items:center;gap:12px;
  font-size:14px;
  font-weight:600;
  transition:.2s;
}
.store-btn:hover { background:rgba(255,255,255,0.15); }
.store-btn.btn-disabled,
.store-btn.btn-disabled:hover {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}
.store-btn .big { font-size:28px; }
.store-btn--testing {
  border-color: rgba(232, 184, 75, 0.55);
  background: rgba(232, 184, 75, 0.08);
  color: var(--goldL);
}
.store-btn--testing:hover {
  border-color: rgba(232, 184, 75, 0.85);
  background: rgba(232, 184, 75, 0.18);
}
.store-btn--testing .store-btn-title {
  color: var(--goldL);
}
.store-btn-icon--testing {
  color: var(--goldL);
}
.download-android-hint {
  margin: 14px auto 0;
  max-width: 620px;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(232, 184, 75, 0.06);
  border: 1px solid rgba(232, 184, 75, 0.22);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}
.download-android-hint strong {
  color: var(--goldL);
  font-weight: 700;
}

.download-exams-wrap {
  margin-top: 32px;
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}
.download-exams-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px 20px 22px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11) 0%, rgba(27, 61, 110, 0.42) 42%, rgba(232, 184, 75, 0.09) 100%);
  border: 1px solid rgba(232, 184, 75, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 14px 48px rgba(0, 0, 0, 0.28),
    0 0 60px rgba(232, 184, 75, 0.14);
  color: #fff;
  text-align: right;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
#download.download a.download-exams-cta,
#download.download a.download-exams-cta:link,
#download.download a.download-exams-cta:visited,
#download.download a.download-exams-cta:hover,
#download.download a.download-exams-cta:active {
  color: #fff;
  text-decoration: none;
}
.download-exams-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(232, 184, 75, 0.2), var(--goldL), var(--gold), rgba(232, 184, 75, 0.2), transparent);
  opacity: 0.95;
  z-index: 1;
  pointer-events: none;
}
.download-exams-cta-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(232, 184, 75, 0.18), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(27, 61, 110, 0.35), transparent 45%);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}
.download-exams-cta-rivers {
  position: absolute;
  bottom: 10px;
  left: 12px;
  right: 12px;
  height: 22px;
  opacity: 0.12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24' fill='none' stroke='%23E8B84B'%3E%3Cpath d='M0 14c14-3 28-1 42 1.5s28 2 42 0 26-3 36-1.5' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M2 20c16-4 32-2 48 1s32 2 48-1 24-3 32-2' stroke-width='1.8' stroke-linecap='round' opacity='0.7'/%3E%3C/svg%3E") center bottom / 100% auto no-repeat;
  pointer-events: none;
  z-index: 0;
}
.download-exams-cta:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 220, 150, 0.65);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 22px 56px rgba(0, 0, 0, 0.32),
    0 0 72px rgba(232, 184, 75, 0.22);
}
.download-exams-cta:focus-visible {
  outline: 2px solid var(--goldL);
  outline-offset: 4px;
}
.download-exams-cta > :not(.download-exams-cta-glow):not(.download-exams-cta-rivers) {
  position: relative;
  z-index: 2;
}
.download-exams-cta-icon-wrap {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(27, 61, 110, 0.55), rgba(232, 184, 75, 0.12));
  border: 1px solid rgba(232, 184, 75, 0.55);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--goldL);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.download-exams-cta:hover .download-exams-cta-icon-wrap {
  transform: scale(1.05);
  border-color: rgba(255, 220, 150, 0.55);
}
.download-exams-cta-svg {
  display: block;
}
.download-exams-cta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.download-exams-cta-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f5e6b8;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.download-exams-cta-headline {
  font-family: 'Amiri', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.download-exams-cta-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}
.download-exams-cta-chevron {
  flex-shrink: 0;
  font-size: 32px;
  font-weight: 200;
  color: var(--goldL);
  line-height: 1;
  opacity: 0.95;
  text-shadow: 0 0 20px rgba(232, 184, 75, 0.45);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.download-exams-cta:hover .download-exams-cta-chevron {
  transform: translateX(-4px);
  opacity: 1;
}

/* Homepage final CTA (#home-final-cta) — after visitor-stats, before footer */
.home-final-cta {
  padding: 52px 4% 56px;
  text-align: center;
  background: linear-gradient(162deg, var(--lapis) 0%, var(--navy) 52%, #0a1524 100%);
  border-block: 1px solid rgba(232, 184, 75, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.home-final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.home-final-cta-title {
  font-family: "Amiri", serif;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.28;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.home-final-cta-sub {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}
.home-final-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  justify-content: center;
  align-items: center;
}
.home-final-cta-primary {
  box-shadow: 0 6px 28px rgba(201, 146, 26, 0.42);
}
.home-final-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.home-final-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 184, 75, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* â”€â”€ FOOTER â”€â”€ */
footer {
  background:var(--navy);
  border-top:1px solid rgba(201,146,26,0.15);
  padding:24px 4%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px 20px;
}
.footer-logo { font-family:'Amiri',serif; font-size:22px; color:var(--goldL); letter-spacing:0.02em; }
.footer-logo--with-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-brand-mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--goldL);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-brand-mark svg,
.footer-brand-mark__svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
/* Social strip uses <nav>; site-wide `nav { position:fixed … }` must not apply here */
nav.footer-social {
  position: static;
  inset: auto;
  z-index: auto;
  left: auto;
  right: auto;
  top: auto;
  width: auto;
  max-width: 720px;
  margin: 0 auto 14px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  overflow: visible;
  transition: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  align-items: center;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 14px;
  max-width: 720px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 146, 26, 0.35);
  background: rgba(10, 22, 40, 0.35);
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-social-link:hover {
  border-color: var(--goldL);
  background: rgba(201, 146, 26, 0.15);
  color: var(--goldL) !important;
}
.footer-social-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  line-height: 0;
  color: inherit;
  opacity: 0.95;
}
.footer-social-ico .footer-social-svg,
.footer-social-ico svg {
  width: 20px;
  height: 20px;
  display: block;
}
.footer-social-label {
  font-size: 12px;
  letter-spacing: 0.02em;
}
.footer-links { display:flex; gap:14px 18px; flex-wrap:wrap; justify-content:center; max-width:720px; }
.footer-links a { color:rgba(255,255,255,0.4); text-decoration:none; font-size:13px; }
.footer-links a:hover { color:var(--goldL); }
.footer-copy { font-size:12px; color:rgba(255,255,255,0.25); }

/* â”€â”€ INTERACTIVE â”€â”€ */
.feat-card { cursor: pointer; }
.feat-card.expanded { border-color:rgba(201,146,26,0.5); background:#fffef9; box-shadow:0 20px 40px rgba(201,146,26,0.1); }
.feat-more { display:none; margin-top:14px; padding-top:14px; border-top:1px solid rgba(201,146,26,0.15); font-size:13px; color:var(--txts); line-height:1.7; }
.feat-card.expanded .feat-more { display:block; }
.feat-toggle { float:left; font-size:18px; color:var(--gold); transition:.3s; }
.feat-card.expanded .feat-toggle { transform:rotate(45deg); }

.step { cursor:pointer; transition:.2s; }
.step:hover { background:#f5f5f0; }
.step.active { background:var(--lapis); }
.step.active .step-title,.step.active .step-num { color:white; }
.step.active .step-desc { color:rgba(255,255,255,0.7); }
.step.active .step-num { background:var(--goldL); color:var(--navy); }
.step.active .step-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.subj-pill { cursor:pointer; user-select:none; }
.pay-card { cursor:pointer; }
.pay-card.selected { border-color:var(--goldL)!important; background:rgba(201,146,26,0.15)!important; }

/* Modal */
.modal-overlay {
  display:none; position:fixed; inset:0; z-index:999;
  background:rgba(10,22,40,0.88);
  backdrop-filter:blur(10px);
  align-items:center; justify-content:center; padding:20px;
}
.modal-overlay.open { display:flex; }
.modal-box {
  background:white; border-radius:28px; padding:36px;
  max-width:520px; width:100%; position:relative;
  animation:modalIn .3s ease;
  border:1px solid rgba(201,146,26,0.2);
  max-height:88vh; overflow-y:auto;
}
.modal-icon { font-size:52px; margin-bottom:14px; display:block; text-align:center; min-height:56px; }
.modal-icon:has(svg) { font-size:0; }
.modal-icon svg.rafidain-modal-svg {
  width:56px;
  height:56px;
  display:block;
  margin:0 auto;
  color:var(--lapis);
}
.modal-title { font-family:'Amiri',serif; font-size:28px; color:var(--lapis); margin-bottom:10px; }
.modal-body { font-size:15px; color:var(--txts); line-height:1.8; }
.modal-close {
  position:absolute; top:14px; left:14px;
  width:36px; height:36px; border-radius:50%;
  background:var(--sand); border:none; cursor:pointer;
  font-size:18px; display:flex; align-items:center; justify-content:center; transition:.2s;
}
.modal-close:hover { background:var(--gold); color:white; }
.modal-list { list-style:none; display:flex; flex-direction:column; gap:10px; margin-top:14px; }
.modal-list li {
  display:flex; align-items:flex-start; gap:10px;
  padding:12px 14px; background:var(--sand); border-radius:14px;
  font-size:14px; color:var(--txt); line-height:1.6;
}
.modal-cta {
  display:block; text-align:center;
  background:linear-gradient(135deg,var(--lapis),var(--blue));
  color:white; padding:14px; border-radius:50px;
  text-decoration:none; font-weight:700; font-size:15px;
  margin-top:20px; transition:.2s;
}
.modal-cta:hover { opacity:.9; transform:translateY(-1px); }
.modal-cta--secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--lapis);
  border: 2px solid rgba(27, 61, 110, 0.28);
  box-shadow: 0 2px 12px rgba(13, 34, 64, 0.06);
  margin-top: 12px;
}
.modal-cta--secondary:hover {
  border-color: rgba(201, 146, 26, 0.45);
  color: var(--goldD);
}

/* Scientific calculator (/tools/calculator/) */
.calc-page-wrap {
  max-width: 640px;
  margin: 0 auto 4rem;
  padding: 0 5% 2rem;
}
.calc-app {
  background: linear-gradient(165deg, #fffefb, #faf6ee);
  border: 1px solid rgba(201, 146, 26, 0.22);
  border-radius: 24px;
  padding: 24px 20px 28px;
  box-shadow: 0 18px 48px rgba(13, 34, 64, 0.08);
}
.calc-field-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--lapis);
  margin-bottom: 8px;
}
.calc-expr {
  width: 100%;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(201, 146, 26, 0.28);
  background: #fff;
  color: var(--txt);
  margin-bottom: 8px;
  box-sizing: border-box;
}
.calc-expr:focus {
  outline: none;
  border-color: rgba(27, 61, 110, 0.45);
  box-shadow: 0 0 0 3px rgba(27, 61, 110, 0.1);
}
.calc-hint {
  font-size: 12px;
  color: var(--txts);
  line-height: 1.55;
  margin: 0 0 14px;
}
.calc-result {
  min-height: 2.5rem;
  font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lapis);
  padding: 12px 14px;
  background: rgba(27, 61, 110, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(27, 61, 110, 0.1);
  margin-bottom: 18px;
  word-break: break-all;
}
.calc-keys {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-keys-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.calc-keys-row--sci {
  grid-template-columns: repeat(7, 1fr);
}
@media (max-width: 620px) {
  .calc-keys-row--sci {
    grid-template-columns: repeat(4, 1fr);
  }
}
.calc-keys-note {
  font-size: 11px;
  color: var(--txts);
  margin: 4px 0 8px;
  line-height: 1.5;
}
.calc-key {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 6px;
  border-radius: 12px;
  border: 1px solid rgba(201, 146, 26, 0.25);
  background: #fff;
  color: var(--txt);
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, border-color 0.15s;
}
.calc-key:hover {
  background: rgba(232, 184, 75, 0.12);
  border-color: rgba(201, 146, 26, 0.45);
}
.calc-key:active {
  transform: scale(0.97);
}
.calc-key--fn {
  font-size: 12px;
  font-weight: 800;
  background: rgba(27, 61, 110, 0.06);
  color: var(--lapis);
}
.calc-key--op {
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.35), rgba(201, 146, 26, 0.25));
  border-color: rgba(201, 146, 26, 0.4);
  font-size: 17px;
}
.calc-key--eq {
  background: linear-gradient(135deg, var(--gold), var(--goldD));
  color: var(--navy);
  border-color: rgba(154, 110, 16, 0.5);
  font-size: 18px;
}
.calc-key--danger {
  background: rgba(180, 60, 50, 0.12);
  border-color: rgba(180, 60, 50, 0.35);
  color: #8b2e26;
}
.calc-key--warn {
  background: rgba(27, 61, 110, 0.08);
}
.calc-key--wide {
  grid-column: span 1;
}
.calc-history-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(201, 146, 26, 0.3);
}
.calc-history-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--lapis);
  margin: 0 0 10px;
}
.calc-history {
  list-style: decimal;
  padding-right: 1.25rem;
  margin: 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  color: var(--txts);
  line-height: 1.6;
  max-height: 200px;
  overflow-y: auto;
}
.calc-history li {
  margin-bottom: 6px;
}

/* OpenAI web chat bubble (js/openai-web-chat.js) */
.owc-root {
  position: fixed;
  z-index: 850;
  inset-inline-end: max(16px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}
.owc-fab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(201, 146, 26, 0.45);
  background: linear-gradient(135deg, var(--lapis), #1a3557);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 36px rgba(13, 34, 64, 0.45), 0 0 0 1px rgba(232, 184, 75, 0.2);
  transition: transform 0.15s, box-shadow 0.2s;
}
.owc-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(13, 34, 64, 0.5), 0 0 28px rgba(232, 184, 75, 0.25);
}
.owc-fab-ico {
  font-size: 1.25rem;
  line-height: 1;
}
.owc-panel {
  position: absolute;
  inset-inline-end: 0;
  bottom: calc(100% + 12px);
  width: min(100vw - 32px, 380px);
  max-height: min(72vh, 520px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #0f1a2e, #0a1628);
  border: 1px solid rgba(232, 184, 75, 0.35);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.owc-panel[hidden] {
  display: none !important;
}
.owc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(232, 184, 75, 0.1);
  border-bottom: 1px solid rgba(232, 184, 75, 0.2);
}
.owc-title {
  font-weight: 900;
  font-size: 15px;
  color: var(--goldL);
}
.owc-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.owc-close:hover {
  background: rgba(255, 255, 255, 0.15);
}
.owc-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  max-height: 320px;
}
.owc-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.owc-bubble--user {
  align-self: flex-end;
  background: rgba(232, 184, 75, 0.22);
  color: #fff8e8;
  border: 1px solid rgba(232, 184, 75, 0.35);
}
.owc-bubble--assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.owc-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 14px 8px;
  margin: 0;
  line-height: 1.45;
}
.owc-input-row {
  display: flex;
  gap: 8px;
  padding: 10px 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  align-items: flex-end;
}
.owc-input {
  flex: 1;
  resize: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  min-height: 44px;
}
.owc-input:focus {
  outline: none;
  border-color: rgba(232, 184, 75, 0.45);
}
.owc-send {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--goldD));
  color: var(--navy);
}
.owc-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .owc-fab-txt {
    display: none;
  }
  .owc-fab {
    padding: 14px;
    border-radius: 50%;
  }
}

/* Scroll progress */
#prog { position:fixed; top:0; left:0; height:3px; z-index:200; width:0%;
  background:linear-gradient(90deg,var(--gold),var(--goldL)); transition:width .1s; }

@keyframes modalIn {
  from { opacity:0; transform:translateY(20px) scale(.95); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

/* â”€â”€ ANIMATIONS â”€â”€ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(52px) scale(0.96);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger scroll-in (innovation without per-element JS) */
.stats-grid .stat-item.reveal:nth-child(1) { transition-delay: 0s; }
.stats-grid .stat-item.reveal:nth-child(2) { transition-delay: 0.07s; }
.stats-grid .stat-item.reveal:nth-child(3) { transition-delay: 0.14s; }
.stats-grid .stat-item.reveal:nth-child(4) { transition-delay: 0.21s; }

.features-grid .feat-card.reveal:nth-child(1) { transition-delay: 0s; }
.features-grid .feat-card.reveal:nth-child(2) { transition-delay: 0.06s; }
.features-grid .feat-card.reveal:nth-child(3) { transition-delay: 0.12s; }
.features-grid .feat-card.reveal:nth-child(4) { transition-delay: 0.18s; }
.features-grid .feat-card.reveal:nth-child(5) { transition-delay: 0.24s; }
.features-grid .feat-card.reveal:nth-child(6) { transition-delay: 0.3s; }

.tools-grid .tool-card.reveal:nth-child(1) { transition-delay: 0s; }
.tools-grid .tool-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.tools-grid .tool-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.tools-grid .tool-card.reveal:nth-child(4) { transition-delay: 0.24s; }

.journey-path__steps li:nth-child(1) .journey-card.reveal { transition-delay: 0s; }
.journey-path__steps li:nth-child(2) .journey-card.reveal { transition-delay: 0.05s; }
.journey-path__steps li:nth-child(3) .journey-card.reveal { transition-delay: 0.1s; }
.journey-path__steps li:nth-child(4) .journey-card.reveal { transition-delay: 0.15s; }
.journey-path__steps li:nth-child(5) .journey-card.reveal { transition-delay: 0.2s; }
.journey-path__steps li:nth-child(6) .journey-card.reveal { transition-delay: 0.25s; }

.steps .step.reveal:nth-child(1) { transition-delay: 0s; }
.steps .step.reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .step.reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .step.reveal:nth-child(4) { transition-delay: 0.24s; }

.test-grid .test-card.reveal:nth-child(1) { transition-delay: 0s; }
.test-grid .test-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.test-grid .test-card.reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .pre-release-banner__fancy-title {
    animation: none !important;
  }
  .hero::before,
  .hero-orb,
  .hero-gridline,
  .hero-badge {
    animation: none !important;
  }
  .phone-mock {
    animation: none !important;
  }
  .hero-copy .hero-badge,
  .hero h1,
  .hero-sub,
  .hero-desc,
  .hero-btns,
  .hero-visual {
    animation: none !important;
  }
  .hero .btn-primary {
    animation: none !important;
    background: linear-gradient(135deg, var(--gold), var(--goldD)) !important;
    background-size: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* â”€â”€ RESPONSIVE â”€â”€ */
.nav-toggle {
  display: none;
  background: rgba(201,146,26,0.12);
  border: 1px solid rgba(201,146,26,0.35);
  color: var(--goldL);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--goldL);
  outline-offset: 2px;
}

.page-hero {
  padding: 120px 4% 40px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--lapis) 100%);
  text-align: center;
}
.page-hero h1 {
  font-family: 'Amiri', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--goldL);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 4% 56px;
  line-height: 1.85;
  font-size: 15px;
  color: var(--txts);
}
.page-article h2 {
  font-family: 'Amiri', serif;
  color: var(--lapis);
  font-size: 22px;
  margin: 28px 0 12px;
}
.page-article p { margin-bottom: 12px; }
.page-article ul { margin: 8px 0 16px 24px; }
.page-article ul.page-list {
  margin: 8px 0 20px 0;
  padding-right: 20px;
  list-style: disc;
}
.page-article ul.page-list li { margin-bottom: 8px; }
.page-article a { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(27,61,110,0.25); }
.page-article a:hover { border-bottom-color: var(--gold); color: var(--lapis); }

/* Arabic-first / low-data guidance (help, contact, etc.) */
.page-callout {
  margin: 0 auto 28px;
  max-width: 720px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(201, 146, 26, 0.38);
  background: linear-gradient(135deg, rgba(201, 146, 26, 0.1), rgba(26, 53, 87, 0.05));
  font-size: 14px;
  line-height: 1.8;
  color: var(--txts);
}
.page-callout h2 {
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--lapis);
  margin: 0 0 12px;
}
.page-callout ul.page-list { margin-bottom: 0; }
.contact-intro {
  grid-column: 1 / -1;
  max-width: 900px;
  margin: 0 auto 8px;
  padding: 0 0 8px;
}
.hero-iraq-note {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 520px;
  animation: fadeUp .6s .58s ease both;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 4% 56px;
  align-items: start;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 700;
  color: var(--lapis);
  margin-bottom: 6px;
  font-size: 14px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(201,146,26,0.25);
  font-family: inherit;
  font-size: 15px;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  background: linear-gradient(135deg, var(--gold), var(--goldD));
  color: var(--navy);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}
.btn-submit:hover { opacity: 0.95; }
.btn-submit.register-submit {
  background: linear-gradient(125deg, var(--goldD) 0%, var(--gold) 35%, #ffe6a8 50%, var(--gold) 65%, var(--goldD) 100%);
  background-size: 240% 240%;
  animation: heroCtaGradient 3.2s ease-in-out infinite, heroCtaPulse 2.4s ease-in-out infinite;
}
.btn-submit.register-submit:hover {
  opacity: 1;
  animation-play-state: paused, paused;
}
.form-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(201,146,26,0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--txts); margin-top: 12px; }
.contact-social-section {
  margin-top: 18px;
  margin-bottom: 14px;
}
.contact-social-section[hidden] {
  display: none !important;
}
.contact-social-heading {
  font-family: 'Amiri', serif;
  color: var(--lapis);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}
.contact-social-section .footer-social {
  justify-content: flex-start;
  margin: 0;
  max-width: none;
}
.alert-success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  color: #166534;
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-weight: 600;
}

@media (max-width:900px) {
  .hero-grid, .payment-grid { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .features-grid { grid-template-columns:1fr 1fr; }
  .steps { grid-template-columns:1fr 1fr; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .test-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 5% 24px;
    gap: 0;
    border-bottom: 1px solid rgba(201,146,26,0.2);
    z-index: 150;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  body.with-pre-banner .nav-links {
    top: calc(var(--pre-banner-stack) + 72px);
    max-height: calc(100vh - var(--pre-banner-stack) - 72px);
  }
  .nav-links.open { display: flex; }
  .nav-links-primary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-links-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 4px;
    padding: 12px 0 10px;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(232, 184, 75, 0.07) 0%, transparent 92%);
    box-shadow: none;
    border-top-color: rgba(201, 146, 26, 0.2);
  }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-link-txt {
    white-space: normal;
    text-align: right;
  }
  .nav-links .nav-auth-slot {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    justify-content: center;
  }
  .nav-auth-links {
    justify-content: center;
    width: 100%;
  }
  .nav-auth-user {
    justify-content: center;
    width: 100%;
  }
  .nav-links .nav-cta { text-align: center; margin-top: 8px; }
  .nav-links .nav-cta-pair {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }
  .nav-links .nav-contact-pill {
    justify-content: center;
  }
  .nav-more-wrap {
    width: 100%;
    align-items: stretch;
    align-self: stretch;
  }
  .nav-more-btn {
    justify-content: center;
    width: 100%;
  }
  .nav-more-panel {
    position: static;
    max-width: none;
    margin-top: 6px;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.12);
  }
}
@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .nav-links { display: flex !important; }
}
@media (max-width:600px) {
  .features-grid, .steps { grid-template-columns:1fr; }
}

/* â”€â”€ EXAMS BROWSER (/exams/) â”€â”€ */
.exams-browser-wrap { max-width: 960px; margin: 0 auto; padding: 0 4% 56px; }
.exams-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-end;
}
.exams-filter-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--txts);
}
.exams-select {
  min-width: 180px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(27,61,110,0.2);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--txt);
}
.exams-loading { text-align: center; color: var(--txts); padding: 24px; }
.exams-error { color: #b91c1c; text-align: center; padding: 16px; line-height: 1.7; }
.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.exams-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(201,146,26,0.25);
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: 0.2s;
  font: inherit;
  width: 100%;
}
.exams-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(10,22,40,0.08);
}
.exams-card-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--txt);
  margin-bottom: 8px;
}
.exams-card-meta {
  font-size: 12px;
  color: var(--txts);
  line-height: 1.5;
}
.exams-empty { text-align: center; color: var(--txts); padding: 32px; }
.exams-modal-box { max-width: 420px; }
.exams-modal-box--wide {
  max-width: min(96vw, 640px);
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}
.exams-modal-box--wide .modal-body {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.exams-modal-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.exams-modal-meta { font-size: 14px; color: var(--txts); margin-bottom: 16px; }
.exams-modal-hint { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.exams-modal-cta { display: inline-flex; }

.exam-take-form { margin-top: 8px; }
.exam-take-q {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(27, 61, 110, 0.12);
}
.exam-take-q:last-of-type { border-bottom: none; }
.exam-take-qhead {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--txt);
}
.exam-take-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(201, 146, 26, 0.15);
  color: var(--lapis);
  font-size: 13px;
  margin-left: 8px;
}
.exam-take-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.55;
  color: var(--txt);
}
.exam-take-opt input {
  margin-top: 4px;
  flex-shrink: 0;
}
.exam-take-noopt {
  font-size: 13px;
  color: var(--txts);
  font-style: italic;
}
.exam-take-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-start;
}
.exam-result-score {
  font-size: 18px;
  margin: 12px 0 16px;
  text-align: center;
}
.exam-result-list { margin-top: 12px; }
.exam-result-row {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
}
.exam-result-ok { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.25); }
.exam-result-bad { background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.2); }
.exam-result-skip { background: rgba(100, 116, 139, 0.08); color: var(--txts); }
.exam-result-expl {
  margin-top: 8px;
  font-size: 13px;
  color: var(--txts);
  font-weight: 400;
}

/* —— Student hub (/student/) —— */
.nav-auth-hub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(201, 146, 26, 0.18);
  border: 1px solid rgba(201, 146, 26, 0.45);
  color: var(--goldL) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
}
.nav-auth-hub:hover {
  background: rgba(201, 146, 26, 0.28);
  color: #fff !important;
}
.student-page-error {
  max-width: 920px;
  margin: 100px auto 0;
  padding: 0 4%;
}
.student-page-wrap {
  max-width: 960px;
  margin: 0 auto 64px;
  padding: 0 4% 48px;
}
.student-banner {
  background: linear-gradient(135deg, rgba(27, 61, 110, 0.12), rgba(201, 146, 26, 0.1));
  border: 1px solid rgba(201, 146, 26, 0.25);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.65;
}
.student-section {
  margin-bottom: 40px;
}
.student-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.student-section-title {
  font-family: 'Amiri', serif;
  font-size: 22px;
  color: var(--lapis);
  margin: 0;
}
.student-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(27, 61, 110, 0.1);
  color: var(--blue);
}
.student-hint {
  font-size: 14px;
  color: var(--txts);
  margin-bottom: 16px;
}
.student-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(27, 61, 110, 0.1);
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.06);
}
.student-card--muted {
  background: rgba(255, 255, 255, 0.65);
}
.student-muted {
  color: var(--txts);
  font-size: 14px;
  line-height: 1.7;
}
.student-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.student-filter span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--txts);
  margin-bottom: 6px;
}
.student-input,
.student-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(27, 61, 110, 0.2);
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}
.tutor-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.tutor-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(27, 61, 110, 0.12);
  box-shadow: 0 10px 32px rgba(10, 22, 40, 0.07);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tutor-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tutor-card-emoji {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Twemoji Mozilla', sans-serif;
  line-height: 1;
}
.tutor-card-name {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--txt);
}
.tutor-card-meta {
  font-size: 12px;
  color: var(--txts);
  margin: 0;
}
.tutor-card-subject {
  font-size: 14px;
  margin: 0;
  color: var(--txt);
}
.tutor-card-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--lapis);
  margin: 6px 0 0;
}
.tutor-card-stages {
  font-size: 12px;
  color: var(--txts);
  margin: 4px 0 0;
  line-height: 1.45;
}
.tutor-card-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(27, 61, 110, 0.1);
  font-weight: 700;
  font-size: 13px;
}
.tutor-card-bio {
  font-size: 13px;
  line-height: 1.55;
  color: var(--txts);
  margin: 0;
  flex: 1;
}
.tutor-card-actions {
  margin-top: auto;
  padding-top: 8px;
}
.btn-tutor-book {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  background: linear-gradient(135deg, var(--gold), var(--goldD));
  color: var(--navy);
}
.btn-tutor-book:hover {
  filter: brightness(1.05);
}
.student-empty {
  text-align: center;
  padding: 36px 20px;
  color: var(--txts);
}
.student-empty-ico {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}
.student-mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.student-mini-list li {
  margin-bottom: 10px;
}
.student-enroll-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.student-enroll-card {
  background: #fff;
  border: 1px solid rgba(201, 146, 26, 0.22);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.06);
}
.student-enroll-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.student-enroll-emoji {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}
.student-enroll-text {
  flex: 1 1 auto;
  min-width: 0;
}
.student-enroll-title {
  margin: 0 0 2px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--lapis, #0d2240);
}
.student-enroll-meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--txts, #4a5568);
}
.student-enroll-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid transparent;
}
.student-enroll-badge--up {
  background: rgba(27, 61, 110, 0.08);
  color: var(--lapis, #0d2240);
  border-color: rgba(27, 61, 110, 0.2);
}
.student-enroll-badge--done {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.25);
}
.student-enroll-desc {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--txts, #4a5568);
}
.student-enroll-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.student-enroll-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  background: rgba(232, 184, 75, 0.12);
  color: var(--goldD, #9a6e10);
  border: 1px solid rgba(232, 184, 75, 0.35);
}
.student-enroll-join {
  text-decoration: none;
}
.student-json {
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(27, 61, 110, 0.05);
  padding: 10px;
  border-radius: 10px;
  margin: 0;
}
.student-download {
  margin-top: 32px;
  padding: 28px 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(10, 22, 40, 0.04), rgba(201, 146, 26, 0.08));
  border: 1px solid rgba(201, 146, 26, 0.25);
  text-align: center;
}
.student-download p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--txt);
}
.student-download-btn {
  display: inline-flex;
  text-decoration: none;
}
.student-progress-banner {
  max-width: 960px;
  margin: 88px auto 0;
  padding: 0 4%;
  text-align: center;
}
.student-progress-banner-link {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy) !important;
  background: linear-gradient(135deg, rgba(232, 184, 75, 0.35), rgba(201, 146, 26, 0.2));
  border: 1px solid rgba(201, 146, 26, 0.45);
  text-decoration: none;
  transition: filter 0.2s;
}
.student-progress-banner-link:hover {
  filter: brightness(1.05);
}
.looker-progress-page .looker-progress-lead code {
  font-size: 12px;
  background: rgba(27, 61, 110, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}
.looker-back-btn {
  display: inline-flex;
  align-items: center;
}
.looker-embed-mount {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(27, 61, 110, 0.03);
}
.looker-embed-mount:empty {
  display: none;
}
.progress-bar-card {
  background: #fff;
  border: 1px solid rgba(201, 146, 26, 0.22);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.05);
}
.progress-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.progress-bar-label {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--lapis, #0d2240);
}
.progress-bar-value {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--lapis, #0d2240);
}
.progress-bar-track {
  width: 100%;
  height: 14px;
  background: rgba(27, 61, 110, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lapis, #0d2240), var(--blue, #1b3d6e));
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.progress-bar-fill--gold {
  background: linear-gradient(90deg, var(--goldD, #9a6e10), var(--goldL, #e8b84b));
}
.progress-bar-hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--txts, #4a5568);
}
.progress-exam-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  text-align: center;
}
.progress-exam-metric {
  background: rgba(232, 184, 75, 0.08);
  border: 1px solid rgba(232, 184, 75, 0.28);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.progress-exam-val {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--goldD, #9a6e10);
}
.progress-exam-lbl {
  font-size: 11.5px;
  color: var(--txts, #4a5568);
}
.progress-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-top: 4px;
}
.progress-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.progress-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(201, 146, 26, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 6px 16px rgba(10, 22, 40, 0.05);
}
.progress-stat-ico {
  font-size: 26px;
  line-height: 1;
}
.progress-stat-val {
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--lapis, #0d2240);
  line-height: 1.1;
}
.progress-stat-lbl {
  font-size: 12.5px;
  color: var(--txts, #4a5568);
}
.looker-iframe {
  width: 100%;
  min-height: min(85vh, 900px);
  height: 720px;
  border: none;
  display: block;
}
@media (max-width: 640px) {
  .looker-iframe {
    height: 560px;
    min-height: 50vh;
  }
}
.student-footer {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--txts);
}
.student-footer a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.student-profile-empty {
  text-align: center;
  padding: 8px 4px 4px;
}
.student-profile-empty p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--txts);
}
.student-profile-empty p:last-child {
  margin-bottom: 0;
}
a.student-inline-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 61, 110, 0.35);
}
a.student-inline-link:hover {
  color: var(--lapis);
  border-bottom-color: var(--gold);
}

/* —— webinar.html — YouTube embed + upcoming session promo —— */
.webinar-page {
  padding-bottom: 48px;
}
.webinar-page-hero {
  padding-bottom: 28px;
}
.webinar-kicker {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.webinar-when {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 40rem;
  margin-inline: auto;
}
.webinar-promo {
  position: relative;
  max-width: 720px;
  margin: -8px auto 40px;
  padding: 4px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(232, 184, 75, 0.55),
    rgba(27, 61, 110, 0.45),
    rgba(232, 184, 75, 0.35)
  );
  background-size: 200% 200%;
  animation: webinarPromoEdge 8s ease-in-out infinite alternate;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
@keyframes webinarPromoEdge {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.webinar-promo--live {
  animation-duration: 3s;
}
.webinar-promo-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 30%, rgba(232, 184, 75, 0.15), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.webinar-promo-inner {
  position: relative;
  z-index: 1;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: linear-gradient(165deg, #0a1628 0%, #0d2240 55%, #0f2848 100%);
  border: 1px solid rgba(201, 146, 26, 0.25);
  text-align: center;
}
.webinar-promo-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.webinar-promo-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  background: linear-gradient(135deg, var(--goldL), var(--gold));
  animation: webinarPulse 2s ease-in-out infinite;
}
@keyframes webinarPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.92;
  }
}
.webinar-promo-inner h2 {
  font-family: 'Amiri', serif;
  font-size: 1.45rem;
  color: var(--goldL);
  margin: 0;
}
.webinar-promo-lead {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 16px;
}
.webinar-countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 18px;
  min-height: 3.2rem;
  align-items: center;
}
.webinar-countdown-unit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.5rem;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 184, 75, 0.2);
}
.webinar-countdown-unit strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--goldL);
  font-variant-numeric: tabular-nums;
}
.webinar-countdown-unit small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.webinar-countdown-done {
  font-size: 16px;
  font-weight: 700;
  color: var(--goldL);
}
.webinar-promo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.webinar-promo-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.webinar-promo-cta--ghost {
  background: transparent !important;
  border: 1.5px solid rgba(232, 184, 75, 0.45) !important;
  color: var(--goldL) !important;
}
.webinar-promo-note {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
.webinar-player-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 4% 32px;
}
.webinar-player-title {
  font-family: 'Amiri', serif;
  font-size: 1.35rem;
  color: var(--lapis);
  text-align: center;
  margin-bottom: 16px;
}
.webinar-player-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(13, 34, 64, 0.15);
  border: 1px solid rgba(201, 146, 26, 0.2);
}
.webinar-youtube-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 2;
}
.webinar-youtube-fallback {
  text-align: center;
  margin: 14px 0 0;
  font-size: 0.95rem;
}
.webinar-youtube-fallback a {
  color: var(--lapis);
  font-weight: 700;
  text-decoration: underline;
}
.webinar-player-ratio:not(.webinar-has-video) .webinar-youtube-iframe {
  display: none;
}
.webinar-player-ratio.webinar-has-video .webinar-coming-soon {
  display: none;
}
.webinar-coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px;
  background: linear-gradient(160deg, rgba(27, 61, 110, 0.12) 0%, rgba(13, 34, 64, 0.2) 100%);
  color: var(--lapis);
}
.webinar-coming-soon-kicker {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(27, 61, 110, 0.75);
}
.webinar-coming-soon-title {
  margin: 0 0 12px;
  font-family: 'Amiri', serif;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  color: var(--lapis);
}
.webinar-coming-soon-note {
  margin: 0;
  max-width: 28em;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(27, 61, 110, 0.88);
}
.webinar-faq {
  margin-top: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .webinar-promo,
  .webinar-promo-badge {
    animation: none !important;
  }
}

/* ── Register: email vs WhatsApp side-by-side ───────── */
.register-signup-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px 18px;
  align-items: stretch;
  margin-top: 20px;
}
.register-signup-panel {
  padding: 18px 16px;
  border-radius: 22px;
  background: rgba(255, 253, 247, 0.72);
  border: 1px solid rgba(27, 61, 110, 0.12);
  box-sizing: border-box;
}
.register-signup-panel--wa {
  background: rgba(232, 255, 240, 0.65);
  border-color: rgba(37, 211, 102, 0.25);
}
.register-signup-panel-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--txts);
  font-weight: 700;
}
.register-signup-or {
  margin: 0;
  align-self: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--txts);
  opacity: 0.72;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .register-signup-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .register-signup-or {
    text-align: center;
    padding: 2px 0 6px;
    position: relative;
  }
  .register-signup-or::before {
    content: '';
    display: block;
    height: 1px;
    background: rgba(27, 61, 110, 0.12);
    margin-bottom: 10px;
  }
}

/* ── WhatsApp Registration Button ──────────────────── */
.register-or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: #4a5568;
  font-size: 13px;
}
.register-or-divider::before,
.register-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.btn-whatsapp-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 32px;
  background: #25D366;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: inherit;
  border-radius: 50px;
  text-decoration: none;
  direction: rtl;
  transition: background 0.2s ease, transform 0.1s ease;
  box-sizing: border-box;
}
.btn-whatsapp-register:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}
.btn-whatsapp-register:active {
  transform: translateY(0);
}
.btn-whatsapp-register__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.register-whatsapp-note {
  text-align: center;
  font-size: 12px;
  color: #4a5568;
  margin: 8px 0 0;
  direction: rtl;
}
