/* ==========================================================================
   TICHEMA MOBILITY — ADVANCED ULTRA-MODERN LIGHT DESIGN SYSTEM
   Bespoke Modern Mobility Experience (Ghana)
   Palette: Pearl White (#FFFFFF), Slate Obsidian (#0F172A), Gold (#D97706, #F59E0B), Emerald (#059669, #10B981)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Ultra-Clean Light Surfaces */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.95);
  
  /* Brand Accents */
  --gold-500: #F59E0B;
  --gold-600: #D97706;
  --gold-700: #B45309;
  --gold-50: #FFFBEB;
  --gold-100: #FEF3C7;
  
  --green-500: #10B981;
  --green-600: #059669;
  --green-700: #047857;
  --green-50: #ECFDF5;
  --green-100: #D1FAE5;

  --blue-500: #2563EB;
  --blue-50: #EFF6FF;
  --red-500: #DC2626;
  --red-50: #FEF2F2;

  /* Typography / Text Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Borders & Dividers */
  --border-color: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-focus: #0F172A;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-2xl: 36px;
  --radius-full: 9999px;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Precision Soft Ambient Shadows */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 32px 64px -16px rgba(15, 23, 42, 0.16);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: #0F172A;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  color: #FFFFFF;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FBBF24, var(--gold-500));
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-green {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-green:hover {
  background: linear-gradient(135deg, var(--green-500), #34D399);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge-gold {
  background: var(--gold-50);
  color: var(--gold-700);
  border: 1px solid var(--gold-100);
}

.badge-green {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-100);
}

.badge-blue {
  background: var(--blue-50);
  color: var(--blue-500);
  border: 1px solid #DBEAFE;
}

/* Top Announcement Banner */
.top-announcement {
  background: linear-gradient(90deg, #047857 0%, #059669 50%, #10B981 100%);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 54px;
  max-height: 58px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.brand-logo-lg img {
  height: 68px;
  max-height: 72px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #0F172A;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 60px 0 100px;
  background: radial-gradient(circle at 90% 10%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
              linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-title {
  font-size: 3.7rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -1.8px;
  color: #0F172A;
}

.hero-title .highlight-gold {
  color: #D97706;
  background: linear-gradient(135deg, #D97706, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .highlight-green {
  color: #059669;
  background: linear-gradient(135deg, #047857, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: #0F172A;
  font-weight: 700;
  line-height: 1.5;
  border-left: 4px solid var(--gold-500);
  padding-left: 16px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

/* Modern Fare Estimator Card */
.hero-widget-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--gold-600);
  font-size: 1rem;
}

.form-control {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 13px 14px 13px 42px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.08);
}

.vehicle-selector-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.vehicle-chip {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.vehicle-chip:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  transform: translateY(-2px);
}

.vehicle-chip.active {
  background: var(--gold-50);
  border-color: var(--gold-500);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);
  transform: translateY(-2px);
}

.vehicle-chip .chip-icon {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.vehicle-chip .chip-name {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0F172A;
}

.vehicle-chip .chip-price {
  font-size: 0.85rem;
  color: var(--gold-600);
  font-weight: 900;
  margin-top: 2px;
}

.student-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green-50);
  border: 1.5px dashed rgba(5, 150, 105, 0.4);
  padding: 12px 16px;
  border-radius: var(--radius-md);
}

/* Grids & Cards */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

.feature-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-lg);
}

.feature-card.highlight-green:hover {
  border-color: var(--green-500);
}

.feature-card.highlight-gold:hover {
  border-color: var(--gold-500);
}

.card-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.icon-box-gold {
  background: var(--gold-50);
  color: var(--gold-600);
  border: 1px solid var(--gold-100);
}

.icon-box-green {
  background: var(--green-50);
  color: var(--green-600);
  border: 1px solid var(--green-100);
}

.icon-box-blue {
  background: var(--blue-50);
  color: var(--blue-500);
  border: 1px solid #DBEAFE;
}

/* Fleet Showcase Cards */
.fleet-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.fleet-card:hover {
  transform: translateY(-6px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-xl);
}

.fleet-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #F1F5F9;
}

.fleet-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.fleet-badge-floating {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.fleet-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 14px;
}

.fleet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fleet-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0F172A;
}

.fleet-price-pill {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--gold-700);
  background: var(--gold-50);
  border: 1px solid var(--gold-100);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
}

.fleet-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}

.fleet-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.fleet-feature-item span.check {
  color: var(--green-600);
  font-weight: 900;
  background: var(--green-50);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Coverage Section */
.coverage-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.cities-pills-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.city-pill-btn {
  background: #F8FAFC;
  border: 1.5px solid var(--border-color);
  color: var(--text-secondary);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.city-pill-btn.active, .city-pill-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

/* Driver Onboarding Banner */
.driver-cta-box {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: var(--radius-2xl);
  padding: 56px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.driver-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

/* Modern Footer */
.footer {
  background: #0F172A;
  border-top: 1px solid #1E293B;
  padding: 80px 0 36px;
  color: #94A3B8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col-title {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #64748B;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .driver-cta-grid {
    grid-template-columns: 1fr;
  }
  .card-grid-3, .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    display: none !important;
  }
  .mobile-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .card-grid-2, .card-grid-3, .card-grid-4 {
    grid-template-columns: 1fr;
  }
  .btn-group {
    flex-direction: column;
  }
  .brand-logo img {
    height: 44px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .vehicle-selector-chips {
    grid-template-columns: repeat(2, 1fr);
  }
}