/* ============================================================
   ADAMZZ — Mr Adam · Personal brand website
   Design system: "Editorial Black" — deep black foundation,
   charcoal surfaces, white typography, electric blue accents.
   Structure: tokens → base → utilities → components → sections
              → direction (RTL/LTR) → responsive → motion
   ============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  /* Surfaces — "Refined Deep Slate & Quiet Midnight" (Calm, non-harsh Dark Mode) */
  --bg: #0d121d;               /* Deep calm slate navy (easy on the eyes) */
  --bg-2: #090e17;             /* Soft secondary surface */
  --surface: #131a29;          /* Subtle card background */
  --surface-2: #182235;        /* Active / hover surface */
  --paper: #f7f5f0;            /* worksheet paper */
  --ink: #131313;              /* text on paper */

  /* Text on dark — softened, non-piercing contrast */
  --text: #f1f5f9;             /* Soft off-white instead of pure glare #fff */
  --text-2: #8b99ad;           /* Natural muted slate */
  --text-3: rgba(139, 153, 173, 0.65);

  /* Lines — subtle and understated */
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.10);
  --line-ink: rgba(19, 19, 19, 0.16);

  /* Accent — refined Sky/Steel Blue (calm, elegant, zero harsh neon) */
  --accent: #38bdf8;
  --accent-bright: #38bdf8;
  --accent-text: #60a5fa;      /* Softer sky blue */
  --accent-strong: #2563eb;    /* Balanced classic corporate blue */
  --accent-strong-hover: #1d4ed8;

  /* Gold / Muted Warmth */
  --gold: #c5a059;             /* Softer champagne gold */
  --beige: #d8cfbe;

  /* Status */
  --ok: #2fbe8f;
  --bad: #f87171;
  --bad-ink: #b3261e;
  --ok-ink: #14735a;

  /* Shape & layout */
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1180px;
  --header-h: 68px;

  /* Type */
  --font-ar: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, sans-serif;
  --font-en: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(2.15rem, 5.4vw, 4.05rem);
  --fs-h2: clamp(1.65rem, 3.4vw, 2.55rem);
  --fs-h3: clamp(1.12rem, 1.8vw, 1.32rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.25s;
  --t-med: 0.45s;
}

/* ------------------------------------------------------------
   LIGHT MODE TOKENS — Harmonious "Studio Paper" Editorial Theme
   Maintains the exact high-end brand identity (Electric Blue & Gold)
   ------------------------------------------------------------ */
[data-theme="light"] {
  --bg: #f8f9fc;
  --bg-2: #edf0f7;
  --surface: #ffffff;
  --surface-2: #f1f3f9;
  --paper: #ffffff;
  --ink: #0d1117;

  --text: #0d1117;
  --text-2: #4a5162;
  --text-3: #71798e;

  --line: rgba(13, 17, 23, 0.08);
  --line-2: rgba(13, 17, 23, 0.14);
  --line-ink: rgba(13, 17, 23, 0.12);

  --accent: #2563eb;
  --accent-bright: #1d4ed8;
  --accent-text: #1d4ed8;
  --accent-strong: #2563eb;
  --accent-strong-hover: #1e40af;

  --gold: #b38628;
}

/* ------------------------------------------------------------
   2. BASE / RESET
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  font-size: 1.0625rem;
  line-height: 1.85;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.5;
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* the [hidden] attribute must always win over display utilities */
[hidden] {
  display: none !important;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

fieldset {
  border: 0;
  margin: 0 0 1.6rem;
  padding: 0;
  min-inline-size: 0;
}

legend {
  padding: 0;
  font-weight: 700;
  font-size: var(--fs-h3);
  margin-bottom: 0.9rem;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Thin dark scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: #2b2e36; }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--accent-strong);
  color: #fff;
  padding: 0.7em 1.2em;
  border-radius: 10px;
  font-weight: 700;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus-visible { top: 1rem; }

/* English typography adjustments */
html[lang="en"] body {
  font-family: var(--font-en);
  line-height: 1.7;
}
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4 {
  line-height: 1.16;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------
   3. UTILITIES
   ------------------------------------------------------------ */
.container {
  width: min(100% - 2.75rem, var(--container));
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.ic {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
  flex-shrink: 0;
}
.ic.zz {
  width: 1.55em;
  height: 1.1em;
  fill: none;
  color: var(--accent);
}

/* Kicker — section eyebrow with the ZZ mark */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--accent-text);
  font-size: 0.95rem;
  font-weight: 500;
}
html[lang="en"] .kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.kicker-center { justify-content: center; }
.kicker-dark { color: var(--accent-strong); }
.kicker-dark .ic.zz { color: var(--accent-strong); }

/* Section scaffold */
.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  position: relative;
}
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.sec-head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head h2 {
  font-size: var(--fs-h2);
  text-wrap: balance;
}
.sec-sub {
  color: var(--text-2);
  max-width: 58ch;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92em 1.55em;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-strong-hover);
  box-shadow: 0 14px 34px -14px rgba(37, 99, 235, 0.55);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.btn-ghost-dark {
  border-color: rgba(19, 19, 19, 0.3);
  color: var(--ink);
}
.btn-ghost-dark:hover {
  border-color: var(--ink);
}

.btn-sm { padding: 0.62em 1.15em; font-size: 0.92rem; }
.btn-lg { padding: 1.05em 2em; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* Quiet text link */
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-2);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 6px;
  transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}
.link-quiet:hover {
  color: var(--accent-text);
  text-decoration-color: var(--accent);
}

/* Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.1rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.42em 1em;
  font-size: 0.86rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.02);
}

/* Info note (paths / process) */
.path-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 2.4rem;
  color: var(--text-3);
  font-size: 0.95rem;
}
.path-note .ic { margin-top: 0.3em; color: var(--accent-text); }

/* ------------------------------------------------------------
   4. HEADER / NAV / DRAWER
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 80;
  background: rgba(11, 19, 43, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding-block: 6px;
  transition: background-color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
[data-theme="light"] .site-header {
  background: rgba(248, 249, 252, 0.88);
}
.site-header.scrolled {
  background: rgba(11, 19, 43, 0.98);
  border-bottom-color: var(--line-2);
}
[data-theme="light"] .site-header.scrolled {
  background: rgba(248, 249, 252, 0.98);
  box-shadow: 0 4px 20px -4px rgba(13, 17, 23, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--accent);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.brand:hover .brand-mark {
  border-color: var(--accent);
  transform: rotate(-4deg);
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}
.brand-word em,
.idcard-brand em,
.footer-word em {
  font-style: normal;
  color: var(--accent);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  color: var(--gold); /* the logo's gold tagline — brand signature only */
  margin-top: 0.28rem;
}

.main-nav ul {
  display: flex;
  gap: clamp(1.1rem, 2.4vw, 2.1rem);
}
.main-nav a {
  position: relative;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 0.4rem;
  transition: color var(--t-fast) var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width var(--t-med) var(--ease);
}
.main-nav a:hover,
.main-nav a.active { color: var(--text); }
.main-nav a.active::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
[data-theme="light"] .theme-toggle .ic-sun { display: block; }
[data-theme="light"] .theme-toggle .ic-moon { display: none; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.8em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.6);
}

.drawer {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 100;
  width: min(330px, 88vw);
  background: var(--bg-2);
  border-inline-end: 1px solid var(--line);
  padding: 1.4rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-106%);
  visibility: hidden;
  transition: transform 0.38s var(--ease), visibility 0s linear 0.38s;
}
.drawer.open {
  transform: none;
  visibility: visible;
  transition: transform 0.38s var(--ease);
}
[dir="rtl"] .drawer { transform: translateX(106%); }
[dir="rtl"] .drawer.open { transform: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { margin: 0; font-size: 1.15rem; }
.drawer-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text-2);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.drawer-close:hover { color: var(--text); border-color: var(--accent); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  padding-block: 1.2rem;
  flex: 1;
}
.drawer-nav a {
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  color: var(--text-2);
  font-weight: 500;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.drawer-nav a:hover {
  background: rgba(52, 120, 246, 0.12);
  color: var(--accent-text);
}

.drawer-cta {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.drawer-actions-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}
.drawer-socials {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  padding-top: 0.6rem;
}
.drawer-socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text-2);
  transition: all var(--t-fast) var(--ease);
}
.drawer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   5. HERO — Premium Corporate Minimalism (Compact Layout)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 1.2rem);
  padding-bottom: 2.2rem;
  background-color: var(--bg);
}

/* Repeating geometric watermark grid: subtle AD monogram */
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.015; /* 1.5% opacity as specified */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 22 78 L 44 22'/%3E%3Cpath d='M 33 58 L 52 58'/%3E%3Cpath d='M 44 22 C 76 18, 88 42, 70 70 C 58 84, 38 82, 34 76'/%3E%3Cpath d='M 44 22 L 62 76'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
  background-repeat: repeat;
  transform: rotate(-12deg) scale(1.1);
  transform-origin: center;
}
[data-theme="light"] .hero-bg-pattern {
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 22 78 L 44 22'/%3E%3Cpath d='M 33 58 L 52 58'/%3E%3Cpath d='M 44 22 C 76 18, 88 42, 70 70 C 58 84, 38 82, 34 76'/%3E%3Cpath d='M 44 22 L 62 76'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
}

/* Badge at top of Hero */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--accent);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.hero-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 0.55em;
  color: #f1f5f9;
}
[data-theme="light"] .hero-title {
  color: #0F172A;
}
.hero-title .mark {
  color: #60a5fa; /* Softer, elegant sky blue */
  box-shadow: none;
}

.hero-sub {
  color: var(--text-2);
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* CTA buttons matching image_16.png */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-corporate-primary {
  background: #2563eb; /* Calm classic corporate blue */
  color: #FFFFFF;
  padding: 0.78em 1.55em;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all var(--t-fast) var(--ease);
}
.btn-corporate-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-corporate-outline {
  background: rgba(19, 26, 41, 0.4);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.76em 1.4em;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all var(--t-fast) var(--ease);
}
[data-theme="light"] .btn-corporate-outline {
  background: #FFFFFF;
  color: #0F172A;
  border-color: rgba(15, 23, 42, 0.16);
}
.btn-corporate-outline:hover {
  border-color: rgba(96, 165, 250, 0.4);
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.05);
}
.play-dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.15);
  color: #d97706; /* Softer, warm amber instead of bright neon orange */
}
.play-dot .ic {
  width: 12px;
  height: 12px;
  margin-inline-start: 1px;
}

.hero-note {
  margin-top: 0.9rem;
  color: var(--text-3);
  font-size: 0.88rem;
}

/* Visual Anchor: Pure Cutout on Flat Solid ID Card */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.corporate-idcard {
  position: relative;
  width: min(100%, 390px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cutout-wrapper {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-bottom: -18px; /* Rest cleanly on top of the card */
  z-index: 2;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}
.cutout-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius:12%;
  object-fit: contain;
}

.idcard-content {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #111827; /* Calm Slate 900 */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.1rem;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
}
[data-theme="light"] .idcard-content {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.1);
}

.idcard-head {
  text-align: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.75rem;
}
[data-theme="light"] .idcard-head {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}
.idcard-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #cbd5e1;
}
[data-theme="light"] .idcard-title {
  color: #1E293B;
}
.idcard-sep {
  color: var(--accent);
  padding-inline: 0.4rem;
}

.idcard-specs {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.45rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
[data-theme="light"] .spec-row {
  border-bottom-color: rgba(15, 23, 42, 0.04);
}
.spec-row:last-child {
  border-bottom: 0;
}
.spec-icon {
  display: grid;
  place-items: center;
  color: var(--accent-text);
  width: 24px;
  flex-shrink: 0;
}
.spec-icon .ic {
  width: 17px;
  height: 17px;
}
.spec-val {
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.spec-dot {
  color: var(--text-3);
  font-size: 0.8rem;
}
.spec-label {
  font-size: 0.78rem;
  color: var(--text-3);
  font-family: var(--font-mono);
}

/* ------------------------------------------------------------
   6. CAREER PATH SECTION (Tight 3x2 Grid per image_16.png)
   ------------------------------------------------------------ */
.section-proof {
  padding-top: 1.6rem; /* Tight gap from Hero: ~30px - 40px */
  padding-bottom: 4rem;
  background-color: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
[data-theme="light"] .section-proof {
  border-top-color: rgba(15, 23, 42, 0.06);
}

.sec-head-compact {
  max-width: 65ch;
  margin-bottom: 2.2rem;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.22);
  color: var(--gold);
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.corporate-mile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem; /* Compact equal vertical and horizontal gaps */
}

/* Solid Flat Cards matching image_16.png */
.corp-card {
  background: #111827; /* Muted Dark Slate surface */
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .corp-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.corp-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.corp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.corp-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.08);
  color: var(--accent-text);
}
.corp-icon .ic {
  width: 18px;
  height: 18px;
}
.corp-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2em 0.7em;
  border-radius: 999px;
}
[data-theme="light"] .corp-tag {
  color: #475569;
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

.corp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}
[data-theme="light"] .corp-card-title {
  color: #0F172A;
}

.corp-card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

.corp-extra {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 0.65rem;
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .corporate-mile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .corporate-mile-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   7. SECTION 02: LEARNER CHALLENGE (المشكلة الحقيقية)
   ------------------------------------------------------------ */
.section-challenge {
  position: relative;
  background-color: var(--bg);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.challenge-bg-pattern,
.approach-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.012;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 22 78 L 44 22'/%3E%3Cpath d='M 33 58 L 52 58'/%3E%3Cpath d='M 44 22 C 76 18, 88 42, 70 70 C 58 84, 38 82, 34 76'/%3E%3Cpath d='M 44 22 L 62 76'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
  background-repeat: repeat;
  transform: rotate(-12deg) scale(1.1);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.pill-badge-amber {
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.28);
  color: #d4af37;
}

.challenge-header {
  text-align: right;
  margin-bottom: 2rem;
}
[dir="ltr"] .challenge-header {
  text-align: left;
}
.challenge-title {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  color: #f1f5f9;
  margin: 0;
}
[data-theme="light"] .challenge-title {
  color: #0f172a;
}

.challenge-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.challenge-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: #111827; /* Calm Slate 900 matching media_1794495833496_494f546a.jpg */
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 0.95rem 1.25rem;
  transition: all var(--t-fast) var(--ease);
}
[data-theme="light"] .challenge-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.challenge-card:hover {
  transform: translateX(-3px);
  border-color: rgba(96, 165, 250, 0.25);
}
[dir="ltr"] .challenge-card:hover {
  transform: translateX(3px);
}
.challenge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  font-size: 0.88rem;
  font-weight: 700;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.15);
  flex-shrink: 0;
}
.challenge-card p {
  margin: 0;
  font-size: 0.96rem;
  color: #e2e8f0;
  line-height: 1.55;
  font-weight: 500;
}
[data-theme="light"] .challenge-card p {
  color: #1e293b;
}

/* Quote highlight card */
.challenge-quote-col {
  height: 100%;
}
.challenge-quote-card {
  position: relative;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-inline-end: 3px solid #c5a059; /* Warm gold accent line */
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
[data-theme="light"] .challenge-quote-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  border-inline-end-color: #b38628;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.quote-symbol {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
  color: #c5a059;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}
.quote-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e2e8f0;
  font-weight: 500;
}
[data-theme="light"] .quote-text {
  color: #1e293b;
}

/* Geometric Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3.5rem;
  margin-bottom: 0.5rem;
}
.div-line {
  height: 1px;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}
[data-theme="light"] .div-line {
  background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.12), transparent);
}
.div-diamond {
  color: #c5a059;
  font-size: 0.85rem;
  transform: rotate(45deg);
  opacity: 0.75;
}

/* ------------------------------------------------------------
   8. SECTION 03: TEACHING APPROACH (طريقة التدريس)
   ------------------------------------------------------------ */
.section-approach {
  position: relative;
  background-color: var(--bg);
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.approach-header {
  text-align: center;
  max-width: 65ch;
  margin: 0 auto 2.5rem;
}
.approach-title {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.65rem;
}
[data-theme="light"] .approach-title {
  color: #0f172a;
}
.approach-sub {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.approach-card {
  background: #111827; /* Solid Muted Navy/Slate */
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  transition: all var(--t-fast) var(--ease);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] .approach-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.approach-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.approach-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.95rem;
}
.approach-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.08);
  color: var(--accent-text);
}
.approach-icon .ic {
  width: 18px;
  height: 18px;
}
.approach-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2em 0.75em;
  border-radius: 999px;
}

.approach-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.55rem;
}
[data-theme="light"] .approach-card-title {
  color: #0f172a;
}
.approach-card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
}

@media (max-width: 900px) {
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  .challenge-quote-card {
    min-height: auto;
  }
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   9. SECTION 04: LEARNING PATHS (Structured Bento Cards Grid)
   ------------------------------------------------------------ */
.section-paths {
  position: relative;
  background-color: var(--bg);
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
[data-theme="light"] .section-paths {
  border-top-color: rgba(15, 23, 42, 0.06);
}

.paths-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.015; /* 1.5% subtle watermark */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 22 78 L 44 22'/%3E%3Cpath d='M 33 58 L 52 58'/%3E%3Cpath d='M 44 22 C 76 18, 88 42, 70 70 C 58 84, 38 82, 34 76'/%3E%3Cpath d='M 44 22 L 62 76'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
  background-repeat: repeat;
  transform: rotate(-12deg) scale(1.1);
}
[data-theme="light"] .paths-bg-pattern {
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23000000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 22 78 L 44 22'/%3E%3Cpath d='M 33 58 L 52 58'/%3E%3Cpath d='M 44 22 C 76 18, 88 42, 70 70 C 58 84, 38 82, 34 76'/%3E%3Cpath d='M 44 22 L 62 76'/%3E%3C/g%3E%3C/svg%3E");
}

.paths-header {
  text-align: right;
  margin-bottom: 2rem;
}
[dir="ltr"] .paths-header {
  text-align: left;
}
.paths-title {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
}
[data-theme="light"] .paths-title {
  color: #0f172a;
}
.paths-sub {
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 62ch;
  margin: 0;
}

/* Filter Dock */
.aud-filter-dock {
  margin-bottom: 2.5rem;
}
.aud-filter-label {
  color: var(--text-2);
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.aud-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.aud-chip {
  background: #11192e; /* Solid Navy */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.45em 1.15em;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
[data-theme="light"] .aud-chip {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}
.aud-chip:hover {
  border-color: #c5a880;
  color: #ffffff;
}
[data-theme="light"] .aud-chip:hover {
  color: #0f172a;
}
.aud-chip.active {
  background: #c5a880 !important; /* Muted Gold Active State */
  border-color: #c5a880 !important;
  color: #0d121d !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3);
}

/* Structured Category Groups */
.paths-structured-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.path-category-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.category-dash {
  width: 14px;
  height: 2px;
  background: #c5a880; /* Subtle Gold Indicator */
  border-radius: 2px;
}
.category-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #8b99ad;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
[data-theme="light"] .category-title {
  color: #475569;
}

/* Bento Path Card (3 Columns: [Number] - [Info & Description] - [Action CTA]) */
.bento-path-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 1.4rem;
  background: #11192e; /* Exact #11192E Surface */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  transition: all var(--t-fast) var(--ease);
  position: relative;
}
[data-theme="light"] .bento-path-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.bento-path-card:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 168, 128, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.bento-path-card.is-match {
  border-inline-start: 3px solid #c5a880;
  background: #141f38;
}
[data-theme="light"] .bento-path-card.is-match {
  background: #f8fafc;
  border-inline-start-color: #b38628;
}
.bento-path-card.is-dim {
  opacity: 0.35;
}

/* Column 1: Number */
.bento-num-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.22);
  color: #c5a880; /* Muted Gold */
  font-size: 0.95rem;
  font-weight: 700;
}

/* Column 2: Info */
.bento-info-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.bento-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.bento-ar-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}
[data-theme="light"] .bento-ar-title {
  color: #0f172a;
}
.bento-en-title {
  font-family: var(--font-en);
  font-size: 0.88rem;
  font-weight: 500;
  color: #8b99ad;
}
[data-theme="light"] .bento-en-title {
  color: #64748b;
}
.bento-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.08);
  border-radius: 999px;
  padding: 0.15em 0.7em;
}

.bento-for,
.bento-work {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94a3b8;
}
.bento-for strong,
.bento-work strong {
  color: #cbd5e1;
  font-weight: 600;
}
[data-theme="light"] .bento-for,
[data-theme="light"] .bento-work {
  color: #475569;
}
[data-theme="light"] .bento-for strong,
[data-theme="light"] .bento-work strong {
  color: #1e293b;
}

/* Column 3: Action */
.bento-action-col {
  display: flex;
  align-items: center;
}
.btn-path-action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6em 1.15em;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
[data-theme="light"] .btn-path-action {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}
.btn-path-action:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
  transform: translateX(-2px);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}
[dir="ltr"] .btn-path-action:hover {
  transform: translateX(2px);
}
.btn-path-action .ic {
  width: 14px;
  height: 14px;
}

@media (max-width: 820px) {
  .bento-path-card {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
  }
  .bento-action-col {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* ------------------------------------------------------------
   10. SECTION 05: SAMPLE & VIDEO SHOWCASE (Bento Reel Cards)
   ------------------------------------------------------------ */
.section-sample {
  position: relative;
  background-color: var(--bg);
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
[data-theme="light"] .section-sample {
  border-top-color: rgba(15, 23, 42, 0.06);
}

.sample-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M 22 78 L 44 22'/%3E%3Cpath d='M 33 58 L 52 58'/%3E%3Cpath d='M 44 22 C 76 18, 88 42, 70 70 C 58 84, 38 82, 34 76'/%3E%3Cpath d='M 44 22 L 62 76'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
  background-repeat: repeat;
  transform: rotate(-12deg) scale(1.1);
}

.sample-header {
  text-align: right;
  margin-bottom: 2.2rem;
}
[dir="ltr"] .sample-header {
  text-align: left;
}
.sample-title {
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 0.75rem;
}
[data-theme="light"] .sample-title {
  color: #0f172a;
}
.sample-sub {
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 62ch;
  margin: 0;
}

/* Video Bento Grid: Large Featured Card on Right + 2 Cards on Left (in RTL) */
.video-bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1.35rem;
  margin-bottom: 3.5rem;
  align-items: stretch;
}

.bento-video-card {
  background: #11192e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-fast) var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
[data-theme="light"] .bento-video-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.bento-video-card:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

/* Media wrapper with 16:10 or 9:16 proportional reel look */
.bento-video-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: #090e17;
  overflow: hidden;
}
.bento-video-featured .bento-video-media {
  aspect-ratio: 16 / 12;
}

.bento-player,
.bento-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark gradient overlay + custom play button */
.bento-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 19, 43, 0.85) 0%, rgba(11, 19, 43, 0.25) 50%, rgba(0,0,0,0.4) 100%);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.bento-video-card:hover .bento-video-overlay {
  background: linear-gradient(to top, rgba(11, 19, 43, 0.7) 0%, rgba(11, 19, 43, 0.15) 50%, rgba(0,0,0,0.3) 100%);
}

.video-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e11d48; /* Crimson / Coral play button as in the sports reference */
  color: #ffffff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.45);
  transition: all var(--t-fast) var(--ease);
}
.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.65);
}
.video-play-btn.sm-btn {
  width: 44px;
  height: 44px;
  background: rgba(225, 29, 72, 0.9);
}
.video-play-btn .ic {
  width: 22px;
  height: 22px;
  margin-inline-start: 3px;
}
.video-play-btn.sm-btn .ic {
  width: 18px;
  height: 18px;
}

/* Floating status & sound controls on video top */
.video-top-badges {
  position: absolute;
  top: 12px;
  inset-inline: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.video-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(11, 19, 43, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}
.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 8px #e11d48;
}

.video-sound-toggle {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 19, 43, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.video-sound-toggle:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.video-sound-toggle .ic {
  width: 15px;
  height: 15px;
}

/* Card details & category pills */
.bento-card-info {
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.bento-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.category-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2em 0.7em;
  border-radius: 6px;
}
.red-pill {
  background: rgba(225, 29, 72, 0.15);
  color: #fb7185;
  border: 1px solid rgba(225, 29, 72, 0.3);
}
.blue-pill {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.green-pill {
  background: rgba(47, 190, 143, 0.12);
  color: #34d399;
  border: 1px solid rgba(47, 190, 143, 0.25);
}
.gold-pill {
  background: rgba(197, 168, 128, 0.15);
  color: #c5a880;
  border: 1px solid rgba(197, 168, 128, 0.3);
}

.bento-card-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}
[data-theme="light"] .bento-card-title {
  color: #0f172a;
}
.bento-card-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
}
[data-theme="light"] .bento-card-desc {
  color: #475569;
}

@media (max-width: 980px) {
  .video-bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   10b. VIDEO SWIPER (Sample section) — carousel chrome only.
   The markup ships as .swiper.video-swiper; this block styles the
   viewport, equal-height slides, side prev/next arrows flanking the
   cards, and the pagination bullets + counter below the carousel.
   Card visuals (.bento-video-card and its children) are unchanged.
   ------------------------------------------------------------ */

/* Header row */
.sample-header {
  margin-bottom: 2rem;
}
.sample-header .pill-badge {
  margin-bottom: 0.6rem;
}

/* Carousel viewport + container */
.video-swiper-container {
  position: relative;
  width: 100%;
  margin-bottom: 2.5rem;
  padding-inline: 48px;
  box-sizing: border-box;
}

.video-swiper {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 6px 2px 14px;
}

/* Equal-height slides */
.video-swiper .swiper-wrapper {
  align-items: stretch;
}
.video-swiper .swiper-slide {
  height: auto;
  display: flex;
  box-sizing: border-box;
}
.video-swiper .swiper-slide > .bento-video-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Media wrapper for cards inside swiper */
.video-swiper .bento-video-media {
  aspect-ratio: 16 / 11;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #090e17;
  cursor: pointer;
}
.video-swiper .bento-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform var(--t-fast) var(--ease);
}
.video-swiper .bento-video-card:hover .bento-thumb {
  transform: scale(1.05);
}

.video-swiper .bento-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem;
  gap: 0.45rem;
  cursor: pointer;
}
.video-swiper .bento-card-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-theme="light"] .video-swiper .bento-card-title {
  color: #0f172a;
}
.video-swiper .bento-card-desc {
  margin: 0;
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.2rem;
}
[data-theme="light"] .video-swiper .bento-card-desc {
  color: #475569;
}
.video-swiper .bento-card-action {
  margin-top: auto;
  padding-top: 0.65rem;
}
.video-swiper .watch-video-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d4af37;
  transition: color var(--t-fast) var(--ease), gap var(--t-fast) var(--ease);
}
.video-swiper .bento-video-card:hover .watch-video-link {
  color: #f1c40f;
  gap: 0.65rem;
}
.video-swiper .watch-video-link .ic {
  width: 14px;
  height: 14px;
}

/* Side navigation buttons flanking the slider */
.video-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 25, 46, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e7ecf3;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--t-fast) var(--ease);
}

/* RTL navigation positions */
[dir="rtl"] .video-swiper-prev,
.video-swiper-prev {
  right: 0;
  left: auto;
}
[dir="rtl"] .video-swiper-next,
.video-swiper-next {
  left: 0;
  right: auto;
}

/* LTR navigation positions */
[dir="ltr"] .video-swiper-prev {
  left: 0;
  right: auto;
}
[dir="ltr"] .video-swiper-next {
  right: 0;
  left: auto;
}
[dir="ltr"] .video-swiper-btn .ic {
  transform: scaleX(-1);
}

.video-swiper-btn:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.6);
  color: #d4af37;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
.video-swiper-btn:active {
  transform: translateY(-50%) scale(0.96);
}
.video-swiper-btn.is-disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}
.video-swiper-btn .ic {
  width: 20px;
  height: 20px;
}

[data-theme="light"] .video-swiper-btn {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}
[data-theme="light"] .video-swiper-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: #d4af37;
  color: #a9863f;
}

/* Footer & Pagination bullets */
.video-swiper-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}
.video-swiper-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  line-height: 0;
  width: auto;
}
.video-swiper-pagination .video-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 0;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
  transition: all var(--t-fast) var(--ease);
}
.video-swiper-pagination .video-bullet:hover {
  background: rgba(212, 175, 55, 0.55);
}
.video-swiper-pagination .video-bullet-active {
  width: 26px;
  border-radius: 999px;
  background: #d4af37;
}
[data-theme="light"] .video-swiper-pagination .video-bullet {
  background: rgba(15, 23, 42, 0.18);
}
[data-theme="light"] .video-swiper-pagination .video-bullet-active {
  background: #d4af37;
}

@media (max-width: 640px) {
  .video-swiper-container {
    padding-inline: 36px;
  }
  .video-swiper-btn {
    width: 36px;
    height: 36px;
  }
  .video-swiper-btn .ic {
    width: 16px;
    height: 16px;
  }
}

/* ============================================================
   VIDEO MODAL — High-end popup player
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.video-modal[hidden] {
  display: none !important;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}
.video-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(880px, 94vw);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.12);
  display: flex;
  flex-direction: column;
  animation: videoModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes videoModalPop {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.video-modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-inline-end: 1rem;
}
.video-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.video-modal-close:hover {
  background: #e11d48;
  border-color: #e11d48;
  color: #fff;
  transform: rotate(90deg);
}
.video-modal-close .ic {
  width: 18px;
  height: 18px;
}
.video-modal-body {
  position: relative;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;
}
.video-modal-player {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  background: #000;
}

/* ------------------------------------------------------------
   11. WORKSHEET (SAMPLE LESSON) — the paper moment
   ------------------------------------------------------------ */
.worksheet {
  max-width: 880px;
  margin-inline: auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 5vw, 3.6rem);
  background-image: linear-gradient(rgba(19, 19, 19, 0.045) 1px, transparent 1px);
  background-size: 100% 38px;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}

.ws-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: rgba(19, 19, 19, 0.45);
  margin-bottom: 1.6rem;
}
.ws-head h2 {
  font-size: var(--fs-h2);
  color: var(--ink);
}
.ws-sub {
  color: rgba(19, 19, 19, 0.75);
  max-width: 56ch;
}
.ws-note {
  font-size: 0.85rem;
  color: rgba(19, 19, 19, 0.5);
  border-top: 1px dashed var(--line-ink);
  padding-top: 0.9rem;
  margin-top: 1.4rem;
}

/* Quiz */
.quiz-q legend { color: var(--ink); }

.quiz-opt {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.quiz-opt:hover {
  border-color: rgba(19, 19, 19, 0.45);
  transform: translateX(0) translateY(-1px);
}
.quiz-opt input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid rgba(19, 19, 19, 0.4);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: border-color var(--t-fast) var(--ease);
}
.quiz-opt input::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-strong);
  transform: scale(0);
  transition: transform 0.15s var(--ease);
}
.quiz-opt input:checked { border-color: var(--accent-strong); }
.quiz-opt input:checked::after { transform: scale(1); }
.quiz-opt input:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

.quiz-opt-text {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.02rem;
  unicode-bidi: plaintext; /* English sentences keep their trailing punctuation in RTL */
}

/* graded states */
.quiz-opt.is-correct {
  border-color: var(--ok);
  background: rgba(47, 190, 143, 0.1);
}
.quiz-opt.is-wrong {
  border-color: var(--bad);
  background: rgba(248, 113, 113, 0.08);
}
.quiz-opt .opt-mark { margin-inline-start: auto; font-weight: 700; font-size: 0.85rem; }
.quiz-opt.is-correct .opt-mark { color: var(--ok-ink); }
.quiz-opt.is-wrong .opt-mark { color: var(--bad-ink); }
.quiz-opt.is-dim { opacity: 0.55; }

.quiz-fb {
  margin: 0.9rem 0 0.2rem;
  padding: 0.85rem 1.1rem;
  border-inline-start: 3px solid var(--accent-strong);
  background: rgba(37, 99, 235, 0.06);
  border-radius: var(--radius);
  font-size: 0.96rem;
  color: rgba(19, 19, 19, 0.85);
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.4rem;
}
.quiz-error {
  margin-top: 1rem;
  color: var(--bad-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.quiz-result {
  margin-top: 2.2rem;
  border-top: 2px solid rgba(19, 19, 19, 0.8);
  padding-top: 1.6rem;
  text-align: center;
}
.quiz-score {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.quiz-msg {
  color: rgba(19, 19, 19, 0.75);
  max-width: 46ch;
  margin: 0 auto 1.4rem;
}

/* ------------------------------------------------------------
   11. RESOURCES & FAQ (native details)
   ------------------------------------------------------------ */
.res-list,
.faq-list { border-top: 1px solid var(--line-2); }

.res-item,
.faq-item { border-bottom: 1px solid var(--line); }

.res-item summary,
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 1.35rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  transition: color var(--t-fast) var(--ease);
}
.res-item summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker { display: none; }
.res-item summary:hover,
.faq-item summary:hover { color: var(--accent-text); }

.res-plus {
  width: 22px;
  height: 22px;
  color: var(--accent-text);
  transition: transform var(--t-med) var(--ease);
  flex-shrink: 0;
}
.res-item[open] .res-plus,
.faq-item[open] .res-plus { transform: rotate(45deg); }

.res-body {
  padding: 0 0 1.6rem;
  color: var(--text-2);
  max-width: 72ch;
}
.res-body b { color: var(--text); }
.res-body bdi, .res-body [dir="ltr"] { unicode-bidi: isolate; }
.ws-note bdi, .quiz-fb bdi { unicode-bidi: isolate; }
.res-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block: 0.6rem;
  padding-inline-start: 1.2rem;
  list-style: disc;
}
.faq-item p {
  padding: 0 0 1.6rem;
  margin: 0;
  color: var(--text-2);
  max-width: 68ch;
}

.faq-wrap { max-width: 880px; }

/* -------------------------------------------------------
   12. PROCESS STEPS — removed (merged into the methodology)
   ------------------------------------------------------- */

/* ------------------------------------------------------------
   13. ABOUT
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-side h2 { font-size: var(--fs-h2); }
.about-quote {
  margin: 1.6rem 0;
  padding-inline-start: 1.2rem;
  border-inline-start: 3px solid var(--accent);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--text);
}
.about-facts li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
}
.about-facts .mono {
  color: var(--text-3);
  font-size: 0.72rem;
  padding-top: 0.25em;
}
.about-body p { color: var(--text-2); font-size: 1.04rem; }
.about-cta { margin-top: 0.6rem; }

/* ------------------------------------------------------------
   14. FINAL CTA
   ------------------------------------------------------------ */
.cta-final {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.08), transparent 70%), var(--bg);
}

.cta-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(800px, 90vw);
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.09) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
  z-index: 0;
}

.cta-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(19, 26, 46, 0.94) 0%, rgba(10, 15, 27, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 28px;
  padding: clamp(2.5rem, 5vw, 4.2rem) clamp(1.4rem, 4vw, 3.5rem);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 35px rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-theme="light"] .cta-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.cta-card .cta-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 18vw, 15rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.018);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
[data-theme="light"] .cta-card .cta-watermark {
  color: rgba(15, 23, 42, 0.02);
}

.cta-kicker-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
}

.cta-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: #d4af37;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.cta-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 0.8rem 0;
  background: linear-gradient(135deg, #ffffff 40%, #facc15 80%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .cta-title {
  background: linear-gradient(135deg, #0f172a 40%, #b45309 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-sub {
  position: relative;
  z-index: 1;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: #94a3b8;
  max-width: 52ch;
  margin: 0 auto 2.4rem;
  line-height: 1.65;
}
[data-theme="light"] .cta-sub {
  color: #475569;
}

/* Hints Showcase */
.cta-hints-box {
  position: relative;
  z-index: 1;
  margin: 0 auto 2.8rem;
  max-width: 860px;
}

.cta-hint-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 1.1rem;
}
[data-theme="light"] .cta-hint-title {
  color: #1e293b;
}
.cta-hint-title .ic {
  width: 18px;
  height: 18px;
  color: #d4af37;
}

.cta-hints-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.cta-hint-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.35rem 1.15rem;
  text-align: center;
  transition: all var(--t-fast) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
[data-theme="light"] .cta-hint-card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
}
.cta-hint-card:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.hint-step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  color: #d4af37;
  letter-spacing: 0.05em;
}

.hint-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  display: grid;
  place-items: center;
  color: #d4af37;
  margin-bottom: 0.25rem;
}
.hint-step-icon .ic {
  width: 18px;
  height: 18px;
}

.hint-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}
[data-theme="light"] .hint-step-title {
  color: #0f172a;
}

.hint-step-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}
[data-theme="light"] .hint-step-desc {
  color: #64748b;
}

/* Actions */
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-wa-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 2.4rem;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 0 25px rgba(37, 211, 102, 0.25);
  transition: all var(--t-fast) var(--ease);
}
.btn-wa-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 42px rgba(37, 211, 102, 0.55), 0 0 35px rgba(37, 211, 102, 0.35);
  color: #ffffff;
}
.btn-wa-glow .ic {
  width: 22px;
  height: 22px;
}
.btn-wa-glow .arrow-ic {
  width: 16px;
  height: 16px;
  transition: transform var(--t-fast) var(--ease);
}
[dir="rtl"] .btn-wa-glow .arrow-ic {
  transform: rotate(180deg);
}
.btn-wa-glow:hover .arrow-ic {
  transform: translateX(-4px);
}
[dir="ltr"] .btn-wa-glow:hover .arrow-ic {
  transform: translateX(4px);
}

.link-sample-alt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #d4af37;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
}
.link-sample-alt:hover {
  color: #f1c40f;
  gap: 0.65rem;
}
.link-sample-alt .ic {
  width: 16px;
  height: 16px;
}

/* Trust row */
.cta-trust-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .cta-trust-row {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.cta-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: #94a3b8;
  font-weight: 600;
}
[data-theme="light"] .cta-trust-item {
  color: #64748b;
}
.cta-trust-item .check-ic {
  width: 17px;
  height: 17px;
  color: #22c55e;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .cta-hints-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .cta-trust-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}
/* ------------------------------------------------------------
   15. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 1.2fr 0.7fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
.footer-word { font-size: 1.7rem; }
.footer-brand p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 34ch;
}
.footer-col h3 {
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  color: var(--text);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  color: var(--text-2);
  font-size: 0.95rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--accent-text); }
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-note {
  color: var(--text-3);
  font-size: 0.85rem;
  margin-top: 1.1rem;
  max-width: 30ch;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

/* -------------------------------------------------------
   15b. AUDIENCE CHIPS + GROUPED LEARNING PATHS
   ------------------------------------------------------- */
.ic-play { color: var(--accent-bright); }

.aud { margin-bottom: 2.4rem; }
.aud-label {
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}
.aud-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.aud-chip {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.5em 1.15em;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}
.aud-chip:hover { border-color: var(--accent-bright); color: var(--accent-text); }
.aud-chip.active {
  background: rgba(52, 120, 246, 0.16);
  border-color: var(--accent);
  color: #fff;
}
.aud-clear { border-style: dashed; color: var(--text-3); }

.path-group + .path-group { margin-top: 2.4rem; }
.path-group-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--text-3);
  font-size: 0.88rem;
  font-weight: 600;
}
html[lang="en"] .path-group-title {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}
.path-group-title::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.path-row {
  border-inline-start: 2px solid transparent;
  transition: background-color var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}
.path-row.is-match { border-inline-start-color: var(--accent); }
.path-row.is-dim { opacity: 0.35; }

/* -------------------------------------------------------
   15c. VIDEO — real owner-supplied recording (vertical reel)
   ------------------------------------------------------- */
.video-shell {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}
.video-shell video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
/* offset frame layer — same editorial depth as the hero ID card */
.video-real::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: 16px;
  inset-block-end: -16px;
  inset-inline-start: 16px;
  inset-inline-end: -16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.video-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--accent-text);
  border: 1px solid rgba(143, 180, 250, 0.4);
  background: rgba(8, 9, 12, 0.65);
  border-radius: 999px;
  padding: 0.55em 0.95em 0.55em 1.2em;
}
.video-note {
  text-align: center;
  color: var(--text-3);
  font-size: 0.92rem;
  max-width: 60ch;
  margin: 1.1rem auto 3.2rem;
}

/* worksheet head: note sits alone under the kicker now */
.ws-head .ws-note { border-top: 0; padding-top: 0; margin: 0.3rem 0 1.6rem; }

/* -------------------------------------------------------
   15d. RESOURCE TAGS + UPCOMING LIBRARY
   ------------------------------------------------------- */
.res-sum { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; }
.res-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-text);
  border: 1px solid rgba(52, 120, 246, 0.4);
  border-radius: 999px;
  padding: 0.22em 0.8em;
  flex-shrink: 0;
}
.res-up { margin-top: 2.8rem; }
.res-up-title { font-weight: 700; margin-bottom: 1rem; }
.res-up-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.res-up-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  padding: 0.75em 1.1em;
  color: var(--text-2);
  font-size: 0.93rem;
}
.res-up-item .tag {
  font-size: 0.66rem;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2em 0.7em;
  flex-shrink: 0;
}
.res-up-note { margin-top: 1.1rem; color: var(--text-3); font-size: 0.88rem; }

/* -------------------------------------------------------
   15e. STUDENT REVIEWS SWIPER (Section 07)
   - Matches the video swiper's premium feel & controls
   - Branded frame with neon blue glow & dark doodle box
   - Lightbox modal for full-size inspection
   ------------------------------------------------------- */
.section-reviews {
  position: relative;
  overflow: hidden;
}

.review-swiper-container {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  padding-inline: 48px;
  box-sizing: border-box;
}

.review-swiper {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 8px 2px 16px;
}

.review-swiper .swiper-wrapper {
  align-items: stretch;
}

.review-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

/* Review Frame Card — natural, clean, proportional bounds */
.review-frame-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 921 / 1152;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  user-select: none;
  background: #080b13;
  margin: 0 auto;
  transition: transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.review-frame-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 16px 42px rgba(0, 110, 255, 0.3), 0 0 20px rgba(212, 175, 55, 0.15);
}

.review-frame-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

/* Inner box inside the neon blue frame */
.review-frame-content {
  position: absolute;
  top: 24.5%;
  left: 15.5%;
  right: 15.5%;
  bottom: 12%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

.review-photo {
  max-width: 96%;
  max-height: 96%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
  transition: transform var(--t-fast) var(--ease);
}

.review-frame-card:hover .review-photo {
  transform: scale(1.03);
}

/* Side navigation buttons flanking the review cards */
.review-swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(17, 25, 46, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e7ecf3;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all var(--t-fast) var(--ease);
}

/* RTL: Prev on Right, Next on Left */
[dir="rtl"] .review-swiper-prev,
.review-swiper-prev {
  right: 0;
  left: auto;
}
[dir="rtl"] .review-swiper-next,
.review-swiper-next {
  left: 0;
  right: auto;
}

/* LTR: Prev on Left, Next on Right */
[dir="ltr"] .review-swiper-prev {
  left: 0;
  right: auto;
}
[dir="ltr"] .review-swiper-next {
  right: 0;
  left: auto;
}
[dir="ltr"] .review-swiper-btn .ic {
  transform: scaleX(-1);
}

.review-swiper-btn:hover {
  background: rgba(212, 175, 55, 0.22);
  border-color: rgba(212, 175, 55, 0.6);
  color: #d4af37;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}
.review-swiper-btn:active {
  transform: translateY(-50%) scale(0.96);
}
.review-swiper-btn.is-disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}
.review-swiper-btn .ic {
  width: 20px;
  height: 20px;
}

[data-theme="light"] .review-swiper-btn {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.14);
  color: #0f172a;
}
[data-theme="light"] .review-swiper-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: #d4af37;
  color: #a9863f;
}

/* Review Footer (Counter + Pagination Bullets) */
.review-swiper-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.review-swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  line-height: 0;
  width: auto;
}
.review-swiper-pagination .video-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 0;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
  transition: all var(--t-fast) var(--ease);
}
.review-swiper-pagination .video-bullet:hover {
  background: rgba(212, 175, 55, 0.65);
}
.review-swiper-pagination .video-bullet-active {
  width: 24px;
  border-radius: 999px;
  background: #d4af37;
}

@media (max-width: 640px) {
  .review-swiper-container {
    padding-inline: 36px;
  }
  .review-swiper-btn {
    width: 36px;
    height: 36px;
  }
  .review-swiper-btn .ic {
    width: 16px;
    height: 16px;
  }
}

/* Lightbox Modal */
.review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.review-lightbox[hidden] {
  display: none !important;
}
.review-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 14, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
}
.review-lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: min(900px, 92vw);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: reviewPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes reviewPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.review-lightbox-img {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 110, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.review-lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #11192e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: all var(--t-fast) var(--ease);
}
.review-lightbox-close:hover {
  background: #e11d48;
  border-color: #e11d48;
  transform: rotate(90deg);
}
.review-lightbox-close .ic {
  width: 18px;
  height: 18px;
}

/* ------------------------------------------------------------
   16. DIRECTION-AWARE DETAILS (RTL/LTR)
   ------------------------------------------------------------ */
/* the Latin subtitle is redundant when the whole page is English */
html[lang="en"] .path-en { display: none; }

/* horizontal arrows flip with direction */
[dir="rtl"] .ic-dir { transform: scaleX(-1); }
/* vertical arrow (down cue) stays down in both directions */
.ic-down { transform: rotate(90deg); }

/* ------------------------------------------------------------
   17. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; }
  .mile-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .header-cta { display: none; }
  .hero { padding-top: calc(var(--header-h) + 2.2rem); }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-quiet { justify-content: center; }
  .mile-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principle { grid-column: span 1; }
  .path-row {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding-block: 1.5rem;
  }
  .path-row .btn { justify-self: start; }
  .pain { grid-template-columns: 44px 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .quiz-opt { padding: 0.8rem 0.9rem; }
  .worksheet { padding: 1.5rem 1.3rem 2rem; }
  .hero-watermark { font-size: 9rem; top: 2%; }
  .res-up-list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   18. MOTION — restrained, once, and optional
   ------------------------------------------------------------ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
/* stagger within visible groups */
html.js [data-reveal]:nth-child(2) { transition-delay: 0.06s; }
html.js [data-reveal]:nth-child(3) { transition-delay: 0.12s; }
html.js [data-reveal]:nth-child(4) { transition-delay: 0.18s; }
html.js [data-reveal]:nth-child(5) { transition-delay: 0.24s; }
html.js [data-reveal]:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------
   19. FLOATING CONTACT ACTIONS (Fixed on Left)
   ------------------------------------------------------------ */
.float-contacts {
  position: fixed;
  bottom: 2rem;
  inset-inline-start: 1.6rem; /* Always on the left (RTL & LTR) */
  left: 1.6rem;
  right: auto;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
[dir="rtl"] .float-contacts {
  left: 1.6rem;
  right: auto;
}
.float-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px -6px rgba(0, 0, 0, 0.5);
  filter: brightness(1.08);
}
.float-btn:active {
  transform: translateY(0) scale(0.98);
}
.float-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
.float-phone {
  background: linear-gradient(135deg, var(--accent-strong), #1d4ed8);
}
.float-btn .ic {
  width: 22px;
  height: 22px;
}
@media (max-width: 580px) {
  .float-contacts {
    bottom: 1.2rem;
    left: 1rem;
  }
  .float-btn {
    padding: 0.75rem;
    border-radius: 50%;
  }
  .float-btn .float-label {
    display: none;
  }
}

/* ------------------------------------------------------------
   20. LIGHT MODE SYSTEM OVERRIDES & REFINEMENTS
   ------------------------------------------------------------ */
[data-theme="light"] {
  color-scheme: light;
}
[data-theme="light"] body {
  background: var(--bg);
  color: var(--text);
}
[data-theme="light"] .hero-watermark,
[data-theme="light"] .cta-watermark {
  -webkit-text-stroke: 1.5px rgba(13, 17, 23, 0.05);
}
[data-theme="light"] .idcard {
  background: #ffffff;
  border-color: rgba(13, 17, 23, 0.1);
  box-shadow: 0 25px 60px -25px rgba(13, 17, 23, 0.12), 0 0 0 1px rgba(13, 17, 23, 0.04);
}
[data-theme="light"] .idcard::after {
  border-color: rgba(13, 17, 23, 0.08);
}
[data-theme="light"] .worksheet {
  background: #ffffff;
  box-shadow: 0 25px 60px -25px rgba(13, 17, 23, 0.12);
  border: 1px solid rgba(13, 17, 23, 0.08);
}
[data-theme="light"] .video-shell {
  background: #ffffff;
  border-color: rgba(13, 17, 23, 0.1);
  box-shadow: 0 25px 60px -25px rgba(13, 17, 23, 0.12);
}
[data-theme="light"] .video-badge {
  background: rgba(255, 255, 255, 0.85);
  color: var(--accent-strong);
  border-color: rgba(37, 99, 235, 0.3);
}
[data-theme="light"] .chip {
  background: rgba(13, 17, 23, 0.03);
  border-color: rgba(13, 17, 23, 0.12);
}
[data-theme="light"] .drawer {
  background: #ffffff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .toast {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line-2);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .brand-word em,
[data-theme="light"] .idcard-brand em,
[data-theme="light"] .footer-word em {
  color: var(--accent-strong);
}
[data-theme="light"] .footer-wa {
  color: var(--text-2);
}
[data-theme="light"] .footer-wa:hover {
  color: var(--accent-strong);
}


/* ============================================================
   RESOURCES GRID (Section 06) — Curated YouTube channels & podcasts
   ============================================================ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.resource-card {
  background: #11192e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 18px);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
[data-theme="light"] .resource-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.12);
}

.resource-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.resource-level-badge {
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3em 0.85em;
  border-radius: 999px;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.badge-a1 {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.badge-a2 {
  background: rgba(14, 165, 233, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.35);
}
.badge-b1 {
  background: rgba(234, 179, 8, 0.14);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.35);
}
.badge-b2 {
  background: rgba(99, 102, 241, 0.14);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.35);
}
.badge-c1 {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.resource-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
}
.resource-platform .yt-ic {
  width: 18px;
  height: 18px;
  color: #ff0000;
  flex-shrink: 0;
}

.resource-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.35;
}
[data-theme="light"] .resource-title {
  color: #0f172a;
}

.resource-tagline {
  font-size: 0.84rem;
  font-weight: 600;
  color: #d4af37;
  margin: -0.25rem 0 0 0;
}
[data-theme="light"] .resource-tagline {
  color: #a9863f;
}

.resource-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
[data-theme="light"] .resource-desc {
  color: #475569;
}

.resource-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius, 10px);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: all var(--t-fast) var(--ease);
}
[data-theme="light"] .resource-link-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}
.resource-link-btn:hover {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.35);
}
.resource-link-btn .ic {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
}
