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

/* ── Frutiger LT Pro — Official Petromin Font ────────── */
@font-face {
  font-family: 'Frutiger LT Pro';
  src: url('../assets/fonts/FrutigerLTPro-Light.woff2') format('woff2'),
       url('../assets/fonts/FrutigerLTPro-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Frutiger LT Pro';
  src: url('../assets/fonts/FrutigerLTPro-LightItalic.woff2') format('woff2'),
       url('../assets/fonts/FrutigerLTPro-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Frutiger LT Pro';
  src: url('../assets/fonts/FrutigerLTPro-Roman.woff2') format('woff2'),
       url('../assets/fonts/FrutigerLTPro-Roman.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Frutiger LT Pro';
  src: url('../assets/fonts/FrutigerLTPro-Italic.woff2') format('woff2'),
       url('../assets/fonts/FrutigerLTPro-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Frutiger LT Pro';
  src: url('../assets/fonts/FrutigerLTPro-Bold.woff2') format('woff2'),
       url('../assets/fonts/FrutigerLTPro-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Frutiger LT Pro';
  src: url('../assets/fonts/FrutigerLTPro-BoldItalic.woff2') format('woff2'),
       url('../assets/fonts/FrutigerLTPro-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Frutiger LT Pro';
  src: url('../assets/fonts/FrutigerLTPro-Black.woff2') format('woff2'),
       url('../assets/fonts/FrutigerLTPro-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Frutiger LT Pro';
  src: url('../assets/fonts/FrutigerLTPro-UltraBlack.woff2') format('woff2'),
       url('../assets/fonts/FrutigerLTPro-UltraBlack.woff') format('woff');
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Petromin Brand Colors — White Theme */
  --bg-deep: #f0ece8;
  --bg-surface: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.60);
  --bg-section-alt: #f8f6f4;
  --accent-cyan: #c41818;        /* Petromin Crimson */
  --accent-purple: #e87010;      /* Petromin Orange */
  --accent-dark: #4a3535;        /* Charcoal Brown */
  --accent-green: #e87010;       /* Warm orange */
  --accent-gradient: linear-gradient(90deg, #4a3535, #c41818, #e87010);
  --text-main: #1a1410;
  --text-muted: #1a1410;
  --font-heading: 'Frutiger LT Pro', 'Outfit', 'Tajawal', sans-serif;
  --font-body: 'Frutiger LT Pro', 'Inter', 'Tajawal', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --border-premium: 1px solid rgba(196, 24, 24, 0.18);
  --border-light: 1px solid rgba(26, 20, 16, 0.1);
  --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --glow-cyan: 0 0 20px rgba(196, 24, 24, 0.15);
  --radius-lg: 20px;
  --radius-md: 12px;
  --container-max: 1200px;
  --section-pad: clamp(56px, 8vw, 120px);
}

/* ── Accessibility Utilities ─────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

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

body.custom-cursor-enabled,
body.custom-cursor-enabled * {
  cursor: auto !important;
}

.custom-cursor-dot,
.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition:
    opacity 0.22s ease,
    width 0.24s ease,
    height 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
  z-index: 9999;
  will-change: transform, opacity, width, height;
}

.custom-cursor-dot {
  width: 4px;
  height: 4px;
  margin-left: -2px;
  margin-top: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c41818 0%, #e87010 100%);
  box-shadow:
    0 0 10px rgba(196, 24, 24, 0.16);
  opacity: 0.55;
}

.custom-cursor-ring {
  width: 26px;
  height: 26px;
  margin-left: -13px;
  margin-top: -13px;
  border-radius: 50%;
  border: 1px solid rgba(196, 24, 24, 0.2);
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 0 14px rgba(196, 24, 24, 0.08);
  animation: cursorPulse 2.2s ease-in-out infinite;
}

.custom-cursor-ring::before,
.custom-cursor-ring::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
}

.custom-cursor-ring::before {
  border: 1px solid rgba(232, 112, 16, 0.22);
  clip-path: polygon(0 0, 45% 0, 45% 12%, 0 12%);
  animation: cursorOrbit 7s linear infinite;
}

.custom-cursor-ring::after {
  inset: 5px;
  border: 1px dashed rgba(74, 53, 53, 0.12);
  animation: cursorOrbit 9s linear infinite reverse;
}

body.custom-cursor-visible .custom-cursor-dot,
body.custom-cursor-visible .custom-cursor-ring {
  opacity: 1;
}

body.custom-cursor-hover .custom-cursor-dot {
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  margin-top: -2.5px;
  box-shadow:
    0 0 14px rgba(232, 112, 16, 0.2);
}

body.custom-cursor-hover .custom-cursor-ring {
  width: 34px;
  height: 34px;
  margin-left: -17px;
  margin-top: -17px;
  border-color: rgba(232, 112, 16, 0.38);
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.34) inset,
    0 0 18px rgba(232, 112, 16, 0.1);
  filter: saturate(1.08);
}

body.custom-cursor-pressed .custom-cursor-dot {
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  margin-top: -1.5px;
}

body.custom-cursor-pressed .custom-cursor-ring {
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border-color: rgba(196, 24, 24, 0.34);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3) inset,
    0 0 12px rgba(196, 24, 24, 0.1);
}

@keyframes cursorPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.28) inset,
      0 0 14px rgba(196, 24, 24, 0.08);
    border-color: rgba(196, 24, 24, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.34) inset,
      0 0 18px rgba(232, 112, 16, 0.12);
    border-color: rgba(232, 112, 16, 0.26);
  }
}

@keyframes cursorOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body.custom-cursor-enabled,
  body.custom-cursor-enabled * {
    cursor: auto !important;
  }

  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* Headings for white background */
h1, h2, h3, h4, h5, h6 {
  color: #1a1410;
}

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

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

a { color: inherit; }

/* ── Animated Canvas Background ──────────────────────── */
#techCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}


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

/* Lift all page content above the canvas (z-index: 0) */
header, main, footer, .nav-overlay {
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Hero is fully transparent — canvas is the background */
.hero.section {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}


/* ── Navigation ──────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid rgba(26, 20, 16, 0.08);
  background-clip: padding-box;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

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

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

/* ── Petromin Logo Brand Standards ──────────────────────
   Minimum digital size: 53px height
   Clear space: equal to height of "N" symbol (~12px) on all sides
   Source: Petromin Brand Guidelines 2024-2025
   ─────────────────────────────────────────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  /* Clear space: padding acts as the required logo breathing room */
  padding: 8px 12px;
  margin: -8px -12px; /* offset padding so layout stays aligned */
  border-radius: 4px;
  transition: opacity 0.2s;
}

.brand:hover { opacity: 0.85; }

.brand-logo {
  height: 80px;
  width: auto;
  display: block;
  filter: none;
  image-rendering: auto;
}

/* Footer logo */
.footer-brand .brand-logo {
  height: 80px;
  width: auto;
  filter: none;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 60px;
  }
}

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

.desktop-nav a {
  color: #1a1410;
  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;
}

.nav-demo-btn,
.nav-cta {
  font-size: 0.8rem;
  padding: 8px 18px;
  min-height: unset;
  border-radius: 8px;
}

/* ── Language Toggle ─────────────────────────────────── */
.lang-toggle {
  background: rgba(26, 20, 16, 0.05);
  color: #1a1410;
  border: 1px solid rgba(26, 20, 16, 0.15);
  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(196, 24, 24, 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(26, 20, 16, 0.05);
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.3s;
}

.menu-toggle:hover { border-color: rgba(196, 24, 24, 0.4); }

.menu-dot {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(26, 20, 16, 0.6);
  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(255, 255, 255, 0.98);
  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-links a {
  color: #1a1410;
  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); }

.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(196, 24, 24, 0.2);
}

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

.button.ghost {
  background: rgba(26, 20, 16, 0.05);
  color: #1a1410;
  border: 1px solid rgba(26, 20, 16, 0.2);
  backdrop-filter: blur(5px);
}

.button.ghost:hover {
  background: rgba(196, 24, 24, 0.06);
  border-color: rgba(196, 24, 24, 0.4);
  color: var(--accent-cyan);
}

/* 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: #ffffff;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: none;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stepped-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(196, 24, 24, 0.12);
  border-color: rgba(196, 24, 24, 0.25);
}

.stepped-card::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 18px;
  width: 48px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80' fill='%23c41818'%3E%3Cpath d='M10 0 L40 40 L10 80 L26 80 L56 40 L26 0 Z'/%3E%3Cpath d='M40 0 L70 40 L40 80 L56 80 L86 40 L56 0 Z'/%3E%3Cpath d='M70 0 L100 40 L70 80 L86 80 L116 40 L86 0 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.75;
  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.92rem;
  margin-bottom: 16px;
  font-weight: 700;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Section fade-in on scroll */
.section {
  transition: opacity 0.6s ease;
}

/* Smooth anchor scroll offset */
.section[id] {
  scroll-margin-top: 80px;
}

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

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

/* ── About Platform — Video Background ──────────────── */
.about-video-section {
  --about-video-progress: 0;
  --about-video-side-inset: calc((1 - var(--about-video-progress)) * clamp(26px, 8vw, 120px));
  --about-video-top-inset: calc((1 - var(--about-video-progress)) * clamp(28px, 6vw, 80px));
  --about-video-bottom-inset: calc((1 - var(--about-video-progress)) * clamp(22px, 5vw, 64px));
  --about-video-radius: calc(32px - (var(--about-video-progress) * 32px));
  --about-video-lift: calc((1 - var(--about-video-progress)) * 56px);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  isolation: isolate;
}

.about-video-bg {
  position: absolute;
  top: var(--about-video-top-inset);
  right: var(--about-video-side-inset);
  bottom: var(--about-video-bottom-inset);
  left: var(--about-video-side-inset);
  z-index: 0;
  overflow: hidden;
  border-radius: var(--about-video-radius);
  box-shadow: 0 28px 80px rgba(74, 53, 53, calc(0.18 - (var(--about-video-progress) * 0.10)));
  transform: translateY(var(--about-video-lift)) scale(calc(0.84 + (var(--about-video-progress) * 0.16)));
  transform-origin: center center;
  will-change: transform, top, right, bottom, left, border-radius;
}

.about-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(1.05) brightness(1);
  transform: scale(calc(1.12 - (var(--about-video-progress) * 0.12)));
  transform-origin: center center;
  will-change: transform;
}

.about-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.58) 0%,
      rgba(255, 255, 255, 0.48) 50%,
      rgba(255, 255, 255, 0.62) 100%);
  opacity: calc(0.94 - (var(--about-video-progress) * 0.34));
}

.about-video-section .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(164px, 20vh, 240px);
}

.about-video-section .section-heading h2,
.about-video-section .section-heading p,
.about-video-section .eyebrow {
  color: #1a1410 !important;
  -webkit-text-fill-color: #1a1410 !important;
  text-shadow: none;
}

.about-video-section .section-heading h2 {
  text-shadow: none;
}

.about-video-section .eyebrow {
  color: #e87010 !important;
  -webkit-text-fill-color: #e87010 !important;
}

.about-video-section .stepped-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.about-video-section .stepped-card h3,
.about-video-section .stepped-card .icon {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.about-video-section .stepped-card p {
  color: rgba(255, 255, 255, 0.80);
}

.about-video-section .stepped-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(232, 112, 16, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.about-video-showcase {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 7;
}

@media (max-width: 860px) {
  .about-video-section {
    min-height: 100vh;
    --about-video-side-inset: calc((1 - var(--about-video-progress)) * 14px);
    --about-video-top-inset: calc((1 - var(--about-video-progress)) * 18px);
    --about-video-bottom-inset: calc((1 - var(--about-video-progress)) * 18px);
  }

  .about-video-section .container {
    padding-block: clamp(128px, 24vh, 188px);
  }

  .about-video-bg {
    box-shadow: 0 20px 56px rgba(74, 53, 53, 0.14);
  }
}

.about-video-showcase video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: 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(196, 24, 24, 0.06);
  border: 1px solid rgba(196, 24, 24, 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.85rem;
  letter-spacing: 3px;
  color: #c41818;
  text-shadow: none;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(
    90deg,
    #1a1410 0%,
    #e87010 18%,
    #c41818 38%,
    #1a1410 50%,
    #c41818 62%,
    #e87010 82%,
    #1a1410 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;
  filter: drop-shadow(0 1px 0px rgba(0,0,0,0.1));
}

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

.hero .lead {
  font-size: 1.15rem;
  color: #4a3535;
  text-shadow: none;
  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: 16px;
  padding-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 0;
  width: 160px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(196, 24, 24, 0.14);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(196, 24, 24, 0.06), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(196, 24, 24, 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
}

.trust-item strong {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1;
}

.trust-item span {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a1410;
  text-shadow: none;
  text-align: center;
}


/* ── Logo Marquee ────────────────────────────────────── */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-marquee-section {
  width: 100%;
  padding-top: 48px;
  margin-top: auto;
  background: transparent;
}

.logo-marquee-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(100, 60, 50, 0.5);
  margin: 0 0 20px 0;
}

.logo-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(196, 24, 24, 0.12);
  border-bottom: 1px solid rgba(196, 24, 24, 0.12);
  padding: 14px 0;
  z-index: 1;
}

.logo-marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-fade--left {
  left: 0;
  background: linear-gradient(to right, #f0ece8 0%, transparent 100%);
}

.logo-marquee-fade--right {
  right: 0;
  background: linear-gradient(to left, #f0ece8 0%, transparent 100%);
}

.logo-marquee-track {
  overflow: hidden;
}

.logo-marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.logo-marquee-inner:hover {
  animation-play-state: paused;
}

.lm-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  white-space: nowrap;
}

.lm-logo {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.lm-item:hover .lm-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.lm-abbr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  background: var(--accent-gradient);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
}

.lm-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1410;
  letter-spacing: 0.5px;
}

.lm-sep {
  color: rgba(196, 24, 24, 0.35);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── Trusted By ──────────────────────────────────────── */
@keyframes tb-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trusted-by-section {
  width: 100%;
  margin-top: auto;
  padding: 20px 0 18px;
  background: transparent;
}

.trusted-by-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #c41818;
  margin: 0 0 14px 0;
}

.trusted-by-track {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  padding-block: 18px;
  margin-block: -18px;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  width: 100%;
  isolation: isolate;
}

.trusted-by-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  padding: 18px 28px;
  animation: tb-scroll 30s linear infinite;
}

.trusted-by-inner:hover {
  animation-play-state: paused;
}

.tb-logo {
  position: relative;
  height: 42px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease,
    opacity 0.3s ease;
  flex-shrink: 0;
  will-change: transform, filter, opacity;
}

.tb-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.32);
  z-index: 2;
  filter: grayscale(0%) drop-shadow(0 10px 18px rgba(196, 24, 24, 0.14));
}

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

/* ── Stations Bento Grid ─────────────────────────────── */
.stations-bento {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  grid-template-rows: 300px 300px 300px;
  gap: 12px;
}

.bento-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin: 0;
  min-height: 0;
}

.bento-card img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.bento-card:hover img {
  transform: scale(1.04);
}

/* tall card spans 2 rows */
.bento-tall {
  grid-row: span 2;
}

.bento-text-dark {
  background: #1a1212;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: #fff;
}

.bento-text-dark h3 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 8px;
}

.bento-text-dark p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-mono);
}

.bento-text-accent {
  background: var(--accent-gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px;
  gap: 8px;
}

.bento-stat {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.bento-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.bento-gradient {
  background: linear-gradient(135deg, #4a3535 0%, #c41818 50%, #e87010 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.bento-gradient h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.bento-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
  .stations-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento-tall { grid-row: span 1; height: 220px; }
  .bento-card { min-height: 180px; }
}

@media (max-width: 600px) {
  .stations-bento {
    grid-template-columns: 1fr;
  }
}

.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 32s linear infinite;
  width: max-content;
}

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

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

.journey-shot {
  flex-shrink: 0;
  width: 640px;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  margin: 0;
  background: #000;
}

.journey-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: contrast(1.1) saturate(1.15) brightness(1.02);
}

.journey-shot:hover img {
  transform: scale(1.04);
  filter: contrast(1.15) saturate(1.2) brightness(1.05);
}

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

.crisis-section h2,
.crisis-section .section-heading p {
  color: rgba(240, 236, 232, 0.9);
}

.crisis-section .eyebrow {
  color: var(--accent-purple);
}

.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: rgba(240, 236, 232, 0.65);
  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: #1a1410;
  margin-bottom: 0;
}

.savings-card {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(196, 24, 24, 0.04), rgba(232, 112, 16, 0.04));
  border-color: rgba(196, 24, 24, 0.2);
}

.savings-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1410;
}


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

.premium-section {
  background: linear-gradient(180deg, transparent, rgba(232, 112, 16, 0.04), transparent);
}

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

.verification-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 24, 24, 0.15);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(196, 24, 24, 0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: background 0.25s, box-shadow 0.25s;
}

.verification-card .icon svg {
  width: 26px;
  height: 26px;
}

.verification-card:hover .icon {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 18px rgba(196, 24, 24, 0.14), inset 0 1px 0 rgba(255,255,255,0.9);
}

.verification-card h3 {
  font-size: 0.88rem;
  color: #1a1410;
  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: #ffffff;
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: var(--radius-md);
  color: #1a1410;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  box-shadow: var(--shadow-card);
}

.journey-tab.active,
.journey-tab:hover {
  background: rgba(196, 24, 24, 0.05);
  border-color: rgba(196, 24, 24, 0.35);
  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(196, 24, 24, 0.07);
  border: 1px solid rgba(196, 24, 24, 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: #1a1410;
}

.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(196, 24, 24, 0.06);
  border: 1px solid rgba(196, 24, 24, 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(196, 24, 24, 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(196, 24, 24, 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(26, 20, 16, 0.08);
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(26, 20, 16, 0.15);
  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(196, 24, 24, 0.4);
}

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

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

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

.pricing-card.featured {
  transform: none;
  box-shadow: var(--shadow-card);
}

.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.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  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: #1a1410;
  margin-bottom: 24px;
  line-height: 1.55;
  min-height: calc(0.88rem * 1.55 * 4);
}

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

.pricing-card ul li {
  font-size: 0.88rem;
  color: #1a1410;
  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.75;
}

.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: #f8f6f4;
  border: 1px solid rgba(196,24,24,0.12);
  border-radius: 32px;
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.card-slash {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(196, 24, 24, 0.45);
  pointer-events: none;
}

.cta-content {
  position: relative;
  background: linear-gradient(rgba(26, 16, 10, 0.55), rgba(26, 16, 10, 0.55)), url('../assets/Call.png');
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  padding: 40px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(196,24,24,0.18);
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

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

.cta-form {
  background: #ffffff;
  padding: 36px;
  border-radius: 20px;
  border: 1px solid rgba(196,24,24,0.12);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  backdrop-filter: none;
}

.cta-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 13px 16px;
  background: #faf8f6;
  border: 1px solid rgba(26,20,16,0.15);
  border-radius: 10px;
  color: #1a1410;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-sizing: border-box;
}

.cta-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.cta-form input::placeholder,
.cta-form textarea::placeholder { color: rgba(26,20,16,0.45); }

.cta-form select:invalid,
.cta-form select option[value=""] { color: rgba(26,20,16,0.45); }

.cta-form select option:not([value=""]) { color: #1a1a1a; }

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: #c41818;
  box-shadow: 0 0 0 3px rgba(196, 24, 24, 0.12);
  outline: none;
}

.cta-form textarea {
  resize: vertical;
  margin-bottom: 20px;
  display: block;
}

.cta-form-submit-row {
  display: flex;
  justify-content: center;
}

.cta-primary {
  width: auto;
  min-width: 180px;
  padding: 14px 40px;
  background: var(--accent-gradient) !important;
  background-image: var(--accent-gradient) !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(196, 24, 24, 0.35);
  border: none;
}

.cta-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 24, 24, 0.45);
}

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

.cta-primary.btn-loading {
  position: relative;
  color: transparent !important;
}

.cta-primary.btn-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.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: 280px 1fr;
  gap: 20px;
  align-items: start;
}

/* ── Station Filter Panel ─────────────────────────────── */
.station-search-panel {
  position: relative;
  background: #ffffff;
  border: var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.station-filter-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1410;
  margin: 0;
  line-height: 1.2;
}

.station-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.station-filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.station-filter-select-wrap {
  position: relative;
}

.station-filter-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #1a1410;
  pointer-events: none;
}

.station-filter-select {
  width: 100%;
  padding: 11px 36px 11px 16px;
  background: #ffffff;
  border: 1px solid rgba(26, 20, 16, 0.18);
  border-radius: 99px;
  color: #1a1410;
  font-family: var(--font-body);
  font-size: 0.92rem;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.station-filter-select:focus {
  border-color: rgba(196, 24, 24, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 24, 24, 0.08);
}

.station-filter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: var(--accent-gradient);
  color: #ffffff;
  border: none;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(196, 24, 24, 0.22);
  margin-top: 4px;
}

.station-filter-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196, 24, 24, 0.32);
}

.station-filter-btn:active {
  transform: translateY(0);
}

/* ── Station Detail Card ─────────────────────────────── */
.station-detail-card {
  margin-top: 12px;
  background: #ffffff;
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-card);
  animation: fadeSlideIn 0.2s ease;
}

.station-detail-card[hidden],
.station-detail-brand[hidden],
.station-detail-fuels[hidden],
.station-detail-directions[hidden] {
  display: none !important;
}

.station-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.station-detail-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
}

.station-detail-brand {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-shrink: 0;
}

.station-detail-brand img {
  display: block;
  width: 92px;
  max-width: 100%;
  height: auto;
}

@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: #1a1410;
  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: #c41818; }

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

.fuel-badge {
  background: rgba(232, 112, 16, 0.12);
  border: 1px solid rgba(232, 112, 16, 0.35);
  color: #e87010;
  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: 1px solid rgba(26, 20, 16, 0.1);
  box-shadow: var(--shadow-card);
}

#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(26, 20, 16, 0.08);
  background: #f8f6f4;
}

.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: #1a1410;
  max-width: 300px;
  line-height: 1.6;
}

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

.footer-links a {
  color: #1a1410;
  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); }

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26, 20, 16, 0.07);
  border: 1px solid rgba(26, 20, 16, 0.1);
  color: rgba(26, 20, 16, 0.55);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.footer-social-link:hover {
  background: #c41818;
  border-color: #c41818;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── 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
   ═══════════════════════════════════════════════════════ */

/* ── Mid Tablet (≤ 900px) ────────────────────────────── */
@media (max-width: 900px) {
  .verification-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
}

/* ── 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, .nav-demo-btn { 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; }
  .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: 340px; height: 220px; }

  /* CTA form */
  .cta-form { padding: 28px 22px; }
  .cta-form-grid { grid-template-columns: 1fr; }
}

/* ── 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(196, 24, 24, 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: 4px;
  font-size: 0.92rem;
}

/* ── 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.15s; }

.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.30s; }

.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.45s; }

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

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

/* ── 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(26, 20, 16, 0.08) 30%,
    rgba(26, 20, 16, 0.08) 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── 5. Metallic pricing plan badges ─────────────────── */
@keyframes glow-bronze {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(196, 116, 40, 0.5)); }
  50%       { filter: drop-shadow(0 0 8px rgba(196, 116, 40, 0.95)) drop-shadow(0 0 16px rgba(196, 116, 40, 0.45)); }
}

@keyframes glow-silver {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(74, 98, 120, 0.5)); }
  50%       { filter: drop-shadow(0 0 8px rgba(74, 98, 120, 0.95)) drop-shadow(0 0 16px rgba(74, 98, 120, 0.45)); }
}

@keyframes glow-gold {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(196, 138, 0, 0.5)); }
  50%       { filter: drop-shadow(0 0 8px rgba(196, 138, 0, 0.95)) drop-shadow(0 0 16px rgba(196, 138, 0, 0.45)); }
}

.pricing-bronze .plan {
  background: linear-gradient(135deg, #5c3510 0%, #9e5c1e 40%, #c47428 60%, #9e5c1e 80%, #5c3510 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
  animation: glow-bronze 2.8s ease-in-out infinite;
}

.pricing-silver .plan {
  background: linear-gradient(135deg, #2d3d4e 0%, #4a6278 40%, #607d93 60%, #4a6278 80%, #2d3d4e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
  animation: glow-silver 2.8s ease-in-out infinite 0.4s;
}

.pricing-gold .plan {
  background: linear-gradient(135deg, #5c4200 0%, #9c6e00 40%, #c48a00 60%, #9c6e00 80%, #5c4200 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
  animation: glow-gold 2.8s ease-in-out infinite 0.8s;
}

/* ── 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: #ffffff;
  border: 1px solid rgba(26, 20, 16, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.logo-badge:hover {
  border-color: rgba(196, 24, 24, 0.25);
  box-shadow: 0 4px 20px rgba(196, 24, 24, 0.08);
}

.logo-mono {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 24, 24, 0.08);
  border: 1px solid rgba(196, 24, 24, 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: #1a1410;
  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);
}

/* Mobile nav active */
.nav-links a.active {
  color: var(--accent-cyan) !important;
}

/* ── 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(196, 24, 24, 0.35) 30%,
    rgba(232, 112, 16, 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; }
}