/* ---------- Design tokens ---------- */
:root {
  --brand-navy:   #0B1B3A;
  --brand-navy-2: #1E2F5C;
  --brand-teal:   #14B8A6;
  --brand-teal-2: #0E9488;
  --brand-amber:  #F59E0B;

  --bg:        #FFFFFF;
  --bg-soft:   #F8FAFC;
  --bg-navy:   #0B1B3A;
  --border:    #E2E8F0;
  --border-2:  #CBD5E1;

  --text:        #0F172A;
  --text-muted:  #475569;
  --text-invert: #F8FAFC;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow:    0 6px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 40px rgba(15,23,42,.14);

  --container: 1200px;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Manrope', 'Inter', 'Segoe UI', system-ui, sans-serif;

  --header-h: 72px;
}

html[lang="ar"] {
  --font-sans: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'IBM Plex Sans Arabic', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-teal-2); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul, ol { padding-inline-start: 1.25rem; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--brand-navy); line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1rem; color: var(--text-muted); }
:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: var(--space-8); }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--brand-navy); color: var(--text-invert); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--text-invert); }
.section--navy p { color: rgba(248,250,252,.8); }
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-teal-2);
  margin-bottom: .75rem;
}
.section-head { max-width: 720px; margin-inline: auto; margin-bottom: var(--space-7); text-align: center; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; inset-inline-start: 8px; top: 8px;
  background: var(--brand-navy); color: var(--text-invert);
  padding: .5rem .75rem; border-radius: 6px;
  transform: translateY(-150%); transition: transform .15s;
  z-index: 1000;
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header__inner {
  display: flex; align-items: center; gap: var(--space-4);
  height: 100%;
}
.header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.header__logo img { height: 32px; width: auto; }

.header__nav {
  display: none;
  align-items: stretch;
  gap: .25rem;
  margin-inline-start: var(--space-4);
  flex: 1;
  height: 100%;
}

/* ---- Top-level nav items ---- */
.nav-item { position: static; display: inline-flex; align-items: stretch; }
.nav-item__trigger,
.nav-item--plain {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: 0 .9rem;
  background: transparent; border: 0;
  color: var(--text);
  font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  border-radius: 0;
}
.nav-item__trigger::after,
.nav-item--plain::after {
  content: ""; position: absolute;
  inset-inline: .9rem; bottom: -1px; height: 2px;
  background: var(--brand-teal);
  transform: scaleX(0); transform-origin: center;
  transition: transform .18s ease;
}
.nav-item__trigger:hover,
.nav-item__trigger[aria-expanded="true"],
.nav-item--plain:hover,
.nav-item--plain[aria-current="page"] { color: var(--brand-navy); }
.nav-item__trigger:hover::after,
.nav-item__trigger[aria-expanded="true"]::after,
.nav-item--plain:hover::after,
.nav-item--plain[aria-current="page"]::after { transform: scaleX(1); }

.nav-item__chevron {
  width: 12px; height: 12px;
  transition: transform .18s ease;
}
.nav-item__trigger[aria-expanded="true"] .nav-item__chevron { transform: rotate(180deg); }

/* ---- Mega panel ---- */
.mega {
  position: absolute;
  left: 0; right: 0; top: var(--header-h);
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 48px -16px rgba(11,27,58,.18);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s linear;
  z-index: 49;
  pointer-events: none;
}
.mega[aria-hidden="false"] {
  opacity: 1; visibility: visible; transform: translateY(0);
  pointer-events: auto;
}
.mega__inner { padding-block: var(--space-6); }
.mega__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 280px);
  gap: var(--space-6);
}
.mega__columns--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(240px, 300px);
}
.mega__col { min-width: 0; }
.mega__col-title {
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin: 0 0 .9rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--border);
}

/* ---- Mega link card ---- */
.mega-link {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: .85rem;
  padding: .65rem .75rem;
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit;
  transition: background .12s ease, transform .12s ease;
}
.mega-link + .mega-link { margin-top: .15rem; }
.mega-link:hover,
.mega-link:focus-visible {
  background: var(--bg-soft);
  outline: none;
}
.mega-link:hover .mega-link__title { color: var(--brand-teal-2); }
.mega-link__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(20,184,166,.14), rgba(20,184,166,.06));
  color: var(--brand-teal-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .12s ease;
}
.mega-link__icon svg { width: 22px; height: 22px; }
.mega-link:hover .mega-link__icon { transform: scale(1.04); }
.mega-link__body { display: grid; gap: .15rem; min-width: 0; }
.mega-link__title {
  display: block;
  font-weight: 700;
  color: var(--brand-navy);
  font-size: .98rem;
  line-height: 1.2;
}
.mega-link__desc {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.mega-link__price {
  display: inline-flex; align-items: baseline; gap: .25rem;
  margin-top: .35rem;
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.mega-link__price-amount {
  color: var(--brand-navy);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.01em;
  font-feature-settings: "tnum" 1;
}

/* ---- Mega promo card ---- */
.mega__promo {
  background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  color: var(--text-invert);
  padding: var(--space-5);
  border-radius: var(--radius);
  display: grid;
  align-content: start;
  gap: .6rem;
  position: relative;
  overflow: hidden;
}
.mega__promo::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(20,184,166,.4), transparent 70%);
  pointer-events: none;
}
.mega__promo h4 { color: #fff; margin: 0; font-size: 1.1rem; }
.mega__promo p { color: rgba(248,250,252,.85); font-size: .9rem; margin: 0; }
.mega__promo-tag {
  display: inline-block;
  background: var(--brand-amber);
  color: #1A1300;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  padding: .2rem .55rem;
  border-radius: 999px;
  text-transform: uppercase;
  width: max-content;
}
.mega__promo .btn { margin-top: .4rem; width: max-content; }

/* ---- Header tools ---- */
.header__tools {
  display: flex; align-items: center; gap: .5rem;
  margin-inline-start: auto;
  flex-shrink: 0;
}
.tool-select {
  appearance: none;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .4rem 1.75rem .4rem .75rem;
  font: inherit; font-weight: 600; font-size: .85rem;
  color: var(--text);
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 50%,
    calc(100% - 9px)  50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
html[dir="rtl"] .tool-select {
  padding: .4rem .75rem .4rem 1.75rem;
  background-position: 14px 50%, 9px 50%;
}
.tool-select--block { width: 100%; padding-block: .65rem; font-size: .95rem; }
.header__login { display: none; }

/* ---------- Pill select (custom dropdown for lang/currency) ---------- */
.pill-select { position: relative; display: inline-flex; }
.pill-select--block { display: flex; width: 100%; }
.pill-select__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .4rem .75rem;
  font: inherit; font-weight: 600; font-size: .85rem;
  color: var(--text);
  cursor: pointer;
  transition: background .12s, border-color .12s, box-shadow .12s;
  white-space: nowrap;
}
.pill-select__btn:hover { background: #fff; border-color: var(--border-2); }
.pill-select__btn[aria-expanded="true"] { background: #fff; border-color: var(--brand-teal); box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.pill-select__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  font-size: .9rem; font-weight: 800;
  color: var(--brand-teal-2);
}
.pill-select__icon svg { width: 18px; height: 18px; border-radius: 3px; display: block; }
.pill-select__label { line-height: 1; }
.pill-select__chev {
  width: 10px; height: 10px; margin-inline-start: .1rem;
  transition: transform .15s;
}
.pill-select__btn[aria-expanded="true"] .pill-select__chev { transform: rotate(180deg); }

.pill-select--block .pill-select__btn {
  width: 100%; justify-content: space-between;
  border-radius: 10px;
  padding: .65rem 1rem;
  font-size: .95rem;
}

.pill-select__list {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .35rem;
  list-style: none;
  margin: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s linear;
  max-height: 60vh;
  overflow-y: auto;
}
.pill-select--block .pill-select__list { inset-inline-end: auto; inset-inline-start: 0; right: auto; left: 0; min-width: 100%; }
.pill-select__list[data-open="true"] {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.pill-select__option {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  user-select: none;
  min-height: 36px;
}
.pill-select__option:hover,
.pill-select__option[data-active="true"] { background: var(--bg-soft); }
.pill-select__option[aria-selected="true"] {
  background: rgba(20,184,166,.1);
  color: var(--brand-teal-2);
  font-weight: 700;
}
.pill-select__option[aria-selected="true"]::after {
  content: "";
  margin-inline-start: auto;
  width: 1rem; height: 1rem;
  background: var(--brand-teal-2);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.pill-select__flag { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: 10px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .08s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand-teal); color: #fff; }
.btn--primary:hover { background: var(--brand-teal-2); box-shadow: var(--shadow); }
.btn--secondary { background: var(--brand-navy); color: #fff; }
.btn--secondary:hover { background: var(--brand-navy-2); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--brand-navy); border-color: var(--border-2); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--brand-navy); }
.btn--light:hover { background: var(--bg-soft); }
.btn--sm { padding: .45rem .9rem; font-size: .85rem; }
.btn--lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }

.header__mobile-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: transparent; border: 1px solid var(--border);
  color: var(--brand-navy);
  flex-shrink: 0;
}
.header__mobile-toggle:hover { background: var(--bg-soft); }
.header__mobile-toggle svg { width: 22px; height: 22px; }
.header__mobile-toggle .icon-close { display: none; }
.header__mobile-toggle[aria-expanded="true"] .icon-open { display: none; }
.header__mobile-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---- Mobile drawer ---- */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(11,27,58,.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 60;
}
.drawer-backdrop[data-open="true"] { opacity: 1; }

.drawer {
  position: fixed; top: 0; bottom: 0;
  inset-inline-start: 0;
  width: min(420px, 92vw);
  background: var(--bg);
  box-shadow: 24px 0 48px -16px rgba(11,27,58,.24);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
  z-index: 70;
  visibility: hidden;
}
html[dir="rtl"] .drawer { transform: translateX(100%); }
.drawer[aria-hidden="false"] { transform: translateX(0); visibility: visible; }
html[dir="rtl"] .drawer[aria-hidden="false"] { transform: translateX(0); }

.drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer__title { margin: 0; font-size: 1.1rem; color: var(--brand-navy); }
.drawer__close {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--brand-navy);
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer__close svg { width: 20px; height: 20px; }
.drawer__close:hover { background: var(--bg-soft); }

.drawer__scroll {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-5);
  -webkit-overflow-scrolling: touch;
}
.drawer__section { margin-bottom: var(--space-5); }
.drawer__section-title {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
  margin: 0 0 .65rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.drawer__section--plain { display: grid; gap: .25rem; }
.drawer__plain-link {
  display: block;
  padding: .9rem .75rem;
  font-weight: 600;
  color: var(--brand-navy);
  border-radius: 10px;
  text-decoration: none;
  min-height: 44px;
}
.drawer__plain-link:hover { background: var(--bg-soft); text-decoration: none; }
.drawer__plain-link[aria-current="page"] { color: var(--brand-teal-2); background: rgba(20,184,166,.08); }

.drawer__section--tools .drawer__tools-row {
  display: grid; gap: .5rem; grid-template-columns: 1fr 1fr;
}

.drawer__footer {
  display: grid; gap: .5rem;
  padding: var(--space-4) var(--space-5);
  padding-bottom: max(var(--space-4), env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}

/* Mega-link variant inside drawer, bigger touch target, no hover scale */
.mega-link--drawer { padding: .8rem .65rem; min-height: 56px; }
.mega-link--drawer:hover .mega-link__icon { transform: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(20,184,166,.12) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(30,47,92,.08) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
  padding-block: var(--space-9) var(--space-8);
}
.hero__grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: 1fr;
  align-items: center;
}
.hero__title { margin-bottom: 1rem; }
.hero__subtitle { font-size: 1.125rem; max-width: 56ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: var(--space-5); }
.hero__bullets { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: grid; gap: .5rem; }
.hero__bullets li {
  display: flex; align-items: flex-start; gap: .65rem;
  color: var(--text); font-weight: 500;
  line-height: 1.5;
}
.hero__bullets li::before {
  content: "";
  flex: 0 0 1rem;
  width: 1rem; height: 1rem;
  margin-top: .25rem;
  background: var(--brand-teal);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.hero__art {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__art::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 40% at 20% 30%, rgba(20,184,166,.25), transparent 60%),
    radial-gradient(35% 35% at 80% 70%, rgba(245,158,11,.18), transparent 60%);
}
.hero__art svg { position: absolute; inset: 10% 8%; width: 84%; height: 80%; }

.page-hero {
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(20,184,166,.10) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-soft) 100%);
  padding-block: var(--space-8) var(--space-7);
  text-align: center;
}
.page-hero h1 { max-width: 22ch; margin-inline: auto; }
.page-hero p { max-width: 60ch; margin-inline: auto; font-size: 1.1rem; }

/* ---------- Service tiles (home) ---------- */
.service-tile {
  display: flex; flex-direction: column; gap: .5rem;
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  color: var(--text);
  text-decoration: none !important;
}
.service-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-teal); }
.service-tile__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(20,184,166,.12); color: var(--brand-teal-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.service-tile__icon svg { width: 22px; height: 22px; }
.service-tile h3 { color: var(--brand-navy); margin: .25rem 0 0; }
.service-tile p { margin: 0; font-size: .95rem; }
.service-tile__link {
  margin-top: auto;
  color: var(--brand-teal-2); font-weight: 600; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .25rem;
}

/* ---------- Pricing cards ---------- */
.pricing-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}
.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.plan-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.plan-card--highlight {
  border: 2px solid var(--brand-teal);
  box-shadow: 0 18px 36px rgba(20,184,166,.16);
}
.plan-card__badge {
  position: absolute; top: -12px;
  inset-inline-start: 50%; transform: translateX(-50%);
  background: var(--brand-amber); color: #1A1300;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  padding: .25rem .65rem; border-radius: 999px;
  text-transform: uppercase;
}
html[dir="rtl"] .plan-card__badge { transform: translateX(50%); }
.plan-card__name { font-size: 1.1rem; color: var(--brand-navy); font-weight: 700; margin: 0; }
.plan-card__tagline { font-size: .9rem; color: var(--text-muted); margin: .35rem 0 var(--space-5); min-height: 2.6em; }
.plan-card__price {
  display: flex; align-items: baseline; gap: .25rem;
  margin-bottom: .35rem;
}
.plan-card__currency { color: var(--text-muted); font-size: 1.2rem; font-weight: 700; }
.plan-card__amount {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800; color: var(--brand-navy);
  line-height: 1;
}
.plan-card__cycle { color: var(--text-muted); font-size: .95rem; }
.plan-card__features {
  list-style: none; padding: 0; margin: var(--space-5) 0;
  display: grid; gap: .55rem;
  flex-grow: 1;
}
.plan-card__features li {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .95rem; color: var(--text);
  line-height: 1.45;
}
.plan-card__features li::before {
  content: "";
  flex: 0 0 1rem;
  width: 1rem; height: 1rem;
  margin-top: .2rem;
  background: var(--brand-teal);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.plan-card .btn { margin-top: auto; }
.plan-card__note { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: .5rem; }

.pricing-note { text-align: center; font-size: .85rem; color: var(--text-muted); margin-top: var(--space-5); }

/* ---------- Why-us / feature grid ---------- */
.feature-card {
  padding: var(--space-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.feature-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(11,27,58,.06); color: var(--brand-navy);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-3);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { font-size: .95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.testimonial-card blockquote {
  margin: 0; font-size: 1.05rem; color: var(--text);
  line-height: 1.55;
}
.testimonial-card cite {
  font-style: normal; color: var(--text-muted); font-size: .9rem;
}
.testimonial-card cite strong { color: var(--brand-navy); display: block; }
.stars { color: var(--brand-amber); letter-spacing: 2px; font-size: 1.05rem; }

/* ---------- Included list ---------- */
.included-list {
  list-style: none; padding: 0; margin: var(--space-5) 0 0;
  display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 500; font-size: .95rem;
  line-height: 1.5;
}
.included-list li::before {
  content: "";
  flex: 0 0 1.15rem;
  width: 1.15rem; height: 1.15rem;
  margin-top: .18rem;
  background: var(--brand-teal);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* ---------- Domain search ---------- */
.domain-search {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
  display: flex; gap: .5rem;
  max-width: 640px; margin: var(--space-5) auto 0;
}
.domain-search input {
  flex: 1; min-width: 0;
  font: inherit;
  padding: .85rem 1rem;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
}
.domain-search input:focus { background: #fff; border-color: var(--brand-teal); outline: none; }

.table-scroll {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
}
.table-scroll .tld-table { border: 0; border-radius: 0; min-width: 560px; }

.tld-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .95rem;
}
.tld-table th, .tld-table td {
  padding: .9rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--border);
}
.tld-table th { font-weight: 700; color: var(--brand-navy); background: var(--bg-soft); }
.tld-table tr:last-child td { border-bottom: 0; }
.tld-table .tld-name { font-weight: 700; color: var(--brand-navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; }
.contact-form { display: grid; gap: var(--space-4); }
.contact-form label {
  display: block; font-weight: 600; color: var(--brand-navy); margin-bottom: .35rem;
  font-size: .9rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  padding: .8rem 1rem;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--brand-teal); outline: none; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-message { margin-top: 1rem; padding: .85rem 1rem; border-radius: 10px; display: none; }
.form-message.is-success { display: block; background: rgba(20,184,166,.1); color: var(--brand-teal-2); border: 1px solid rgba(20,184,166,.25); }
.form-message.is-error   { display: block; background: rgba(220,38,38,.08); color: #991B1B; border: 1px solid rgba(220,38,38,.2); }
.contact-info { display: grid; gap: var(--space-5); }
.contact-info dt { color: var(--text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-info dd { margin: 0; font-weight: 600; color: var(--brand-navy); font-size: 1.05rem; }
.contact-info dd a { color: var(--brand-navy); }

/* ---------- KPI band ---------- */
.kpi-band {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}
.kpi {
  text-align: center;
  padding: var(--space-4) var(--space-3);
  position: relative;
}
.kpi + .kpi { position: relative; }
.kpi__stat {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--brand-teal);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: .5rem;
}
.section--navy .kpi__stat { color: var(--brand-teal); }
.kpi__label {
  font-size: .95rem;
  color: rgba(248,250,252,.85);
  font-weight: 500;
}
.section--soft .kpi__label,
.section:not(.section--navy) .kpi__label { color: var(--text-muted); }

/* ---------- Numbered step cards (How it works, Timeline) ---------- */
.step-card .feature-card__icon,
.feature-card--numbered .feature-card__icon {
  background: linear-gradient(135deg, rgba(20,184,166,.16), rgba(20,184,166,.06));
  color: var(--brand-navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
}

.timeline-card {
  display: grid; gap: .35rem;
  padding: var(--space-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.timeline-card__year {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-teal-2);
}
.timeline-card__label {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 1.05rem;
}
.timeline-card__body {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: .75rem; max-width: 800px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--brand-teal); box-shadow: 0 4px 12px rgba(11,27,58,.05); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 700; color: var(--brand-navy); font-size: 1rem;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0;
  width: .65rem; height: .65rem;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
  margin-top: -2px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.faq-item__body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
}
.faq-item__body p { margin: 0 0 .75rem; color: var(--text-muted); }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ---------- Partner / logos strip ---------- */
.partner-strip {
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
  opacity: .65;
  filter: grayscale(1);
}
.partner-strip__item {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-muted);
  border: 1px dashed var(--border-2);
  border-radius: 8px;
  padding: .75rem;
}

/* ---------- Tech specs (S6) ---------- */
.spec-grid {
  display: grid; gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.spec-item {
  display: grid; gap: .15rem;
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.spec-item dt {
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700;
}
.spec-item dd {
  margin: 0; font-weight: 700; color: var(--brand-navy); font-size: 1rem;
}

/* ---------- Two-column band (migration etc) ---------- */
.two-col {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1.1fr 1fr; }
}
.two-col__copy h2 { margin-bottom: 1rem; }

/* ---------- Comparison table (reuses .tld-table inside .table-scroll) ---------- */
.compare-table { min-width: 720px; }
.compare-table th, .compare-table td { vertical-align: top; }
.compare-table .yes { color: var(--brand-teal-2); font-weight: 700; }
.compare-table .no  { color: var(--text-muted); }
.compare-table tbody tr td:first-child { font-weight: 700; color: var(--brand-navy); }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-2) 100%);
  color: var(--text-invert);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(248,250,252,.85); max-width: 56ch; margin-inline: auto; }
.final-cta .btn-row { display: inline-flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: var(--space-5); }

/* ---------- Footer ---------- */
.footer {
  background: var(--brand-navy);
  color: var(--text-invert);
  padding-block: var(--space-8) var(--space-5);
}
.footer a { color: rgba(248,250,252,.8); }
.footer a:hover { color: var(--brand-teal); text-decoration: none; }
.footer__grid {
  display: grid; gap: var(--space-6);
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.footer__brand p { color: rgba(248,250,252,.7); margin-top: .75rem; max-width: 32ch; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer__col li a { font-size: .95rem; }
.footer__bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(248,250,252,.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4);
  align-items: center;
  font-size: .85rem;
  color: rgba(248,250,252,.65);
}
.footer__social { display: inline-flex; gap: .5rem; }
.footer__social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(248,250,252,.2);
  border-radius: 50%;
}
.footer__social a:hover { background: rgba(20,184,166,.18); border-color: var(--brand-teal); }
.footer__social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  background: #25D366;
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,.4);
  z-index: 40;
  transition: transform .15s;
}
.whatsapp-fab:hover { transform: scale(1.06); text-decoration: none; }
.whatsapp-fab svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Legal pages ---------- */
.legal-prose { max-width: 760px; margin-inline: auto; }
.legal-prose h2 { margin-top: var(--space-7); }
.legal-prose h3 { margin-top: var(--space-5); }
.legal-prose p, .legal-prose li { color: var(--text); }

/* ---------- Skeleton / loading states ---------- */
.skeleton {
  background: linear-gradient(90deg, #EEF2F7 0%, #F8FAFC 50%, #EEF2F7 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: 6px;
  color: transparent !important;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 1.1fr 1fr; }
  .contact-grid { grid-template-columns: 1.3fr 1fr; }
}
@media (min-width: 960px) {
  .header__nav { display: inline-flex; }
  .header__mobile-toggle { display: none; }
  .header__logo img { height: 40px; }
  .header__login { display: inline-flex; }
  .tool-select--desktop { display: inline-block; }
}
@media (max-width: 959px) {
  .tool-select--desktop { display: none; }
  .header__inner { gap: var(--space-3); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .domain-search { flex-direction: column; }
  .hero { padding-block: var(--space-7); }
  .section { padding-block: var(--space-6); }
  .final-cta { padding: var(--space-6) var(--space-4); }
  .page-hero { padding-block: var(--space-7) var(--space-6); }
  .container { padding-inline: 1rem; }
  .plan-card { padding: var(--space-5) var(--space-4); }
}
@media (max-width: 420px) {
  .hero { padding-block: var(--space-6); }
  .section { padding-block: var(--space-5); }
  .hero__title { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .btn--lg { padding: .8rem 1.2rem; font-size: .95rem; }
  .plan-card__amount { font-size: 2.1rem; }
  .header__tools { gap: .35rem; }
}

/* When drawer is open, lock body scroll and dim WhatsApp FAB */
body.drawer-open { overflow: hidden; touch-action: none; }
body.drawer-open .whatsapp-fab { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .header, .footer, .whatsapp-fab, .header__mobile-toggle, .mobile-nav { display: none !important; }
  body { color: #000; background: #fff; }
}
