/* ═══════════════════════════════════════════
   GLOBAL STYLES & RESET
   ═══════════════════════════════════════════ */

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

:root {
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --blue-light: #dbeafe;
  --navy: #0f172a;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --white: #ffffff;
  --green: #22c55e;
  --accent: #06b6d4;
  --text: #0f172a;
  --radius: 14px;

  --font-d: 'Clash Display', sans-serif;
  --font-b: 'Bricolage Grotesque', sans-serif;
  --font-primary: 'Sora', sans-serif;
  --font-secondary: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-secondary);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
         NAVIGATION & HEADER
         ═══════════════════════════════════════════ */

.topbar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-family: var(--font-primary);
  line-height: 1.5;
}

.topbar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e8ef;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--blue);
}

.nav-logo svg {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
}

.nav-links > li > a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links > li > a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── NAV BUTTONS ─────────────────────────── */

.btn-ghost {
  background: none;
  border: 1.5px solid #d1d8e8;
  color: var(--navy);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-demo {
  background: var(--navy);
  color: #fff;
  border: none;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
  white-space: nowrap;
}

.btn-demo:hover {
  background: #1a3560;
}

/* ─── HAMBURGER MENU ──────────────────────── */

.nav-hamburger {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  display: none;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: #0b1229;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger:hover span {
  background: #1a6bff;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ─── MOBILE MENU ─────────────────────────── */

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  display: none;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background 0.2s;
  font-family: var(--font-primary);
}

.mobile-menu a:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.mobile-divider {
  height: 1px;
  background: #e5e8ef;
  margin: 8px 0;
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mobile-cta a {
  text-align: center;
  font-size: 15px;
  padding: 14px;
}

.mobile-cta .m-primary {
  background: var(--blue);
  color: #fff;
}

.mobile-cta .m-dark {
  background: var(--navy);
  color: #fff;
}

/* ═══════════════════════════════════════════
         HERO SECTION
         ═══════════════════════════════════════════ */

.hero {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    #0f2455 60%,
    #162b6e 100%
  );
  padding: 72px 24px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    rgba(26, 107, 255, 0.25) 0%,
    transparent 70%
  );
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #a8c4ff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  font-family: var(--font-primary);
  backdrop-filter: blur(8px);
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(32px, 7vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  position: relative;
}

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

.hero p {
  color: #99b4e0;
  font-size: clamp(15px, 2.5vw, 19px);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
}

.btn-hero {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(26, 107, 255, 0.35);
}

.btn-hero:hover {
  background: #0d56e0;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 107, 255, 0.45);
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-hero-outline svg {
  width: 16px;
  height: 16px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #7a9acb;
  font-size: 13px;
  margin-bottom: 52px;
  position: relative;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-trust svg {
  color: var(--green);
  flex-shrink: 0;
}

/* ─── HERO DASHBOARD MOCKUP ──────────────── */

.hero-image-wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-dashboard {
  background: #101c3a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 -20px 80px rgba(26, 107, 255, 0.2),
    0 40px 120px rgba(0, 0, 0, 0.5);
}

.dashboard-bar {
  background: #0d1830;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.db-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.db-dot.red {
  background: #ff5f57;
}

.db-dot.yellow {
  background: #ffbd2e;
}

.db-dot.green {
  background: #28c840;
}

.dashboard-bar .url-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px;
  color: #7a9acb;
  max-width: 320px;
  margin: 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: 360px;
}

.dashboard-sidebar {
  background: #0d1a38;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px;
  overflow: hidden;
}

.dash-label {
  color: #4a6899;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  font-family: var(--font-primary);
}

.route-card {
  background: rgba(26, 107, 255, 0.12);
  border: 1px solid rgba(26, 107, 255, 0.25);
  border-radius: 8px;
  padding: 9px 11px;
  margin-bottom: 7px;
  cursor: pointer;
}

.route-card.active {
  background: rgba(26, 107, 255, 0.25);
  border-color: var(--blue);
}

.route-card .rc-title {
  color: #c8d9f5;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 3px;
  font-family: var(--font-primary);
}

.route-card .rc-meta {
  color: #5a7fb5;
  font-size: 10px;
}

.rc-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  margin-right: 4px;
}

.dashboard-map {
  background: #1a2e54;
  position: relative;
  overflow: hidden;
}

.map-bg {
  position: absolute;
  inset: 0;
}

.map-grid line {
  stroke: rgba(255, 255, 255, 0.04);
  stroke-width: 1;
}

.map-road {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.map-road.main {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 3;
}

.route-line {
  stroke: var(--blue);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawRoute 3s ease forwards 0.5s;
}

.route-line-2 {
  stroke: var(--green);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawRoute 2.5s ease forwards 1.2s;
}

.map-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--blue);
  border: 2.5px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(26, 107, 255, 0.5);
  animation: pinDrop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.map-pin.green {
  background: var(--green);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.5);
}

.map-pin.orange {
  background: #f97316;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5);
}

.map-stats {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.map-stat-card {
  background: rgba(11, 18, 41, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px 12px;
  backdrop-filter: blur(8px);
  min-width: 120px;
}

.map-stat-card .msc-label {
  color: #5a7fb5;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.map-stat-card .msc-value {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-primary);
}

.map-stat-card .msc-unit {
  color: #4a9e6e;
  font-size: 10px;
  font-weight: 600;
}

.mock-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px 12px;
  margin-bottom: 7px;
}

.mock-card-label {
  color: #4a6899;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
  font-family: var(--font-primary);
}

.mock-card-val {
  color: #c8d9f5;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-primary);
}

/* ═══════════════════════════════════════════
         LOGOS STRIP
         ═══════════════════════════════════════════ */

.logos-strip {
  background: var(--gray-light);
  border-top: 1px solid #e8ecf5;
  border-bottom: 1px solid #e8ecf5;
  padding: 24px;
  text-align: center;
  overflow: hidden;
}

.logos-strip p {
  color: var(--gray);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-family: var(--font-primary);
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.logo-item {
  color: #9aa5be;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 13px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.logo-item:hover {
  opacity: 1;
  color: var(--blue);
}

/* ═══════════════════════════════════════════
         STATS SECTION
         ═══════════════════════════════════════════ */

.stats-section {
  background: var(--navy);
  padding: 60px 24px;
}

.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.stat-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.stat-arrow-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-arrow-icon.up {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.stat-arrow-icon.down {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.stat-value {
  font-family: var(--font-primary);
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value span {
  color: var(--accent);
}

.stat-label {
  color: #6b87ba;
  font-size: 13px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
         SECTION SHARED STYLES
         ═══════════════════════════════════════════ */

.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-primary);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title .blue {
  color: var(--blue);
}

.section-subtitle {
  color: var(--gray);
  font-size: 16px;
  max-width: 520px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
         FEATURES SECTION
         ═══════════════════════════════════════════ */

.features-section {
  background: var(--white);
}

.features-header {
  text-align: center;
  margin-bottom: 52px;
}

.features-header .section-subtitle {
  margin: 0 auto;
}

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

.feature-card {
  background: var(--gray-light);
  border: 1px solid #e5e8ef;
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 107, 255, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}

.feature-card h3 {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
         HOW IT WORKS SECTION
         ═══════════════════════════════════════════ */

.how-section {
  background: var(--navy);
}

.how-section .section-title {
  color: #fff;
}

.how-section .section-label {
  background: rgba(26, 107, 255, 0.2);
  color: #7ab0ff;
}

.how-section .section-subtitle {
  color: #7a9acb;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}

.how-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(26, 107, 255, 0.35);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-family: var(--font-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: #6b87ba;
  font-size: 13.5px;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
         PLATFORM SECTION
         ═══════════════════════════════════════════ */

.platform-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.platform-item:last-child {
  margin-bottom: 0;
}

.platform-item.reverse {
  direction: rtl;
}

.platform-item.reverse > * {
  direction: ltr;
}

.platform-text .section-label {
  margin-bottom: 10px;
}

.platform-text h2 {
  font-family: var(--font-primary);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}

.platform-text p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.platform-text a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.platform-text a:hover {
  text-decoration: underline;
}

.platform-visual {
  background: var(--gray-light);
  border: 1px solid #e5e8ef;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ─── PHONE MOCKUP ────────────────────────── */

.phone-mockup {
  width: 200px;
  background: #0f1e3a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  background: #0f1e3a;
  padding: 12px 10px;
}

.phone-topbar {
  background: var(--blue);
  border-radius: 6px;
  padding: 7px 8px;
  margin-bottom: 8px;
  text-align: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-primary);
}

.phone-stop {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-stop:last-child {
  border-bottom: none;
}

.stop-num {
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-primary);
}

.stop-num.done {
  background: var(--green);
}

.stop-info {
  flex: 1;
  min-width: 0;
}

.stop-name {
  color: #c8d9f5;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stop-addr {
  color: #4a6899;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════
         TESTIMONIALS SECTION
         ═══════════════════════════════════════════ */

.testimonials-section {
  background: var(--gray-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e5e8ef;
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(26, 107, 255, 0.08);
}

.stars {
  color: #fbbf24;
  font-size: 15px;
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 13px;
  font-family: var(--font-primary);
}

.author-role {
  color: var(--gray);
  font-size: 12px;
}

/* ═══════════════════════════════════════════
         CTA BANNER SECTION
         ═══════════════════════════════════════════ */

.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #0d3dba 100%);
  padding: 72px 24px;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-primary);
  font-size: clamp(26px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-white {
  background: #fff;
  color: var(--blue);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta-outline {
  background: transparent;
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════
         FAQ SECTION
         ═══════════════════════════════════════════ */

.section-faq {
  background: #f7f8fc;
}

.section-faq .section-header {
  text-align: left;
  max-width: 640px;
  margin: 0 auto 32px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-question {
  width: 100%;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid #e1e4f0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 500 15px var(--font-primary);
  color: #0b1229;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.faq-question:hover {
  border-color: #c4c9e4;
  box-shadow: 0 8px 20px rgba(11, 18, 41, 0.06);
}

.faq-icon {
  font-size: 18px;
  color: #9ca3c7;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
  padding: 0 18px;
}

.faq-answer p {
  margin: 0;
  padding: 10px 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5573;
}

/* ═══════════════════════════════════════════
         FOOTER
         ═══════════════════════════════════════════ */

.footer {
  width: 100%;
  box-sizing: border-box;
  background-color: #141825;
}
.footer-text,
.footer-text,
.footer-inner,
.nav-logo,
.social-btn {
  color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  width: 100%;
  box-sizing: border-box;
}

.footer-text {
  flex: 1;
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-brand .nav-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.footer-brand .nav-logo .wordmark {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.footer-brand .nav-logo .wordmark span {
  color: #1a6bff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.75;
  color: #6b7a99;
  max-width: 300px;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #8a96b0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: rgba(26, 107, 255, 0.15);
  border-color: rgba(26, 107, 255, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #6b7a99;
  text-decoration: none;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: #1a6bff;
  transition: width 0.2s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col ul li a:hover::before {
  width: 12px;
}

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1a6bff;
  background: rgba(26, 107, 255, 0.12);
  border: 1px solid rgba(26, 107, 255, 0.25);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

.footer-bottom-left {
  font-size: 13px;
  color: #3d4a63;
}

.footer-bottom-right {
  display: flex;
  gap: 24px;
}

.footer-bottom-right a {
  font-size: 13px;
  color: #3d4a63;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom-right a:hover {
  color: #6b7a99;
}

/* ═══════════════════════════════════════════
         ANIMATIONS
         ═══════════════════════════════════════════ */

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

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

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

@keyframes pinDrop {
  from {
    opacity: 0;
    transform: rotate(-45deg) scale(0) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.fade-up-2 {
  animation-delay: 0.2s;
  opacity: 0;
}

.fade-up-3 {
  animation-delay: 0.3s;
  opacity: 0;
}

.fade-up-4 {
  animation-delay: 0.4s;
  opacity: 0;
}

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

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-ghost,
  .nav-actions .btn-demo {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-actions {
    margin-left: 0;
  }

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

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

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

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .dashboard-content {
    grid-template-columns: 200px 1fr;
    height: 300px;
  }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
  .topbar {
    font-size: 12px;
  }

  nav {
    display: flex;
    justify-content: space-between; /* or use margin-left: auto on the button */
    align-items: center;
  }

  .nav-logo {
    font-size: 18px;
  }

  .nav-actions .btn-primary {
    font-size: 13px;
    padding: 8px 14px;
  }

  .mobile-menu {
    top: 60px;
  }

  .hero {
    padding: 56px 16px 0;
  }

  .hero h1 {
    font-size: clamp(28px, 9vw, 44px);
  }

  .hero-tag {
    font-size: 11px;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .hero-cta {
    gap: 10px;
  }

  .btn-hero {
    font-size: 14px;
    padding: 13px 24px;
  }

  .btn-hero-outline {
    font-size: 13px;
    padding: 12px 18px;
  }

  .hero-trust {
    gap: 12px;
    font-size: 12px;
    margin-bottom: 40px;
  }

  .dashboard-content {
    grid-template-columns: 1fr;
    height: 220px;
  }

  .dashboard-sidebar {
    display: none;
  }

  .map-stats {
    top: 8px;
    right: 8px;
  }

  .map-stat-card {
    padding: 7px 10px;
    min-width: 100px;
  }

  .map-stat-card .msc-value {
    font-size: 15px;
  }

  .map-pin {
    width: 16px;
    height: 16px;
  }

  .section {
    padding: 56px 16px;
  }

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

  .feature-card {
    padding: 22px;
  }

  .stats-section {
    padding: 48px 16px;
  }

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

  .stat-value {
    font-size: 36px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step {
    display: flex;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
  }

  .step-num {
    width: 52px;
    height: 52px;
    font-size: 18px;
    margin: 0;
    flex-shrink: 0;
  }

  .step-content {
    flex: 1;
  }

  .step-content h3 {
    margin-bottom: 6px;
  }

  .platform-item,
  .platform-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
    margin-bottom: 56px;
  }

  .platform-visual {
    aspect-ratio: 16/9;
  }

  .phone-mockup {
    width: 160px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 22px;
  }

  .cta-section {
    padding: 56px 16px;
  }

  .cta-section p {
    font-size: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-cta-white,
  .btn-cta-outline {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  footer {
    padding: 48px 16px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .logos-strip {
    padding: 20px 16px;
  }

  .logos-row {
    gap: 18px;
  }
}

/* Small mobile: <= 480px */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(26px, 10vw, 36px);
  }

  .hero-trust {
    flex-direction: column;
    gap: 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-value {
    font-size: 32px;
  }

  .stat-label {
    font-size: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .nav-actions .btn-primary {
    display: none;
  }

  .dashboard-bar .url-bar {
    max-width: 180px;
    font-size: 10px;
  }
}
