/* ==========================================================================
   CarDesk US — Master Hub Stylesheet (5-Tool GTA 6 Midnight Neon Suite)
   Operated by MANKINIAMMA TECHNOLOGIES PRIVATE LIMITED
   ========================================================================== */

:root {
  --bg-obsidian: #050714;
  --bg-midnight: #090d22;
  --bg-card: rgba(12, 18, 38, 0.8);
  --bg-card-hover: rgba(17, 25, 52, 0.94);
  --bg-elevated: rgba(255, 255, 255, 0.035);

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --cyan: #38f6ff;
  --violet: #8b5cf6;
  --magenta: #ff2ae6;
  --sunset-pink: #ff2a85;
  --sunset-orange: #ff9900;
  --emerald: #10b981;
  --amber: #f59e0b;
  --danger: #ef4444;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --grad-neon: linear-gradient(90deg, #38f6ff 0%, #8b5cf6 52%, #ff2ae6 100%);
  --grad-cta: linear-gradient(90deg, #00e5ff 0%, #8b5cf6 50%, #ff2ae6 100%);
  --grad-sunset: linear-gradient(90deg, #ff2a85 0%, #ff8a00 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.48);
  --shadow-cyan: 0 0 28px rgba(56, 246, 255, 0.25);
  --shadow-magenta: 0 0 28px rgba(255, 42, 230, 0.25);

  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 50% 0%, #0e1633 0%, var(--bg-obsidian) 58%, #020308 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}

/* GTA 6 / Vice City Ambient Neon Orbs */
body::before,
body::after {
  content: "";
  position: fixed;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  filter: blur(135px);
  opacity: 0.16;
  z-index: -1;
  pointer-events: none;
}

body::before {
  top: -180px;
  left: -150px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

body::after {
  top: -130px;
  right: -170px;
  background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
}

h1, h2, h3, h4, .brand, .stat-value {
  font-family: var(--font-display);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

.gradient-text {
  background: var(--grad-neon);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono {
  font-family: var(--font-mono);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-obsidian); }
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.24);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 246, 255, 0.48);
}

/* Alternating Cyan/Magenta Car Headlights Animation */
.hl-cyan {
  animation: blinkCyan 2.2s ease-in-out infinite;
}
.hl-magenta {
  animation: blinkMagenta 2.2s ease-in-out infinite;
}

@keyframes blinkCyan {
  0%, 45%, 100% { opacity: 1; filter: drop-shadow(0 0 6px #38f6ff); }
  55%, 88% { opacity: 0.38; filter: none; }
}
@keyframes blinkMagenta {
  0%, 38% { opacity: 0.38; filter: none; }
  50%, 92% { opacity: 1; filter: drop-shadow(0 0 6px #ff2ae6); }
  100% { opacity: 0.38; }
}

/* ==========================================================================
   Animated Car Logo Splash Screen
   ========================================================================== */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #0e1633 0%, #050714 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.52s ease, visibility 0.52s ease;
}

#splash-screen.splash-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-ring-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--magenta), var(--cyan));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: splashSpin 1.5s linear infinite;
  box-shadow: 0 0 32px rgba(56, 246, 255, 0.32), 0 0 32px rgba(255, 42, 230, 0.28);
}

.splash-car {
  width: 82px;
  height: 82px;
  animation: splashPulse 0.9s ease-out forwards;
  filter: drop-shadow(0 0 12px rgba(56, 246, 255, 0.42));
}

.splash-brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: splashFadeUp 0.55s ease 0.12s both;
}

.splash-brand .brand-car { color: var(--cyan); }
.splash-brand .brand-us { color: var(--magenta); }

.splash-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  animation: splashFadeUp 0.55s ease 0.24s both;
}

@keyframes splashSpin { to { transform: rotate(360deg); } }
@keyframes splashPulse {
  0% { opacity: 0; transform: scale(0.75); }
  65% { opacity: 1; transform: scale(1.06); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes splashFadeUp {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Sticky Glass Header / Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 20, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(56, 246, 255, 0.32));
}

.brand-text-car { color: var(--cyan); }
.brand-text-us { color: var(--magenta); }

.brand-pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  color: var(--cyan);
  background: rgba(56, 246, 255, 0.09);
  border: 1px solid rgba(56, 246, 255, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.nav-flagship {
  color: #fda4af;
}
.nav-links a.nav-flagship:hover {
  color: #ff6b9d;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 42, 230, 0.08);
  border: 1px solid rgba(255, 42, 230, 0.28);
  color: #f5d0fe;
  white-space: nowrap;
}

.pill-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  color: var(--cyan);
  background: rgba(56, 246, 255, 0.08);
  border: 1px solid rgba(56, 246, 255, 0.36);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-nav-cta:hover {
  background: rgba(56, 246, 255, 0.16);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px 22px 20px;
  background: rgba(7, 10, 24, 0.98);
  border-bottom: 1px solid var(--border-subtle);
}

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

.mobile-drawer a {
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.mobile-drawer a:hover {
  color: var(--cyan);
  background: rgba(56, 246, 255, 0.08);
  border-color: rgba(56, 246, 255, 0.25);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 64px 0 40px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 17px;
  border-radius: var(--radius-pill);
  background: rgba(56, 246, 255, 0.07);
  border: 1px solid rgba(56, 246, 255, 0.28);
  color: #a5f3fc;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.38); opacity: 0.55; }
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 920px;
  margin: 0 auto 18px;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.7vw, 1.16rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 30px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--grad-cta);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(56, 246, 255, 0.32);
  filter: brightness(1.07);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 25px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(56, 246, 255, 0.06);
  border: 1px solid rgba(56, 246, 255, 0.34);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(56, 246, 255, 0.14);
  transform: translateY(-2px);
}

.btn-sunset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--grad-sunset);
  box-shadow: 0 10px 28px rgba(255, 42, 133, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-sunset:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 14px 34px rgba(255, 138, 0, 0.34);
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.trust-chip .dot-c { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.trust-chip .dot-m { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }
.trust-chip .dot-g { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.trust-chip .dot-a { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

/* Stats Strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.stat-card:hover {
  border-color: rgba(56, 246, 255, 0.34);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1.2;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Section Framing
   ========================================================================== */
.section {
  padding: 58px 0;
}

.section-compact {
  padding: 36px 0 54px;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 38px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ==========================================================================
   Flagship Full-Width Spotlight Card (Tool #1 — Ticket Appeal Assistant)
   ========================================================================== */
.flagship-card {
  position: relative;
  background: linear-gradient(135deg, rgba(24, 13, 42, 0.92) 0%, rgba(11, 17, 38, 0.92) 55%, rgba(14, 24, 48, 0.92) 100%);
  border: 1px solid rgba(255, 42, 133, 0.38);
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-bottom: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 38px rgba(255, 42, 133, 0.12);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.flagship-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #ff2a85 0%, #ff9900 50%, #38f6ff 100%);
}

.flagship-card:hover {
  border-color: rgba(255, 138, 0, 0.55);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6), 0 0 42px rgba(255, 42, 133, 0.18);
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.flagship-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  color: #fde047;
  background: rgba(255, 138, 0, 0.12);
  border: 1px solid rgba(255, 138, 0, 0.35);
  margin-bottom: 14px;
}

.flagship-title {
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: #ffffff;
}

.flagship-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.62;
}

.deadline-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.deadline-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  color: #fecdd3;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.flagship-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.flagship-panel {
  background: rgba(5, 8, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fp-step {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.fp-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.fp-step-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
}

.fp-step-price {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.fp-price-free {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.fp-price-paid {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.fp-step p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.52;
}

.fp-foot-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   2x2 Subdomain Tool Cards Grid (Tools #2, #3, #4, #5)
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-neon);
  opacity: 0.9;
}

.tool-card.card-violet::before { background: linear-gradient(90deg, #8b5cf6, #38f6ff); }
.tool-card.card-obd::before { background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%); }
.tool-card.card-magenta::before { background: linear-gradient(90deg, #38f6ff, #ff2ae6); }
.tool-card.card-cyan::before { background: linear-gradient(90deg, #38f6ff, #10b981); }

.tool-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(56, 246, 255, 0.42);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.56), 0 0 34px rgba(56, 246, 255, 0.14);
}

.tool-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.tool-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  background: rgba(56, 246, 255, 0.1);
  border: 1px solid rgba(56, 246, 255, 0.26);
  flex-shrink: 0;
}

.card-violet .tool-icon {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.35);
}
.card-obd .tool-icon {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.34);
}
.card-magenta .tool-icon {
  background: rgba(255, 42, 230, 0.12);
  border-color: rgba(255, 42, 230, 0.32);
}

.tool-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.tool-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}

.badge-free {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.34);
}

.badge-pro {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.34);
}

.badge-live {
  color: var(--cyan);
  background: rgba(56, 246, 255, 0.09);
  border: 1px solid rgba(56, 246, 255, 0.28);
}

.tool-domain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 6px;
}

.tool-title {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.24;
}

.tool-desc {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* OBD Safety Signal Strip */
.safety-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.sig-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
}

.sig-red {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.sig-yellow {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.sig-green {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tool-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  flex-grow: 1;
}

.tool-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.89rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.tool-features li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 900;
  flex-shrink: 0;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.tool-tag {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-tag-link {
  transition: all 0.2s ease;
}

.tool-tag-link:hover {
  color: var(--cyan);
  border-color: rgba(56, 246, 255, 0.4);
  background: rgba(56, 246, 255, 0.08);
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--grad-cta);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tool-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(56, 246, 255, 0.28);
}

.tool-btn .arrow {
  transition: transform 0.2s ease;
}
.tool-btn:hover .arrow {
  transform: translateX(4px);
}

.tool-micro-note {
  margin-top: 11px;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   Interactive 5-Tool Deep-Dive Explorer (Clean Tab Switcher)
   ========================================================================== */
.explorer-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.explorer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.explorer-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  transition: all 0.22s ease;
}

.explorer-tab:hover {
  color: #ffffff;
  border-color: rgba(56, 246, 255, 0.35);
}

.explorer-tab.active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(56, 246, 255, 0.16), rgba(139, 92, 246, 0.2), rgba(255, 42, 230, 0.16));
  border-color: rgba(56, 246, 255, 0.52);
  box-shadow: 0 0 22px rgba(56, 246, 255, 0.16);
}

.explorer-panel {
  display: none;
  animation: fadeSlideIn 0.28s ease;
}

.explorer-panel.active {
  display: block;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.explorer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: start;
}

.explorer-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.explorer-title {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.explorer-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.62;
}

.explorer-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.explorer-metric {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.explorer-metric strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--cyan);
  margin-bottom: 2px;
}

.explorer-metric span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.explorer-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.explorer-step {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 13px;
  background: rgba(6, 9, 22, 0.65);
  border: 1px solid var(--border-subtle);
}

.explorer-step-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(56, 246, 255, 0.12);
  border: 1px solid rgba(56, 246, 255, 0.32);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.explorer-step h4 {
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #ffffff;
}

.explorer-step p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.explorer-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.deep-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* ==========================================================================
   5-Scenario Quick Situation Router ("What Happened Today?")
   ========================================================================== */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: rgba(12, 18, 38, 0.72);
  border: 1px solid var(--border-subtle);
  transition: all 0.24s ease;
}

.quick-item:hover {
  border-color: rgba(255, 42, 230, 0.48);
  background: rgba(18, 26, 54, 0.92);
  transform: translateY(-3px);
}

.quick-icon {
  font-size: 1.35rem;
}

.quick-q {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
}

.quick-a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyan);
  font-weight: 700;
  margin-top: auto;
}

/* ==========================================================================
   Trust & Privacy Pillars
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--cyan);
  background: rgba(56, 246, 255, 0.1);
  border: 1px solid rgba(56, 246, 255, 0.3);
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: rgba(56, 246, 255, 0.38);
}

.faq-question {
  width: 100%;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--cyan);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--magenta);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-answer-inner {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Footer & U.S. Legal Disclaimer Box
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 54px 0 42px;
  background: rgba(4, 6, 15, 0.94);
  margin-top: 24px;
}

.footer-top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 28px;
}

.footer-top-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.footer-top-links a:hover {
  color: var(--cyan);
}

.legal-box {
  max-width: 960px;
  margin: 0 auto 28px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.055);
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #d1d5db;
  font-size: 0.85rem;
  line-height: 1.68;
  text-align: left;
}

.legal-box strong {
  color: #fbbf24;
  font-weight: 700;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-bottom: 20px;
}

.footer-policy-links button,
.footer-policy-links a {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  transition: color 0.2s ease;
}

.footer-policy-links button:hover,
.footer-policy-links a:hover {
  color: var(--cyan);
}

.footer-copy {
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

.footer-copy strong { color: #e2e8f0; }

.footer-copy a {
  color: var(--cyan);
  font-weight: 600;
}
.footer-copy a:hover { text-decoration: underline; }

/* ==========================================================================
   Compliance Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 5, 14, 0.84);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open { display: flex; }

.modal-box {
  width: 100%;
  max-width: 700px;
  max-height: 84vh;
  background: #0b1126;
  border: 1px solid rgba(56, 246, 255, 0.32);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--cyan);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 42, 230, 0.22);
}

.modal-body {
  padding: 22px 24px;
  overflow-y: auto;
  font-size: 0.91rem;
  color: #cbd5e1;
  line-height: 1.7;
}

.modal-body h4 {
  color: #ffffff;
  margin: 16px 0 6px;
  font-size: 0.96rem;
}

.modal-body h4:first-child { margin-top: 0; }

.modal-body ul {
  padding-left: 18px;
  margin: 8px 0 12px;
}

.modal-body li { margin-bottom: 6px; }

.modal-body code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  color: #a5f3fc;
  background: rgba(56, 246, 255, 0.08);
  padding: 1px 6px;
  border-radius: 5px;
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links,
  .pill-status {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .flagship-grid,
  .explorer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .tools-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .hero {
    padding: 44px 0 32px;
  }

  .brand-pill,
  .btn-nav-cta .hide-xs {
    display: none;
  }

  .flagship-card,
  .tool-card,
  .explorer-wrap {
    padding: 22px 18px;
  }

  .quick-grid,
  .explorer-metrics {
    grid-template-columns: 1fr;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary,
  .flagship-cta-row .btn-sunset,
  .flagship-cta-row .btn-secondary {
    width: 100%;
  }

  .explorer-tabs {
    gap: 8px;
  }

  .explorer-tab {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .legal-box {
    padding: 18px 16px;
    font-size: 0.81rem;
  }
}
