/* ============================================================
   GasDrop — Landing page
   Arabic RTL · Cairo font · Flame-orange brand system
   ============================================================ */

:root {
  --ink: #0e1526;
  --ink-2: #46536b;
  --bg-dark: #0a0f1e;
  --bg-dark-2: #0d1630;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --line: #e8edf4;
  --brand: #f97316;
  --brand-2: #fb923c;
  --amber: #fbbf24;
  --green: #22c55e;
  --grad: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
  --radius: 18px;
  --shadow: 0 10px 40px rgba(14, 21, 38, .08);
  --shadow-brand: 0 12px 34px rgba(249, 115, 22, .35);
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: inline-block; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.narrow { width: min(820px, 92%); }

section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(10, 15, 30, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.35rem; color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: var(--shadow-brand);
}
.brand-name { letter-spacing: .5px; }

.main-nav { display: flex; gap: 26px; margin-inline-start: auto; }
.main-nav a {
  color: rgba(255,255,255,.75); font-weight: 600; font-size: .95rem;
  transition: color .2s;
}
.main-nav a:hover { color: #fff; }

.header-cta { margin-inline-start: 4px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px; margin-inline-start: auto;
}
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  background: rgba(10, 15, 30, .97); backdrop-filter: blur(14px);
  padding: 12px 6% 22px;
}
.mobile-nav a { color: rgba(255,255,255,.85); font-weight: 700; padding: 10px 4px; }
.mobile-nav .btn { margin-top: 8px; text-align: center; }
.mobile-nav.open { display: flex; }

/* ============================================================
   Buttons & badges
   ============================================================ */
.btn {
  display: inline-block; border-radius: 999px; font-weight: 800;
  padding: 13px 30px; font-size: 1rem; transition: transform .2s, box-shadow .2s;
}
.btn-sm { padding: 9px 22px; font-size: .9rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(249,115,22,.45); }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink);
  border-radius: 14px; padding: 10px 22px;
  font-weight: 800; line-height: 1.25;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.store-badge small { display: block; font-weight: 600; font-size: .72rem; color: var(--ink-2); }
.badge-invert { background: var(--ink); color: #fff; }
.badge-invert small { color: rgba(255,255,255,.6); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 82% 18%, rgba(249,115,22,.22), transparent 65%),
    radial-gradient(520px 380px at 12% 85%, rgba(251,191,36,.12), transparent 65%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative; display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
}

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .88rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: 6px 18px; margin-bottom: 22px;
}

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.35; margin-bottom: 18px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lead { font-size: 1.13rem; color: rgba(255,255,255,.72); max-width: 34rem; margin-bottom: 30px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; scroll-margin-top: 110px; }
.hero-ctas.center { justify-content: center; margin-bottom: 0; }

.hero-stats {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.stat strong { display: block; font-size: 1.55rem; font-weight: 900; color: var(--brand-2); line-height: 1.3; }
.stat span { font-size: .86rem; color: rgba(255,255,255,.6); font-weight: 600; }
.stat-sep { width: 1px; height: 42px; background: rgba(255,255,255,.14); }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  width: min(320px, 78vw);
  border-radius: 44px;
  background: #05080f;
  border: 3px solid #1d2740;
  padding: 14px;
  box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.phone-notch {
  position: absolute; top: 14px; inset-inline: 0; margin-inline: auto;
  width: 110px; height: 22px; background: #05080f; border-radius: 0 0 16px 16px; z-index: 3;
}

.app-screen { border-radius: 32px; overflow: hidden; background: #0d1428; }

.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px 16px 12px; background: #0d1428;
}
.app-logo { display: flex; align-items: center; gap: 7px; font-weight: 900; font-size: .95rem; color: #fff; }
.live-dot { font-size: .68rem; font-weight: 800; color: #4ade80; }
.live-dot::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; margin-inline-end: 5px;
  animation: blink 1.6s ease infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.app-map { line-height: 0; }
.app-map svg { width: 100%; height: auto; }

.route-line { animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.pulse-ring { transform-origin: center; transform-box: fill-box; animation: ring 2s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }

.app-card { padding: 14px 16px 18px; background: #101a33; }
.driver-row { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.driver-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 900;
  display: grid; place-items: center; font-size: 1.05rem;
}
.driver-info { flex: 1; min-width: 0; }
.driver-info strong { display: block; color: #fff; font-size: .84rem; }
.driver-info span { color: rgba(255,255,255,.55); font-size: .74rem; }
.eta-chip {
  background: rgba(249,115,22,.16); color: var(--brand-2);
  border: 1px solid rgba(249,115,22,.35);
  font-size: .72rem; font-weight: 800; border-radius: 999px; padding: 4px 12px; white-space: nowrap;
}
.progress-track { height: 7px; border-radius: 99px; background: rgba(255,255,255,.09); overflow: hidden; }
.progress-fill {
  display: block; height: 100%; width: 62%; border-radius: 99px;
  background: var(--grad);
  animation: fillmove 2.8s ease-in-out infinite alternate;
}
@keyframes fillmove { from { width: 55%; } to { width: 72%; } }
.progress-label { margin-top: 9px; color: rgba(255,255,255,.75); font-size: .78rem; font-weight: 700; }

.float-chip {
  position: absolute;
  background: rgba(255,255,255,.97); color: var(--ink);
  font-weight: 800; font-size: .82rem;
  border-radius: 999px; padding: 9px 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  animation: float 6s ease-in-out infinite;
}
.chip-1 { top: 14%; inset-inline-start: -6%; animation-delay: -2s; }
.chip-2 { bottom: 12%; inset-inline-end: -8%; animation-delay: -4s; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: 30px 0;
}
.trust-item { display: flex; align-items: center; gap: 13px; }
.t-ico {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: #fff4ec; display: grid; place-items: center; font-size: 1.35rem;
}
.trust-item strong { display: block; font-size: .95rem; font-weight: 800; }
.trust-item span { font-size: .82rem; color: var(--ink-2); }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker {
  display: inline-block; color: var(--brand); font-weight: 800; font-size: .9rem;
  background: #fff4ec; border-radius: 999px; padding: 5px 18px; margin-bottom: 14px;
}
.kicker-light { background: rgba(249,115,22,.14); }
.section-head h2, .split-copy h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 900; line-height: 1.45; margin-bottom: 14px;
}
.section-head p { color: var(--ink-2); font-size: 1.04rem; }

/* ---------- Features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #ffd9bd; }
.f-ico {
  width: 54px; height: 54px; border-radius: 16px; font-size: 1.5rem;
  background: #fff4ec; display: grid; place-items: center; margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: flex; align-items: stretch; gap: 18px; justify-content: center; }
.step {
  flex: 1; max-width: 320px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 26px;
}
.step-num {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 1.5rem;
  display: grid; place-items: center; margin: 0 auto 18px;
  box-shadow: var(--shadow-brand);
}
.step h3 { font-weight: 800; font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: .93rem; }
.step-arrow { align-self: center; font-size: 1.6rem; color: #cbd5e1; font-weight: 900; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-copy p { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 22px; }

.check-list li {
  position: relative; padding-inline-start: 34px; margin-bottom: 12px;
  font-weight: 700; font-size: .98rem;
}
.check-list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0;
  width: 24px; height: 24px; border-radius: 8px;
  background: #e9f9ef; color: #16a34a; font-weight: 900; font-size: .85rem;
  display: grid; place-items: center; margin-top: 4px;
}

/* Tracking visual */
.glow-card {
  background: var(--bg-dark);
  border-radius: 26px; padding: 34px 28px;
  box-shadow: 0 30px 70px rgba(10,15,30,.35);
  position: relative; overflow: hidden;
}
.glow-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 80% 0%, rgba(249,115,22,.25), transparent 70%);
}
.notify-stack { position: relative; display: flex; flex-direction: column; gap: 14px; }
.notify {
  display: flex; gap: 13px; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 14px 16px;
  backdrop-filter: blur(6px);
}
.notify.n2 { margin-inline-start: 22px; }
.notify.n3 { margin-inline-start: 44px; }
.notify.n4 { margin-inline-start: 22px; }
.n-ico {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,.09); display: grid; place-items: center; font-size: 1.15rem;
}
.notify strong { display: block; color: #fff; font-size: .9rem; }
.notify span { color: rgba(255,255,255,.55); font-size: .78rem; }

/* ---------- Drivers (dark) ---------- */
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark .split-copy p { color: rgba(255,255,255,.68); }
.check-light li { color: rgba(255,255,255,.9); }
.check-light li::before { background: rgba(34,197,94,.18); color: #4ade80; }

.driver-card-demo {
  background: #101a33; border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 26px;
  max-width: 380px; margin-inline: auto;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.dcd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.dcd-badge { font-weight: 900; font-size: 1.02rem; }
.dcd-timer {
  font-size: .74rem; font-weight: 800; color: var(--brand-2);
  background: rgba(249,115,22,.15); border-radius: 999px; padding: 4px 12px;
}
.dcd-body { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.dcd-body strong { font-size: 1.06rem; }
.dcd-body span { color: rgba(255,255,255,.6); font-size: .9rem; }
.dcd-actions { display: flex; gap: 12px; }
.dcd-accept {
  flex: 1; text-align: center; background: var(--grad); color: #fff;
  font-weight: 800; border-radius: 12px; padding: 11px; font-size: .95rem;
  box-shadow: var(--shadow-brand);
}
.dcd-skip {
  text-align: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  font-weight: 700; border-radius: 12px; padding: 11px 22px; font-size: .95rem;
}

/* ---------- FAQ ---------- */
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  margin-bottom: 14px; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-weight: 800; font-size: 1.02rem; padding: 20px 24px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-ico { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--brand); border-radius: 2px;
  top: 50%; inset-inline-start: 50%; translate: -50% -50%;
  transition: transform .25s;
}
html[dir="rtl"] .faq-ico::before, html[dir="rtl"] .faq-ico::after { translate: 50% -50%; }
.faq-ico::before { width: 14px; height: 2.5px; }
.faq-ico::after { width: 2.5px; height: 14px; }
.faq-list details[open] .faq-ico::after { transform: rotate(90deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--ink-2); font-size: .97rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--bg-dark);
  position: relative; overflow: hidden;
  padding: 90px 0;
  color: #fff; text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 320px at 50% 0%, rgba(249,115,22,.3), transparent 70%),
    radial-gradient(400px 260px at 15% 100%, rgba(251,191,36,.12), transparent 70%);
}
.cta-inner { position: relative; }
.cta-banner h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.7); font-size: 1.1rem; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: #070b16; color: rgba(255,255,255,.7); }
.footer-inner {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  padding: 56px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { max-width: 380px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; }
.footer-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.footer-links a { font-weight: 700; font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 22px 0; font-size: .85rem; color: rgba(255,255,255,.45);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 70px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-inline: auto; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .section-dark .split-visual { order: 2; }
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(10, 15, 30, .9); backdrop-filter: blur(14px); }

  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 100%; width: 100%; }
  .step-arrow { transform: rotate(90deg); }
  .float-chip { display: none; }
  .section { padding: 68px 0; }
}

@media (max-width: 480px) {
  .trust-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .stat-sep { display: none; }
  .store-badge { width: 100%; justify-content: center; }
  .hero-ctas { width: 100%; }
}
