/* ============================================================
   Saabam Cargo — Main Stylesheet
   ============================================================ */

/* -----------------------------------------------------------
   1. CSS Custom Properties
   ----------------------------------------------------------- */
:root {
  /* Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-darker: #1e3a8a;
  --accent: #f59e0b;
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --premium: #7c3aed;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.2s ease;
  --transition-md: 0.3s ease;
  --transition-lg: 0.4s ease;

  /* Container */
  --container-max: 1200px;
  --container-pad: var(--space-6);

  /* Navbar */
  --nav-height: 72px;
}

/* -----------------------------------------------------------
   2. CSS Reset / Normalize
   ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* -----------------------------------------------------------
   3. Base Typography
   ----------------------------------------------------------- */
h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* -----------------------------------------------------------
   4. Utility Classes
   ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-20);
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--dark {
  background-color: var(--bg-dark);
  color: #fff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: #94a3b8;
}

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

.text-white {
  color: #fff !important;
}

.text-muted {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline--white {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline--white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.btn-lg {
  padding: 0.875rem var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: #d97706;
  border-color: #d97706;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.badge--premium {
  background-color: rgba(124, 58, 237, 0.1);
  color: var(--premium);
}

.badge--accent {
  background-color: rgba(245, 158, 11, 0.1);
  color: #92400e;
}

.section-tag {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.section-header {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
}

/* -----------------------------------------------------------
   5. Navbar
   ----------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background-color var(--transition-md), box-shadow var(--transition-md);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text);
  text-decoration: none;
  transition: opacity var(--transition);
}

.navbar__logo:hover {
  opacity: 0.85;
}

.navbar__logo-icon {
  flex-shrink: 0;
}

.navbar__logo-text {
  color: var(--text);
}

.navbar__logo-text span {
  color: var(--primary);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-md);
}

.navbar__links a:hover {
  color: var(--primary);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.navbar__hamburger:hover {
  background-color: var(--bg-alt);
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: var(--radius-full);
  transition: all var(--transition-md);
  transform-origin: center;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  flex-direction: column;
  gap: var(--space-4);
  z-index: 999;
}

.navbar__mobile.open {
  display: flex;
}

.navbar__mobile a {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.navbar__mobile a:last-child {
  border-bottom: none;
}

.navbar__mobile a:hover {
  color: var(--primary);
}

.navbar__mobile .btn {
  margin-top: var(--space-2);
  width: 100%;
}

/* -----------------------------------------------------------
   6. Hero Section
   ----------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #faf5ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-block: var(--space-16);
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background-color: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  width: fit-content;
}

.hero h1 {
  color: var(--text);
}

.hero h1 span {
  color: var(--primary);
  position: relative;
}

.hero__desc {
  font-size: var(--text-lg);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__trust {
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  color: #059669;
  font-weight: 500;
}

/* Hero Visual / Dashboard Mock */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mock {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  padding: var(--space-6);
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border);
  position: relative;
}

.dashboard-mock::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--premium));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.mock-title {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot--red { background: #ef4444; }
.mock-dot--yellow { background: #f59e0b; }
.mock-dot--green { background: #10b981; }

.mock-shipment {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  border: 1px solid var(--border);
}

.mock-shipment-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mock-shipment-info {
  flex: 1;
}

.mock-shipment-id {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text);
  font-family: monospace;
  letter-spacing: 0.05em;
}

.mock-shipment-route {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

.mock-status {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.mock-status--transit {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

/* Map SVG inside mock */
.mock-map {
  position: relative;
  background: #1e293b;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  height: 140px;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.mock-map-svg {
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.mock-route-line {
  position: absolute;
  top: 50%;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: translateY(-50%);
  border-radius: var(--radius-full);
}

.mock-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #fff;
}

.mock-pin--origin {
  left: 15%;
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

.mock-pin--dest {
  right: 15%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
}

.mock-pin--moving {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  left: calc(15% + 35%);
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.mock-stat {
  text-align: center;
  padding: var(--space-3);
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.mock-stat-value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--primary);
}

.mock-stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* -----------------------------------------------------------
   7. Stats Bar
   ----------------------------------------------------------- */
.stats-bar {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-8);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
}

.stat-item__value {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
}

.stat-item__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   8. Features Section
   ----------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-md);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-md);
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card--pro::before {
  background: linear-gradient(90deg, var(--premium), #a855f7);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-4);
  display: block;
}

.feature-card h3 {
  margin-bottom: var(--space-3);
}

.feature-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
}

.feature-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.1);
  color: var(--premium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-3);
}

/* -----------------------------------------------------------
   9. How It Works Section
   ----------------------------------------------------------- */
.how-it-works {
  background: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--premium));
  opacity: 0.3;
}

.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: transform var(--transition-md), box-shadow var(--transition-md);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  margin-bottom: var(--space-3);
}

.step-card p {
  font-size: var(--text-sm);
}

/* -----------------------------------------------------------
   10. Map Highlight Section
   ----------------------------------------------------------- */
.map-highlight {
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.map-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.map-highlight__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.map-highlight__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.map-highlight__content h2 {
  color: #fff;
}

.map-highlight__desc {
  color: #94a3b8;
  font-size: var(--text-lg);
  line-height: 1.7;
}

.map-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.map-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: #cbd5e1;
  font-weight: 500;
}

.map-feature-item::before {
  content: '';
  width: 20px;
  height: 20px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center;
}

/* CSS Map Visual */
.map-visual {
  background: #1e293b;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2), var(--shadow-2xl);
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  overflow: hidden;
}

.map-visual__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-visual__title {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.map-live-badge {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #10b981;
}

.map-live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}

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

.map-canvas {
  flex: 1;
  background: #162032;
  border-radius: var(--radius-md);
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.map-canvas svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.25;
}

.map-animated-route {
  position: absolute;
  top: 42%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: transparent;
}

.map-animated-route::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #10b981);
  border-radius: var(--radius-full);
  opacity: 0.8;
}

.map-animated-route::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3);
  animation: move-along 3s ease-in-out infinite;
}

@keyframes move-along {
  0% { left: 5%; }
  50% { left: 65%; }
  100% { left: 5%; }
}

.map-pin-origin,
.map-pin-dest {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  top: calc(42% - 6px);
}

.map-pin-origin {
  left: 10%;
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.3);
}

.map-pin-dest {
  right: 10%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
}

.map-label {
  position: absolute;
  font-size: 0.6rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.map-label--origin {
  left: 6%;
  top: calc(42% + 12px);
}

.map-label--dest {
  right: 2%;
  top: calc(42% + 12px);
}

.map-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3);
}

.map-info-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
}

.map-info-chip__value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: #e2e8f0;
}

.map-info-chip__label {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* -----------------------------------------------------------
   11. Pricing Section / Cards
   ----------------------------------------------------------- */
.pricing-section {
  background: var(--bg-alt);
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.pricing-toggle-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.pricing-toggle-label.active {
  color: var(--text);
  font-weight: 600;
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-md);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform var(--transition-md);
  box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-switch input:focus-visible + .toggle-slider {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.save-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 2px 10px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-radius: var(--radius-full);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: transform var(--transition-md), box-shadow var(--transition-md);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--popular {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.03);
  box-shadow: var(--shadow-2xl), 0 0 0 1px var(--primary);
}

.pricing-card--popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.pricing-card--popular .pricing-card__name,
.pricing-card--popular .pricing-card__price,
.pricing-card--popular .pricing-card__price-sub,
.pricing-card--popular .pricing-card__features li {
  color: #fff;
}

.pricing-card--popular .pricing-card__desc,
.pricing-card--popular .pricing-card__period {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-card--popular .pricing-features-divider {
  border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card--popular .feature-item--no {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-card--agency {
  border-color: var(--premium);
  border-width: 2px;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.pricing-card__plan-header {
  margin-bottom: var(--space-6);
}

.pricing-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.pricing-card__price {
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1;
}

.pricing-card__currency {
  font-size: var(--text-2xl);
  font-weight: 700;
  vertical-align: top;
  margin-top: 0.5rem;
  display: inline-block;
}

.pricing-card__period {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card__price-sub {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-1);
}

.pricing-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-3);
  line-height: 1.5;
}

.pricing-features-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--space-6);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.4;
}

.feature-icon-check {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-icon-x {
  color: var(--border);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-item--no {
  color: var(--text-muted);
  opacity: 0.6;
}

.pricing-card--popular .feature-icon-check {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card--popular .feature-icon-x {
  color: rgba(255, 255, 255, 0.3);
}

.btn-white {
  background-color: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-premium {
  background-color: var(--premium);
  color: #fff;
  border-color: var(--premium);
}

.btn-premium:hover {
  background-color: #6d28d9;
  border-color: #6d28d9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* -----------------------------------------------------------
   12. Comparison Table
   ----------------------------------------------------------- */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
}

.comparison-table thead {
  background: var(--bg-dark);
}

.comparison-table thead th {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table thead th:first-child {
  color: #e2e8f0;
}

.comparison-table thead th.col-popular {
  background: var(--primary);
  color: #fff;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background-color: var(--bg-alt);
}

.comparison-table td {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text);
}

.comparison-table td:first-child {
  font-weight: 500;
}

.comparison-table td.col-popular {
  background: rgba(37, 99, 235, 0.04);
}

.check-yes {
  color: #10b981;
  font-size: 1.1rem;
  font-weight: 700;
}

.check-no {
  color: #e2e8f0;
  font-size: 1.1rem;
}

.check-text {
  color: var(--text-muted);
  font-size: var(--text-xs);
}

/* -----------------------------------------------------------
   13. Testimonials
   ----------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform var(--transition-md), box-shadow var(--transition-md);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.08;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.star {
  color: var(--accent);
  font-size: var(--text-sm);
}

.testimonial-text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
  flex-shrink: 0;
}

.testimonial-avatar--blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.testimonial-avatar--green { background: linear-gradient(135deg, #10b981, #059669); }
.testimonial-avatar--purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.testimonial-author-info .name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text);
}

.testimonial-author-info .role {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   14. FAQ Section
   ----------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
  background: #fff;
}

.faq-item.open {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text);
  background: none;
  border: none;
  text-align: left;
  width: 100%;
  transition: color var(--transition);
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.faq-item.open .faq-question {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-md), background-color var(--transition);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-md);
}

.faq-item.open .faq-icon {
  background: var(--primary);
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-item.open .faq-icon svg path {
  stroke: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-lg), padding var(--transition-lg);
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* -----------------------------------------------------------
   15. Final CTA Section
   ----------------------------------------------------------- */
.final-cta {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary) 50%, var(--premium) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.final-cta h2 {
  color: #fff;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
}

/* -----------------------------------------------------------
   16. Footer
   ----------------------------------------------------------- */
.footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding-top: var(--space-16);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  text-decoration: none;
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 220px;
  color: #64748b;
}

.footer__col h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e2e8f0;
  margin-bottom: var(--space-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col ul a {
  font-size: var(--text-sm);
  color: #64748b;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col ul a:hover {
  color: #e2e8f0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-6);
  font-size: var(--text-sm);
  color: #475569;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__bottom a {
  color: #475569;
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: #94a3b8;
}

/* -----------------------------------------------------------
   17. Pricing Hero (pricing.html specific)
   ----------------------------------------------------------- */
.pricing-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  padding-top: calc(var(--nav-height) + var(--space-16));
  padding-bottom: var(--space-16);
  text-align: center;
}

.pricing-hero .section-tag {
  display: block;
  margin-bottom: var(--space-4);
}

.pricing-hero p {
  font-size: var(--text-xl);
  max-width: 540px;
  margin-inline: auto;
  margin-top: var(--space-4);
}

/* -----------------------------------------------------------
   18. Custom Contact Section
   ----------------------------------------------------------- */
.custom-plan {
  background: var(--bg-alt);
  text-align: center;
}

.custom-plan__inner {
  max-width: 540px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.custom-plan__inner h2 {
  font-size: var(--text-2xl);
}

/* -----------------------------------------------------------
   19. Scroll Animations
   ----------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }
.animate-on-scroll.delay-6 { transition-delay: 0.6s; }

/* Prevent flash on page load */
.js-loading .animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
}

/* -----------------------------------------------------------
   20. Responsive Breakpoints
   ----------------------------------------------------------- */

/* Tablet: 1024px */
@media (max-width: 1024px) {
  :root {
    --container-pad: var(--space-5);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
    padding-block: var(--space-12);
  }

  .hero__content {
    align-items: center;
  }

  .hero__desc {
    margin-inline: auto;
  }

  .hero__trust {
    justify-content: center;
  }

  .dashboard-mock {
    max-width: 440px;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .steps-grid::before {
    display: none;
  }

  .map-highlight__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }

  .pricing-card--popular {
    transform: none;
    order: -1;
  }

  .pricing-card--popular:hover {
    transform: translateY(-4px);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  :root {
    --container-pad: var(--space-4);
  }

  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-block: calc(var(--nav-height) + var(--space-12)) var(--space-12);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .pricing-hero {
    padding-top: calc(var(--nav-height) + var(--space-10));
    padding-bottom: var(--space-10);
  }

  .section {
    padding-block: var(--space-14);
  }

  h1 {
    font-size: clamp(var(--text-3xl), 8vw, var(--text-4xl));
  }
}

@media (max-width: 480px) {
  .stats-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .map-info-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* -----------------------------------------------------------
   21. Newsletter form
   ----------------------------------------------------------- */
.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;
}

.newsletter-form__row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.newsletter-form__input {
  flex: 1 1 220px;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: var(--text-base);
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s;
  outline: none;
}

.newsletter-form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.newsletter-form__btn {
  white-space: nowrap;
}

.newsletter-form__note {
  margin-top: .75rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-align: center;
}

/* -----------------------------------------------------------
   22. Print styles
   ----------------------------------------------------------- */
@media print {
  .navbar,
  .navbar__mobile,
  .final-cta,
  .footer {
    display: none;
  }
}
