/* 303 Garage Performance - Official Brand Styling & Glow Effects */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Syne:wght@600;700;800;900&display=swap');

:root {
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --bg-main: #08090c;
  --bg-surface: #0e1117;
  --bg-card: #131722;
  --bg-card-hover: #181e2c;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 77, 0, 0.5);
  
  --orange-racing: #ff4d00;
  --orange-bright: #ff6a00;
  --orange-glow: rgba(255, 77, 0, 0.35);
  --orange-glow-strong: rgba(255, 77, 0, 0.6);
  
  --chrome-bright: #f8fafc;
  --chrome-silver: #cbd5e1;
  --chrome-dark: #64748b;
  
  --amber-gold: #f59e0b;
  --cyan-telemetry: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.25);
  --green-dyno: #10b981;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: #e2e8f0;
  overflow-x: hidden;
}

::selection {
  background: #ff4d00;
  color: #ffffff;
}

h1, h2, h3, .font-heading {
  font-family: var(--font-heading);
}

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

/* Background Carbon Pattern */
.bg-carbon {
  background-color: #08090c;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 77, 0, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

.bg-mesh-dark {
  background-image: radial-gradient(at 0% 0%, rgba(255, 77, 0, 0.1) 0px, transparent 50%),
                    radial-gradient(at 100% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%),
                    radial-gradient(at 50% 100%, rgba(6, 182, 212, 0.05) 0px, transparent 50%);
}

/* Glassmorphism Styles */
.glass-card {
  background: rgba(14, 17, 23, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(255, 77, 0, 0.35);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6), 0 0 24px -5px var(--orange-glow);
  transform: translateY(-2px);
}

.glass-nav {
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Glow Effects & Buttons */
.btn-racing {
  background: linear-gradient(135deg, #ff4d00 0%, #e63900 100%);
  box-shadow: 0 4px 20px rgba(255, 77, 0, 0.4);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-racing::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn-racing:hover::before {
  left: 100%;
}

.btn-racing:hover {
  background: linear-gradient(135deg, #ff5c14 0%, #f04200 100%);
  box-shadow: 0 6px 28px rgba(255, 77, 0, 0.6);
  transform: translateY(-1px);
}

.btn-racing:active {
  transform: translateY(1px);
}

.btn-outline-glow {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.btn-outline-glow:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 77, 0, 0.5);
  box-shadow: 0 0 20px rgba(255, 77, 0, 0.25);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btn-whatsapp:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

/* Pulse Beacon */
.status-beacon {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

.status-beacon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.5);
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.5);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Tachometer and Gauges styles */
.gauge-bar-fill {
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #08090c;
}
::-webkit-scrollbar-thumb {
  background: #1f2533;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff4d00;
}

/* Text Gradient Accents */
.text-gradient-racing {
  background: linear-gradient(135deg, #ffffff 20%, #ff6a00 65%, #ff4d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-chrome {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 45%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #ff4d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Logo & Emblem Visual Enhancements */
.logo-glow {
  filter: drop-shadow(0 0 12px rgba(255, 77, 0, 0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-glow:hover {
  filter: drop-shadow(0 0 20px rgba(255, 77, 0, 0.75));
  transform: scale(1.03);
}

/* Dyno Grid Graphic styling */
.dyno-screen {
  background: linear-gradient(180deg, #0a0d13 0%, #06080c 100%);
  border: 1px solid #1c2432;
  position: relative;
  overflow: hidden;
}

.dyno-screen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 0, 0.6), transparent);
}

/* Car Select Custom Dropdowns */
.custom-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ff4d00'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
}

/* Animation keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

/* Carbon stripe badges */
.badge-carbon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.badge-orange-glow {
  background: rgba(255, 77, 0, 0.12);
  border: 1px solid rgba(255, 77, 0, 0.4);
  color: #ff6a00;
  box-shadow: 0 0 15px rgba(255, 77, 0, 0.2);
}
