/* ============================================================
   CarryLink – assets/css/style.css
   Modern UI - Inter font, glassmorphism, smooth transitions
   ============================================================ */

/* ── Google Font ─────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap");

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-mid: #14b8a6;
  --teal-light: #ccfbf1;
  --teal-50: #f0fdf4;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fef3c7;
  --gray-soft: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Dark mode ──────────────────────────────────────────── */
[data-theme="dark"] {
  --gray-soft: #1e293b;
  --gray-100: #0f172a;
  --gray-200: #1e293b;
  --gray-700: #cbd5e1;
  --gray-900: #f1f5f9;
  --teal-light: #134e4a;
  --teal-50: #0f2a28;
  --amber-light: #451a03;
}
[data-theme="dark"] body {
  background: #0f172a;
  color: #e2e8f0;
}
[data-theme="dark"] .card {
  background: #1e293b;
  border-color: #334155 !important;
}
[data-theme="dark"] .bg-white {
  background: #1e293b !important;
}
[data-theme="dark"] .bg-soft {
  background: #0f172a !important;
}
[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.95) !important;
}
[data-theme="dark"] .dropdown-menu {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .dropdown-item {
  color: #cbd5e1;
}
[data-theme="dark"] .dropdown-item:hover {
  background: #0d9488;
  color: #fff;
}
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: #0f172a;
  color: #e2e8f0;
  border-color: #334155;
}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
  background: #0f172a;
  color: #e2e8f0;
  border-color: #0d9488;
}
[data-theme="dark"] .form-control::placeholder {
  color: #64748b;
}
[data-theme="dark"] .form-label,
[data-theme="dark"] .form-check-label {
  color: #cbd5e1;
}
[data-theme="dark"] .table {
  color: #cbd5e1;
}
[data-theme="dark"] .table-light {
  --bs-table-bg: #1e293b;
}
[data-theme="dark"] .table-hover tbody tr:hover {
  background: rgba(13, 148, 136, 0.1);
}
[data-theme="dark"] .text-muted {
  color: #64748b !important;
}
[data-theme="dark"] .border-bottom {
  border-color: #334155 !important;
}
[data-theme="dark"] hr {
  border-color: #334155;
}
[data-theme="dark"] .accordion-button {
  background: #1e293b;
  color: #e2e8f0;
}
[data-theme="dark"] .accordion-item {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .list-group-item {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
[data-theme="dark"] .alert-info {
  background: #0c2a44;
  color: #7dd3fc;
  border-color: #0369a1;
}
[data-theme="dark"] .alert-warning {
  background: #3b2006;
  color: #fcd34d;
  border-color: #92400e;
}
[data-theme="dark"] .alert-success {
  background: #052e16;
  color: #86efac;
  border-color: #166534;
}
[data-theme="dark"] .modal-content {
  background: #1e293b;
  color: #e2e8f0;
}
[data-theme="dark"] .input-group-text {
  background: #334155;
  color: #e2e8f0;
  border-color: #475569;
}
[data-theme="dark"] footer {
  background: #030712 !important;
}
[data-theme="dark"] .mobile-menu-overlay {
  background: #0f172a;
}
[data-theme="dark"] .mobile-nav-link {
  color: #e2e8f0;
}
[data-theme="dark"] .mobile-nav-link:hover {
  color: var(--teal);
}
[data-theme="dark"] .mobile-divider {
  background: #1e293b;
}
/* ── Sidebar dark mode ───────────────────────────────────── */
[data-theme="dark"] #appSidebar {
  background: #1e293b;
  border-right-color: #334155;
}
[data-theme="dark"] .sb-profile {
  border-bottom-color: #334155;
}
[data-theme="dark"] .sb-section-label {
  color: #64748b;
}
[data-theme="dark"] .sb-link {
  color: #cbd5e1;
}
[data-theme="dark"] .sb-link:hover,
[data-theme="dark"] .sb-link.active {
  background: #134e4a;
  color: var(--teal) !important;
}
[data-theme="dark"] .sb-link.active i { color: var(--teal) !important; }
[data-theme="dark"] .sb-link-admin:hover,
[data-theme="dark"] .sb-link-admin.active { background: #3b0a0a; }
[data-theme="dark"] .sb-footer {
  border-top-color: #334155;
}
[data-theme="dark"] .sb-theme-btn {
  background: #0f172a;
  color: #cbd5e1;
}
/* ── Utility ─────────────────────────────────────────────── */
.bg-teal-light { background: var(--teal-light) !important; }
[data-theme="dark"] .hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #0f2a28 50%, #1a1a0a 100%);
}
[data-theme="dark"] .hero-search-box {
  background: #1e293b !important;
}
[data-theme="dark"] .feature-card {
  background: #1e293b;
  border-color: #334155 !important;
}
[data-theme="dark"] .step-card {
  background: #1e293b;
}

/* ── Base ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}
a {
  color: var(--teal);
  transition: var(--transition);
}
a:hover {
  color: var(--teal-dark);
}
img {
  max-width: 100%;
}

/* ── Brand colours ──────────────────────────────────────── */
.text-teal {
  color: var(--teal) !important;
}
.bg-teal {
  background-color: var(--teal) !important;
}
.bg-teal-gradient {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)) !important;
}
.bg-teal-light {
  background-color: var(--teal-light) !important;
}
.border-teal {
  border-color: var(--teal) !important;
}
.text-amber {
  color: var(--amber) !important;
}
.bg-amber {
  background-color: var(--amber) !important;
}
.bg-amber-light {
  background-color: var(--amber-light) !important;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}
.btn-teal:hover {
  background: linear-gradient(135deg, var(--teal-dark), #0a6860);
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
  transform: translateY(-2px);
}
.btn-teal:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(13, 148, 136, 0.3);
}
.btn-outline-teal {
  border: 2px solid var(--teal);
  color: var(--teal);
  background: transparent;
}
.btn-outline-teal:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.btn-amber {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  border: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.btn-amber:hover {
  background: linear-gradient(135deg, var(--amber-dark), #b45309);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--teal);
  border: none;
}
.btn-white:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.7rem 0;
  z-index: 1030;
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.navbar-brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal) !important;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.navbar-brand .brand-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.navbar .nav-link {
  color: var(--gray-700) !important;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.9rem;
}
.navbar .nav-link:hover {
  color: var(--teal) !important;
  background: var(--teal-light);
}
.navbar .nav-link.active {
  color: var(--teal) !important;
  background: var(--teal-light);
  font-weight: 600;
}
.navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 200px;
  animation: dropdown-in 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.navbar .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
  transition: var(--transition);
}
.navbar .dropdown-item:hover {
  background: var(--teal-light);
  color: var(--teal);
}
.navbar .dropdown-divider {
  border-color: var(--gray-200);
  margin: 0.3rem 0;
}

/* Custom navbar toggler */
.navbar-toggler {
  border: 0 !important;
  padding: 0.4rem !important;
  border-radius: var(--radius-sm) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: var(--transition);
}
.navbar-toggler:hover {
  background: var(--teal-light);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d9488' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ── Navbar icon button ──────────────────────────────────── */
.btn-icon {
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: .32rem .44rem;
  color: var(--gray-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
}
.btn-icon:hover { background: var(--gray-100); color: var(--teal); }
[data-theme="dark"] .btn-icon { color: #cbd5e1; }
[data-theme="dark"] .btn-icon:hover { background: #1e293b; color: var(--teal); }

/* Small badge dot on navbar icons */
.nav-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  border-radius: 9999px;
  font-size: .6rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  color: #fff;
  padding: 0 3px;
  pointer-events: none;
}

/* ── Left Sidebar ────────────────────────────────────────── */
#appSidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  z-index: 1019; /* behind sticky navbar (1020) on desktop */
  background: var(--bs-body-bg, #fff);
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.4,0,.2,1);
}
#appSidebar.is-open { transform: translateX(0); }

/* On mobile: render on top of everything including navbar */
@media (max-width: 991.98px) {
  #appSidebar { z-index: 1041; box-shadow: 4px 0 24px rgba(0,0,0,.15); }
}

/* Backdrop */
#sidebarBackdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
#sidebarBackdrop.is-visible { display: block; }

/* Page content wrapper — shifted on desktop when sidebar open */
#pageContent {
  transition: margin-left .26s cubic-bezier(.4,0,.2,1);
  min-height: 60vh;
}
@media (max-width: 991.98px) {
  #pageContent { margin-left: 0 !important; }
}

/* Sidebar profile strip */
.sb-profile {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem .85rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

/* Scrollable nav */
#sidebarNav {
  flex: 1;
  overflow-y: auto;
  padding: .5rem 0 .25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-200) transparent;
}
#sidebarNav::-webkit-scrollbar { width: 4px; }
#sidebarNav::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

/* Section labels */
.sb-section-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: .9rem 1rem .3rem;
}
.sb-section-admin { color: #dc3545; }

/* Nav links */
.sb-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .48rem .85rem;
  margin: 1px .5rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  transition: background .14s, color .14s;
}
.sb-link i {
  width: 18px;
  text-align: center;
  color: var(--gray-500);
  font-size: .95rem;
  flex-shrink: 0;
  transition: color .14s;
}
.sb-link:hover {
  background: var(--teal-light);
  color: var(--teal);
}
.sb-link:hover i { color: var(--teal); }
.sb-link.active {
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 600;
}
.sb-link.active i { color: var(--teal); }
.sb-link-admin i { color: #dc3545; }
.sb-link-admin:hover, .sb-link-admin.active {
  background: #fff1f1;
  color: #dc3545;
}
.sb-link-admin:hover i, .sb-link-admin.active i { color: #dc3545; }

/* Sidebar footer */
.sb-footer {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.sb-theme-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--gray-100);
  border: none;
  border-radius: var(--radius-sm);
  padding: .45rem .75rem;
  cursor: pointer;
  color: var(--gray-700);
  transition: var(--transition);
}
.sb-theme-btn:hover { background: var(--gray-200); }

/* ── Full-Screen Mobile Menu ─────────────────────────────── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  padding-bottom: 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu-overlay.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-menu-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}
.mobile-menu-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
}
.mobile-menu-close {
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}
.mobile-menu-close:hover {
  background: var(--teal-light);
  color: var(--teal);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  max-width: 360px;
  padding: 1.5rem 1.5rem 0;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--teal-light);
  color: var(--teal);
}
.mobile-nav-link i {
  font-size: 1.1rem;
}
.mobile-divider {
  width: 100%;
  height: 1px;
  background: var(--gray-200);
  margin: 0.5rem 0;
}
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
  padding: 1rem 1.5rem 0;
}
body.mobile-menu-open {
  overflow: hidden;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  border-radius: var(--radius) !important;
  border: 1px solid var(--gray-200) !important;
  transition: var(--transition);
}
.shadow-soft {
  box-shadow: var(--shadow) !important;
}
.shadow-soft:hover {
  box-shadow: var(--shadow-lg) !important;
}
.rounded-xl {
  border-radius: var(--radius) !important;
}
.rounded-2xl {
  border-radius: var(--radius-xl) !important;
}

/* ── Trip cards ──────────────────────────────────────────── */
.trip-card {
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius) !important;
  transition: var(--transition);
  overflow: hidden;
  background: #fff;
}
.trip-card:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-6px);
  border-color: var(--teal) !important;
}
.trip-card .badge-featured {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
}
.route-arrow {
  font-size: 1.1rem;
  color: var(--teal);
}

/* ── Feature cards ───────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius) !important;
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg) !important;
  transform: translateY(-4px);
  border-color: transparent !important;
}
.feature-card.amber-accent::before {
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.feature-icon.teal {
  background: var(--teal-light);
  color: var(--teal);
}
.feature-icon.amber {
  background: var(--amber-light);
  color: var(--amber-dark);
}

/* ── Hero section ─────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(
    145deg,
    #f0fdf9 0%,
    #ecfdf5 35%,
    #fffbeb 70%,
    #f0fdf9 100%
  );
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.1) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
}
.hero-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.08) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--teal-light), #d1fae5);
  color: var(--teal-dark);
  border-radius: 99px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(13, 148, 136, 0.2);
}
.hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--gray-900);
  letter-spacing: -0.04em;
}
.hero-title span {
  color: var(--teal);
  position: relative;
}
.hero-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
  border-radius: 2px;
  opacity: 0.4;
}
.hero-search-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-200);
  border-radius: 99px;
}
.trust-pill i {
  color: var(--teal);
}
.hero-visual-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  position: relative;
}
.hero-float-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid var(--gray-200);
  animation: float 3s ease-in-out infinite;
}
.hero-float-badge:nth-child(2) {
  animation-delay: 1.5s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ── How-it-works steps ──────────────────────────────────── */
.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  position: relative;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.step-circle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--teal-light), #d1fae5);
  color: var(--teal);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 2px solid rgba(13, 148, 136, 0.2);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}
.step-circle.amber-step {
  background: linear-gradient(135deg, var(--amber-light), #fde68a);
  color: var(--amber-dark);
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
.step-card:hover .step-circle {
  transform: scale(1.1);
}
.step-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.steps-connector {
  display: none;
}
@media (min-width: 768px) {
  .steps-connector {
    display: block;
    position: absolute;
    top: 30px;
    right: -16px;
    z-index: 1;
    color: var(--teal);
    opacity: 0.4;
    font-size: 1.2rem;
  }
  .step-col {
    position: relative;
  }
  .step-col:last-child .steps-connector {
    display: none;
  }
}

/* ── Trust bar ───────────────────────────────────────────── */
.trust-bar {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.trust-bar .stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.trust-bar .stat-item {
  padding: 1.25rem 0.5rem;
}
.trust-bar .stat-icon {
  font-size: 1.4rem;
  opacity: 0.8;
  margin-bottom: 0.35rem;
  display: block;
}

/* ── Section labels ──────────────────────────────────────── */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  line-height: 1.2;
}

/* ── FX card ─────────────────────────────────────────────── */
.fx-card {
  background: linear-gradient(
    145deg,
    var(--teal),
    var(--teal-dark) 60%,
    #0a6860
  );
  border-radius: var(--radius-xl) !important;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fx-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

/* ── Earn section ────────────────────────────────────────── */
.earn-visual {
  background: linear-gradient(145deg, #f0fdf9, #fffbeb);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.earn-visual::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.12),
    transparent 70%
  );
  border-radius: 50%;
}
.earn-stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

/* ── Booking status badges ───────────────────────────────── */
.badge-pending {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.badge-accepted {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.badge-in_transit {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.badge-delivered {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  font-weight: 700;
}
.badge-rejected {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.badge-disputed {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #ddd6fe;
}

/* ── Dashboard sidebar ───────────────────────────────────── */
.sidebar {
  min-height: calc(100vh - 60px);
  background: var(--gray-soft);
  border-right: 1px solid var(--gray-200);
}
.sidebar .nav-link {
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.9rem;
  font-weight: 500;
}
.sidebar .nav-link:hover {
  background: var(--teal-light);
  color: var(--teal);
}
.sidebar .nav-link.active {
  background: var(--teal-light);
  color: var(--teal);
  font-weight: 600;
}
.sidebar .nav-link i {
  width: 20px;
}

/* ── Chat ─────────────────────────────────────────────────── */
.chat-bubble {
  max-width: 72%;
  border-radius: 16px;
  padding: 0.65rem 1.1rem;
  line-height: 1.5;
  font-size: 0.9rem;
}
.chat-bubble.mine {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-bubble.theirs {
  background: var(--gray-100);
  color: var(--gray-900);
  border-bottom-left-radius: 4px;
}
.chat-box {
  height: 380px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.chat-box::-webkit-scrollbar {
  width: 4px;
}
.chat-box::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

/* ── Admin table ─────────────────────────────────────────── */
.table-admin th {
  background: var(--gray-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}
.table-admin td {
  vertical-align: middle;
}

/* ── Avatar ──────────────────────────────────────────────── */
.avatar-sm {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avatar-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal-light);
}
.testimonial-quote {
  font-size: 4rem;
  line-height: 0.6;
  color: var(--teal-light);
  font-family: Georgia, serif;
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  pointer-events: none;
}
[data-theme="dark"] .testimonial-quote {
  color: rgba(13, 148, 136, 0.2);
}
.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  padding-top: 1.5rem;
  position: relative;
}
.star-rating {
  color: var(--amber);
  letter-spacing: 2px;
}

/* ── Forms ───────────────────────────────────────────────── */
.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border-color: var(--gray-200);
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}
.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}
.input-group-text {
  border-radius: var(--radius-sm);
  border-color: var(--gray-200);
  background: var(--gray-soft);
}

/* ── Autocomplete dropdown ───────────────────────────────── */
.cl-autocomplete-dropdown {
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
}
.cl-autocomplete-dropdown .list-group-item:hover {
  background: var(--teal-light);
  color: var(--teal);
}

/* ── Route preview map ───────────────────────────────────── */
#cl-route-preview {
  display: none;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1rem;
  border: 1px solid var(--gray-200);
}
.cl-route-map {
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.leaflet-pane {
  z-index: 400;
}
.leaflet-top,
.leaflet-bottom {
  z-index: 500;
}

/* ── Toast notifications ─────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 360px;
}
.cl-toast {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  animation: toast-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--teal);
  font-size: 0.875rem;
}
.cl-toast.success {
  border-left-color: var(--teal);
}
.cl-toast.danger {
  border-left-color: #ef4444;
}
.cl-toast.warning {
  border-left-color: var(--amber);
}
.cl-toast.info {
  border-left-color: #3b82f6;
}
.cl-toast-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.cl-toast-body {
  flex-grow: 1;
  line-height: 1.5;
}
.cl-toast-close {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.cl-toast.hiding {
  animation: toast-out 0.25s ease forwards;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
  }
}
[data-theme="dark"] .cl-toast {
  background: #1e293b;
  color: #e2e8f0;
}

/* ── Skeleton loading ────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--gray-100) 25%,
    var(--gray-200) 50%,
    var(--gray-100) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeleton-wave {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ── Notification bell animation ─────────────────────────── */
@keyframes bell-ring {
  0%,
  100% {
    transform: rotate(0);
  }
  15%,
  45% {
    transform: rotate(12deg);
  }
  30%,
  60% {
    transform: rotate(-12deg);
  }
}
.bell-ring {
  animation: bell-ring 0.6s ease;
}

/* ── Button loading spinner ──────────────────────────────── */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0 -0.5rem;
  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);
  }
}

/* ── Counter animation ───────────────────────────────────── */
.count-up {
  transition: none;
}

/* ── Progress bar ────────────────────────────────────────── */
.progress {
  border-radius: 99px;
}
.progress-bar {
  border-radius: 99px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Utility ─────────────────────────────────────────────── */
.bg-soft {
  background: var(--gray-soft) !important;
}
.bg-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}
.rounded-xl {
  border-radius: var(--radius) !important;
}

/* ── CTA section ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(
    145deg,
    var(--gray-900) 0%,
    #0f2a28 50%,
    var(--gray-900) 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.2) 0%,
    transparent 65%
  );
  border-radius: 50%;
}
.cta-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.1) 0%,
    transparent 65%
  );
  border-radius: 50%;
}

/* ── Referral cards ──────────────────────────────────────── */
.referral-step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}
.referral-step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.referral-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.4);
}

/* ── FAQ accordion ───────────────────────────────────────── */
.accordion-item.cl-faq {
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.accordion-button.cl-faq-btn {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-900);
  background: #fff;
  padding: 1.1rem 1.4rem;
}
.accordion-button.cl-faq-btn:not(.collapsed) {
  background: var(--teal-light);
  color: var(--teal-dark);
  box-shadow: none;
}
.accordion-button.cl-faq-btn::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d9488'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
[data-theme="dark"] .accordion-button.cl-faq-btn {
  background: #1e293b;
  color: #e2e8f0;
}
[data-theme="dark"] .accordion-button.cl-faq-btn:not(.collapsed) {
  background: rgba(13, 148, 136, 0.15);
  color: var(--teal-mid);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0a0f1a;
  color: #94a3b8;
}
.footer-brand {
  color: var(--teal);
  font-weight: 800;
  font-size: 1.25rem;
}
.footer-heading {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-link {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  transition: var(--transition);
}
.footer-link:hover {
  color: var(--teal);
  transform: translateX(4px);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}
.footer-social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
  margin-top: 3rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 70px 0 56px;
  }
}
@media (max-width: 767.98px) {
  .hero-section {
    padding: 56px 0 44px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .trust-bar .stat-num {
    font-size: 1.5rem;
  }
  .trip-card:hover {
    transform: none;
  }
  #toast-container {
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
  }
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  .feature-card:hover {
    transform: none;
  }
  .testimonial-card:hover {
    transform: none;
  }
  .section-title {
    font-size: 1.65rem;
  }
}
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .trust-bar .stat-num {
    font-size: 1.35rem;
  }
  .trust-bar .stat-icon {
    font-size: 1.1rem;
  }
}

/* ── Auth split-screen layout ────────────────────────────── */
.auth-split-layout {
  display: flex;
  min-height: calc(100vh - 100px); /* navbar ~64px + ticker ~36px */
}

/* Left image panel - hidden on mobile */
.auth-split-left {
  display: none;
  flex: 1;
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 992px) {
  .auth-split-left {
    display: flex;
  }
}
.auth-split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(6, 14, 26, 0.8) 0%,
    rgba(13, 80, 72, 0.5) 55%,
    rgba(6, 14, 26, 0.75) 100%
  );
}
.auth-split-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3.5rem;
  width: 100%;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}
.auth-brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.auth-split-tagline {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.auth-split-tagline span {
  color: var(--teal-mid);
}
.auth-split-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.auth-stat {
  text-align: center;
}
.auth-stat-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.auth-stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  margin-top: 0.2rem;
}
.auth-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Feature checklist (register) */
.auth-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.auth-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}
.auth-feature-item i {
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Testimonial quote */
.auth-split-quote {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
}
.auth-quote-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Right form panel */
.auth-split-right {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  background: #fff;
}
@media (min-width: 992px) {
  .auth-split-right {
    flex: 0 0 480px;
    min-height: 100%;
    padding: 3rem 3.5rem;
  }
}
.auth-form-wrap {
  width: 100%;
  max-width: 400px;
}

/* Divider "or" line */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-top: 1.25rem;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* Dark mode */
[data-theme="dark"] .auth-split-right {
  background: #0f172a;
}
[data-theme="dark"] .auth-form-wrap h3 {
  color: #f1f5f9;
}
[data-theme="dark"] .auth-divider {
  color: #475569;
}
[data-theme="dark"] .auth-divider::before,
[data-theme="dark"] .auth-divider::after {
  background: #334155;
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* ── Section padding utility ──────────────────────────────── */
.py-section {
  padding: 80px 0;
}
@media (max-width: 767.98px) {
  .py-section {
    padding: 56px 0;
  }
}

/* ── Background-image sections ───────────────────────────── */
.bg-img-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* parallax effect */
  position: relative;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  /* fixed attachment causes bugs on iOS */
  .bg-img-section {
    background-attachment: scroll;
  }
}

/* Generic dark overlay - sits between image and content */
.bg-img-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Benefits overlay - teal-tinted dark gradient */
.bg-img-section:has(.dark-label) .bg-img-overlay,
.bg-img-overlay:not(.estimator-overlay) {
  background: linear-gradient(
    135deg,
    rgba(8, 18, 28, 0.82) 0%,
    rgba(13, 80, 72, 0.55) 50%,
    rgba(8, 18, 28, 0.8) 100%
  );
}

/* Estimator overlay - deeper, warmer dark to let the teal card glow */
.estimator-overlay {
  background: linear-gradient(
    160deg,
    rgba(6, 10, 22, 0.8) 0%,
    rgba(10, 16, 32, 0.72) 50%,
    rgba(6, 10, 22, 0.85) 100%
  );
}

/* ── Glassmorphism cards (for use over bg images) ─────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25) !important;
}
.glass-card:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-6px);
}
/* top accent line stays coloured even on glass */
.glass-card.teal::before {
  opacity: 1;
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
}
.glass-card.amber::before {
  opacity: 1;
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
}

.glass-card-sm {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.glass-card-sm:hover {
  background: rgba(13, 148, 136, 0.18) !important;
  border-color: rgba(13, 148, 136, 0.35) !important;
}
.glass-card-sm .mini-benefit-icon {
  background: rgba(13, 148, 136, 0.25) !important;
}

/* ── Section colour palette ───────────────────────────────── */
/* warm parchment - How It Works */
.bg-warm {
  background: #fffdf5;
  background-image:
    radial-gradient(
      circle at 80% 20%,
      rgba(245, 158, 11, 0.05) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(13, 148, 136, 0.04) 0%,
      transparent 50%
    );
}
/* light teal - Live Trips */
.bg-teal-soft {
  background: #f0fdf9;
  background-image: radial-gradient(
    circle at 90% 10%,
    rgba(13, 148, 136, 0.08) 0%,
    transparent 50%
  );
}
/* cool white-blue - Cost Estimator */
.bg-cool {
  background: #f8f9ff;
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(99, 102, 241, 0.04) 0%,
    transparent 60%
  );
}
/* amber cream - Referral */
.bg-amber-soft {
  background: #fffbeb;
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(245, 158, 11, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(251, 191, 36, 0.06) 0%,
      transparent 40%
    );
}

/* ── Dark sections ────────────────────────────────────────── */
/* deep navy - Earn section */
.section-navy {
  background: #0c1628;
  background-image:
    radial-gradient(
      circle at 80% 20%,
      rgba(13, 148, 136, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(245, 158, 11, 0.06) 0%,
      transparent 45%
    );
}
/* dark slate - Testimonials */
.section-dark {
  background: #0f172a;
  background-image:
    radial-gradient(
      circle at 15% 15%,
      rgba(13, 148, 136, 0.1) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(245, 158, 11, 0.05) 0%,
      transparent 40%
    );
}

/* section-label variants for dark backgrounds */
.dark-label {
  color: var(--teal-mid) !important;
}
.dark-label::before {
  background: var(--teal-mid) !important;
}
.navy-label {
  color: var(--teal-mid) !important;
}
.navy-label::before {
  background: var(--teal-mid) !important;
}

/* earn section point cards (dark variant) */
.earn-point-card-dark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: var(--transition);
}
.earn-point-card-dark:hover {
  background: rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.3);
}

/* dark section card overrides */
.section-dark .testimonial-card {
  background: #1e293b;
  border-color: #334155 !important;
}
.section-dark .testimonial-card:hover {
  border-color: var(--teal) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}
.section-dark .testimonial-text {
  color: #cbd5e1;
}
.section-dark .testimonial-card .fw-bold {
  color: #f1f5f9;
}
.section-dark .testimonial-card .text-muted {
  color: #64748b !important;
}
.section-dark .testimonial-featured {
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.18),
    rgba(13, 148, 136, 0.08)
  );
  border-color: rgba(13, 148, 136, 0.3) !important;
}
.section-dark .testimonial-featured-text {
  color: #e2e8f0;
}
.section-dark .testimonial-featured .fw-bold {
  color: #f1f5f9;
}
.section-dark .testimonial-featured .text-muted {
  color: #64748b !important;
}
.section-dark [style*="border-top:1px solid var(--gray-200)"] {
  border-color: #334155 !important;
}

/* trust chip on dark bg */
.section-dark .trust-chip.teal {
  background: rgba(13, 148, 136, 0.2);
  color: #5eead4;
  border-color: rgba(13, 148, 136, 0.3);
}
.section-dark .trust-chip.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.25);
}

/* how-it-works cards on warm bg - subtle warm tint */
.bg-warm .how-step-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(245, 158, 11, 0.12) !important;
}
.bg-warm .how-step-card:hover {
  background: #fff;
  border-color: transparent !important;
}
.bg-warm .how-tabs {
  background: rgba(0, 0, 0, 0.06);
}
.bg-warm .how-tab.active {
  background: #fff;
}

/* live trips on teal-soft bg */
.bg-teal-soft .trip-card {
  background: #fff;
}
.bg-teal-soft .empty-trips-state {
  background: rgba(255, 255, 255, 0.6);
}

/* referral cards on amber-soft bg */
.bg-amber-soft .referral-step-new {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(245, 158, 11, 0.15) !important;
}
.bg-amber-soft .referral-step-new:hover {
  background: #fff;
  border-color: var(--amber) !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15) !important;
}
.bg-amber-soft .section-label::before {
  background: var(--amber);
}
.bg-amber-soft .section-label {
  color: var(--amber-dark);
}

/* cost estimator on cool bg */
.bg-cool .fx-card {
  box-shadow: var(--shadow-xl);
}

/* dark bg overrides for bg-warm, bg-amber-soft */
[data-theme="dark"] .bg-warm {
  background: #1a1708;
  background-image: none;
}
[data-theme="dark"] .bg-teal-soft {
  background: #0a1f1a;
  background-image: none;
}
[data-theme="dark"] .bg-cool {
  background: #0f172a;
  background-image: none;
}
[data-theme="dark"] .bg-amber-soft {
  background: #1c1408;
  background-image: none;
}
[data-theme="dark"] .section-navy {
  background: #060d1a;
}
[data-theme="dark"] .section-dark {
  background: #030712;
}
[data-theme="dark"] .earn-point-card-dark {
  background: rgba(255, 255, 255, 0.04);
}
[data-theme="dark"] .referral-step-new {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ── Activity Ticker ──────────────────────────────────────── */
.activity-ticker {
  background: var(--gray-900);
  overflow: hidden;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ticker-inner {
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.77rem;
  color: #94a3b8;
  font-weight: 500;
}
.ticker-item strong {
  color: #fff;
}
.ticker-item .bi-check-circle-fill {
  font-size: 0.8rem;
}
.ticker-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.6rem;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── Hero enhancements ────────────────────────────────────── */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.07) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -80px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.12) 0%,
    transparent 65%
  );
}
.hero-glow-2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.08) 0%,
    transparent 65%
  );
}
.hero-highlight {
  color: var(--teal);
  position: relative;
  display: inline-block;
}
.hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
  border-radius: 2px;
  opacity: 0.35;
}
.hero-subtext {
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 480px;
  color: var(--gray-500);
}
.hero-cta-primary {
  box-shadow: 0 6px 24px rgba(13, 148, 136, 0.35);
  padding: 0.75rem 2rem;
}
.hero-cta-secondary {
  background: rgba(13, 148, 136, 0.08);
  border: 2px solid rgba(13, 148, 136, 0.25);
  color: var(--teal);
  padding: 0.75rem 2rem;
}
.hero-cta-secondary:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-2px);
}
.search-input {
  padding-left: 2.1rem !important;
}
.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}
.hero-search-arrow {
  color: var(--teal);
  font-size: 0.9rem;
  flex-shrink: 0;
  padding: 0 0.1rem;
}
.float-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
.teal-dot {
  background: var(--teal);
}
.amber-dot {
  background: var(--amber);
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ── Hero image wrap ─────────────────────────────────────── */
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  /* horizontal room so floating badges don't clip against viewport edge on mobile */
  margin-left: 24px;
  margin-right: 24px;
}
.hero-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: block;
}
@media (max-width: 767.98px) {
  .hero-main-img { height: 300px; }
  /* pull badges inside viewport on narrow screens */
  .hero-img-wrap .hero-float-badge[style*="right:-20px"] { right: 8px !important; transform: translateY(-50%) !important; }
  .hero-img-wrap .hero-float-badge[style*="left:-16px"]  { left: 8px  !important; }
  .hero-img-wrap .hero-float-badge[style*="right:-14px"] { right: 8px !important; }
}
.hero-img-escrow {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-700);
  border: 1px solid rgba(13, 148, 136, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ── How-it-works illustration ───────────────────────────── */
.hiw-illustration-wrap {
  position: relative;
}
.hiw-illustration-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-height: 280px;
  box-shadow: var(--shadow-lg);
}
.hiw-illustration-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.hiw-illustration-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  white-space: nowrap;
}
.hiw-overlay-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.hiw-overlay-chip.teal {
  background: rgba(204, 251, 241, 0.92);
  color: var(--teal-dark);
}
.hiw-overlay-chip.amber {
  background: rgba(254, 243, 199, 0.92);
  color: var(--amber-dark);
}

/* ── Earn image wrap ──────────────────────────────────────── */
.earn-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}
.earn-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: block;
}
.earn-chip {
  position: absolute;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}
.earn-chip-tl {
  top: 20px;
  left: -18px;
}
.earn-chip-bl {
  bottom: 70px;
  left: -18px;
}
.earn-chip-br {
  bottom: 20px;
  right: -18px;
}
.earn-chip-zero {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
}

/* ── How-it-works Tabs ───────────────────────────────────── */
.how-tabs-wrap {
  display: flex;
  justify-content: center;
}
.how-tabs {
  display: inline-flex;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 5px;
  gap: 4px;
}
.how-tab {
  padding: 0.65rem 1.75rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-500);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.how-tab.active {
  background: #fff;
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.how-tab:hover:not(.active) {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.6);
}
.how-panel {
  transition: opacity 0.2s;
}

/* ── How-it-works Step Card (new) ────────────────────────── */
.how-step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}
.how-step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}
.how-step-num {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 99px;
  padding: 0.15rem 0.55rem;
}
.how-step-num.teal {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.how-step-num.amber {
  background: var(--amber-light);
  color: var(--amber-dark);
}
.how-step-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}
.how-step-icon-wrap.teal {
  background: var(--teal-light);
  color: var(--teal);
}
.how-step-icon-wrap.amber {
  background: var(--amber-light);
  color: var(--amber-dark);
}
.how-step-card:hover .how-step-icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

/* Step tag (e.g. "100% protected") */
.how-step-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 99px;
    padding: .15rem .6rem;
    margin-bottom: .15rem;
}
.how-step-tag.teal  { background: var(--teal-light);  color: var(--teal-dark); }
.how-step-tag.amber { background: var(--amber-light); color: var(--amber-dark); }

/* Row + connector arrow between steps */
.how-steps-row { position: relative; }
.how-step-col  { position: relative; padding: 0 .75rem; }
.how-connector {
    display: none; /* hidden on mobile */
    position: absolute;
    left: -.65rem;
    top: 50%;
    transform: translateY(-80%);
    z-index: 2;
    color: var(--gray-300);
    font-size: 1.1rem;
    pointer-events: none;
}
@media (min-width: 992px) {
    .how-connector { display: block; }
}

/* ── Benefits - hero + mini ──────────────────────────────── */
.benefit-hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.benefit-hero-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}
.benefit-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.benefit-hero-card.teal::before {
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
}
.benefit-hero-card.amber::before {
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
}
.benefit-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 0.75rem;
}
.benefit-hero-card.teal .benefit-hero-icon {
  background: var(--teal-light);
  color: var(--teal);
}
.benefit-hero-card.amber .benefit-hero-icon {
  background: var(--amber-light);
  color: var(--amber-dark);
}
.benefit-hero-stat {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  border-radius: 99px;
  display: inline-block;
  padding: 0.15rem 0.65rem;
}
.benefit-hero-card.teal .benefit-hero-stat {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.benefit-hero-card.amber .benefit-hero-stat {
  background: var(--amber-light);
  color: var(--amber-dark);
}
.mini-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: var(--transition);
}
.mini-benefit-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal-light);
}
.mini-benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Live dot ──────────────────────────────────────────── */
.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.3rem;
  animation: pulse-dot 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* ── Empty trips state ───────────────────────────────────── */
.empty-trips-state {
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
}
.empty-trips-icon {
  width: 80px;
  height: 80px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ── Earn section ────────────────────────────────────────── */
.earn-section {
  background: #fff;
}
.earn-visual-wrap {
  background: linear-gradient(145deg, #f0fdf9, #fff);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid rgba(13, 148, 136, 0.15);
  box-shadow: var(--shadow);
}
.earn-visual-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}
.earn-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.earn-stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.earn-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.earn-stat-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  font-weight: 500;
}
.earn-stat-wide {
}
.earn-icon-circle {
  width: 40px;
  height: 40px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.earn-progress-wrap {
  margin: 0.3rem 0;
}
.earn-point-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gray-soft);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.earn-point-card:hover {
  border-color: var(--teal-light);
  background: var(--teal-light);
}
.fw-medium {
  font-weight: 500;
}

/* ── FX card label ───────────────────────────────────────── */
.fx-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.35rem;
}
.fx-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.fx-result-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.fx-result-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
}

/* ── Referral flow ───────────────────────────────────────── */
.referral-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.referral-step-new {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}
.referral-step-new:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.referral-connector {
  padding: 0 1rem;
  color: var(--gray-200);
  font-size: 1.25rem;
  flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .referral-connector {
    transform: rotate(90deg);
  }
  .referral-flow {
    flex-direction: column;
    align-items: stretch;
  }
  .referral-step-new {
    max-width: none;
  }
}

/* ── Testimonial - featured ──────────────────────────────── */
.testimonial-featured {
  background: linear-gradient(135deg, var(--teal-light), #d1fae5);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.testimonial-featured::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(13, 148, 136, 0.12),
    transparent 70%
  );
  border-radius: 50%;
}
.testimonial-featured-quote {
  font-size: 6rem;
  line-height: 0.5;
  color: rgba(13, 148, 136, 0.2);
  font-family: Georgia, serif;
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  pointer-events: none;
}
.testimonial-featured-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
}
.testimonial-featured-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  padding-top: 1.75rem;
}
.testimonial-stars {
  color: var(--amber);
  font-size: 1rem;
  letter-spacing: 2px;
}

/* ── Trust chips ─────────────────────────────────────────── */
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-chip.teal {
  background: var(--teal-light);
  color: var(--teal-dark);
  border: 1px solid rgba(13, 148, 136, 0.2);
}
.trust-chip.amber {
  background: var(--amber-light);
  color: var(--amber-dark);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ── FAQ (custom, 2-col) ─────────────────────────────────── */
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: var(--teal-light);
  box-shadow: var(--shadow-sm);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-900);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.faq-btn:hover {
  color: var(--teal);
}
.faq-btn.open {
  color: var(--teal);
  background: var(--teal-light);
}
.faq-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.faq-btn.open .faq-icon {
  transform: rotate(45deg);
  color: var(--teal);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.3s;
  padding: 0 1.4rem;
}
.faq-body.show {
  max-height: 200px;
  padding: 0 1.4rem 1.1rem;
}

/* ── Dark mode additions ─────────────────────────────────── */
[data-theme="dark"] .activity-ticker {
  background: #030712;
}
[data-theme="dark"] .how-tab {
  color: #94a3b8;
}
[data-theme="dark"] .how-tab.active {
  background: #1e293b;
  color: var(--teal);
}
[data-theme="dark"] .how-tabs {
  background: #0f172a;
}
[data-theme="dark"] .how-step-card {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .benefit-hero-card {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .mini-benefit-card {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .earn-visual-wrap {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-color: #334155;
}
[data-theme="dark"] .earn-stat-card {
  background: #0f172a;
  border-color: #334155;
}
[data-theme="dark"] .earn-point-card {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .earn-point-card:hover {
  background: rgba(13, 148, 136, 0.15);
}
[data-theme="dark"] .referral-step-new {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .testimonial-featured {
  background: linear-gradient(135deg, #134e4a, #0f2a28);
}
[data-theme="dark"] .hero-img-escrow {
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
}
[data-theme="dark"] .hiw-overlay-chip.teal {
  background: rgba(19, 78, 74, 0.92);
}
[data-theme="dark"] .earn-chip {
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
}
[data-theme="dark"] .empty-trips-state {
  background: #1e293b;
}
[data-theme="dark"] .faq-item {
  background: #1e293b;
  border-color: #334155;
}
[data-theme="dark"] .faq-btn {
  color: #e2e8f0;
}
[data-theme="dark"] .faq-btn.open {
  background: rgba(13, 148, 136, 0.15);
  color: var(--teal-mid);
}
[data-theme="dark"] .trust-chip.teal {
  background: rgba(13, 148, 136, 0.15);
}
[data-theme="dark"] .trust-chip.amber {
  background: rgba(245, 158, 11, 0.1);
}
