/* ==========================================================================
   OBD CODING - DESIGN SYSTEM & COMPONENT STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Variables */
  --bg-dark-1: #0b0d11;
  --bg-dark-2: #11151b;
  --bg-dark-3: #151a22;
  --border-color: #1d242d;
  
  --primary-color: #ff9d00;
  --primary-hover: #e68d00;
  --primary-active: #cc7d00;
  --primary-rgb: 255, 157, 0;
  
  --primary-bg-light: rgba(255, 157, 0, 0.1);
  --primary-border-light: rgba(255, 157, 0, 0.2);
  --primary-glow: rgba(255, 157, 0, 0.15);
  
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #7c8491;
  
  /* Font Family Variables */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Courier New', 'JetBrains Mono', monospace;
  --bs-display-font-family: var(--font-heading);
  
  /* Typography Scale Variables */
  --fs-xs: 0.65rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  --fs-18: 18px;
  
  /* Border Radius Variables */
  --radius-none: 0px;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. Global Reset & Base Typography
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--bg-dark-1);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

main {
  flex: 1 0 auto;
  overflow-x: hidden;
  width: 100%;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.hero-title {
  font-family: var(--font-heading) !important;
  color: var(--text-primary);
}

.fw-black {
  font-weight: 900 !important;
}

.fw-extrabold {
  font-weight: 800 !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease-in-out;
}

.mono {
  font-family: var(--font-mono);
}

.fs-18 {
  font-size: var(--fs-18);
}

.ff-card-title {
  font-family: Archivo Black,Inter,ui-sans-serif,sans-serif !important;
}

/* --------------------------------------------------------------------------
   3. Container & Section Layout Components
   -------------------------------------------------------------------------- */
.obd-container {
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.obd-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.obd-section .obd-label {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

@media (min-width: 992px) {
  .obd-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.section-divider {
  width: 3rem;
  height: 2px;
  background-color: var(--primary-color);
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   4. Reusable UI Components
   -------------------------------------------------------------------------- */

/* Eyebrow badge */
.obd-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Primary Button */
.obd-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #000000 !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-color);
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

.obd-btn-primary:hover, .obd-btn-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #000000 !important;
  box-shadow: 0 0 15px rgba(255, 157, 0, 0.3);
}

/* Outline Button */
.obd-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--text-primary) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  cursor: pointer;
}

.obd-btn-outline:hover, .obd-btn-outline:focus {
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
  background-color: var(--primary-bg-light);
}

/* OBD Card Component */
.obd-card {
  background-color: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-none);
  transition: all 0.25s ease-in-out;
  height: 100%;
}

.obd-card:hover {
  border-color: var(--primary-color) !important;
  box-shadow: 0 10px 30px -10px rgba(255, 157, 0, 0.15);
}

/* OBD Form Inputs */
.obd-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: JetBrains Mono,monospace;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.obd-input {
  width: 100%;
  background-color: var(--bg-dark-3);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.obd-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

.obd-input::placeholder {
  color: var(--text-muted);
}

select.obd-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Branding Wordmark */
.wordmark {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.wordmark-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  margin-left: 3px;
}

/* Service Index Tag */
.service-index {
  font-family: 'Courier New', 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0.6;
  color: var(--primary-color);
}

/* Icon Box Containers */
.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--primary-bg-light);
  border: 1px solid var(--primary-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.icon-box-lg {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background-color: var(--primary-bg-light);
  border: 1px solid var(--primary-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.icon-box-process {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-dark-3);
  border: 1px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Status Indicator Dot */
.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation Styles
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.header-scrolled {
  background-color: rgba(11, 13, 17, 0.97);
  border-bottom: 1px solid var(--primary-color);
  backdrop-filter: blur(12px);
}

/* HUD Corner Brackets */
.hud-corner {
  position: relative;
}

.hud-corner::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--primary-color);
  border-left: 2px solid var(--primary-color);
  z-index: 5;
}

.hud-corner::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-bottom: 2px solid var(--primary-color);
  border-right: 2px solid var(--primary-color);
  z-index: 5;
}

.nav-link-custom {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}

.nav-link-custom:hover {
  color: var(--text-primary);
}

.nav-link-custom.active {
  font-weight: 700;
  color: var(--primary-color);
}

/* Dropdown Menu styling */
.nav-dropdown {
  position: relative;
}

.nav-dropdown.show .nav-link-custom {
  color: var(--primary-color);
}

.nav-dropdown.show .nav-link-custom i.fa-chevron-down {
  transform: rotate(180deg);
}

.nav-dropdown .nav-link-custom i.fa-chevron-down {
  transition: transform 0.25s ease;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background-color: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0;
  min-width: 280px;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 1060;
  overflow: hidden;
}

.nav-dropdown.show .dropdown-menu-custom {
  display: block;
}

.dropdown-header-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--primary-color) !important;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-header-custom:hover {
  background-color: var(--bg-dark-3);
  color: var(--primary-hover) !important;
}

.dropdown-item-custom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item-custom:last-child {
  border-bottom: none;
}

.dropdown-item-custom:hover {
  background-color: var(--bg-dark-3);
  color: #ffffff;
}

.dropdown-item-custom i {
  color: var(--primary-color);
  font-size: 0.875rem;
  width: 1.25rem;
  text-align: center;
}

/* Mobile Offcanvas Nav */
.mobile-nav-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  padding: 0.5rem;
  cursor: pointer;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0b0d11;
  z-index: 2000;
  display: none;
  flex-direction: column;
  padding: 1.75rem 1.5rem 2rem 1.5rem;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  display: flex;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mobile-menu-close:hover {
  color: #ffffff;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary-color);
}

.mobile-sub-services {
  display: flex;
  flex-direction: column;
  padding-left: 0.5rem;
}

.mobile-sub-header {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--primary-color);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}

.mobile-sub-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-sub-link:hover,
.mobile-sub-link.active {
  color: var(--primary-color);
}

.mobile-quote-btn {
  background-color: var(--primary-color);
  color: #0b0d11 !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-quote-btn:hover {
  background-color: var(--primary-hover);
}

/* --------------------------------------------------------------------------
   6. Hero Section Styles
   -------------------------------------------------------------------------- */
/* Scan line — plays once from viewport top to bottom on load */
.hero-scanline {
    position: fixed;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 9999;
    pointer-events: none;
    top: 0;
    opacity: 0;
    animation: heroScanLine 3.5s linear forwards;
}
@keyframes heroScanLine {
    0%   { top: 0%;   opacity: 0; }
    5%   { top: 0%;   opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 13, 17, 0.92) 0%, rgba(11, 13, 17, 0.75) 50%, rgba(11, 13, 17, 0.6) 100%);
}

.hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgb(11, 13, 17) 0%, transparent 40%);
}

.hero-accent-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 10;
  background-color: rgba(255, 157, 0, 0.15);
  display: none;
}

@media (min-width: 992px) {
  .hero-accent-line {
    display: block;
  }
}

.hero-title {
  font-weight: 900;
  color: #ffffff;
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  border-left: 4px solid var(--primary-color);
  padding-left: 1.25rem;
  border-radius: var(--radius-sm);
}

.hero-title-accent {
  color: var(--primary-color);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   7. Highlights / Grid Lines Component
   -------------------------------------------------------------------------- */
.highlights-section {
  background-color: var(--bg-dark-2);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--border-color);
}

@media (min-width: 576px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background-color: var(--bg-dark-2);
}

/* --------------------------------------------------------------------------
   8. Process & Services Custom Grid Layouts
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background-color: var(--border-color);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-line {
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 33.333%;
  right: 33.333%;
  height: 1px;
  background-color: var(--border-color);
  z-index: 1;
}

@media (min-width: 768px) {
  .process-line {
    display: block;
  }
}

/* Cockpit Technology Banner */
.cockpit-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.cockpit-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 13, 17, 0.85) 0%, rgba(11, 13, 17, 0.4) 60%, rgba(11, 13, 17, 0.1) 100%);
}

/* --------------------------------------------------------------------------
   9. FAQ Custom Accordion Component
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background-color: var(--bg-dark-3);
  border: 1px solid var(--border-color);
  border-left: 4px solid transparent;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.faq-item.active {
  border-left-color: var(--primary-color);
}

.faq-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-button:focus {
  outline: none;
}

.faq-icon {
  color: var(--primary-color);
  transition: transform 0.25s ease-in-out;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. Footer Component
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark-1);
  border-top: 1px solid var(--border-color);
}

.footer-top {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Mobile Footer Centering & Single Column Layout */
@media (max-width: 767.98px) {
  .site-footer {
    text-align: center;
  }

  .site-footer .row > [class*="col-"] {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer-title {
    margin-bottom: 0.5rem;
  }

  .site-footer .wordmark {
    display: inline-flex;
    justify-content: center;
  }

  .site-footer p.small {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links {
    align-items: center;
  }

  .footer-bottom .d-flex {
    justify-content: center !important;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   11. Inner Page Specific Styles
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background-color: #11151b;
  border-bottom: 1px solid #1d242d;
}

.about-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.about-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 13, 17, 0.9) 0%, rgba(11, 13, 17, 0.3) 100%);
}

.services-hero {
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background-color: var(--bg-dark-2);
  border-bottom: 1px solid var(--border-color);
}

/* Service Card Button */
.btn-view-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background-color: var(--bg-dark-3);
  color: var(--primary-color) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-view-service:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-bg-light);
  color: var(--primary-color) !important;
  box-shadow: 0 0 10px rgba(255, 157, 0, 0.2);
}

.obd-card-highlight {
  border-color: var(--primary-color) !important;
}

/* --------------------------------------------------------------------------
   12. Form Controls & Inputs
   -------------------------------------------------------------------------- */
.obd-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.obd-input {
  width: 100%;
  background-color: var(--bg-dark-3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: all 0.2s ease-in-out;
  outline: none;
}

.obd-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 157, 0, 0.15);
  background-color: #1a202a;
}

.obd-input::placeholder {
  color: var(--text-muted);
}

select.obd-input option {
  background-color: var(--bg-dark-3);
  color: #ffffff;
}

/* ==========================================================================
   Phase 3: OBD Authentication Component Styles
   ========================================================================== */

.obd-auth-section {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem;
  background: radial-gradient(circle at 50% 15%, rgba(255, 157, 0, 0.06) 0%, transparent 60%), var(--bg-dark-1);
  position: relative;
}

.obd-auth-card {
  width: 100%;
  max-width: 480px;
  background-color: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.obd-auth-card-wide {
  max-width: 580px;
}

.obd-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.obd-auth-header {
  margin-bottom: 2rem;
  text-align: left;
}

.obd-auth-header h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.obd-auth-subtitle {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.obd-form-group {
  margin-bottom: 1.35rem;
  position: relative;
}

.obd-input-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.obd-input-password-wrap .obd-input {
  padding-right: 3rem;
}

.obd-password-toggle {
  position: absolute;
  right: 0.85rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  z-index: 5;
}

.obd-password-toggle:hover {
  color: var(--primary-color);
}

.obd-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.obd-checkbox-label input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 17px;
  height: 17px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.obd-auth-status {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 0.875rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.obd-auth-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 0.875rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.obd-auth-links {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

.obd-auth-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.obd-auth-links a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.obd-forgot-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.obd-forgot-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Form states */
.obd-input.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
}

.obd-field-error {
  color: #f87171;
  font-size: 0.775rem;
  margin-top: 0.35rem;
  display: block;
  line-height: 1.4;
}

/* WebKit dark theme autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #151a22 inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* International Tel Input dark styling */
.iti {
  width: 100%;
}

.iti input#phone {
  padding-left: 54px !important;
}

.iti__country-list {
  background-color: var(--bg-dark-2) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8) !important;
  z-index: 1050 !important;
  max-height: 240px !important;
}

.iti__country {
  padding: 9px 12px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  font-size: 0.85rem !important;
  color: var(--text-secondary) !important;
}

.iti__country.iti__highlight {
  background-color: var(--bg-dark-3) !important;
  color: #ffffff !important;
}

.iti__country-name, .iti__dial-code {
  color: inherit !important;
}

.iti__selected-dial-code {
  color: var(--text-secondary) !important;
  font-size: 0.875rem !important;
  font-family: var(--font-body);
}

.iti__search-input {
  background-color: var(--bg-dark-3) !important;
  color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
  font-size: 0.85rem !important;
  margin-bottom: 4px !important;
}

.iti__arrow {
  border-top-color: var(--text-muted) !important;
}

.iti__arrow--up {
  border-bottom-color: var(--text-muted) !important;
}

/* Password strength */
#passstrength {
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
}
#pass_condition ul {
  list-style: disc;
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
}

#pass_condition li {
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   PHASE 4: EXTENDED COMPONENTS (TABLES, FILTERS, BLOG, REVIEWS, COURSES, INVOICE)
   ========================================================================== */

/* Dark Responsive Tables */
.obd-table-wrapper {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
}

.obd-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
  color: var(--text-primary);
  margin-bottom: 0;
}

.obd-table th {
  background: var(--bg-dark-3);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.obd-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.obd-table tbody tr {
  transition: background-color var(--transition-fast);
}

.obd-table tbody tr:hover {
  background: rgba(255, 157, 0, 0.03);
}

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

.obd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.obd-badge-primary {
  background: rgba(255, 157, 0, 0.15);
  color: var(--primary-color);
  border: 1px solid rgba(255, 157, 0, 0.3);
}

.obd-badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.obd-badge-secondary {
  background: var(--bg-dark-3);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

/* Filter & Search Bar */
.obd-filter-bar {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.obd-select {
  width: 100%;
  background-color: var(--bg-dark-3);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.925rem;
  padding: 0.75rem 1rem;
  transition: all var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

.obd-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.obd-select option {
  background-color: var(--bg-dark-2);
  color: var(--text-primary);
}

/* Blog Cards & Grid */
.obd-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.obd-blog-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.obd-blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.obd-blog-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--bg-dark-3);
}

.obd-blog-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.obd-blog-card:hover .obd-blog-card-thumb img {
  transform: scale(1.05);
}

.obd-blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.obd-blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.obd-blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.obd-blog-card:hover .obd-blog-card-title {
  color: var(--primary-color);
}

.obd-blog-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Article Typography (Blog Details) */
.obd-article {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.obd-article h1, .obd-article h2, .obd-article h3, .obd-article h4 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.obd-article h2 {
  font-size: 1.6rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.obd-article h3 {
  font-size: 1.3rem;
}

.obd-article p {
  margin-bottom: 1.5rem;
}

.obd-article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
}

.obd-article blockquote {
  border-left: 4px solid var(--primary-color);
  background: var(--bg-dark-2);
  padding: 1.25rem 1.75rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-primary);
  margin: 1.75rem 0;
}

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

.obd-article li {
  margin-bottom: 0.5rem;
}

/* Review / Testimonial Cards */
.obd-review-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.obd-review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 157, 0, 0.4);
}

.obd-stars {
  display: flex;
  gap: 0.25rem;
  color: #ff9d00;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.obd-review-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.obd-reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.obd-reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-dark-3);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-color);
}

/* Tutorials & Courses */
.obd-course-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.obd-course-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.obd-video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.obd-video-container iframe,
.obd-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.obd-lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.obd-lesson-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.obd-lesson-item:hover,
.obd-lesson-item.active {
  background: var(--bg-dark-3);
  color: var(--primary-color);
}

.obd-lesson-item:last-child {
  border-bottom: none;
}

/* Empty States */
.obd-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.obd-empty-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.obd-empty-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.obd-empty-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

/* Pagination Overrides for Dark Mode */
.obd-pagination-nav .pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 1rem 0;
}

.obd-pagination-nav .page-item .page-link {
  background-color: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.obd-pagination-nav .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #0b0d11;
}

.obd-pagination-nav .page-item .page-link:hover:not(.active) {
  background-color: var(--bg-dark-3);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.obd-pagination-nav .page-item.disabled .page-link {
  background-color: var(--bg-dark-2);
  border-color: var(--border-color);
  color: var(--text-muted);
  opacity: 0.5;
  cursor: not-allowed;
}

/* Invoice & Print Styles */
.obd-invoice {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .site-header, .site-footer, .no-print, .obd-btn-primary, .obd-btn-outline {
    display: none !important;
  }
  .obd-invoice {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .obd-table th {
    background: #f4f4f4 !important;
    color: #000000 !important;
    border-bottom: 2px solid #000000 !important;
  }
  .obd-table td {
    color: #000000 !important;
    border-bottom: 1px solid #ddd !important;
  }
}
