/* ============================================================
   Landing Page styles — Learn Arabic with Asmae
   ============================================================ */
@import url('tokens.css');
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Reem+Kufi:wght@400;500;600;700&family=Caveat:wght@400;700&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--fg-primary);
  background: var(--cream-bg, #FFF6E8);
  overflow-x: hidden;
}

/* THEME LAYERS — set via [data-theme] on <html> */
html[data-theme="warm"] {
  --cream-bg: #FFF6E8;
  --hero-bg: linear-gradient(170deg, #FFB94A 0%, #F5A623 55%, #F08D2E 100%);
  --section-alt: #FFF1DC;
  --ink: #1B3D6E;
  --ink-soft: #2A4F84;
  --accent: #00AECC;
  --accent-warm: #E8951C;
  --cta-bg: #1B3D6E;
  --cta-fg: #FFFFFF;
  --calligraphy-color: #1B3D6E;
  --calligraphy-bg-color: rgba(27,61,110,0.08);
}
html[data-theme="editorial"] {
  --cream-bg: #F4ECDD;
  --hero-bg: linear-gradient(170deg, #1B3D6E 0%, #254f8e 100%);
  --section-alt: #ECE2CD;
  --ink: #1B3D6E;
  --ink-soft: #2A4F84;
  --accent: #E8951C;
  --accent-warm: #F5A623;
  --cta-bg: #E8951C;
  --cta-fg: #1B3D6E;
  --calligraphy-color: #1B3D6E;
  --calligraphy-bg-color: rgba(27,61,110,0.06);
}
html[data-theme="bold"] {
  --cream-bg: #FFFFFF;
  --hero-bg: linear-gradient(135deg, #E8384D 0%, #F5A623 50%, #FFD43B 100%);
  --section-alt: #FFF6E8;
  --ink: #1B3D6E;
  --ink-soft: #2A4F84;
  --accent: #00AECC;
  --accent-warm: #E8384D;
  --cta-bg: #1B3D6E;
  --cta-fg: #FFFFFF;
  --calligraphy-color: #1B3D6E;
  --calligraphy-bg-color: rgba(232,56,77,0.08);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ── */
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  padding: 14px 0;
  transition: background 250ms ease, box-shadow 250ms ease, padding 250ms ease;
}
.nav.scrolled {
  background: rgba(255,246,232,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(27,61,110,0.08);
  padding: 8px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-logo .brand {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.nav-logo .brand span { color: var(--accent); display: block; font-size: 11px; font-weight: 800; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 14px; color: var(--ink); }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 180ms var(--ease-default), box-shadow 220ms ease, background 220ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-fg);
  box-shadow: 0 6px 20px rgba(27,61,110,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27,61,110,0.36); }
.btn-secondary {
  background: var(--color-white);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(27,61,110,0.12);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(27,61,110,0.18); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 12px 26px;
}
.btn-ghost:hover { background: var(--ink); color: white; }
.btn-arrow { font-size: 18px; transition: transform 180ms ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn.small { padding: 10px 20px; font-size: 13px; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 0;
  background: var(--hero-bg);
  overflow: hidden;
  isolation: isolate;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.18; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.4) 1px, transparent 1px);
  background-size: 4px 4px;
}
.hero-mandala {
  position: absolute; bottom: -260px; left: -260px; width: 720px; height: 720px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.hero-mandala svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 920px) { .hero-inner { grid-template-columns: 1fr; gap: 24px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  border-radius: 9999px;
  font-size: 13px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(27,61,110,0.12);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(22,163,74,0.2); } 50% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: white;
  margin: 18px 0 18px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--ink); position: relative; display: inline-block; }
.hero h1 .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.18em;
  background: rgba(255,255,255,0.5);
  z-index: -1; border-radius: 4px;
  transform-origin: left;
  animation: underline-grow 1.4s 0.6s var(--ease-default) both;
}
@keyframes underline-grow { from { transform: scaleX(0);} to { transform: scaleX(1);} }

.hero-sub {
  font-size: 19px;
  font-weight: 500;
  color: rgba(27,61,110,0.85);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 0 28px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-cta-row .meta { font-size: 13px; color: rgba(27,61,110,0.75); font-weight: 600; display: flex; align-items: center; gap: 8px; }

.hero-trust {
  margin-top: 36px;
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
}
.hero-trust-item { display: flex; align-items: center; gap: 10px; }
.hero-trust .num { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--ink); line-height: 1; }
.hero-trust .lbl { font-size: 12px; font-weight: 700; color: rgba(27,61,110,0.7); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-trust-divider { width: 1px; height: 28px; background: rgba(27,61,110,0.2); }

/* Hero photo */
.hero-photo-wrap {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  min-height: 620px;
  margin-bottom: 0;
}
.hero-photo-blob {
  position: absolute; inset: 0 0 0 0;
  background: radial-gradient(ellipse 60% 60% at 55% 60%, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 70%);
}
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 1560px;
  display: block;
  filter: drop-shadow(0 -10px 40px rgba(27,61,110,0.20));
  z-index: 2;
  margin-bottom: 0;
  animation: photo-in 1000ms 0.4s var(--ease-default) both;
}
@keyframes photo-in {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-copy { padding-bottom: 80px; }

/* Floating bubbles around photo */
.hero-bubble {
  position: absolute;
  background: white;
  padding: 10px 18px;
  border-radius: 24px;
  font-family: var(--font-handwrite);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(27,61,110,0.18);
  white-space: nowrap;
  z-index: 3;
  display: flex; align-items: center; gap: 6px;
}
.hero-bubble .ar { font-family: var(--font-arabic); font-size: 22px; color: var(--accent); }
.hero-bubble::after {
  content: ''; position: absolute; bottom: -6px; left: 24px;
  width: 14px; height: 14px;
  background: white;
  transform: rotate(45deg);
}
.bubble-1 { top: 8%; left: 0%; animation: float-bubble 5s ease-in-out infinite; }
.bubble-2 { top: 28%; right: 4%; animation: float-bubble 5s 1s ease-in-out infinite; }
.bubble-3 { bottom: 22%; left: -4%; animation: float-bubble 5s 2s ease-in-out infinite; }
@keyframes float-bubble {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* ── Calligraphy backdrop (animated) ── */
.calligraphy-layer {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.calligraphy-word {
  position: absolute;
  font-family: 'Aref Ruqaa', 'Cairo', serif;
  font-weight: 700;
  color: var(--calligraphy-color);
  opacity: 0;
  user-select: none;
  white-space: nowrap;
  text-shadow: 0 2px 0 rgba(255,255,255,0.4);
}
.cw-1 { top: 4%; left: 6%; font-size: 120px; opacity: 0.06; transform: rotate(-6deg); }
.cw-2 { top: 60%; right: 8%; font-size: 90px; opacity: 0.06; }
.cw-3 { bottom: 6%; left: 38%; font-size: 70px; opacity: 0.06; transform: rotate(3deg); }

/* ── Calligraphy SVG (centerpiece) ── */
.calligraphy-svg {
  width: 100%; height: 100%;
}
.calligraphy-svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
.calligraphy-svg.draw path {
  animation: draw-stroke 3.5s ease-out forwards;
}
@keyframes draw-stroke {
  0% { stroke-dashoffset: 2000; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* ── Section atoms ── */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--section-alt); }
.section-dark { background: var(--ink); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark .eyebrow { color: var(--accent); }

.eyebrow {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-warm);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 14px 0 18px;
  text-wrap: balance;
}
.section-dark .section-title { color: white; }
.section-lede { font-size: 18px; line-height: 1.55; color: var(--fg-secondary); max-width: 640px; }
.section-dark .section-lede { color: rgba(255,255,255,0.78); }

.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 56px; }
.section-head.left { align-items: flex-start; text-align: left; }

/* ── Logo strip ── */
.trust-strip {
  background: white;
  padding: 28px 0;
  border-top: 1px solid rgba(27,61,110,0.06);
  border-bottom: 1px solid rgba(27,61,110,0.06);
}
.trust-strip-row {
  display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.trust-strip-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}
.trust-strip-logos {
  display: flex; gap: 36px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: rgba(27,61,110,0.55);
}
.trust-strip-logos .logo-pill { display: flex; align-items: center; gap: 8px; }

/* ── Video section ── */
.video-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
}
@media (max-width: 920px) { .video-grid { grid-template-columns: 1fr; } }
.video-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(27,61,110,0.30);
  aspect-ratio: 16/9;
  cursor: pointer;
  isolation: isolate;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.video-frame:hover img { transform: scale(1.04); }
.video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
}
.video-play-btn {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: transform 220ms ease;
}
.video-play-btn::before {
  content: ''; width: 0; height: 0;
  border-left: 22px solid var(--accent-warm);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.video-frame:hover .video-play-btn { transform: scale(1.08); }
.video-meta {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  color: white; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none;
}
.video-meta .title { font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.video-meta .duration { background: rgba(0,0,0,0.7); padding: 4px 10px; border-radius: 4px; font-size: 13px; font-weight: 700; }

.video-side h2 { margin-bottom: 18px; }
.video-side .stat-row { display: flex; gap: 24px; margin-top: 28px; }
.video-side .stat .num { font-family: var(--font-display); font-weight: 900; font-size: 36px; color: var(--accent-warm); line-height: 1; }
.video-side .stat .lbl { font-size: 13px; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 6px; }

/* ── About ── */
.about-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
}
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--accent-warm);
  aspect-ratio: 4/5;
  box-shadow: 0 20px 50px rgba(27,61,110,0.25);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-tag {
  position: absolute; bottom: 20px; left: 20px;
  background: white;
  padding: 14px 18px;
  border-radius: 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.about-photo-tag .ar {
  font-family: var(--font-arabic);
  font-size: 28px;
  color: var(--accent);
  font-weight: 700;
}
.about-photo-tag .name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.about-photo-tag .role { font-size: 11px; color: var(--fg-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.about-content blockquote {
  font-family: var(--font-handwrite);
  font-size: 30px;
  line-height: 1.3;
  color: var(--accent-warm);
  margin: 18px 0;
  padding: 0;
}
.about-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.about-stat { padding: 18px; background: var(--cream-bg); border-radius: 16px; border: 1px solid rgba(27,61,110,0.06); }
.about-stat .num { font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--accent-warm); }
.about-stat .lbl { font-size: 12px; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ── Curriculum ── */
.curriculum-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 920px) { .curriculum-grid { grid-template-columns: 1fr; } }
.curric-card {
  background: white;
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(27,61,110,0.06);
  position: relative;
  transition: transform 280ms var(--ease-default), box-shadow 280ms ease;
  overflow: hidden;
}
.curric-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(27,61,110,0.18); }
.curric-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--card-accent, var(--accent-warm));
}
.curric-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--card-accent, var(--accent-warm));
  letter-spacing: 0.08em;
}
.curric-arabic {
  font-family: var(--font-arabic);
  font-size: 64px;
  color: var(--card-accent, var(--accent-warm));
  font-weight: 700;
  line-height: 1;
  margin: 12px 0 16px;
  opacity: 0.95;
}
.curric-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 10px;
}
.curric-card p { color: var(--fg-secondary); line-height: 1.55; margin: 0; }
.curric-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.curric-card li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0;
  font-size: 14px; color: var(--fg-secondary); font-weight: 500;
}
.curric-card li::before {
  content: ''; width: 18px; height: 18px;
  background: var(--card-accent, var(--accent-warm));
  flex: 0 0 18px;
  border-radius: 50%;
  position: relative;
  margin-top: 2px;
  background-image: linear-gradient(45deg, transparent 45%, white 45%, white 55%, transparent 55%),
                    linear-gradient(-45deg, transparent 45%, white 45%, white 55%, transparent 55%);
  background-size: 60% 4px, 60% 4px;
  background-position: 30% 60%, 65% 50%;
  background-repeat: no-repeat;
}
.curric-card.c1 { --card-accent: var(--color-bg-orange); }
.curric-card.c2 { --card-accent: var(--color-teal); }
.curric-card.c3 { --card-accent: var(--color-bg-red); }

/* ── Phrase sampler ── */
.sampler {
  position: relative;
  overflow: hidden;
}
.sampler-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center;
}
@media (max-width: 920px) { .sampler-wrap { grid-template-columns: 1fr; } }
.sampler-card {
  background: white;
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(27,61,110,0.18);
  position: relative;
  overflow: hidden;
}
.sampler-card::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 280px; height: 280px;
  background: var(--accent-warm); opacity: 0.08; border-radius: 50%;
}
.sampler-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; position: relative; z-index: 2;}
.sampler-tab {
  padding: 10px 18px;
  border-radius: 9999px;
  background: var(--cream-bg);
  font-size: 13px; font-weight: 800;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 180ms ease;
  display: flex; align-items: center; gap: 8px;
}
.sampler-tab.active { background: var(--ink); color: white; }
.sampler-tab .flag { font-size: 16px; }
.sampler-display { position: relative; z-index: 2; min-height: 260px; }
.sampler-display .arabic-big {
  font-family: var(--font-arabic);
  font-size: clamp(60px, 9vw, 110px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  direction: rtl;
  margin: 0;
  transition: opacity 280ms ease;
}
.sampler-display .translit {
  font-family: var(--font-handwrite);
  font-size: 32px;
  color: var(--accent-warm);
  margin: 4px 0 0;
}
.sampler-display .english {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 18px 0 0;
}
.sampler-display .context { font-size: 15px; color: var(--fg-secondary); margin: 8px 0 0; }
.sampler-listen {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 9999px;
  background: var(--accent); color: white; font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: transform 180ms ease;
}
.sampler-listen:hover { transform: scale(1.04); }
.sampler-listen .icon { width: 20px; height: 20px; border-radius: 50%; background: white; color: var(--accent); display: grid; place-items: center; font-size: 12px; }

.sampler-side h2 { margin-bottom: 12px; }
.sampler-counter { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.sampler-dots { display: flex; gap: 6px; }
.sampler-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(27,61,110,0.2); transition: background 180ms ease, width 180ms ease; }
.sampler-dot.active { background: var(--accent-warm); width: 22px; border-radius: 9999px; }

/* ── Pricing ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch;
}
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: white;
  border-radius: 24px;
  padding: 36px 28px;
  border: 2px solid rgba(27,61,110,0.08);
  display: flex; flex-direction: column;
  transition: transform 280ms var(--ease-default), box-shadow 280ms ease, border-color 280ms ease;
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(27,61,110,0.14); }
.price-card.featured {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  transform: scale(1.03);
  box-shadow: 0 24px 50px rgba(27,61,110,0.24);
}
.price-card.featured h3, .price-card.featured .price { color: white; }
.price-card.featured ul li { color: rgba(255,255,255,0.85); }
.price-card.featured .price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent-warm); color: var(--ink); padding: 6px 14px;
  border-radius: 9999px; font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.price-name { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-warm); }
.price-card.featured .price-name { color: var(--accent); }
.price-card h3 {
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; font-size: 26px;
  margin: 8px 0 4px; color: var(--ink);
}
.price-tag {
  display: flex; align-items: baseline; gap: 4px;
  margin: 14px 0 8px;
}
.price-tag .price {
  font-family: var(--font-display); font-weight: 900; font-size: 56px;
  color: var(--ink); line-height: 1;
}
.price-tag .currency { font-size: 22px; font-weight: 800; color: var(--ink-soft); }
.price-tag .period { font-size: 14px; color: var(--fg-muted); font-weight: 600; margin-left: 4px; }
.price-card.featured .price-tag .currency { color: rgba(255,255,255,0.8); }
.price-card.featured .price-tag .period { color: rgba(255,255,255,0.6); }
.price-card .desc { color: var(--fg-secondary); font-size: 14px; line-height: 1.5; margin: 0 0 22px; }
.price-card.featured .desc { color: rgba(255,255,255,0.75); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-card li {
  display: flex; gap: 10px; padding: 8px 0;
  font-size: 14px; line-height: 1.4;
  color: var(--fg-secondary);
}
.price-card li::before {
  content: '✓';
  flex: 0 0 22px;
  width: 22px; height: 22px;
  background: rgba(0,174,204,0.15);
  color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-size: 12px;
}
.price-card.featured li::before { background: rgba(255,255,255,0.15); color: white; }
.price-card .btn { width: 100%; justify-content: center; }

/* ── Testimonials ── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: white;
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid rgba(27,61,110,0.06);
}
.testi-stars { display: flex; gap: 2px; color: var(--accent-warm); font-size: 18px; }
.testi-card p {
  font-size: 16px; line-height: 1.6; color: var(--ink);
  margin: 0;
}
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-warm); color: white;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 16px;
}
.testi-meta .name { font-weight: 800; color: var(--ink); font-size: 14px; }
.testi-meta .role { font-size: 12px; color: var(--fg-muted); font-weight: 600; }

/* ── FAQ ── */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,61,110,0.06);
  transition: box-shadow 180ms ease;
}
.faq-item[open] { box-shadow: 0 8px 22px rgba(27,61,110,0.14); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--cream-bg);
  display: grid; place-items: center;
  font-size: 16px; font-weight: 900;
  flex-shrink: 0;
  transition: transform 220ms ease, background 220ms ease;
  color: var(--accent-warm);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent-warm); color: white; }
.faq-item .answer { padding-top: 14px; color: var(--fg-secondary); line-height: 1.6; font-size: 15px; }

/* ── Final CTA ── */
.final-cta {
  background: var(--ink);
  color: white;
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: ''; position: absolute;
  border-radius: 50%;
  background: var(--accent-warm); opacity: 0.18;
  filter: blur(40px);
}
.final-cta::before { top: -80px; left: -80px; width: 280px; height: 280px; }
.final-cta::after { bottom: -80px; right: -80px; width: 280px; height: 280px; background: var(--accent); }
.final-cta-arabic {
  font-family: var(--font-arabic);
  font-size: clamp(60px, 9vw, 120px);
  color: rgba(255,255,255,0.10);
  line-height: 1;
  margin-bottom: 12px;
  font-weight: 700;
}
.final-cta h2 {
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05; color: white;
  margin: 0 0 16px; position: relative; z-index: 2;
  text-wrap: balance;
}
.final-cta p { font-size: 18px; color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 32px; position: relative; z-index: 2; }
.final-cta .btn { position: relative; z-index: 2; }

/* ── Footer ── */
.footer {
  padding: 60px 0 30px;
  background: var(--cream-bg);
  border-top: 1px solid rgba(27,61,110,0.08);
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--fg-secondary); line-height: 1.55; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 900; font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink); margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--fg-secondary); transition: color 180ms ease; }
.footer-col a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.footer-social {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: white; font-size: 16px;
  transition: transform 220ms ease, background 220ms ease;
}
.footer-social:hover { background: var(--accent-warm); transform: translateY(-3px); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(27,61,110,0.1);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--fg-muted);
}

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 800ms var(--ease-default), transform 800ms var(--ease-default); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(40px); transition: opacity 700ms var(--ease-default), transform 700ms var(--ease-default); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

/* Hero text sequencing */
.hero .reveal { transform: translateY(20px); }
.hero-eyebrow { animation: fadein-up 700ms 0.1s var(--ease-default) both; }
.hero h1 { animation: fadein-up 700ms 0.3s var(--ease-default) both; }
.hero-sub { animation: fadein-up 700ms 0.5s var(--ease-default) both; }
.hero-cta-row { animation: fadein-up 700ms 0.7s var(--ease-default) both; }
.hero-trust { animation: fadein-up 700ms 0.9s var(--ease-default) both; }
.hero-photo-wrap { animation: none; }
@keyframes fadein-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reduce-motion: kill flashy stuff but keep page usable */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Calligraphy parallax word floating layer */
.cw-float {
  position: absolute;
  font-family: 'Aref Ruqaa', 'Cairo', serif;
  font-weight: 700;
  color: var(--calligraphy-color);
  opacity: 0.05;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
