/* ═══════════════════════════════════════════════════════
   PETROMIN FUEL FLEET — Premium Tech-Noir OS
   ═══════════════════════════════════════════════════════ */

:root {
  /* Petromin Brand Colors */
  --bg-deep: #080504;
  --bg-surface: rgba(22, 8, 5, 0.70);
  --bg-glass: rgba(22, 8, 5, 0.45);
  --accent-cyan: #e8341c;        /* Petromin Red */
  --accent-purple: #f5a623;      /* Petromin Gold */
  --accent-green: #ffcc44;       /* Warm yellow highlight */
  --accent-gradient: linear-gradient(135deg, #e8341c, #f5a623);
  --text-main: #f7f3f0;
  --text-muted: rgba(247, 243, 240, 0.62);
  --font-heading: 'Outfit', 'Tajawal', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --border-premium: 1px solid rgba(232, 52, 28, 0.2);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glow-cyan: 0 0 20px rgba(232, 52, 28, 0.2);
  --radius-lg: 20px;
  --radius-md: 12px;
  --container-max: 1200px;
  --section-pad: clamp(56px, 8vw, 120px);
}

/* ── Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Tajawal', sans-serif;
  background: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

body[dir="rtl"] { font-family: 'Tajawal', 'Inter', sans-serif; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

/* ── Background Effects ──────────────────────────────── */
.mesh, .noise, .glow-orb, #techCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

#techCanvas {
  width: 100%;
  height: 100%;
}

.glow-orb {
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  mix-blend-mode: screen;
  animation: orbFloat 20s infinite alternate;
}

.orb-1 { background: var(--accent-cyan); top: -10%; left: -10%; }
.orb-2 { background: var(--accent-purple); bottom: -10%; right: -10%; animation-delay: -10s; }

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 10%) scale(1.2); }
}

.mesh {
  background:
    radial-gradient(circle at 15% 15%, rgba(245, 166, 35, 0.12), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(232, 52, 28, 0.14), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255, 204, 68, 0.08), transparent 40%);
  filter: blur(100px);
  opacity: 0.8;
}

.noise {
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 60px 60px;
}


/* ── Layout ──────────────────────────────────────────── */
.container {
  width: min(var(--container-max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* ── Navigation ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 7, 13, 0.35);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid transparent;
  background-clip: padding-box;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Gradient bottom border via pseudo-element */
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(232, 52, 28, 0.35) 30%,
    rgba(245, 166, 35, 0.35) 70%,
    transparent 100%);
  pointer-events: none;
}

.site-header.scrolled {
  background: rgba(5, 7, 13, 0.88);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

/* "Book Demo" button only on desktop */
.nav-cta { display: inline-flex; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  height: 40px;
  filter: drop-shadow(var(--glow-cyan));
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.desktop-nav a:hover,
.desktop-nav a.active { color: var(--accent-cyan); }

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.desktop-nav a:hover::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Language Toggle ─────────────────────────────────── */
.lang-toggle {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}

.lang-toggle:hover {
  color: var(--accent-cyan);
  border-color: rgba(232, 52, 28, 0.4);
}

/* ── Hamburger Toggle ────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.3s;
}

.menu-toggle:hover { border-color: rgba(232, 52, 28, 0.4); }

.menu-dot {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate dots into X when overlay is active */
.nav-overlay.active ~ .site-header .menu-dot:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-overlay.active ~ .site-header .menu-dot:nth-child(2) { opacity: 0; }
.nav-overlay.active ~ .site-header .menu-dot:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Nav Overlay ─────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 7, 13, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--accent-cyan); }

/* ── Buttons ─────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  font-family: var(--font-heading);
  font-size: 1rem;
  min-height: 48px;
}

.button.small {
  padding: 10px 20px;
  font-size: 0.875rem;
  min-height: 40px;
}

.glow-cta {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 52, 28, 0.2);
}

.glow-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 34px rgba(232, 52, 28, 0.35);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(232, 52, 28, 0.5);
}

/* Focus rings for keyboard navigation */
.button:focus-visible,
.lang-toggle:focus-visible,
.menu-toggle:focus-visible,
.journey-tab:focus-visible,
.toggle:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* ── Utility ─────────────────────────────────────────── */
.mono { font-family: var(--font-mono); }
.accent-text { color: var(--accent-cyan); }

/* ── Cards ───────────────────────────────────────────── */
.stepped-card {
  background: var(--bg-surface);
  border: var(--border-premium);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stepped-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 52, 28, 0.35);
}

.stepped-card::before {
  content: '///';
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  opacity: 0.25;
  pointer-events: none;
}

.icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

/* ── Typography ──────────────────────────────────────── */
h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.section-heading {
  margin-bottom: 52px;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-top: 12px;
  line-height: 1.7;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.section-heading.center p { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.78rem;
  margin-bottom: 16px;
  font-weight: 700;
}

/* ── Reveal Animations ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 1, 0.3, 1), transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

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

/* ── Card Grids ──────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px; /* offset for fixed header */
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.4) brightness(0.85);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(8, 5, 4, 0.25) 0%, transparent 70%),
    linear-gradient(180deg,
      rgba(8, 5, 4, 0.35) 0%,
      rgba(8, 5, 4, 0.55) 50%,
      rgba(8, 5, 4, 0.92) 100%);
}

/* Centered single-column layout */
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
}

/* ── Hero Copy (centered) ────────────────────────────── */
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(232, 52, 28, 0.06);
  border: 1px solid rgba(232, 52, 28, 0.18);
  border-radius: 99px;
  width: fit-content;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero-badge .eyebrow {
  margin-bottom: 0;
  font-size: 0.72rem;
  letter-spacing: 3px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #e8341c 20%,
    #f5a623 40%,
    #ffcc44 55%,
    #e8341c 70%,
    #ffffff 85%,
    #e8341c 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  animation: titleColorShift 8s linear infinite;
}

@keyframes titleColorShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}

.hero-trustbar {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.trust-item strong {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 800;
}

.trust-item span {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}


/* ── Journey Showcase Marquee ────────────────────────── */
.journey-showcase {
  margin-bottom: 52px;
  overflow: hidden;
}

.journey-showcase-head {
  text-align: center;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  opacity: 0.7;
}

.journey-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.journey-track {
  display: flex;
  gap: 20px;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.journey-marquee:hover .journey-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.journey-shot {
  flex-shrink: 0;
  width: 480px;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-premium);
  margin: 0;
}

.journey-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
  transition: transform 0.5s ease;
}

.journey-shot:hover img { transform: translateZ(0) scale(1.04); }

/* ── Crisis Section ──────────────────────────────────── */
.crisis-section {
  background: linear-gradient(180deg, #080504 0%, #120604 100%);
}

.crisis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.crisis-card {
  text-align: center;
}

.crisis-card h3 {
  font-size: 3rem;
  color: var(--accent-cyan);
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
}

.crisis-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Benefit Grid ────────────────────────────────────── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-card strong {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  opacity: 0.55;
  letter-spacing: 2px;
}

.benefit-card h3 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0;
}

.savings-card {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(232, 52, 28, 0.07), rgba(157, 0, 255, 0.07));
  border-color: rgba(232, 52, 28, 0.28);
}

.savings-card strong {
  font-size: 1.8rem;
  opacity: 1;
  letter-spacing: 0;
}

/* ── Verification Grid ───────────────────────────────── */
.verification-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.premium-section {
  background: linear-gradient(180deg, transparent, rgba(245, 166, 35, 0.04), transparent);
}

.verification-card {
  text-align: center;
  padding: 36px 20px;
}

.verification-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.verification-card h3 {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0;
}

/* ── Journey Tabs ────────────────────────────────────── */
.journey-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.journey-tab {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
}

.journey-tab.active,
.journey-tab:hover {
  background: rgba(232, 52, 28, 0.07);
  border-color: rgba(232, 52, 28, 0.4);
  color: var(--accent-cyan);
}

.journey-panel { display: none; }
.journey-panel.active { display: block; }

.journey-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
}

.timeline-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.timeline-step > span {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 52, 28, 0.07);
  border: 1px solid rgba(232, 52, 28, 0.2);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.timeline-step > div h3 {
  margin-bottom: 5px;
  font-size: 0.98rem;
  color: var(--text-main);
}

.timeline-step > div p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── Coverage ────────────────────────────────────────── */
.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.coverage-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.coverage-cities span {
  padding: 5px 14px;
  background: rgba(232, 52, 28, 0.06);
  border: 1px solid rgba(232, 52, 28, 0.15);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

.saudi-map {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.ksa-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ── Country shape ─────────────────────────────────── */
.ksa-body {
  animation: countryPulse 4s ease-in-out infinite;
}

@keyframes countryPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

.ksa-border {
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  opacity: 0.6;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawBorder 3s ease forwards;
}

@keyframes drawBorder {
  to { stroke-dashoffset: 0; }
}

/* ── Scan line ─────────────────────────────────────── */
.map-scan {
  animation: scanLine 4s linear infinite;
}

@keyframes scanLine {
  0%   { transform: translateY(-12px); opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(620px); opacity: 0; }
}

/* ── Network lines ─────────────────────────────────── */
.net-line {
  stroke: rgba(232, 52, 28, 0.35);
  stroke-width: 1;
  stroke-dasharray: 6 3;
  fill: none;
}

.nl-1 { animation: flowLine 2.2s linear infinite; }
.nl-2 { animation: flowLine 1.8s linear infinite 0.3s; }
.nl-3 { animation: flowLine 2.5s linear infinite 0.6s; }
.nl-4 { animation: flowLine 2.0s linear infinite 0.9s; }
.nl-5 { animation: flowLine 2.8s linear infinite 1.2s; }
.nl-6 { animation: flowLine 1.6s linear infinite 0.4s; }

@keyframes flowLine {
  to { stroke-dashoffset: -27; }
}

/* ── City markers ──────────────────────────────────── */
.city-dot {
  fill: var(--accent-cyan);
}

.city-dot.capital {
  fill: #fff;
  r: 6;
}

/* Pulsing rings */
.city-ring {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 1.2;
  opacity: 0;
}

.city-group .r1 {
  animation: ringPulse 2.5s ease-out infinite;
}

.city-group .r2 {
  animation: ringPulse 2.5s ease-out infinite 1.25s;
}

/* Stagger each city's pulse timing */
.city-group:nth-child(4)  .r1 { animation-delay: 0.2s; }
.city-group:nth-child(4)  .r2 { animation-delay: 1.45s; }
.city-group:nth-child(5)  .r1 { animation-delay: 0.5s; }
.city-group:nth-child(5)  .r2 { animation-delay: 1.75s; }
.city-group:nth-child(6)  .r1 { animation-delay: 0.8s; }
.city-group:nth-child(6)  .r2 { animation-delay: 2.05s; }
.city-group:nth-child(7)  .r1 { animation-delay: 1.1s; }
.city-group:nth-child(7)  .r2 { animation-delay: 2.35s; }
.city-group:nth-child(8)  .r1 { animation-delay: 1.4s; }
.city-group:nth-child(8)  .r2 { animation-delay: 2.65s; }
.city-group:nth-child(9)  .r1 { animation-delay: 1.7s; }
.city-group:nth-child(9)  .r2 { animation-delay: 2.95s; }

@keyframes ringPulse {
  0%   { r: 5; opacity: 0.8; }
  100% { r: 22; opacity: 0; }
}

/* Capital ring is bigger */
.city-group:first-of-type .r1,
.city-group:first-of-type .r2 {
  animation-name: ringPulseLarge;
}

@keyframes ringPulseLarge {
  0%   { r: 7; opacity: 0.9; }
  100% { r: 28; opacity: 0; }
}

/* City labels */
.city-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  fill: rgba(232, 52, 28, 0.85);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  pointer-events: none;
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: 0.95rem;
  font-weight: 500;
}

.toggle {
  width: 56px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--accent-cyan);
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px rgba(232, 52, 28, 0.4);
}

.toggle.active .toggle-knob { transform: translateX(26px); }

.pricing-grid {
  align-items: start;
  padding-top: 20px; /* room for the pill badge */
}

.pricing-card {
  display: flex;
  flex-direction: column;
  overflow: visible; /* allow pill badge to escape the card top */
}

.pricing-card.featured {
  border-color: rgba(232, 52, 28, 0.45);
  transform: scale(1.04);
  background: rgba(10, 15, 30, 0.9);
  box-shadow: 0 20px 60px rgba(232, 52, 28, 0.14);
}

.pill {
  background: var(--accent-cyan);
  color: #05070d;
  padding: 3px 14px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 800;
  font-family: var(--font-mono);
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.plan {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.price {
  font-size: 2.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.price-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ── Trusted Section ─────────────────────────────────── */
.trusted-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 56px;
}

.trusted-logos span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.45;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 32px 16px;
}

.stat h3 {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.stat p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CTA Section ─────────────────────────────────────── */
.cta-box {
  background: var(--accent-gradient);
  border-radius: 32px;
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.card-slash {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-urgency {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 99px;
  padding: 5px 16px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.7;
}

.cta-form {
  background: rgba(255, 255, 255, 0.11);
  padding: 36px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-form input {
  width: 100%;
  padding: 13px 16px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.cta-form input::placeholder { color: rgba(255, 255, 255, 0.45); }

.cta-form input:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.13);
}

.cta-primary {
  width: 100%;
  background: #fff !important;
  color: #05070d !important;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  background-image: none !important;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.cta-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.cta-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.55;
}

.cta-feedback {
  margin-top: 10px;
  font-size: 0.85rem;
  text-align: center;
  min-height: 20px;
  font-weight: 600;
  transition: opacity 0.3s;
}

/* ── Find Us Layout ───────────────────────────────────── */
.find-us-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  align-items: start;
}

/* ── Station Search Panel ─────────────────────────────── */
.station-search-panel {
  position: relative;
}

.station-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 8, 5, 0.6);
  border: var(--border-premium);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: border-color 0.2s;
}

.station-search-input-wrap:focus-within {
  border-color: rgba(232, 52, 28, 0.5);
  box-shadow: 0 0 0 3px rgba(232, 52, 28, 0.08);
}

.station-search-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--text-muted);
}

.station-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  min-width: 0;
}

.station-search-input::placeholder {
  color: var(--text-muted);
}

.station-search-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0 2px;
  line-height: 1;
  transition: color 0.15s;
}

.station-search-clear:hover {
  color: var(--accent-cyan);
}

.station-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a0a07;
  border: var(--border-premium);
  border-radius: var(--radius-md);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 480px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}

.station-search-results li {
  padding: 9px 16px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.12s;
}

.station-search-results li:hover,
.station-search-results li.active {
  background: rgba(232, 52, 28, 0.1);
}

.station-search-results li .result-name {
  font-weight: 600;
}

.station-search-results li .result-city {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.station-search-results li mark {
  background: none;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* ── Station Detail Card ─────────────────────────────── */
.station-detail-card {
  margin-top: 12px;
  background: rgba(22, 8, 5, 0.65);
  border: var(--border-premium);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeSlideIn 0.2s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.station-detail-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.35;
}

.station-detail-status {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 5px;
}
.station-detail-status.active   { color: #4caf50; }
.station-detail-status.coming-soon { color: #e8341c; }

.station-detail-fuels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fuel-badge {
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #f5a623;
  border-radius: 4px;
  padding: 2px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.station-detail-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--accent-cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  transition: opacity 0.15s;
  width: fit-content;
}
.station-detail-directions:hover { opacity: 0.75; }

/* ── Find Us / Google Map ────────────────────────────── */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border-premium);
  box-shadow: 0 0 40px rgba(232, 52, 28, 0.12);
}

#map {
  width: 100%;
  height: 560px;
  display: block;
}

/* Override Google Maps default controls to match dark theme */
#map .gm-style {
  font-family: var(--font-body);
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-wrap p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.83rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent-cyan); }

/* ── RTL Overrides ───────────────────────────────────── */
body[dir="rtl"] .stepped-card::before { right: auto; left: 18px; }
body[dir="rtl"] .card-slash { right: auto; left: 24px; }
body[dir="rtl"] .pill { left: auto; right: 50%; transform: translateX(50%); }
body[dir="rtl"] .timeline-step { text-align: right; }
body[dir="rtl"] .pricing-card ul li { padding-left: 0; padding-right: 22px; }
body[dir="rtl"] .pricing-card ul li::before { left: auto; right: 0; }
body[dir="rtl"] .coverage-cities { justify-content: flex-start; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ───────────────────────────────── */
@media (max-width: 1024px) {
  .hero-split { gap: 40px; }

  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .crisis-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .savings-card { grid-column: span 2; }
  .verification-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-layout { gap: 40px; }
  .cta-box { padding: 52px; gap: 40px; }
}

/* ── Mobile (≤ 768px) ────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav: hide desktop items, show hamburger, hide nav CTA */
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Hero: centered single column */
  .hero { padding-top: 72px; }
  .hero-center { padding-block: 40px 56px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero .lead { font-size: 0.98rem; margin-bottom: 28px; }
  .hero-actions .button { flex: 1; min-width: 140px; }
  .hero-trustbar { gap: 20px; padding-top: 24px; }

  /* All grids to single column */
  .card-grid.three { grid-template-columns: 1fr; }
  .crisis-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .savings-card { grid-column: span 1; }
  .savings-card strong { font-size: 1.4rem; }
  .verification-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  /* Coverage: stack map below text */
  .coverage-layout { grid-template-columns: 1fr; gap: 36px; }
  .saudi-map { max-width: 360px; }

  /* Find Us: stack search above map */
  .find-us-layout { grid-template-columns: 1fr; }

  /* Pricing: remove featured scale */
  .pricing-card.featured { transform: none; }

  /* CTA: stack form below content */
  .cta-box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 28px;
    border-radius: 24px;
  }

  /* Footer: stack brand and links */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-brand-wrap { align-items: center; }
  .footer-brand-wrap p { max-width: 100%; text-align: center; }
  .footer-links { justify-content: center; }

  /* Journey tabs: full width */
  .journey-tabs { flex-direction: column; }
  .journey-tab { width: 100%; text-align: center; }

  /* Section spacing */
  .section-heading { margin-bottom: 36px; }

  /* Marquee */
  .journey-shot { width: 260px; height: 165px; }

  /* CTA form */
  .cta-form { padding: 28px 22px; }
}

/* ── Small Mobile (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {
  .verification-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .crisis-card h3 { font-size: 2.4rem; }
  .stat h3 { font-size: 1.7rem; }
  .hero-trustbar { flex-wrap: wrap; gap: 16px; }
  .cta-form { padding: 22px 18px; }
}

/* ═══════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS
   ═══════════════════════════════════════════════════════ */

/* ── 1. Hero dot-grid scanline overlay ───────────────── */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(232, 52, 28, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── 2. Typography contrast ──────────────────────────── */
h2 {
  font-weight: 900;
  letter-spacing: -0.5px;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
}

/* Bolder, tighter eyebrow */
.eyebrow {
  letter-spacing: 5px;
  font-size: 0.72rem;
}

/* ── 3. Staggered card reveal animations ─────────────── */
/* Card grids */
.card-grid > .reveal:nth-child(2),
.crisis-grid > .reveal:nth-child(2),
.benefit-grid > .reveal:nth-child(2),
.verification-grid > .reveal:nth-child(2),
.stat-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }

.card-grid > .reveal:nth-child(3),
.crisis-grid > .reveal:nth-child(3),
.benefit-grid > .reveal:nth-child(3),
.verification-grid > .reveal:nth-child(3),
.stat-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }

.card-grid > .reveal:nth-child(4),
.benefit-grid > .reveal:nth-child(4),
.verification-grid > .reveal:nth-child(4),
.stat-grid > .reveal:nth-child(4) { transition-delay: 0.3s; }

.verification-grid > .reveal:nth-child(5) { transition-delay: 0.4s; }

/* Pricing grid stagger */
.pricing-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
.pricing-grid > .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ── 4. Glowing section dividers ─────────────────────── */
.section + .section {
  position: relative;
}

.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 52, 28, 0.3) 30%,
    rgba(245, 166, 35, 0.3) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── 5. Metallic pricing plan badges ─────────────────── */
.pricing-bronze .plan {
  background: linear-gradient(135deg, #8b5e2a 0%, #cd7f32 40%, #f0a95a 60%, #cd7f32 80%, #8b5e2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
}

.pricing-silver .plan {
  background: linear-gradient(135deg, #6b7a8a 0%, #a8b8c8 40%, #dce8f0 60%, #a8b8c8 80%, #6b7a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
}

.pricing-gold .plan {
  background: linear-gradient(135deg, #8b6914 0%, #d4a017 40%, #ffd700 60%, #d4a017 80%, #8b6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
}

/* ── 6. Trusted By logo badge treatment ──────────────── */
.trusted-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, background 0.3s;
}

.logo-badge:hover {
  background: rgba(232, 52, 28, 0.04);
  border-color: rgba(232, 52, 28, 0.2);
}

.logo-mono {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 52, 28, 0.08);
  border: 1px solid rgba(232, 52, 28, 0.2);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  flex-shrink: 0;
}

.logo-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245, 247, 250, 0.5);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ── 7. Active nav link ───────────────────────────────── */
.desktop-nav a.active {
  color: var(--accent-cyan);
}

.desktop-nav a.active::after {
  transform: scaleX(1);
}

/* ── 8. Footer gradient top border ───────────────────── */
.site-footer {
  border-top: none;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 52, 28, 0.35) 30%,
    rgba(245, 166, 35, 0.35) 70%,
    transparent 100%
  );
}

/* ── Responsive: keep dividers readable on mobile ─────── */
@media (max-width: 768px) {
  .section + .section::before { width: 90%; }
  .site-footer::before { width: 90%; }
  .logo-badge { padding: 10px 14px; }
  .logo-name { font-size: 0.78rem; }
}
