/* ====== Tokens ====== */
:root {
  --indigo: #4F46E5;
  --indigo-deep: #3730A3;
  --cyan: #06B6D4;
  --violet: #8B5CF6;
  --slate: #0F172A;
  --slate-2: #1E293B;
  --slate-3: #334155;
  --slate-4: #64748B;
  --slate-5: #94A3B8;
  --mist: #E2E8F0;
  --mist-2: #F1F5F9;
  --white: #F8FAFC;
  --paper: #FFFFFF;

  --grad: linear-gradient(135deg, #3730A3 0%, #4F46E5 45%, #8B5CF6 70%, #06B6D4 100%);
  --grad-soft: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(6,182,212,0.08));
  --grad-text: linear-gradient(120deg, #4F46E5 0%, #8B5CF6 55%, #06B6D4 100%);

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05), 0 1px 1px rgba(15,23,42,0.03);
  --shadow-md: 0 4px 10px -2px rgba(15,23,42,0.08), 0 2px 6px -2px rgba(15,23,42,0.04);
  --shadow-lg: 0 20px 40px -16px rgba(15,23,42,0.18), 0 8px 20px -8px rgba(15,23,42,0.08);
  --shadow-xl: 0 32px 64px -24px rgba(55,48,163,0.30), 0 12px 32px -16px rgba(15,23,42,0.12);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --pad-x: clamp(20px, 5vw, 80px);
  --max: 1240px;
}

/* ====== Reset ====== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--slate);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; font-weight: 700; }
h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.25; font-weight: 700; }
p  { margin: 0; color: var(--slate-3); }

/* ====== Buttons ====== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
  line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 15px 24px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 8px 20px -10px rgba(79,70,229,0.6);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(79,70,229,0.7); }
.btn-primary:disabled { opacity: 0.45; transform: none; cursor: not-allowed; }
.btn-secondary {
  background: white;
  color: var(--slate);
  border-color: var(--mist);
}
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-ghost {
  color: var(--slate-3); border-color: transparent;
}
.btn-ghost:hover { color: var(--indigo); background: rgba(79,70,229,0.05); }

/* ====== Utility ====== */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; color: var(--slate-3);
  box-shadow: var(--shadow-sm);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,0.18); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; padding: 0 var(--pad-x); }
.section-head h2 { margin-bottom: 14px; }
.section-head .section-sub { color: var(--slate-3); font-size: 17px; }
.section-kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--indigo); margin-bottom: 16px;
}
.section-head-light h2, .section-head-light .section-sub { color: white; }
.section-head-light .section-sub { color: rgba(255,255,255,0.75); }
.section-kicker-light { color: var(--cyan); }

/* ====== Announce ====== */
.announce {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px var(--pad-x);
  background: var(--slate);
  color: white;
  font-size: 13px;
  flex-wrap: wrap;
}
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 1.8s ease-in-out infinite; }
.announce strong { font-weight: 600; color: white; }
.announce span:nth-child(2) { color: rgba(255,255,255,0.78); }
.announce a { display: inline-flex; align-items: center; gap: 4px; color: var(--cyan); font-weight: 600; }
.announce a:hover { color: white; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* ====== Language switcher ====== */
.lang-switch {
  display: inline-flex; gap: 0;
  background: var(--mist-2);
  border: 1px solid var(--mist);
  border-radius: var(--r-pill);
  padding: 3px;
  margin-right: 4px;
}
.lang-switch button {
  padding: 6px 10px;
  font-size: 12px; font-weight: 600;
  color: var(--slate-4);
  border-radius: var(--r-pill);
  transition: all .15s ease;
}
.lang-switch button.is-active {
  background: white;
  color: var(--slate);
  box-shadow: var(--shadow-sm);
}

/* ====== RTL adjustments ====== */
[dir="rtl"] body { font-family: 'Inter', 'Cairo', 'Tajawal', system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { font-family: 'Plus Jakarta Sans', 'Cairo', 'Tajawal', sans-serif; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }
[dir="rtl"] .apply-review dd { text-align: left; }
[dir="rtl"] .impact-stat { border-right: 0; border-left: 1px solid rgba(255,255,255,0.12); }
[dir="rtl"] .impact-stat:last-child { border-left: 0; }
[dir="rtl"] .brand-tag { margin-left: 0; margin-right: 4px; }

/* ====== Nav ====== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--mist); background: rgba(248,250,252,0.88); }
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 12px var(--pad-x);
  display: flex; align-items: center; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans'; font-weight: 800; color: var(--slate);
  font-size: 18px; letter-spacing: -0.02em;
}
.brand img { width: 30px; height: 30px; }
.brand-tag {
  font-family: 'Inter'; font-weight: 500; font-size: 11px;
  letter-spacing: 0.04em; color: var(--slate-4);
  padding: 3px 7px; border: 1px solid var(--mist); border-radius: var(--r-pill);
  margin-left: 4px;
}
.nav-links {
  display: flex; gap: 2px;
  margin: 0 auto;
  background: var(--mist-2);
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--mist);
}
.nav-links a {
  position: relative;
  padding: 7px 14px;
  font-size: 13.5px; font-weight: 500; color: var(--slate-3);
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--slate); }
.nav-links a.is-active {
  color: var(--slate);
  background: white;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--slate); border-radius: 2px; }
.nav-mobile {
  display: none; flex-direction: column; gap: 8px;
  padding: 16px var(--pad-x) 24px;
  border-top: 1px solid var(--mist);
  background: white;
}
.nav-mobile a { padding: 12px; border-radius: var(--r-md); color: var(--slate); font-weight: 500; }
.nav-mobile a:hover { background: var(--mist-2); }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-mobile:not([hidden]) { display: flex; }
}

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) var(--pad-x) clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.circuit-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 70%);
}
.hero-glow {
  position: absolute; left: 50%; top: -200px; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.18), rgba(6,182,212,0.05) 40%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center;
}
.hero-copy h1 { margin: 20px 0 20px; }
.hero-copy .lede { font-size: 18px; color: var(--slate-3); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; margin: 32px 0 36px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--mist); }
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-family: 'Plus Jakarta Sans'; font-size: 26px; font-weight: 700; color: var(--slate); letter-spacing: -0.02em; }
.hero-meta span { font-size: 13px; color: var(--slate-4); }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ====== Hero dashboard image ====== */
.hero-dash {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--mist);
  background: white;
}

/* ====== Hero dashboard mock (legacy, unused) ====== */
.dash { position: relative; }
.dash-window {
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--mist);
}
.dash-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--mist);
  background: linear-gradient(to bottom, #FBFCFE, white);
}
.dash-chrome > span { width: 10px; height: 10px; border-radius: 50%; background: #F1F5F9; }
.dash-chrome > span:nth-child(1) { background: #FECACA; }
.dash-chrome > span:nth-child(2) { background: #FDE68A; }
.dash-chrome > span:nth-child(3) { background: #BBF7D0; }
.dash-url {
  margin-left: 16px; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px; color: var(--slate-4);
  padding: 5px 12px; background: var(--mist-2); border-radius: var(--r-pill);
  flex: 1; text-align: center;
}
.dash-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--mist-2); }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Tab bar */
.dash-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #F8FAFC;
  border-bottom: 1px solid var(--mist);
}
.dash-tab {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 12px;
  font-size: 13px; font-weight: 500; color: var(--slate-4);
  border-bottom: 2px solid transparent;
  transition: all .15s ease;
}
.dash-tab svg { opacity: 0.7; }
.dash-tab:hover { color: var(--slate-2); }
.dash-tab.is-active {
  background: white;
  color: var(--indigo-deep);
  font-weight: 600;
  border-bottom-color: var(--indigo);
}
.dash-tab.is-active svg { opacity: 1; color: var(--indigo); }

/* Stat cards (Programs / Subscribers) */
.dash-stat {
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  padding: 18px 16px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
}
.dash-stat-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  margin-bottom: 2px;
}
.dash-stat-ic-green { background: rgba(34,197,94,0.12); color: #16A34A; }
.dash-stat-ic-slate { background: var(--mist-2); color: var(--slate-3); }
.dash-stat-num {
  font-family: 'Plus Jakarta Sans'; font-weight: 800;
  font-size: 32px; letter-spacing: -0.02em; line-height: 1;
  color: var(--slate);
}
.dash-stat-label { font-size: 12.5px; font-weight: 500; color: var(--slate-4); }

/* Generic dashboard panel */
.dash-panel {
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.dash-panel-h {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.dash-panel-title {
  font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 14px;
  color: var(--indigo-deep); letter-spacing: -0.01em;
}
.dash-panel-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--mist-2); color: var(--indigo-deep);
}

/* Track distribution: donut + pills */
.dash-track {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
}
.dash-donut { position: relative; width: 96px; height: 96px; }
.dash-donut-c {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.dash-donut-c strong { font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 22px; color: var(--slate); letter-spacing: -0.02em; line-height: 1; }
.dash-donut-c span { font-size: 10.5px; color: var(--slate-4); margin-top: 2px; }
.dash-track-pills { display: flex; flex-direction: column; gap: 8px; }
.dash-track-pill {
  display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: white;
  border: 1px solid var(--indigo); border-radius: var(--r-pill);
}
.dash-track-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-track-name { font-size: 13px; font-weight: 600; color: var(--indigo); font-family: 'Plus Jakarta Sans'; }
.dash-track-val { font-size: 12px; font-weight: 600; color: var(--slate-3); font-variant-numeric: tabular-nums; }

/* Quick actions */
.dash-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.dash-action {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 11px 14px;
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  font-size: 12.5px; font-weight: 600; color: var(--slate-2);
  font-family: 'Plus Jakarta Sans';
  transition: all .15s ease;
}
.dash-action:hover { border-color: var(--indigo); color: var(--indigo); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.dash-action svg { color: var(--slate-4); transition: color .15s ease; }
.dash-action:hover svg { color: var(--indigo); }
.dash-card {
  background: var(--mist-2);
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid var(--mist);
}
.dash-card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash-label { font-size: 12px; font-weight: 500; color: var(--slate-4); }
.dash-pill {
  font-size: 10.5px; font-weight: 600; padding: 3px 8px;
  background: rgba(79,70,229,0.1); color: var(--indigo);
  border-radius: var(--r-pill);
}
.dash-pill-ok { background: rgba(6,182,212,0.12); color: #0891B2; }
.dash-pill-ok::before { content: '●'; margin-right: 4px; }
.dash-num { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.dash-num-big { font-family: 'Plus Jakarta Sans'; font-size: 28px; font-weight: 700; color: var(--slate); letter-spacing: -0.02em; }
.dash-num-delta { font-size: 12px; color: var(--slate-4); }
.dash-spark { display: flex; gap: 3px; align-items: flex-end; height: 36px; }
.dash-spark .bar {
  flex: 1; background: var(--grad);
  border-radius: 2px 2px 0 0;
  animation: barRise .8s ease-out backwards;
}
@keyframes barRise { from { height: 0% !important; opacity: 0; } }
.dash-meter { height: 6px; background: white; border-radius: var(--r-pill); overflow: hidden; }
.dash-meter-fill { height: 100%; background: var(--grad); border-radius: var(--r-pill); }
.dash-tiny { font-size: 11px; color: var(--slate-4); margin-top: 8px; }
.dash-list {
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  overflow: hidden;
}
.dash-item {
  display: grid; grid-template-columns: 14px 1fr auto auto; gap: 12px;
  align-items: center; padding: 11px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--mist);
}
.dash-item:last-child { border-bottom: 0; }
.dash-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-name { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--slate-2); }
.dash-meta { font-size: 11.5px; color: var(--slate-4); }
.dash-status { font-size: 11.5px; color: var(--slate-3); font-weight: 500; }

.dash-float {
  position: absolute;
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  animation: floaty 4s ease-in-out infinite;
}
.dash-float > svg { color: var(--indigo); }
.dash-float strong { display: block; font-size: 13px; color: var(--slate); font-weight: 700; font-family: 'Plus Jakarta Sans'; }
.dash-float span { font-size: 11px; color: var(--slate-4); }
.dash-float-1 { top: 60px; right: -28px; }
.dash-float-2 { bottom: 24px; left: -32px; animation-delay: -2s; }
.dash-float-2 > svg { color: var(--violet); }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@media (max-width: 1100px) { .dash-float-1 { right: 0; } .dash-float-2 { left: 0; } }

/* ====== Trust strip ====== */
.trust { padding: 28px var(--pad-x); border-bottom: 1px solid var(--mist); }
.trust-inner { max-width: var(--max); margin: 0 auto; }
.trust-h { text-align: center; font-size: 13px; font-weight: 500; color: var(--slate-4); margin-bottom: 18px; letter-spacing: 0.02em; }
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
}
.trust-logo {
  font-family: 'Plus Jakarta Sans'; font-weight: 600; font-size: 14px;
  color: var(--slate-4); letter-spacing: -0.01em;
  padding: 6px 0;
  opacity: 0.75; transition: opacity .15s ease, color .15s ease;
}
.trust-logo:hover { opacity: 1; color: var(--indigo); }

/* ====== Features ====== */
.features { padding: clamp(72px, 9vw, 120px) var(--pad-x); }
.features-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc-card {
  position: relative;
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(79,70,229,0.25); }
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad-soft);
  color: var(--indigo);
  margin-bottom: 18px;
}
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { font-size: 15px; color: var(--slate-3); }
.svc-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 9px; }
.svc-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.4; color: var(--slate-2); }
.svc-list li svg { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc-tags span {
  font-size: 11.5px; font-weight: 500; color: var(--slate-3);
  padding: 4px 10px; background: var(--mist-2); border-radius: var(--r-pill);
  border: 1px solid var(--mist);
}
@media (max-width: 960px) { .features-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 960px) { .features-grid { grid-template-columns: 1fr 1fr; } }

/* ====== Serve / tabs ====== */
.serve { padding: clamp(48px, 6vw, 80px) var(--pad-x) clamp(72px, 9vw, 120px); background: var(--white); }
.serve-tabs {
  max-width: var(--max); margin: 0 auto 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.serve-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 18px 18px 16px;
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-lg);
  text-align: left;
  transition: all .2s ease;
}
.serve-tab:hover { border-color: rgba(79,70,229,0.3); }
.serve-tab.is-active {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(79,70,229,0.08);
}
.serve-tab-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--mist-2); color: var(--slate-3);
  transition: all .2s ease;
}
.serve-tab.is-active .serve-tab-icon { background: var(--grad); color: white; }
.serve-tab-label { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 16px; color: var(--slate); }
.serve-tab-count { font-size: 12px; color: var(--slate-4); }

.serve-panel {
  max-width: var(--max); margin: 0 auto;
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 40px;
  animation: fadeUp .35s ease-out;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.serve-copy h3 { font-size: 26px; line-height: 1.2; margin-bottom: 14px; }
.serve-copy p { font-size: 16px; color: var(--slate-3); margin-bottom: 20px; }
.serve-copy ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.serve-copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--slate-2); }
.serve-copy li svg { color: var(--cyan); flex-shrink: 0; margin-top: 4px; }
.serve-stat {
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 8px;
  color: white;
  align-self: stretch;
  justify-content: center;
}
.serve-stat-num { font-family: 'Plus Jakarta Sans'; font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.serve-stat-label { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.serve-stat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; background: rgba(255,255,255,0.16);
  border-radius: var(--r-pill); font-size: 12px; align-self: flex-start;
  backdrop-filter: blur(8px);
}

@media (max-width: 960px) {
  .serve-tabs { grid-template-columns: 1fr 1fr; }
  .serve-panel { padding: 28px; }
}
@media (max-width: 520px) { .serve-tabs { grid-template-columns: 1fr; } }

/* ====== Impact ====== */
.impact {
  position: relative;
  background: var(--slate);
  color: white;
  padding: clamp(80px, 10vw, 128px) var(--pad-x);
  overflow: hidden;
}
.impact-bg { position: absolute; inset: 0; pointer-events: none; }
.impact-orb {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}
.impact-orb-1 { background: var(--indigo); top: -200px; left: -100px; }
.impact-orb-2 { background: var(--cyan); bottom: -200px; right: -100px; opacity: 0.3; }
.impact-orb-3 { background: var(--violet); top: 40%; left: 50%; transform: translateX(-50%); opacity: 0.2; }
.impact > .section-head, .impact > .impact-grid, .impact > .impact-quote { position: relative; z-index: 1; }
.impact-grid {
  max-width: var(--max); margin: 0 auto 64px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.impact-stat {
  padding: 36px 24px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: center; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.impact-stat:last-child { border-right: 0; }
.impact-num {
  font-family: 'Plus Jakarta Sans';
  font-size: clamp(34px, 4vw, 52px); font-weight: 800;
  background: linear-gradient(135deg, white, #BAE6FD);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.03em; line-height: 1;
}
.impact-label { font-size: 14px; font-weight: 500; color: white; margin-top: 8px; }
.impact-sub { font-size: 13px; color: rgba(255,255,255,0.55); }
@media (max-width: 960px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .impact-stat:last-child { border-bottom: 0; }
}

.impact-quote {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.impact-quote p {
  font-family: 'Plus Jakarta Sans'; font-weight: 500;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.4;
  color: white; letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.impact-quote-by { display: inline-flex; align-items: center; gap: 12px; }
.impact-quote-by strong { display: block; font-size: 14px; color: white; font-weight: 600; }
.impact-quote-by span { font-size: 13px; color: rgba(255,255,255,0.6); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); border: 2px solid rgba(255,255,255,0.2); }
.avatar-1 { background: linear-gradient(135deg, #8B5CF6, #06B6D4); }

/* ====== Apply ====== */
.apply { padding: clamp(80px, 10vw, 120px) var(--pad-x); background: white; }
.apply-inner {
  max-width: 560px; margin: 0 auto;
  display: block;
}
.apply-right { position: static; }
.apply-card {
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.apply-card-h { margin-bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.apply-tag {
  align-self: flex-start;
  font-size: 11.5px; font-weight: 600; color: var(--indigo);
  padding: 4px 10px; background: rgba(79,70,229,0.1); border-radius: var(--r-pill);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.apply-card-title { font-family: 'Plus Jakarta Sans'; font-size: 22px; font-weight: 700; color: var(--slate); }

.apply-form { display: flex; flex-direction: column; gap: 14px; }
.apply-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--slate-2); }
.apply-form input, .apply-form select, .apply-form textarea {
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.apply-form textarea { resize: vertical; font-family: inherit; }

.apply-pick-h { font-size: 14px; color: var(--slate-3); margin-bottom: 14px; }

.apply-review { margin: 0 0 18px; }
.apply-review div { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--mist); font-size: 14px; }
.apply-review div:last-child { border-bottom: 0; }
.apply-review dt { color: var(--slate-4); font-weight: 500; }
.apply-review dd { margin: 0; color: var(--slate); font-weight: 500; text-align: right; max-width: 60%; }

.apply-error {
  margin: 0 0 14px; padding: 11px 14px;
  background: rgba(220,38,38,0.08); border: 1px solid rgba(220,38,38,0.25);
  border-radius: var(--r-md); color: #B91C1C; font-size: 13px; line-height: 1.5;
}
.apply-final .btn + .btn { margin-top: 10px; }

.apply-done { text-align: center; padding: 8px 0; }
.apply-done-mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--grad); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.apply-done h3 { margin-bottom: 8px; }
.apply-done p { font-size: 14px; color: var(--slate-3); margin-bottom: 20px; }

.apply-foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px;
  font-size: 12px; color: var(--slate-4);
  justify-content: center;
}
.apply-foot svg { color: var(--cyan); }

@media (max-width: 960px) {
  .apply-inner { max-width: 100%; }
}

/* ====== Donate ====== */
.donate { padding: clamp(56px, 7vw, 100px) var(--pad-x); background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.donate-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.donate-copy h2 { margin: 16px 0 16px; }
.donate-copy p { font-size: 16px; margin-bottom: 20px; max-width: 520px; }
.donate-bullets { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.donate-bullets li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--slate-2); }
.donate-bullets svg { color: var(--cyan); }

.donate-card {
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.donate-tabs { display: flex; gap: 0; background: var(--mist-2); padding: 4px; border-radius: var(--r-pill); margin-bottom: 20px; }
.donate-tabs button {
  flex: 1; padding: 10px; font-size: 13px; font-weight: 600; color: var(--slate-4);
  border-radius: var(--r-pill); transition: all .15s ease;
}
.donate-tabs button.is-active { background: white; color: var(--slate); box-shadow: var(--shadow-sm); }
.donate-amounts {
  display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr; gap: 8px; margin-bottom: 16px;
}
.donate-amounts button {
  padding: 14px 8px;
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  font-weight: 700; font-family: 'Plus Jakarta Sans'; font-size: 16px;
  color: var(--slate-2);
  transition: all .15s ease;
}
.donate-amounts button:hover { border-color: var(--indigo); color: var(--indigo); }
.donate-amounts button.is-active { background: var(--slate); color: white; border-color: var(--slate); }
.donate-custom {
  display: flex; align-items: center; gap: 4px;
  padding: 0 12px;
  border: 1px solid var(--mist); border-radius: var(--r-md);
}
.donate-custom span { font-weight: 700; color: var(--slate-4); }
.donate-custom input { width: 100%; border: 0; outline: none; background: transparent; padding: 12px 0; font-weight: 700; font-size: 16px; font-family: 'Plus Jakarta Sans'; }

.donate-translate {
  font-size: 13px; color: var(--slate-3); padding: 14px 16px;
  background: var(--grad-soft); border-radius: var(--r-md);
  margin-bottom: 14px; line-height: 1.55;
}
.donate-translate strong { color: var(--slate); font-weight: 700; }
.donate-fine { font-size: 11.5px; color: var(--slate-4); text-align: center; margin-top: 12px; }

@media (max-width: 960px) {
  .donate-inner { grid-template-columns: 1fr; gap: 32px; }
  .donate-amounts { grid-template-columns: repeat(4, 1fr); }
  .donate-custom { grid-column: 1 / -1; }
}

/* ====== FAQ ====== */
.faq { padding: clamp(80px, 10vw, 120px) var(--pad-x); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-row {
  background: white;
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.faq-row.is-open { border-color: rgba(79,70,229,0.3); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px;
  text-align: left;
  font-family: 'Plus Jakarta Sans'; font-size: 16px; font-weight: 600;
  color: var(--slate);
}
.faq-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--mist-2); color: var(--slate-3);
  flex-shrink: 0;
  transition: all .2s ease;
}
.faq-row.is-open .faq-toggle { background: var(--grad); color: white; }
.faq-a {
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--slate-3); }

/* ====== Footer ====== */
.foot {
  background: var(--slate);
  color: rgba(255,255,255,0.7);
  padding: clamp(56px, 7vw, 88px) var(--pad-x) 28px;
}
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2.4fr; gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot-brand img { width: 180px; margin-bottom: 18px; filter: brightness(1.6) saturate(1.1); }
.foot-brand p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 18px; max-width: 360px; }
.foot-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.foot-tags span {
  font-size: 11px; font-weight: 500; padding: 4px 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-pill); color: rgba(255,255,255,0.7);
}
.foot-cols {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.foot-cols h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: white; margin-bottom: 14px;
}
.foot-cols a {
  display: block; font-size: 13.5px; color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color .15s ease;
}
.foot-cols a:hover { color: var(--cyan); }
.foot-bottom {
  max-width: var(--max); margin: 24px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.5);
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom div { display: flex; gap: 18px; }
.foot-bottom a:hover { color: var(--cyan); }

@media (max-width: 960px) {
  .foot-inner { grid-template-columns: 1fr; gap: 40px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
}
