/* ==========================================================================
   SHIFTRIDE OBSIDIAN DARK EXECUTIVE MOBILITY SYSTEM
   Theme: Obsidian Base (#07090E), Surface Card (#0F1420), Elevated (#161F30),
          Electric Emerald (#10B981), Racing Coral (#EA580C)
   ========================================================================== */

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

:root {
  /* Color Tokens - Obsidian Dark Architecture */
  --bg-canvas: #07090E;
  --bg-surface: #0F1420;
  --bg-surface-elevated: #161F30;
  --bg-card: rgba(15, 20, 32, 0.85);

  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(255, 255, 255, 0.2);
  --border-emerald: rgba(16, 185, 129, 0.35);
  --border-coral: rgba(234, 88, 12, 0.35);

  /* Primary Action: Electric Emerald */
  --brand-emerald: #10B981;
  --brand-emerald-hover: #34D399;
  --brand-emerald-glow: rgba(16, 185, 129, 0.2);

  /* Secondary / B2B Action: Racing Coral */
  --brand-coral: #EA580C;
  --brand-coral-hover: #F97316;
  --brand-coral-glow: rgba(234, 88, 12, 0.2);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  /* Typography Definitions */
  --font-heading: 'Plus Jakarta Sans', 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Geometry & Physics */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-glow-coral: 0 0 25px rgba(234, 88, 12, 0.25);

  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  position: relative;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

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

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

/* ==========================================================================
   TYPOGRAPHY & ACCENTS
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  scroll-margin-top: 7.5rem;
}

section, .card-glass, .prose-obsidian {
  scroll-margin-top: 7.5rem;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-coral {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--brand-coral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--brand-emerald);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.badge-coral {
  background: rgba(234, 88, 12, 0.1);
  border: 1px solid rgba(234, 88, 12, 0.3);
  color: var(--brand-coral);
}

/* Card Container System (Item 4) */
.card-glass {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition-smooth);
}

.card-emerald-border {
  border-color: var(--border-emerald);
}

.card-coral-border {
  border-color: var(--border-coral);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-emerald);
  box-shadow: 0 0 8px var(--brand-emerald);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

/* Background Ambient Glows - Constrained for Mobile */
.ambient-glow-emerald {
  position: absolute;
  width: 500px;
  height: 500px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(7, 9, 14, 0) 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-coral {
  position: absolute;
  width: 500px;
  height: 500px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.1) 0%, rgba(7, 9, 14, 0) 70%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   HEADER & FLOATING NAVIGATION
   ========================================================================== */

.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 0;
  transition: var(--transition-fast);
}

.hero-section {
  padding-top: 7rem;
}

.floating-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
  position: static;
  transform: none;
  margin-right: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1.5rem;
}

.btn-icon-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.btn-icon-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-hover);
}

/* Button Base & Classes */
.btn, .btn-primary, .btn-secondary, .btn-coral, .btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-primary, .btn-emerald {
  background: var(--brand-emerald);
  color: #040508;
  border: 1px solid transparent;
}

.btn-primary:hover, .btn-emerald:hover {
  background: var(--brand-emerald-hover);
  box-shadow: var(--shadow-glow-emerald);
  color: #040508;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

.btn-coral {
  background: var(--brand-coral);
  color: #FFFFFF;
  border: 1px solid transparent;
}

.btn-coral:hover {
  background: var(--brand-coral-hover);
  box-shadow: var(--shadow-glow-coral);
  color: #FFFFFF;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: rgba(7, 9, 14, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer.open {
  display: flex;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #040508;
  color: var(--text-primary);
  border-top: 1px solid var(--border-glass);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-emerald);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   STICKY MOBILE BOTTOM ACTION BAR
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
}

/* ==========================================================================
   CONSOLIDATED RESPONSIVE BREAKPOINTS (1200 / 992 / 768 / 480)
   ========================================================================== */

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  .nav-links {
    gap: 1rem;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-btn-desktop {
    display: none;
  }
  .brand-logo {
    position: static !important;
    left: auto !important;
    transform: none !important;
    margin-right: auto;
  }
  .nav-actions {
    margin-left: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 90px;
  }

  .ambient-glow-emerald, .ambient-glow-coral {
    display: none;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    letter-spacing: normal;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    height: 48px;
  }

  /* Fixed Sticky Mobile Bottom Bar */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    min-height: 48px;
    background: rgba(7, 9, 14, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    padding: 0.35rem 0.75rem;
    padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
    gap: 0.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }

  .mobile-bottom-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    height: 100%;
    min-height: 44px;
  }

  .mobile-bottom-bar .btn-bottom-call {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-bottom-bar .btn-bottom-wa {
    background: var(--brand-emerald);
    color: #040508;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   OBSIDIAN BLOG & ARTICLE TYPOGRAPHY SYSTEM (.prose-obsidian)
   ========================================================================== */

.prose-obsidian {
  max-width: 860px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.prose-obsidian h1 {
  font-size: 2.35rem;
  color: #FFFFFF;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.prose-obsidian h2 {
  font-size: 1.75rem;
  color: #FFFFFF;
  line-height: 1.3;
  font-weight: 700;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prose-obsidian h3 {
  font-size: 1.3rem;
  color: var(--brand-emerald);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-obsidian p {
  margin-bottom: 1.5rem;
}

.prose-obsidian ul, .prose-obsidian ol {
  margin-bottom: 1.75rem;
  padding-left: 1.5rem;
}

.prose-obsidian li {
  margin-bottom: 0.65rem;
}

.prose-obsidian strong {
  color: #FFFFFF;
  font-weight: 600;
}

.prose-obsidian blockquote {
  background: rgba(15, 20, 32, 0.9);
  border-left: 4px solid var(--brand-emerald);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  color: #E2E8F0;
  font-style: italic;
}

.prose-obsidian .info-callout {
  background: rgba(15, 20, 32, 0.95);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.prose-obsidian .info-callout h4 {
  color: var(--brand-emerald);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prose-obsidian table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.prose-obsidian th, .prose-obsidian td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.prose-obsidian th {
  background: rgba(7, 9, 14, 0.8);
  color: #FFFFFF;
  font-weight: 700;
}

.prose-obsidian td {
  color: #CBD5E1;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.breadcrumb-nav a:hover {
  color: var(--brand-emerald);
}

.breadcrumb-separator {
  color: rgba(255, 255, 255, 0.3);
}

.blog-card {
  background: rgba(15, 20, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6);
}

/* Brand Logo Utility Classes */
.gap-2\.5 { gap: 0.625rem; }
.h-9 { height: 2.25rem; }
.w-9 { width: 2.25rem; }
.overflow-hidden { overflow: hidden; }
.object-top { object-position: top; }
.tracking-tight { letter-spacing: -0.025em; }
.text-emerald-400 { color: var(--brand-emerald, #10B981); }

/* Fleet Image Utility Classes */
.h-48 { height: 12rem; }
.object-center { object-position: center; }
.rounded-xl { border-radius: 0.75rem; }

/* Picture & Fleet Image Wrapper Normalization */
picture {
  display: block;
  width: 100%;
  height: 100%;
}

.vehicle-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  aspect-ratio: 16/10;
  background: #07090E;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vehicle-image-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}

.vehicle-image-wrapper picture img,
.vehicle-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ==========================================================================
   MODAL & FORM STYLES (Item 8 & Item 9)
   ========================================================================== */

.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop[aria-hidden="false"],
.modal-backdrop.open,
.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #0F1420;
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow-emerald);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #FFFFFF;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--brand-emerald);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control,
input.form-control,
select.form-control,
textarea.form-control,
form input[type="text"],
form input[type="tel"],
form input[type="email"],
form input[type="datetime-local"],
form select,
form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #07090E;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

.form-control:focus,
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--brand-emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
  background: #0B0E17;
}

.form-control::placeholder,
form input::placeholder,
form textarea::placeholder {
  color: #64748B;
}