/* ── Design tokens ── */
:root {
  --bg: #060a14;
  --bg-2: #0a1220;
  --bg-card: rgba(255, 255, 255, .045);
  --bg-hover: rgba(255, 255, 255, .08);
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .18);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #6366f1;
  --accent-grad: linear-gradient(135deg, #38bdf8, #818cf8);
  --success: #4ade80;
  --danger: #f87171;
  --warning: #fbbf24;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 16px 48px rgba(2, 6, 23, .55);
  --font-head: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, 'Noto Sans Arabic', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Tajawal', 'Cairo', 'Segoe UI', Tahoma, 'Noto Sans Arabic', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.35; font-weight: 800; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ── Background decor ── */
.glow {
  position: fixed; inset: -30% -20% auto -20%; height: 75vh; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, .16), transparent 55%),
              radial-gradient(ellipse at 80% 10%, rgba(99, 102, 241, .10), transparent 50%);
}
.grid-lines {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
}
.section { max-width: 1160px; margin: 0 auto; padding: 4.5rem 1.5rem 1.5rem; position: relative; z-index: 1; }
.section + .section { padding-top: 4rem; }

/* ── Glass card ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); backdrop-filter: blur(12px);
  box-shadow: var(--shadow); padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.5rem; border-radius: 999px; font-family: var(--font-head);
  font-size: .95rem; font-weight: 700; cursor: pointer; border: none; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent-grad); color: #060a14; box-shadow: 0 6px 28px rgba(56, 189, 248, .28); }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(56, 189, 248, .4); }
.btn-ghost { border: 1.5px solid var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--bg-hover); border-color: rgba(255,255,255,.3); }

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 1.5rem; height: 64px;
  background: rgba(6, 10, 20, .75); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled { background: rgba(6, 10, 20, .92); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.nav-logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; }
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--accent-grad); color: #060a14;
  box-shadow: 0 4px 16px rgba(56, 189, 248, .35);
}
.logo-dot { color: var(--accent); }
.nav-links { display: flex; gap: 1.4rem; }
.nav-link { color: var(--text-muted); font-size: .92rem; font-weight: 500; transition: color .2s; position: relative; padding: .35rem 0; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; right: 0; left: 0; height: 2px;
  border-radius: 2px; background: var(--accent-grad);
}
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
}
/* ── Hero ── */
.hero { padding-top: 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 700; color: var(--accent);
  background: rgba(56, 189, 248, .1); border: 1px solid rgba(56, 189, 248, .25);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 900; letter-spacing: -.01em; margin-bottom: 1rem; }
.grad-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--text-muted); font-size: 1.08rem; max-width: 540px; margin-bottom: 1.75rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; color: var(--text); }
.stat strong .count { color: var(--accent); }
.stat span { color: var(--text-muted); font-size: .85rem; }

/* ── Hero visual ── */
.hero-visual { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.visual-card {
  background: linear-gradient(160deg, rgba(30, 41, 59, .65), rgba(15, 23, 42, .85));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); padding: 1.25rem;
}
.vc-head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.vc-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent-grad); color: #060a14;
}
.vc-title { display: flex; flex-direction: column; flex: 1; }
.vc-title strong { font-family: var(--font-head); font-size: .95rem; }
.vc-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; color: var(--success); }
i[data-lucide] { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
i[data-lucide] svg { width: 1.15em; height: 1.15em; }
.logo-badge svg, .vc-avatar svg { width: 20px; height: 20px; }
.svc-icon svg { width: 24px; height: 24px; }
.order-success > i svg { width: 56px; height: 56px; }
.pulse-dot svg { width: 8px; height: 8px; fill: var(--success); }
.pulse-dot { animation: pulse 1.6s ease infinite; }
.vc-dots { color: var(--text-muted); }
.vc-chat { display: flex; flex-direction: column; gap: .65rem; padding: 1rem 0; }
.msg { max-width: 82%; padding: .6rem .95rem; border-radius: 14px; font-size: .88rem; line-height: 1.6; }
.msg.client { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--border); border-bottom-right-radius: 4px; }
.msg.agent { align-self: flex-end; background: linear-gradient(135deg, rgba(56,189,248,.18), rgba(99,102,241,.18)); border: 1px solid rgba(56,189,248,.3); border-bottom-left-radius: 4px; }
.msg.typing { align-self: flex-end; display: flex; gap: 5px; padding: .8rem 1rem; background: rgba(56,189,248,.12); border-radius: 14px; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.2s ease infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; }
.msg.typing span:nth-child(3) { animation-delay: .4s; }
.vc-foot { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--success); padding-top: .85rem; border-top: 1px solid var(--border); }
.visual-side { position: relative; }
.visual-side img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.side-chip {
  position: absolute; bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(6, 10, 20, .8); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: .4rem .85rem; font-size: .8rem; font-weight: 700;
}
/* ── Trust ── */
.trust { text-align: center; padding-top: 3rem; }
.trust-label { color: var(--text-muted); font-size: .85rem; margin-bottom: 1.1rem; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; }
.trust-logos span {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: #64748b; transition: color .2s;
}
.trust-logos span:hover { color: var(--text); }

/* ── Section headers ── */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase; margin-bottom: .6rem;
}
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; margin-bottom: .75rem; }
.sec-head p { color: var(--text-muted); font-size: 1rem; }

/* ── Services bento ── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.svc-card { position: relative; overflow: hidden; }
.svc-card.wide { grid-column: span 2; }
.svc-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 140px;
  background: radial-gradient(ellipse at 30% 0%, rgba(56,189,248,.12), transparent 60%);
  pointer-events: none;
}
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem;
  background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .28); color: var(--accent);
}
.svc-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.svc-card p { color: var(--text-muted); font-size: .92rem; }
.svc-tag {
  position: absolute; top: 1.1rem; left: 1.1rem;
  font-size: .72rem; font-weight: 700; color: var(--accent);
  background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.3);
  padding: .25rem .7rem; border-radius: 999px;
}

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { position: relative; }
.step-num {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  display: block; margin-bottom: .8rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.step p { color: var(--text-muted); font-size: .9rem; }
/* ── Tabs (use cases) ── */
.tabs {
  display: flex; gap: .35rem; justify-content: center; flex-wrap: wrap;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 999px; padding: .35rem; margin: 0 auto 2rem; max-width: 640px;
}
.tab {
  flex: 1; min-width: 120px; text-align: center; padding: .55rem 1.1rem;
  border-radius: 999px; font-family: var(--font-head); font-size: .88rem; font-weight: 700;
  cursor: pointer; color: var(--text-muted); background: transparent; border: none;
  transition: all .2s ease;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--accent-grad); color: #060a14; box-shadow: 0 4px 18px rgba(56,189,248,.3); }
.tab-panels { position: relative; }
.tab-panel { display: none; animation: fadeUp .35s ease; }
.tab-panel.active { display: block; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.panel-grid img {
  width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.panel-copy h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.panel-copy > p { color: var(--text-muted); margin-bottom: 1rem; }
.panel-copy ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.panel-copy li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.panel-copy li i { color: var(--success); flex-shrink: 0; }
.panel-copy.solo { max-width: 560px; margin: 0 auto; }

/* ── Features grid ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feat-card .svc-icon { background: rgba(99, 102, 241, .12); border-color: rgba(99, 102, 241, .3); color: #a5b4fc; }
.feat-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.feat-card p { color: var(--text-muted); font-size: .9rem; }

/* ── Pricing ── */
.toggle-row { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: 2.25rem; }
.toggle-label { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--text-muted); }
.toggle {
  width: 58px; height: 30px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.06); position: relative; transition: background .25s;
}
.toggle .knob {
  position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--text); transition: transform .25s ease, background .25s;
}
.toggle.on { background: var(--accent-grad); border-color: transparent; }
.toggle.on .knob { transform: translateX(-26px); background: #060a14; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(12px); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.popular {
  border-color: rgba(56, 189, 248, .5); background: linear-gradient(170deg, rgba(56,189,248,.1), rgba(99,102,241,.06) 45%, rgba(255,255,255,.03));
  box-shadow: 0 12px 40px rgba(56, 189, 248, .15);
}
.popular-tag {
  align-self: flex-start; font-size: .72rem; font-weight: 700; color: #060a14;
  background: var(--accent-grad); padding: .25rem .8rem; border-radius: 999px;
}
.price-card h3 { font-size: 1.15rem; }
.price-desc { color: var(--text-muted); font-size: .85rem; margin-top: -.6rem; }
.price-row { display: flex; align-items: baseline; gap: .4rem; }
.price { font-family: var(--font-head); font-size: 2.3rem; font-weight: 900; }
.price-cur { color: var(--text-muted); font-weight: 700; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.price-card li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--text-muted); }
.price-card li i { color: var(--success); flex-shrink: 0; }
/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: rgba(56, 189, 248, .45); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.35rem; background: transparent; border: none; color: var(--text);
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; text-align: right;
}
.faq-q i { color: var(--text-muted); transition: transform .3s ease, color .2s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 1.35rem 1.15rem; color: var(--text-muted); font-size: .93rem; }

/* ── CTA band ── */
.cta-band {
  text-align: center; padding: 3rem 2rem; border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 0%, rgba(56,189,248,.18), transparent 60%),
              linear-gradient(160deg, rgba(30,41,59,.6), rgba(15,23,42,.9));
  border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: .6rem; }
.cta-band p { color: var(--text-muted); max-width: 520px; margin: 0 auto 1.6rem; }

/* ── Order form ── */
.order-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: start; }
.order-info h3 { font-size: 1.25rem; margin-bottom: 1.1rem; }
.order-info ul { list-style: none; display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.5rem; }
.order-info li { display: flex; align-items: center; gap: .65rem; font-size: .95rem; }
.order-info li i { color: var(--accent); flex-shrink: 0; }
.order-note {
  display: flex; gap: .7rem; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem 1.1rem; font-size: .88rem; color: var(--text-muted);
}
.order-note i { color: var(--accent); flex-shrink: 0; margin-top: .15rem; }
.order-form {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(12px); padding: 1.75rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--text-muted); }
input, select, textarea {
  width: 100%; padding: .7rem 1rem; background: rgba(255,255,255,.06);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-body); font-size: .95rem; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,189,248,.18); }
input.error, select.error { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .78rem; min-height: 1em; }
.form-note { font-size: .78rem; color: var(--text-muted); text-align: center; }
select option { background: #0f172a; color: var(--text); }
.order-success {
  text-align: center; padding: 3rem 1.5rem; max-width: 560px; margin: 1rem auto 0;
  background: var(--bg-card); border: 1px solid rgba(74,222,128,.35); border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.order-success > i { color: var(--success); width: 56px; height: 56px; }
.order-success h3 { font-size: 1.4rem; }
.order-success p { color: var(--text-muted); }
/* ── Footer ── */
.footer { border-top: 1px solid var(--border); background: rgba(4, 7, 14, .7); margin-top: 4.5rem; position: relative; z-index: 1; }
.footer-grid {
  max-width: 1160px; margin: 0 auto; padding: 3rem 1.5rem 2rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem;
}
.f-brand p { color: var(--text-muted); font-size: .9rem; margin: .9rem 0 1.1rem; max-width: 300px; }
.socials { display: flex; gap: .6rem; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted);
  transition: all .2s;
}
.socials a:hover { color: var(--accent); border-color: rgba(56,189,248,.4); transform: translateY(-2px); }
.f-col { display: flex; flex-direction: column; gap: .6rem; }
.f-col h4 { font-size: .95rem; margin-bottom: .35rem; }
.f-col a { color: var(--text-muted); font-size: .9rem; transition: color .2s; width: fit-content; }
.f-col a:hover { color: var(--accent); }
.f-contact { display: flex; align-items: center; gap: .55rem; color: var(--text-muted); font-size: .9rem; }
.f-contact i { color: var(--accent); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--border); text-align: center;
  padding: 1.2rem 1rem; color: #64748b; font-size: .82rem;
}

/* ── Toast ── */
.toast-wrap { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 100; display: flex; flex-direction: column; gap: .5rem; }
.toast {
  padding: .8rem 1.3rem; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-lg); animation: fadeUp .3s ease; backdrop-filter: blur(8px);
}
.toast.success { background: rgba(74, 222, 128, .15); border: 1px solid rgba(74, 222, 128, .35); color: var(--success); }
.toast.error { background: rgba(248, 113, 113, .15); border: 1px solid rgba(248, 113, 113, .35); color: var(--danger); }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .55s ease forwards; }
.delay-1 { animation-delay: .15s; opacity: 0; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-grid img { height: 220px; }
  .order-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(6, 10, 20, .97); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: .75rem 1.5rem 1.25rem;
    transform: translateY(-120%); transition: transform .3s ease; z-index: 40;
  }
  .nav-links.open { transform: none; }
  .nav-link { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-link.active::after { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 3.25rem 1.1rem 1.1rem; }
  .bento, .grid-3, .steps { grid-template-columns: 1fr; }
  .svc-card.wide { grid-column: span 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-stats { gap: 1.75rem; }
  .trust-logos { gap: .8rem 1.4rem; }
  .tabs { border-radius: 20px; }
  .tab { min-width: 100px; }
  .toast-wrap { left: 1rem; right: 1rem; bottom: 1rem; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
/* ── Spinner (زر الإرسال) ── */
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(6, 10, 20, .3); border-top-color: #060a14;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
