/* ==========================================================================
   Rawasi landing page
   ========================================================================== */

:root {
  --navy: #0f2238;
  --ink: #1d2f45;
  --muted: #5d6e82;
  --subtle: #8a99aa;

  --primary: #1b5d88;
  --primary-dark: #154a6d;
  --primary-light: #2584b0;
  --accent: #22b6d8;
  --accent-soft: #e3f6fb;
  --success: #12a37b;
  --purple: #7c4ddb;

  --gradient: linear-gradient(135deg, #164a6c 0%, #1f6f9b 55%, #2681ad 100%);
  --gradient-btn: linear-gradient(135deg, #174e73 0%, #22709c 100%);

  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-tint: #eef7fb;
  --line: #e2ebf2;
  --line-strong: #d4e2ec;

  --radius-lg: 28px;
  --radius: 22px;
  --radius-sm: 14px;

  --shadow-sm: 0 2px 8px rgba(15, 50, 80, 0.05);
  --shadow: 0 18px 44px -22px rgba(15, 55, 90, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(15, 55, 90, 0.35);

  --container: 1400px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.3; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid rgba(34, 182, 216, .55); outline-offset: 3px; border-radius: 8px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: calc(1050px + 48px); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; font-size: 18px; border-radius: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(23, 78, 115, .75);
}
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(23, 78, 115, .85); }

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--primary-light); color: var(--primary); }
.btn-ghost i { color: var(--primary-light); }

.btn-soft {
  background: var(--bg-tint);
  color: var(--navy);
  border-color: #d5e9f2;
}
.btn-soft:hover { background: #e2f1f8; }

.btn[disabled] { opacity: .7; pointer-events: none; }

.link-btn {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(15, 50, 80, .35); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 52px; height: 52px;
  object-fit: contain;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 20px -10px rgba(23, 78, 115, .55);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 24px; font-weight: 800; color: var(--navy); }
.brand-text small { font-size: 12px; color: var(--subtle); letter-spacing: .5px; }

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 34px;
}
.main-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 17px;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.main-nav a:not(.btn):hover { color: var(--navy); }
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta-mobile { display: none !important; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 11px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Shared section pieces
   -------------------------------------------------------------------------- */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 70px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint) 0%, #f7fbfd 100%); }

.section-head { max-width: 920px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.3vw, 48px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.section-head.center p { max-width: 760px; margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 17px;
}
.eyebrow::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  flex-shrink: 0;
}
.eyebrow-light { color: #e6f6fc; }
.eyebrow-light::before { box-shadow: 0 0 0 6px rgba(255, 255, 255, .14); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Scroll reveal: only hidden when JS is running, so the page never ships blank. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 90px 0 110px;
  background:
    radial-gradient(900px 500px at 15% 40%, rgba(34, 182, 216, .10), transparent 70%),
    linear-gradient(180deg, #f3f8fc 0%, #fff 85%);
  overflow: hidden;
}
.hero::before {
  /* faint blueprint grid */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 93, 136, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 93, 136, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 60px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: -.5px;
}
.hero-lead {
  margin-top: 26px;
  max-width: 660px;
  font-size: 20px;
  line-height: 2;
  color: var(--muted);
}
.hero-free {
  /* sits straight under the lead now that the two buttons are gone */
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-free i { color: var(--success); }

.hero-pillars {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 680px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.pillar b { display: block; font-size: 20px; color: var(--navy); }
.pillar span { display: block; font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: 2px; }

/* Phones in the hero */
.hero-visual {
  position: relative;
  height: 680px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 132, 176, .18), transparent 68%);
}
.hero-visual .phone { position: absolute; }
.phone-front { z-index: 3; animation: float 7s ease-in-out infinite; }
.phone-back { z-index: 1; transform: scale(.86); opacity: .97; }
.phone-back-1 { inset-inline-end: calc(50% + 10px); top: 120px; transform: rotate(-9deg) scale(.84); }
.phone-back-2 { inset-inline-start: calc(50% + 10px); top: 40px; transform: rotate(8deg) scale(.84); }

.float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  white-space: nowrap;
}
.float-chip-1 { top: 70px; inset-inline-end: 8%; animation: float 6s ease-in-out infinite reverse; }
.float-chip-1 i { color: #f97316; }
.float-chip-2 { bottom: 60px; inset-inline-start: 6%; animation: float 8s ease-in-out infinite; }
.float-chip-2 i { color: var(--success); }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* --------------------------------------------------------------------------
   Phone frame + in-app screen mockups (.ps-*)
   -------------------------------------------------------------------------- */
.phone {
  width: 300px;
  aspect-ratio: 9 / 19;
  padding: 10px;
  border-radius: 46px;
  background: #0e1726;
  box-shadow:
    0 0 0 2px #3a57c9 inset,
    0 40px 70px -30px rgba(10, 30, 60, .55),
    0 12px 24px -12px rgba(10, 30, 60, .3);
  flex-shrink: 0;
}
.phone-flat { width: 280px; margin-inline: auto; box-shadow: 0 0 0 2px #3a57c9 inset, 0 24px 40px -26px rgba(10, 30, 60, .5); }

.ps {
  position: relative;
  height: 100%;
  border-radius: 37px;
  background: #f7f9fb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink);
  user-select: none;
}
.ps-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 4px;
  font-size: 10px;
  font-weight: 700;
  direction: ltr;
  color: var(--navy);
}
.ps-status span:last-child { display: flex; gap: 5px; font-size: 9px; }
.ps-appbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px 8px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--navy);
}
.ps-appbar i { width: 14px; color: var(--muted); font-size: 11px; }
.ps-body {
  flex: 1;
  padding: 6px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.ps-card {
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 2px 6px rgba(15, 50, 80, .04);
}
.ps-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.ps-small { font-size: 11px; }
.ps-strong { font-weight: 700; color: var(--navy); }
.ps-title { font-size: 14px; font-weight: 800; }
.ps-blue { color: var(--primary); }
.ps-purple { color: var(--purple); }
.ps-muted { color: var(--subtle); font-size: 9.5px; }
.ps-heading { font-weight: 800; font-size: 12px; color: var(--navy); margin-top: 2px; }
.ps-label { font-weight: 800; font-size: 11.5px; color: var(--navy); }

.ps-progress {
  height: 6px;
  margin: 6px 0 4px;
  border-radius: 6px;
  background: #e4ecf2;
  overflow: hidden;
}
.ps-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); }

.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 6px;
  padding: 5px 14px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 10px;
}
.ps-btn i { font-size: 8px; }
.ps-btn-sm { margin: 0; padding: 4px 11px; }
.ps-btn-block { display: flex; width: 100%; padding: 9px; font-size: 10.5px; margin-top: 4px; }

.ps-welcome { display: flex; justify-content: space-between; gap: 8px; }
.ps-plant { font-size: 34px; color: #4caf50; align-self: center; filter: drop-shadow(0 4px 4px rgba(76, 175, 80, .25)); }

.ps-inspire {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f5efff, #ece4ff);
  border-color: #ddd0fb;
}
.ps-spark {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  color: var(--purple);
  flex-shrink: 0;
}

.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ps-tile {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 12px;
}
.ps-tile i { color: var(--primary); font-size: 14px; margin-bottom: 3px; }
.ps-tile b { font-size: 10.5px; color: var(--navy); }
.ps-tile small { font-size: 9px; color: var(--subtle); }

.ps-nav {
  display: flex;
  justify-content: space-around;
  padding: 8px 6px 14px;
  background: #fff;
  border-top: 1px solid #edf1f5;
}
.ps-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 7.5px; color: var(--subtle); }
.ps-nav i { font-size: 12px; }
.ps-nav .is-active { color: var(--primary); font-weight: 700; }

.ps-lesson {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 12px;
}
.ps-lesson-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px;
  flex-shrink: 0;
}
.ps-lesson-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ps-lesson-text b { font-size: 10.5px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-lesson-text small { font-size: 8.5px; color: var(--subtle); }
.ps-lesson.is-done .ps-lesson-icon { background: #ddf7ee; color: var(--success); }
.ps-lesson.is-open { border-color: #b9dcec; background: #f1f9fd; }
.ps-lesson.is-open .ps-lesson-icon { background: var(--primary); color: #fff; }
.ps-lesson.is-open small { color: var(--primary); }
.ps-lesson.is-locked { opacity: .6; }
.ps-lesson.is-locked .ps-lesson-icon { background: #eef1f4; color: var(--subtle); }

.ps-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 9px;
  background: #e5f5fb;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 9.5px;
}
.ps-chip i { color: var(--primary); }
.ps-quote { background: #f3f5f7; border-color: #eceff2; font-size: 10.5px; line-height: 1.8; }
.ps-answer {
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 11px;
  border: 1px solid #e3e8ed;
  background: #fafbfc;
  font-size: 10.5px;
}
.ps-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 4px; }
.ps-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 10px;
  border: 1px solid;
}
.ps-choice.is-easy { color: var(--success); border-color: #bfe9da; background: #effbf6; }
.ps-choice.is-good { color: #c48a06; border-color: #f3dd9e; background: #fffaeb; }
.ps-dots { display: flex; justify-content: center; gap: 4px; margin-top: auto; padding-top: 6px; }
.ps-dots span { width: 5px; height: 5px; border-radius: 50%; background: #d3dbe2; }
.ps-dots .is-active { background: var(--primary); width: 14px; border-radius: 4px; }

.ps-subject { display: flex; align-items: center; gap: 10px; }
.ps-subject-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #e5f5fb;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}
.ps-subject-text { flex: 1; min-width: 0; }
.ps-subject-text b { font-size: 11px; color: var(--navy); }
.ps-subject-text small { font-size: 9px; color: var(--subtle); }

/* --------------------------------------------------------------------------
   Problem cards
   -------------------------------------------------------------------------- */
.problem-card { padding: 30px 28px 34px; }
.num-badge {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  height: 38px;
  padding: 0 12px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 26px;
}
.problem-card h3 { font-size: 23px; margin-bottom: 10px; }
.problem-card p { color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------------------
   Banner ("النقلة المهمة")
   -------------------------------------------------------------------------- */
.banner {
  position: relative;
  padding: 72px 66px;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.banner::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  inset-inline-end: -120px;
  bottom: -220px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .05);
}
.banner h2 { color: #fff; font-size: clamp(28px, 3.2vw, 46px); }
.banner p { margin-top: 18px; max-width: 920px; font-size: 19px; line-height: 2; color: rgba(255, 255, 255, .85); }

/* --------------------------------------------------------------------------
   What Rawasi is
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 60px;
  align-items: center;
}
.split-copy h2 { font-size: clamp(30px, 3.3vw, 48px); }
.split-copy p { margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 2; }

.steps-card { padding: 22px 24px; background: linear-gradient(180deg, #fff, #f9fbfd); }
.step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 6px;
}
.step + .step { border-top: 1px solid var(--line); }
.step-num {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 10px 20px -10px rgba(27, 93, 136, .7);
}
.step b { display: block; font-size: 20px; color: var(--navy); }
.step div span { display: block; color: var(--muted); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.feature-card {
  position: relative;
  padding: 34px 32px 38px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 32px;
  width: 54px; height: 5px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 20px;
  margin-bottom: 22px;
}
.feature-card h3 { font-size: 23px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------------------
   Journey
   -------------------------------------------------------------------------- */
.journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  position: relative;
}
.journey-step {
  position: relative;
  padding: 26px 24px 30px;
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: background .25s, transform .25s var(--ease);
}
.journey-step:hover { background: #fff; transform: translateY(-4px); }
.journey-step:not(:last-child)::after {
  /* arrow to the next step (RTL: points left) */
  content: '\f053';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  inset-inline-end: -19px;
  translate: 0 -50%;
  z-index: 1;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 10px;
}
.journey-num { display: block; color: var(--primary-light); font-weight: 800; font-size: 15px; margin-bottom: 26px; }
.journey-step b { display: block; font-size: 22px; color: var(--navy); margin-bottom: 6px; }
.journey-step span { display: block; color: var(--muted); font-size: 15.5px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   Comparison
   -------------------------------------------------------------------------- */
.compare-card { padding: 34px; }
.compare-card h3 { font-size: 24px; margin-bottom: 22px; }
.compare-card ul { display: grid; gap: 14px; }
.compare-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 500;
}
.compare-card li i {
  width: 28px; height: 28px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 12px;
}
.compare-old { background: #f4f6f8; box-shadow: none; }
.compare-old li { background: #fff; color: var(--muted); border: 1px solid #eceff2; }
.compare-old li i { background: #fdecec; color: #d14b4b; }
.compare-new { background: linear-gradient(180deg, #eaf8fd 0%, #fff 60%); border-color: #bfe5f2; }
.compare-new li { background: #fff; color: var(--navy); border: 1px solid #dcf0f7; box-shadow: var(--shadow-sm); }
.compare-new li i { background: #ddf7ee; color: var(--success); }

/* --------------------------------------------------------------------------
   Inside the app
   -------------------------------------------------------------------------- */
.screen-card {
  margin: 0;
  padding: 26px 20px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f8fc 0%, #fff 70%);
}
.screen-card .phone { height: 470px; aspect-ratio: auto; border-end-start-radius: 0; border-end-end-radius: 0; padding-bottom: 0; }
.screen-card .ps { border-end-start-radius: 0; border-end-end-radius: 0; }
.screen-card figcaption {
  position: relative;
  margin: 0 -20px;
  padding: 22px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 19px;
  color: var(--primary-dark);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}
.tab {
  padding: 12px 26px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.tab:hover { background: var(--bg-tint); }
.tab.is-active { background: var(--gradient-btn); color: #fff; box-shadow: 0 10px 22px -12px rgba(23, 78, 115, .8); }

.plans-panel { padding: 30px; }
.plans-panel[hidden] { display: none; }
.plans-panel.is-entering { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.plans-panel-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.plans-panel-head h3 { font-size: 26px; }
.track-pill {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 0 0 16px 16px;
  margin-top: -30px;
  background: #c9f3e6;
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
}
.plans-ladder { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; font-weight: 700; font-size: 15.5px; color: var(--navy); }
.plans-ladder i { font-size: 11px; color: var(--accent); }

.plans-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans-count-1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.plans-count-2 { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; }

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfdfe);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.is-featured {
  background: linear-gradient(180deg, #e8f7fd 0%, #fff 70%);
  border-color: #a9d9ec;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}
.plan.is-featured:hover { transform: translateY(-14px); }
.plan-kicker { color: var(--primary-light); font-weight: 700; font-size: 16px; }
.plan h4 { font-size: 26px; margin-top: 6px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 16px 0 6px; }
.plan-price b { font-size: 56px; font-weight: 900; color: var(--primary-dark); line-height: 1; letter-spacing: -1px; }
.plan-price span { color: var(--subtle); font-size: 15px; }
.plan-price s { width: 100%; color: var(--subtle); font-size: 15px; }
.plan-desc { color: var(--muted); font-size: 15px; margin-top: 6px; }
.plan-features { display: grid; gap: 12px; margin: 22px 0 28px; flex: 1; align-content: start; }
.plan-features li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.plan-features li i {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 4px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 10px;
}
.plan-features li.is-excluded { color: var(--subtle); text-decoration: line-through; }
.plan-features li.is-excluded i { background: #f1f3f5; color: var(--subtle); }

/* --------------------------------------------------------------------------
   Objections + FAQ
   -------------------------------------------------------------------------- */
.objection-card { padding: 32px 30px 38px; }
.objection-card h3 { font-size: 23px; margin-bottom: 12px; }
.objection-card p { color: var(--muted); font-size: 16px; }

.faq { display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.is-open { border-color: #bfe0ee; box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: 0;
  text-align: start;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}
.faq-icon {
  position: relative;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  transition: background .2s, transform .3s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--primary-dark);
  translate: -50% -50%;
  transition: transform .3s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--primary); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: #fff; }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 28px 24px; }
.faq-a p { color: var(--muted); font-size: 17px; line-height: 1.95; }

/* --------------------------------------------------------------------------
   Final CTA + registration
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px;
  align-items: center;
  padding: 70px 66px;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  top: -260px;
  inset-inline-start: -160px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, .05);
  pointer-events: none;
}
.cta-copy { position: relative; }
/* The closing call to action without the sign-up form: one centred column. */
.cta.cta-solo { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.cta-solo .cta-copy { max-width: 760px; }
.cta-solo .cta-points { justify-content: center; grid-auto-flow: column; grid-auto-columns: max-content; gap: 10px 28px; }
@media (max-width: 720px) {
  .cta-solo .cta-points { grid-auto-flow: row; justify-items: center; }
}
.cta h2 { color: #fff; font-size: clamp(28px, 3vw, 44px); line-height: 1.45; }
.cta-copy > p { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.cta-points { display: grid; gap: 10px; margin: 26px 0 32px; }
.cta-points li { display: flex; align-items: center; gap: 10px; font-size: 16.5px; color: rgba(255, 255, 255, .92); }
.cta-points i {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 10px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 14px;
  background: rgba(8, 24, 40, .45);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background .2s, transform .2s var(--ease);
}
.store-badge:hover { background: rgba(8, 24, 40, .65); transform: translateY(-2px); }
.store-badge i { font-size: 24px; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge small { font-size: 12px; opacity: .8; }
.store-badge b { font-size: 18px; direction: ltr; }

.register-card {
  position: relative;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(5, 20, 40, .6);
}
.register-card h3 { font-size: 24px; margin-bottom: 22px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 15px; color: var(--navy); }
.form-hint { margin: -2px 0 10px; color: var(--muted); font-size: 15px; }

.register-card input[type="tel"],
.register-card input[type="text"],
.register-card input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 13px;
  background: #fbfcfd;
  font: inherit;
  font-size: 16px;
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.register-card input[dir="ltr"] { text-align: right; }
.register-card input::placeholder { color: #a7b3c0; }
.register-card input:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 132, 176, .14);
}
.register-card .otp-input { text-align: center; letter-spacing: 12px; font-size: 24px; font-weight: 800; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: block;
  padding: 12px 6px;
  text-align: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 13px;
  background: #fbfcfd;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  transition: all .2s;
}
.segmented span:hover { border-color: var(--primary-light); color: var(--navy); }
.segmented input:checked + span {
  border-color: var(--primary);
  background: var(--accent-soft);
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(37, 132, 176, .12);
}
.segmented input:focus-visible + span { outline: 3px solid rgba(34, 182, 216, .55); outline-offset: 2px; }

.has-error input, input.has-error, .segmented.has-error span { border-color: #e05252 !important; }
.field-error { display: block; margin-top: 6px; color: #c93c3c; font-size: 14px; font-weight: 500; }

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
}
.form-message.success { background: #e8f8f1; color: #0d7a5a; border: 1px solid #bfe9d7; }
.form-message.error { background: #fdeeee; color: #b33434; border: 1px solid #f5cccc; }

.register-done { text-align: center; padding: 10px 0; }
.register-done h3 { margin: 18px 0 8px; }
.register-done p { color: var(--muted); margin-bottom: 24px; }
.done-icon {
  width: 72px; height: 72px;
  margin: 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #ddf7ee;
  color: var(--success);
  font-size: 30px;
  box-shadow: 0 0 0 10px #f0fbf7;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #0d2137; color: rgba(255, 255, 255, .72); padding-top: 64px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand p { margin-top: 16px; font-size: 17px; max-width: 520px; }
.brand-light .brand-text b { color: #fff; }
.brand-light .brand-text small { color: rgba(255, 255, 255, .55); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 30px; padding-top: 12px; }
.footer-links a, .footer-bottom a { transition: color .2s; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 15px;
}
.footer-bottom span:last-child { display: flex; gap: 24px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .journey-step:not(:last-child)::after { display: none; }
  .hero-inner { gap: 30px; }
  .phone-back-1 { inset-inline-end: calc(50% - 20px); }
  .phone-back-2 { inset-inline-start: calc(50% - 20px); }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .section { padding: 90px 0; }

  .header-inner { justify-content: space-between; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    gap: 4px;
    padding: 14px 24px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(15, 50, 80, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a:not(.btn) { padding: 12px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex !important; margin-top: 12px; }

  .hero { padding: 56px 0 80px; }
  .hero-inner, .split, .cta { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-free { justify-content: center; }
  .hero-pillars { margin-inline: auto; }
  .hero-visual { height: 620px; }

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-grid { grid-template-columns: 1fr !important; max-width: 520px; margin-inline: auto; }
  .plan.is-featured { transform: none; }
  .plan.is-featured:hover { transform: translateY(-4px); }

  .cta { padding: 56px 40px; gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .section { padding: 70px 0; }
  .section-tight { padding: 44px 0; }
  .section-head { margin-bottom: 36px; }

  .brand-logo { width: 44px; height: 44px; border-radius: 13px; }
  .brand-text b { font-size: 21px; }

  .hero-lead { font-size: 17px; }
  .hero-pillars { gap: 10px; }
  .pillar { padding: 14px 12px; }
  .pillar b { font-size: 17px; }
  .pillar span { font-size: 12.5px; }
  .hero-visual { height: 540px; }
  .hero-visual .phone-front { scale: .88; }
  .phone-back-1 { inset-inline-end: calc(50% - 50px); top: 110px; }
  .phone-back-2 { inset-inline-start: calc(50% - 50px); top: 50px; }
  .float-chip { font-size: 12.5px; padding: 8px 12px; }
  .float-chip-1 { top: 20px; inset-inline-end: 0; }
  .float-chip-2 { bottom: 20px; inset-inline-start: 0; }

  .grid-2, .grid-3, .grid-4, .journey { grid-template-columns: 1fr; }
  .journey { padding: 14px; }
  .journey-num { margin-bottom: 10px; }

  .banner, .cta { padding: 44px 24px; border-radius: 24px; }
  .banner p { font-size: 17px; }

  .steps-card { padding: 10px 16px; }
  .step { gap: 14px; padding: 16px 0; }
  .step-num { width: 44px; height: 44px; border-radius: 13px; }
  .step b { font-size: 18px; }

  .tabs { width: 100%; justify-content: flex-start; }
  .tab { flex: 1; padding: 11px 16px; font-size: 16px; }
  .plans-panel { padding: 22px 16px; }
  .plans-panel-head { flex-direction: column; gap: 12px; }
  .track-pill { margin-top: -22px; }
  .plan { padding: 26px 22px; }
  .plan-price b { font-size: 48px; }

  .faq-q { padding: 20px; font-size: 17px; }
  .faq-a { padding: 0 20px 20px; }
  .faq-a p { font-size: 16px; }

  .register-card { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .segmented span { font-size: 14px; padding: 11px 4px; }

  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .hero-pillars { grid-template-columns: 1fr; }
  .hero-visual { height: 500px; }
  .hero-visual .phone-front { scale: .8; }
  .phone-back { display: none; }
}

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

/* ==========================================================================
   Videos (under the hero), the golden strategy, and the sticky CTA bar
   ========================================================================== */

/* ---- Videos ---- */
.section-videos {
  padding-top: 90px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.videos-grid { gap: 28px; align-items: stretch; }

.video-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }

.video-stage {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0d2137;
  overflow: hidden;
  cursor: pointer;
}
.video-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops the letterbox bars off YouTube's 4:3 thumbnail */
  transition: transform .5s var(--ease);
}
.video-stage:hover img { transform: scale(1.04); }
.video-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 40, 0) 45%, rgba(8, 24, 40, .45) 100%);
  pointer-events: none;
}
.video-stage.is-playing { cursor: default; }
.video-stage.is-playing::after { display: none; }
.video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: auto;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  font-size: 26px;
  padding-inline-start: 4px; /* optical centre of the triangle */
  box-shadow: 0 16px 36px -10px rgba(5, 20, 40, .6);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.video-stage:hover .video-play { transform: scale(1.08); }
.video-stage:focus-visible { outline-offset: -4px; }

/* "coming soon": same size as the player, so nothing jumps when a link is added */
.video-stage.is-empty {
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  cursor: default;
}
.video-stage.is-empty::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  inset-inline-end: -110px;
  bottom: -190px;
  border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, .06);
}
.video-stage.is-empty::after { display: none; }
.video-soon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.video-soon i {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  font-size: 28px;
}
.video-soon b { font-size: 24px; font-weight: 800; }
.video-soon small { font-size: 14.5px; opacity: .8; }

/* A video FILE: the browser's own player, letterboxed in the same 16:9 frame. */
.video-stage.is-file { cursor: default; background: #000; }
.video-stage.is-file::after { display: none; }
.video-stage.is-file video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* Any OTHER site: never embedded — the same card as "coming soon", as a link
   that opens the video in a new tab. */
.video-stage.is-link {
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
}
.video-stage.is-link::after { display: none; }
.video-stage.is-link i { transition: transform .25s var(--ease), background .25s; }
.video-stage.is-link:hover i { transform: scale(1.08); background: rgba(255, 255, 255, .24); }
.video-stage.is-link small { overflow-wrap: anywhere; }

.video-body { flex: 1; padding: 26px 28px 30px; }
.video-body h3 { font-size: 24px; margin-bottom: 8px; }
.video-body p { color: var(--muted); font-size: 16px; }
.video-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.video-points li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.7; }
.video-points i {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 10px;
}

/* ---- The golden strategy ---- */
.strategy {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}
/* 3 + 2: the last row's two cards are wider rather than leaving a hole */
.strategy-step { grid-column: span 2; }
.strategy-step:nth-child(n + 4) { grid-column: span 3; }

.strategy-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.strategy-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.strategy-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  box-shadow: 0 10px 20px -10px rgba(27, 93, 136, .7);
}
.strategy-step h3 { font-size: 21px; margin-bottom: 6px; }
.strategy-step p { color: var(--muted); font-size: 15.5px; line-height: 1.85; }

.strategy-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 30px 36px;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.strategy-result p { font-size: 18.5px; line-height: 1.9; color: rgba(255, 255, 255, .92); }
.strategy-result b { color: #9fe7f7; font-size: 21px; margin-inline-end: 6px; }
/* the brand-blue button would vanish on the brand-blue banner */
.strategy-result .btn-primary {
  flex-shrink: 0;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 12px 26px -12px rgba(5, 20, 40, .6);
}

/* ---- Sticky CTA bar ---- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  padding: 0 16px calc(14px + env(safe-area-inset-bottom, 0px));
  pointer-events: none; /* only the bar itself takes taps, not the gutter around it */
  transition: transform .25s var(--ease), opacity .2s;
  animation: ctaIn .6s var(--ease) .4s backwards;
}
.sticky-cta.is-hidden { transform: translateY(130%); opacity: 0; }
@keyframes ctaIn { from { transform: translateY(130%); opacity: 0; } }

.sticky-cta-inner {
  pointer-events: auto;
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-inline: auto;
  padding: 10px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 18px 44px -10px rgba(15, 55, 90, .45);
}
.sticky-cta .btn {
  min-width: 0;
  padding: 13px 18px;
  font-size: 16px;
  line-height: 1.35;
  white-space: normal; /* "ابدأ الآن أول 15 يوم مجاناً" must wrap, not overflow, on a phone */
  text-align: center;
}
.sticky-cta-download { flex: 0 0 auto; }
.sticky-cta-start { flex: 1 1 auto; }

/* keep the footer's last line clear of the bar */
.site-footer .footer-bottom { padding-bottom: 110px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .strategy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strategy-step,
  .strategy-step:nth-child(n + 4) { grid-column: auto; }
  .strategy-step:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .section-videos { padding-top: 60px; }
  .video-play { width: 66px; height: 66px; font-size: 22px; }
  .video-body { padding: 22px 20px 26px; }
  .video-body h3 { font-size: 22px; }

  .strategy { grid-template-columns: 1fr; }
  .strategy-step:last-child { grid-column: auto; }
  .strategy-step { padding: 22px 20px; }
  .strategy-result { flex-direction: column; align-items: stretch; text-align: center; padding: 26px 22px; }
  .strategy-result .btn-primary { width: 100%; }

  .sticky-cta { padding-inline: 10px; }
  .sticky-cta-inner { gap: 8px; padding: 8px; border-radius: 18px; }
  .sticky-cta .btn { padding: 12px 12px; font-size: 14.5px; gap: 7px; }
}

@media (max-width: 380px) {
  .sticky-cta .btn { padding: 11px 9px; font-size: 13.5px; }
  .sticky-cta-start i { display: none; } /* the words matter more than the icon here */
}
