:root {
  color-scheme: light;
  --brand: #f56400;
  --brand-light: #ff8c42;
  --brand-deep: #c2410c;
  --brand-soft: #fff7ed;
  --brand-glow: rgba(245, 100, 0, 0.22);
  --gradient: linear-gradient(135deg, #7c2d12 0%, #c2410c 38%, #ea580c 62%, #f56400 100%);
  --gradient-shine: linear-gradient(135deg, rgba(255,255,255,.25), transparent 50%);
  --page-bg: #fafbfc;
  --ink: #0f172a;
  --ink-muted: #475569;
  --ink-soft: #64748b;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --card-inner: #ffffff;
  --border: #e2e8f0;
  --border-soft: rgba(226, 232, 240, 0.9);
  --header-bg: rgba(255, 255, 255, 0.78);
  --mesh-1: rgba(245, 100, 0, 0.13);
  --mesh-2: rgba(234, 88, 12, 0.07);
  --mesh-3: rgba(245, 100, 0, 0.06);
  --dot-opacity: 0.35;
  --success: #059669;
  --success-soft: rgba(16, 185, 129, 0.12);
  --wa: #25d366;
  --wa-deep: #128c7e;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.1);
  --shadow-brand: 0 20px 60px rgba(245, 100, 0, 0.24);
  --max: 1180px;
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 70% at 50% -20%, var(--mesh-1), transparent 62%),
    radial-gradient(ellipse 55% 45% at 100% 0%, var(--mesh-2), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, var(--mesh-3), transparent 50%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--dot-opacity);
  background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.icon-xl {
  width: 28px;
  height: 28px;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brand-soft), var(--card-inner));
  border: 1px solid rgba(245, 100, 0, 0.18);
  box-shadow: 0 8px 24px var(--brand-glow);
  color: var(--brand-light);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.pro-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 2.4rem;
  height: 1.35rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(245, 100, 0, 0.22);
}

.feature-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

.feature-item-head h4 {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.feature-item--pro {
  background: linear-gradient(180deg, #fffaf5 0%, var(--surface-2) 100%);
  border-color: rgba(245, 100, 0, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(1.4);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-soft);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand img.logo { height: 34px; width: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: rgba(245, 100, 0, 0.35);
  box-shadow: var(--shadow-sm);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle-bar + .nav-toggle-bar { margin-top: 5px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav button.btn {
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.nav a {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] { color: var(--ink); }

.nav a:not(.btn)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

a.btn-primary,
button.btn-primary,
.btn.btn-primary,
.nav a.btn.btn-primary {
  color: #fff;
}

.btn-primary,
.plan-cta.pro {
  color: #fff;
}

.btn-primary:hover,
a.btn-primary:hover,
.nav a.btn.btn-primary:hover {
  color: #fff;
  box-shadow: 0 24px 56px rgba(245, 100, 0, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.22); }

.btn-outline {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: rgba(245, 100, 0, 0.35);
  color: var(--brand-deep);
}

.btn-sm { padding: 0.68rem 1.05rem; font-size: 0.88rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.75rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.16), transparent 40%),
    radial-gradient(circle at 8% 88%, rgba(0, 0, 0, 0.14), transparent 42%),
    var(--gradient-shine);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero-orb--1 {
  width: 220px;
  height: 220px;
  top: 10%;
  right: 8%;
  background: rgba(255, 180, 100, 0.35);
}

.hero-orb--2 {
  width: 160px;
  height: 160px;
  bottom: 12%;
  left: 6%;
  background: rgba(255, 255, 255, 0.12);
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 12px rgba(134, 239, 172, 0.8);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero .lead {
  margin: 0 0 1.85rem;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 28rem;
}

.hero-stat {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.hero-stat strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
}

.stars {
  display: inline-flex;
  gap: 2px;
  margin-bottom: 0.15rem;
}

.stars svg {
  width: 14px;
  height: 14px;
  fill: #fbbf24;
}

.dashboard-mock {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}

.dashboard-mock:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.mock-top img { height: 24px; width: auto; }

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-light);
  background: var(--brand-soft);
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
}

.mock-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.mock-card {
  background: linear-gradient(180deg, var(--card-inner) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.mock-card.wide { grid-column: 1 / -1; }

.mock-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.mock-value {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mock-delta {
  margin-top: 0.25rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--success);
}

.mock-bars {
  display: flex;
  align-items: end;
  gap: 0.35rem;
  height: 68px;
  margin-top: 0.75rem;
}

.mock-bars span {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #ffb066 0%, var(--brand) 100%);
  opacity: 0.9;
}

.mock-bars span:nth-child(1) { height: 42%; }
.mock-bars span:nth-child(2) { height: 58%; }
.mock-bars span:nth-child(3) { height: 48%; }
.mock-bars span:nth-child(4) { height: 72%; }
.mock-bars span:nth-child(5) { height: 65%; }
.mock-bars span:nth-child(6) { height: 88%; }
.mock-bars span:nth-child(7) { height: 76%; }
.mock-bars span:nth-child(8) { height: 94%; }

.trust-strip { padding: 1.5rem 0 0; }

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg { color: var(--brand); }

.section { padding: 5rem 0; }

.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.75rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.06rem;
}

.feature-categories { display: grid; gap: 1.75rem; }

.feature-category {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-category::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0.85;
}

.feature-category:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 100, 0, 0.22);
}

.feature-category-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 1;
}

.feature-category-head h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

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

.feature-item {
  padding: 1.05rem 1.1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--card-inner), var(--surface-2));
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  border-color: rgba(245, 100, 0, 0.28);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px var(--brand-glow);
}

.feature-item h4 {
  margin: 0 0 0.4rem;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}

.feature-item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.2rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.plan-card.highlight {
  border-color: rgba(245, 100, 0, 0.28);
  background: linear-gradient(180deg, var(--surface) 0%, var(--brand-soft) 140%);
}

.plan-card.featured {
  box-shadow: var(--shadow-brand);
  border-color: rgba(245, 100, 0, 0.45);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-tier {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 0.65rem;
  background: var(--surface-3);
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.plan-card.highlight .plan-tier {
  background: var(--brand-soft);
  color: var(--brand-light);
  border-color: rgba(245, 100, 0, 0.22);
}

.plan-tier svg { width: 22px; height: 22px; }

.plan-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-period {
  min-height: 2.35rem;
  margin: 0.2rem 0 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.plan-price {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.plan-price small {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.plan-save {
  min-height: 1.2rem;
  margin-bottom: 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.plan-cta {
  margin-top: auto;
  text-align: center;
  padding: 0.78rem 0.85rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.plan-cta:hover { transform: translateY(-1px); }

.plan-cta.free {
  background: var(--surface-3);
  color: var(--ink-muted);
}

.plan-cta.pro {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 28px rgba(245, 100, 0, 0.24);
}

.morocco-pay {
  margin-top: 2.25rem;
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid #fde3cc;
  background: linear-gradient(180deg, #fffbf5 0%, var(--surface) 100%);
  box-shadow: var(--shadow-sm);
}

.morocco-pay-head {
  text-align: center;
  margin-bottom: 1.1rem;
}

.morocco-pay-flag {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.morocco-pay-head h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.morocco-pay-head p {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.morocco-pay-banks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.morocco-pay-bank {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.morocco-pay-bank:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 100, 0, 0.35);
  box-shadow: 0 8px 20px rgba(245, 100, 0, 0.12);
}

.morocco-pay-bank img {
  display: block;
  max-width: 100%;
  max-height: 2rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.morocco-pay-note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.compare-wrap {
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.compare-hint {
  display: none;
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mobile-install-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 44;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.08);
}

.mobile-install-bar .btn {
  width: 100%;
  min-height: 48px;
  font-size: 0.92rem;
}

.feat-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.feat-table th,
.feat-table td {
  padding: 0.95rem 1.05rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.feat-table th {
  background: var(--surface-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.feat-table th:nth-child(2),
.feat-table th:nth-child(3),
.feat-table td:nth-child(2),
.feat-table td:nth-child(3) {
  width: 110px;
  text-align: center;
}

.feat-table th:nth-child(3) { color: var(--brand); }

.feat-table tr:last-child td { border-bottom: 0; }

.feat-table tbody tr:not(.cat-row):hover td {
  background: rgba(248, 250, 252, 0.85);
}

.cat-row td {
  background: linear-gradient(90deg, var(--brand-soft), transparent 80%);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.status-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
}

.status-icon--yes {
  background: var(--success-soft);
  color: var(--success);
}

.status-icon--no {
  background: rgba(148, 163, 184, 0.14);
  color: #94a3b8;
}

.status-icon svg { width: 16px; height: 16px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.step-card h3 { margin: 0 0 0.45rem; font-size: 1rem; }
.step-card p { margin: 0; color: var(--ink-muted); font-size: 0.9rem; }

.video-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.65rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.video-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-thumb img { width: 100%; height: 100%; object-fit: cover; }

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.32);
}

.play-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.play-circle svg {
  width: 18px;
  height: 18px;
  margin-left: 3px;
  fill: var(--brand);
}

.privacy-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.privacy-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(245, 100, 0, 0.12);
  filter: blur(20px);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.65rem;
  position: relative;
}

.privacy-item {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.privacy-item strong { display: block; margin-bottom: 0.35rem; }
.privacy-item span { color: rgba(255, 255, 255, 0.72); font-size: 0.9rem; }

.cta-band {
  text-align: center;
  padding: 3.25rem 2rem;
  border-radius: var(--radius-xl);
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-shine);
  pointer-events: none;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  position: relative;
}

.cta-band p {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-band .btn { position: relative; }

.cta-band .logo-white {
  margin: 0 auto 1.25rem;
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  position: relative;
}

.page-shell { padding: 3rem 0 4.5rem; }

.page-hero { padding: 2rem 0 1.75rem; }

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
}

.page-hero p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 42rem;
  font-size: 1.06rem;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.content-card h2 { margin: 2rem 0 0.75rem; font-size: 1.18rem; }
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li { color: var(--ink-muted); }
.content-card ul, .content-card ol { padding-left: 1.2rem; }
.content-card a { color: var(--brand-deep); font-weight: 600; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.contact-form-card,
.contact-side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2,
.contact-side-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.form-intro {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.form-success {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--success-soft);
  border: 1px solid rgba(16, 185, 129, 0.22);
  color: #047857;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(245, 100, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(245, 100, 0, 0.12);
  background: var(--card-inner);
}

.form-field textarea { min-height: 140px; resize: vertical; }

.form-note {
  margin-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.contact-side-card p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.contact-meta {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}

.contact-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.contact-meta-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-meta-item span,
.contact-meta-item a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-meta-item a:hover { color: var(--brand-light); }

.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.36);
}

.whatsapp-card img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.whatsapp-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.whatsapp-card span {
  font-size: 0.86rem;
  opacity: 0.92;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.footer-grid h4 { margin: 0 0 0.85rem; font-size: 0.92rem; }
.footer-grid p, .footer-links a { color: var(--ink-muted); font-size: 0.92rem; }
.footer-links { display: grid; gap: 0.5rem; }
.footer-links a:hover { color: var(--brand-deep); }

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.85rem;
}

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

@media (max-width: 900px) {
  .container {
    width: min(var(--max), calc(100% - 1.35rem));
  }

  .header-inner {
    min-height: 64px;
    gap: 0.75rem;
  }

  .brand img.logo { height: 28px; }

  .nav-toggle { display: inline-flex; flex-direction: column; }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    max-height: calc(100dvh - 64px);
    padding: 0.85rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px) saturate(1.3);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--border);
  }

  .nav a:not(.btn):hover,
  .nav a:not(.btn)[aria-current="page"] {
    color: var(--brand-deep);
    border-color: rgba(245, 100, 0, 0.25);
    background: var(--brand-soft);
  }

  .nav a:not(.btn)[aria-current="page"]::after { display: none; }

  .nav a.btn {
    margin-top: 0.35rem;
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
    border: 0;
  }

  .nav a.btn.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow-brand);
  }

  .nav a.btn.btn-primary:hover {
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 24px 56px rgba(245, 100, 0, 0.32);
  }

  .nav button.btn {
    width: 100%;
    margin-top: 0.35rem;
    min-height: 48px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  body.nav-open { overflow: hidden; }

  .mobile-install-bar { display: block; }

  body.has-mobile-bar {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .hero-grid,
  .steps-grid,
  .privacy-grid,
  .footer-grid,
  .video-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 2rem; }

  .hero h1 {
    font-size: clamp(2rem, 8.5vw, 2.75rem);
    line-height: 1.05;
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    max-width: none;
  }

  .hero-stat {
    padding: 0.7rem 0.55rem;
    text-align: center;
  }

  .hero-stat strong { font-size: 1.15rem; }
  .hero-stat span { font-size: 0.72rem; }

  .hero-visual { display: none; }

  .dashboard-mock {
    transform: none;
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .dashboard-mock:hover { transform: none; }

  .mock-top {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .mock-pill { font-size: 0.68rem; }

  .trust-strip { padding-top: 1rem; }

  .trust-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 1rem;
  }

  .trust-item {
    justify-content: flex-start;
    padding: 0.55rem 0.15rem;
    font-size: 0.88rem;
  }

  .section { padding: 3.25rem 0; }

  .section-head {
    margin-bottom: 2rem;
    text-align: left;
  }

  .section-head h2 { font-size: clamp(1.65rem, 6vw, 2.1rem); }

  .section-head p { font-size: 0.98rem; }

  .feature-category { padding: 1.25rem; }

  .feature-category-head {
    align-items: flex-start;
  }

  .feature-category-head h3 { font-size: 1.08rem; }

  .compare-hint { display: block; }

  .compare-wrap {
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px rgba(245, 100, 0, 0.08);
  }

  .feat-table th,
  .feat-table td {
    padding: 0.8rem 0.75rem;
    font-size: 0.88rem;
  }

  .video-card {
    gap: 1rem;
    padding: 1rem;
  }

  .video-card:hover { transform: none; }

  .cta-band {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .cta-band h2 { font-size: clamp(1.45rem, 5.5vw, 1.85rem); }

  .cta-band .btn {
    width: 100%;
    min-height: 48px;
  }

  .privacy-band { padding: 2rem 1.25rem; }

  .contact-form-card,
  .contact-side-card,
  .content-card {
    padding: 1.35rem;
  }

  .contact-layout { gap: 1rem; }

  .whatsapp-card {
    padding: 1rem;
  }

  .page-shell { padding: 2rem 0 3.5rem; }

  .page-hero {
    padding: 1.25rem 0 1.35rem;
  }

  .page-hero h1 { font-size: clamp(1.85rem, 7vw, 2.35rem); }

  .footer-grid { gap: 1.5rem; }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 1.1rem));
  }

  .plans-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.85rem;
    padding: 0.35rem 0.15rem 0.85rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .plans-grid::-webkit-scrollbar { display: none; }

  .morocco-pay-banks {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-card {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: center;
  }

  .plan-card:hover { transform: none; }

  .feature-grid,
  .mock-grid {
    grid-template-columns: 1fr;
  }

  .feature-item:hover {
    transform: none;
    box-shadow: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    text-align: left;
    padding: 0.85rem 1rem;
  }

  .hero-stat strong { font-size: 1.25rem; }

  .hero-stat .stars { margin-bottom: 0; }

  .steps-grid { gap: 0.85rem; }

  .step-card:hover { transform: none; }

  .feat-table {
    min-width: 640px;
  }

  .feat-table th:nth-child(2),
  .feat-table th:nth-child(3),
  .feat-table td:nth-child(2),
  .feat-table td:nth-child(3) {
    width: 88px;
  }

  .status-icon {
    width: 28px;
    height: 28px;
  }

  .btn {
    padding: 0.82rem 1.15rem;
  }
}

@media (max-width: 480px) {
  .eyebrow {
    font-size: 0.72rem;
    padding: 0.4rem 0.75rem;
    margin-bottom: 1rem;
  }

  .hero h1 { font-size: 1.85rem; }

  .mock-grid { gap: 0.65rem; }

  .mock-value { font-size: 1.2rem; }

  .feature-item-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .pro-tag { align-self: flex-start; }

  .plan-price { font-size: 1.55rem; }

  .footer-bottom {
    text-align: center;
  }
}

@media (hover: none) {
  .feature-item:hover,
  .plan-card:hover,
  .step-card:hover,
  .feature-category:hover,
  .video-card:hover,
  .whatsapp-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .hero-orb,
  .eyebrow-dot,
  .nav,
  .nav-backdrop,
  .nav-toggle-bar {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
