:root {
  --primary: #2440D9;
  --primary-2: #4F6BFF;
  --primary-dark: #1A2EA0;
  --accent: #FFB547;
  --accent-2: #FF6B6B;
  --emerald: #00C9A7;
  --ink: #0A1233;
  --ink-2: #1B2654;
  --muted: #5B6580;
  --muted-2: #8893AE;
  --line: #E4E9F5;
  --line-2: #EDF1FA;
  --surface: #FFFFFF;
  --surface-soft: #F5F7FF;
  --bg: #F9FAFE;
  --ok: #0F8A5F;
  --error: #B42318;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --shadow-sm: 0 6px 18px rgba(15, 23, 65, 0.06);
  --shadow-md: 0 18px 44px rgba(15, 23, 65, 0.10);
  --shadow-lg: 0 30px 80px rgba(15, 23, 65, 0.16);
  --grad-primary: linear-gradient(135deg, #2440D9 0%, #4F6BFF 50%, #00C9A7 100%);
  --grad-warm: linear-gradient(135deg, #FFB547 0%, #FF6B6B 100%);
  --grad-mesh:
    radial-gradient(at 12% 18%, rgba(79, 107, 255, 0.22) 0, transparent 42%),
    radial-gradient(at 88% 6%, rgba(0, 201, 167, 0.18) 0, transparent 38%),
    radial-gradient(at 76% 92%, rgba(255, 181, 71, 0.14) 0, transparent 40%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(228, 233, 245, 0.7);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 65, 0.08);
  background: rgba(255, 255, 255, 0.94);
}
.header-inner {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--grad-primary);
  color: #fff; font-size: 18px; font-weight: 900;
  box-shadow: 0 10px 24px rgba(36, 64, 217, 0.36);
}
.brand-text { font-size: 20px; font-weight: 900; color: var(--ink); letter-spacing: -0.2px; }

.main-nav { display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--ink-2); font-weight: 700; font-size: 14.5px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); background: rgba(79, 107, 255, 0.12); }

.burger {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  padding: 0; place-items: center;
}
.burger span {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger span + span { margin-top: 5px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s, border-color .2s;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.header-cta, .btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(36, 64, 217, 0.34);
}
.header-cta:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(36, 64, 217, 0.44);
}
.btn-secondary {
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--primary); color: var(--primary); transform: translateY(-2px);
}
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 16px; }

main { min-height: calc(100vh - 200px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 0 110px;
  background: var(--surface);
}
.hero::before {
  content: "";
  position: absolute; inset: -120px -10% -120px -10%;
  background: var(--grad-mesh);
  filter: blur(20px);
  z-index: 0; pointer-events: none;
}
.hero .blob {
  position: absolute; border-radius: 50%;
  filter: blur(50px); opacity: .55;
  animation: blob 14s ease-in-out infinite;
  z-index: 0; pointer-events: none;
}
.hero .blob-1 { width: 380px; height: 380px; background: #4F6BFF; top: -120px; inset-inline-end: -120px; }
.hero .blob-2 { width: 320px; height: 320px; background: #00C9A7; bottom: -100px; inset-inline-start: -80px; animation-delay: -4s; }
.hero .blob-3 { width: 260px; height: 260px; background: #FFB547; top: 40%; inset-inline-start: 50%; animation-delay: -7s; opacity: .35; }
@keyframes blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 20px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(36, 64, 217, 0.08);
  color: var(--primary-dark);
  font-size: 13px; font-weight: 800;
  border: 1px solid rgba(36, 64, 217, 0.16);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(0, 201, 167, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 201, 167, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(0, 201, 167, 0.06); }
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Cairo", sans-serif; font-weight: 900;
  letter-spacing: -0.3px; color: var(--ink);
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.15;
}
.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 7s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-lede {
  margin: 24px 0 0; color: var(--muted);
  font-size: 17.5px; line-height: 1.9; max-width: 600px;
}
.hero-actions {
  margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px;
}
.hero-trust {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 14px;
}
.hero-trust .stars { color: #FFB547; letter-spacing: 2px; font-size: 17px; }
.hero-trust strong { color: var(--ink); font-weight: 800; }

/* Phone mockup */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative;
  width: 100%; max-width: 340px;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: linear-gradient(160deg, #0A1233, #1B2654);
  padding: 14px;
  box-shadow: 0 50px 100px rgba(15, 23, 65, 0.32), 0 0 0 6px rgba(255, 255, 255, 0.65);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #F5F7FF 0%, #E9EEFF 100%);
  position: relative; overflow: hidden;
  padding: 22px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 20px; background: #0A1233; border-radius: 999px;
}
.phone-bar {
  margin-top: 16px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 10px 12px; border-radius: 14px;
  box-shadow: var(--shadow-sm);
}
.phone-bar .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-primary); }
.phone-bar .title { font-size: 13px; font-weight: 900; }
.phone-bar .sub { font-size: 10.5px; color: var(--muted); }

.phone-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone-card {
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: var(--shadow-sm);
}
.phone-card .k { font-size: 10.5px; color: var(--muted); font-weight: 700; }
.phone-card .v { font-size: 18px; font-weight: 900; color: var(--ink); margin-top: 4px; }
.phone-card .delta { font-size: 10.5px; color: var(--emerald); font-weight: 800; margin-top: 2px; }

.phone-chart {
  flex: 1; background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: flex-end; gap: 6px;
}
.phone-chart .b {
  flex: 1; background: var(--grad-primary); border-radius: 6px;
  transform-origin: bottom;
  animation: barRise 1.2s cubic-bezier(.2, .8, .2, 1) both;
}
.phone-chart .b:nth-child(1) { height: 38%; animation-delay: .05s; }
.phone-chart .b:nth-child(2) { height: 62%; animation-delay: .15s; }
.phone-chart .b:nth-child(3) { height: 48%; animation-delay: .25s; }
.phone-chart .b:nth-child(4) { height: 80%; animation-delay: .35s; }
.phone-chart .b:nth-child(5) { height: 56%; animation-delay: .45s; }
.phone-chart .b:nth-child(6) { height: 92%; animation-delay: .55s; }
.phone-chart .b:nth-child(7) { height: 70%; animation-delay: .65s; }
@keyframes barRise {
  from { transform: scaleY(0); opacity: .3; }
  to { transform: scaleY(1); opacity: 1; }
}

.phone-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-radius: 12px; padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px; font-weight: 700;
}
.phone-row .pill {
  background: rgba(0, 201, 167, 0.14); color: #0a8a73; font-weight: 800;
  padding: 4px 10px; border-radius: 999px; font-size: 11px;
}

.float-card {
  position: absolute;
  background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800;
  animation: floatY 5.5s ease-in-out infinite;
  z-index: 2;
}
.float-card .ic {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff;
}
.float-card.fc-1 { top: 14%; inset-inline-end: -10px; animation-delay: -1s; }
.float-card.fc-1 .ic { background: var(--grad-primary); }
.float-card.fc-2 { bottom: 16%; inset-inline-start: -20px; animation-delay: -3s; }
.float-card.fc-2 .ic { background: linear-gradient(135deg, #00C9A7, #2440D9); }
.float-card .lbl { font-size: 11px; color: var(--muted); font-weight: 700; }
.float-card .val { font-size: 14px; color: var(--ink); font-weight: 900; }

/* ---------- Marquee ---------- */
.marquee-section {
  padding: 32px 0; border-block: 1px solid var(--line); background: #fff;
}
.marquee-label {
  text-align: center; color: var(--muted);
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.marquee {
  display: flex; gap: 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; gap: 60px; padding-inline-end: 60px;
  animation: scroll 28s linear infinite;
  flex-shrink: 0;
}
.marquee-track span {
  font-family: "Cairo", sans-serif; font-weight: 900;
  color: var(--muted-2); font-size: 22px;
  white-space: nowrap; opacity: .65;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section.tinted { background: var(--surface-soft); }
.section-head { margin-bottom: 60px; text-align: center; }
.section-head .eyebrow { margin-inline: auto; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.2;
}
.section-head p {
  margin: 18px auto 0; color: var(--muted);
  max-width: 720px; line-height: 1.9; font-size: 16.5px;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .25s;
}
.feature-card::before {
  content: "";
  position: absolute; inset: auto -40px -40px auto;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 107, 255, 0.12), transparent 70%);
  opacity: 0; transition: opacity .4s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(36, 64, 217, 0.22);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 14px 26px rgba(36, 64, 217, 0.32);
}
.feature-card.alt .feature-icon { background: linear-gradient(135deg, #00C9A7, #2440D9); box-shadow: 0 14px 26px rgba(0, 201, 167, 0.32); }
.feature-card.warm .feature-icon { background: var(--grad-warm); box-shadow: 0 14px 26px rgba(255, 107, 107, 0.30); }
.feature-card h3 { margin-top: 22px; font-size: 21px; }
.feature-card p { margin-top: 10px; color: var(--muted); line-height: 1.9; font-size: 15px; }

/* ---------- Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px 26px; position: relative;
}
.step-num {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: "Cairo"; font-weight: 900; font-size: 24px; color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 14px 26px rgba(36, 64, 217, 0.30);
}
.step h3 { margin-top: 20px; font-size: 21px; }
.step p { margin-top: 10px; color: var(--muted); line-height: 1.9; font-size: 15px; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat { padding: 40px 24px; text-align: center; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: none; }
.stat .num {
  font-family: "Cairo"; font-weight: 900;
  font-size: clamp(34px, 4.4vw, 54px);
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1;
}
.stat .lbl { margin-top: 8px; color: var(--muted); font-weight: 700; font-size: 14.5px; }

/* ---------- Showcase ---------- */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.showcase .copy h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.22; }
.showcase .copy p { margin-top: 16px; color: var(--muted); font-size: 16.5px; line-height: 1.9; }
.showcase .copy ul {
  margin-top: 22px; padding: 0; list-style: none;
}
.showcase .copy li {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 0;
  color: var(--ink-2); line-height: 1.7; font-size: 15.5px;
}
.showcase .copy li::before {
  content: ""; flex: 0 0 24px; height: 24px;
  background: var(--grad-primary); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/15px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/15px no-repeat;
  margin-top: 3px;
}
.showcase-visual {
  background: var(--grad-primary);
  border-radius: var(--radius-lg);
  padding: 40px; color: #fff;
  position: relative; overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-lg);
}
.showcase-visual::before, .showcase-visual::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(30px);
}
.showcase-visual::before { width: 300px; height: 300px; background: rgba(255, 255, 255, 0.2); top: -90px; inset-inline-end: -90px; }
.showcase-visual::after { width: 240px; height: 240px; background: rgba(255, 181, 71, 0.4); bottom: -90px; inset-inline-start: -90px; }
.tile {
  position: relative; z-index: 1;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px; padding: 18px; margin-bottom: 14px;
}
.tile h4 { color: #fff; font-size: 16px; }
.tile p { color: rgba(255, 255, 255, 0.88); font-size: 13.5px; margin-top: 6px; line-height: 1.75; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px; align-items: stretch;
}
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 36px 30px; position: relative;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.recommended {
  background: linear-gradient(#fff, #fff) padding-box,
              var(--grad-primary) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.recommended:hover { transform: scale(1.03) translateY(-4px); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-size: 12px; padding: 8px 18px; border-radius: 999px;
  background: var(--grad-primary); color: #fff;
  font-weight: 800; letter-spacing: 0.4px;
  box-shadow: 0 12px 24px rgba(36, 64, 217, 0.36);
  white-space: nowrap;
}
.price-card h3 { font-size: 22px; }
.price-tag {
  margin-top: 16px;
  font-family: "Cairo"; font-weight: 900;
  font-size: 48px; line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-tag small { font-size: 15px; color: var(--muted); font-weight: 700; -webkit-text-fill-color: var(--muted); margin-inline-start: 6px; }
.price-desc { margin-top: 10px; color: var(--muted); font-size: 14.5px; }
.price-card ul {
  margin: 24px 0; padding: 0; list-style: none; flex: 1;
}
.price-card li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.7;
}
.price-card li::before {
  content: "✓"; flex: 0 0 24px; height: 24px;
  display: grid; place-items: center;
  background: rgba(36, 64, 217, 0.10); color: var(--primary);
  border-radius: 999px; font-weight: 900; font-size: 13px;
  margin-top: 2px;
}
.price-card.recommended li::before { background: var(--grad-primary); color: #fff; }
.price-cta { display: block; text-align: center; width: 100%; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 4px 24px;
  transition: box-shadow .25s, border-color .25s;
}
.faq details[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 0;
  font-weight: 800; font-size: 17px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(36, 64, 217, 0.10); color: var(--primary);
  border-radius: 50%; font-size: 22px; font-weight: 900;
  transition: transform .25s, background .25s, color .2s;
  flex: 0 0 32px;
}
.faq details[open] summary::after { content: "−"; background: var(--grad-primary); color: #fff; transform: rotate(180deg); }
.faq .answer { padding: 0 0 20px; color: var(--muted); line-height: 1.9; font-size: 15.5px; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px 28px; position: relative;
  transition: transform .3s, box-shadow .3s;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial::before {
  content: "\201D";
  position: absolute; top: 18px; inset-inline-end: 24px;
  font-size: 72px; line-height: 1;
  color: rgba(36, 64, 217, 0.14); font-family: "Cairo";
}
.testimonial .stars { color: #FFB547; letter-spacing: 2px; font-size: 16px; }
.testimonial p { margin-top: 14px; color: var(--ink-2); line-height: 1.9; font-size: 15.5px; }
.testimonial .who { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.testimonial .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 17px;
}
.testimonial .name { font-weight: 800; font-size: 15px; }
.testimonial .role { font-size: 13px; color: var(--muted); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 70px 40px; text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before, .cta-banner::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(50px);
}
.cta-banner::before { width: 400px; height: 400px; background: rgba(255, 255, 255, 0.22); top: -180px; inset-inline-end: -180px; }
.cta-banner::after { width: 340px; height: 340px; background: rgba(255, 181, 71, 0.36); bottom: -170px; inset-inline-start: -130px; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  color: #fff; font-size: clamp(28px, 4vw, 46px); line-height: 1.2;
}
.cta-banner p {
  margin: 18px auto 0; max-width: 640px;
  color: rgba(255, 255, 255, 0.94); font-size: 17.5px; line-height: 1.9;
}
.cta-actions { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-banner .btn-primary {
  background: #fff; color: var(--primary-dark);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}
.cta-banner .btn-primary:hover { background: #fff; color: var(--primary); }
.cta-banner .btn-secondary {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4);
}
.cta-banner .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

/* ---------- Sub-page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 80px 0 70px;
  background: var(--surface);
  text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-mesh); filter: blur(20px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.18;
}
.page-hero p {
  margin: 20px auto 0; color: var(--muted);
  max-width: 720px; font-size: 17px; line-height: 1.9;
}

/* ---------- Legal ---------- */
.legal-wrap { padding: 60px 0 80px; }
.legal-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px; box-shadow: var(--shadow-sm);
  max-width: 900px; margin-inline: auto;
}
.legal-card > h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 38px); }
.legal-card > p { margin: 18px 0 0; color: var(--muted); line-height: 1.9; }
.legal-stack { display: grid; gap: 14px; margin-top: 30px; }
.legal-stack article {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--surface-soft);
}
.legal-stack h3 { font-size: 18px; color: var(--ink); }
.legal-stack p { margin: 10px 0 0; color: var(--muted); line-height: 1.9; }
.legal-stack a { color: var(--primary); font-weight: 800; }

/* ---------- Form ---------- */
.form-shell {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px;
  margin-top: 28px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-shell label { display: block; }
.form-shell label span {
  display: block; margin-bottom: 8px;
  font-size: 13.5px; color: var(--ink-2); font-weight: 800;
}
.form-shell input, .form-shell select, .form-shell textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 50px; padding: 12px 16px;
  font: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-shell input:focus, .form-shell select:focus, .form-shell textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(36, 64, 217, 0.14);
}
.form-shell textarea { min-height: 130px; resize: vertical; margin-top: 16px; }
.consent { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.consent input { width: 22px; min-height: 22px; margin-top: 2px; accent-color: var(--primary); flex: 0 0 22px; }
.form-actions { margin-top: 22px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 14px; font-weight: 700; }
.form-status.success { color: var(--ok); }
.form-status.error { color: var(--error); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 80px;
  background: linear-gradient(180deg, #0A1233 0%, #060B22 100%);
  color: #C7D1EE; position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute;
  width: 540px; height: 540px; border-radius: 50%;
  background: rgba(79, 107, 255, 0.18); filter: blur(90px);
  top: -220px; inset-inline-end: -220px;
}
.footer-inner {
  position: relative; z-index: 1;
  padding: 64px 0 30px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
.footer-brand .brand-text { color: #fff; }
.footer-brand p { margin: 16px 0 0; color: #8E9DCC; line-height: 1.9; font-size: 14.5px; max-width: 340px; }
.footer-socials { margin-top: 20px; display: flex; gap: 10px; }
.footer-socials a {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); color: #fff;
  transition: background .2s, transform .2s;
}
.footer-socials a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col a {
  display: block; padding: 7px 0; color: #A6B2D8;
  font-size: 14.5px; transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  color: #8E9DCC; font-size: 13.5px; flex-wrap: wrap; gap: 12px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid, .testimonials, .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card.recommended { transform: none; }
  .price-card.recommended:hover { transform: translateY(-4px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .showcase, .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero { padding: 70px 0 80px; }
  .section { padding: 70px 0; }
}

@media (max-width: 720px) {
  .burger { display: grid; }
  .main-nav {
    order: 3; width: 100%;
    flex-direction: column; gap: 4px;
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.is-open { max-height: 360px; margin-top: 14px; padding-bottom: 12px; }
  .main-nav a { width: 100%; text-align: start; }
  .header-cta { display: none; }
  .hero { padding: 50px 0 60px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .feature-grid, .testimonials, .steps, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-inline-end: none; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 50px 22px; }
  .legal-card { padding: 26px; }
  .float-card { display: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
