/* 
   8M Auto Service - Premium Boutique Garage
   V3.1 Cyber-Automotive Design System with Blended Brand Header
*/

:root {
    --bg-color: #050608;
    --panel-bg: rgba(10, 12, 22, 0.85);
    
    /* Curated, Harmonious HSL Tailored Colors */
    --neon-blue: #00E5FF;
    --neon-blue-glow: rgba(0, 229, 255, 0.4);
    
    --neon-green: #39FF14;
    --neon-green-glow: rgba(57, 255, 20, 0.4);
    
    --neon-red: #FF3333;
    --neon-red-glow: rgba(255, 51, 51, 0.4);
    
    --neon-cyan: #00FF9D;
    --neon-cyan-glow: rgba(0, 255, 157, 0.4);
    
    --neon-yellow: #FFB300; /* Engine Tuning / Warm gold */
    --neon-yellow-glow: rgba(255, 179, 0, 0.4);
    
    --neon-purple: #7360F2; /* Viber Brand Color */
    --neon-purple-glow: rgba(115, 96, 242, 0.4);

    --text-primary: #F0F4F8;
    --text-secondary: #8E9BAE;
    --border-color: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-digital: 'Space Grotesk', sans-serif;
}

/* Global Reset & Futuristic Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-top: 135px; /* Offset for massive header on desktops */
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Futuristic Background Ambient Glows & Tech Grid */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -2;
    opacity: 0.12;
    pointer-events: none;
}

.blue-glow {
    top: 5%;
    left: -100px;
    background: var(--neon-blue);
}

.purple-glow {
    top: 50%;
    right: -100px;
    background: var(--neon-purple);
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        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: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-2 { margin-top: 1rem; }
.font-digital { font-family: var(--font-digital); letter-spacing: 0.05em; font-weight: 500; }
.text-secondary { color: var(--text-secondary); }

/* Color overrides */
.text-neon-green { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green-glow); }
.text-neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan-glow); }
.text-neon-blue { color: var(--neon-blue); text-shadow: 0 0 10px var(--neon-blue-glow); }
.text-neon-purple { color: var(--neon-purple); text-shadow: 0 0 10px var(--neon-purple-glow); }
.text-neon-yellow { color: var(--neon-yellow); text-shadow: 0 0 10px var(--neon-yellow-glow); }

.bg-neon-green { background: var(--neon-green); }
.bg-neon-red { background: var(--neon-red); }
.bg-neon-blue { background: var(--neon-blue); }
.bg-neon-cyan { background: var(--neon-cyan); }
.bg-neon-yellow { background: var(--neon-yellow); }

.gradient-text {
    background: linear-gradient(135deg, #FFF 30%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-family: var(--font-digital);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-viber {
    background: transparent;
    border: 1px solid var(--neon-purple);
    color: #FFF;
    box-shadow: 0 0 15px rgba(115, 96, 242, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-viber:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 25px rgba(115, 96, 242, 0.4);
    transform: translateY(-2px);
}

/* Specific styling for nav Viber button when header is white */
.nav-white .btn-viber {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.nav-white .btn-viber:hover {
    background: var(--neon-purple);
    color: #FFF;
    box-shadow: 0 0 20px rgba(115, 96, 242, 0.3);
}

.btn-neon-blue {
    background: var(--neon-blue);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.btn-neon-blue:hover {
    background: #FFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.pulse-indicator {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-cyan);
    margin-right: 8px;
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: beacon 1.5s infinite;
}

@keyframes beacon {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

/* Glassmorphic Panel Layout */
.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    border-color: rgba(255,255,255,0.15);
}

/* Glowing Border States */
.active-glow-blue {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2) !important;
}

.active-glow-purple {
    box-shadow: 0 0 30px rgba(115, 96, 242, 0.08);
    border-color: rgba(115, 96, 242, 0.2) !important;
}

.active-glow-yellow {
    box-shadow: 0 0 30px rgba(255, 179, 0, 0.08);
    border-color: rgba(255, 179, 0, 0.2) !important;
}

/* Floating Corner Brackets for HUD styling */
.hud-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--neon-blue);
    pointer-events: none;
}
.hud-corner.top-left { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.hud-corner.top-right { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.hud-corner.bottom-left { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.hud-corner.bottom-right { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* Navigation Bar (Blended White Brand Header Revamp) */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s;
}

.nav-white {
    background: #FFFFFF !important;
    border-bottom: 2px solid rgba(115, 96, 242, 0.15) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 0.5rem 0; /* Slightly thinner padding to offset larger logo height */
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 108px; /* Prominent extra-large brand logo to blend perfectly into the white header */
    width: auto;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    mix-blend-mode: multiply; /* Perfect blending of logo white background */
}

.nav-logo:hover {
    transform: scale(1.03);
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 700; /* Bold links */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

/* Navy text to pop on white header */
.text-dark {
    color: #050608 !important;
}

.text-dark:hover {
    color: var(--neon-purple) !important; /* Viber brand purple hover */
}

.text-dark::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--neon-purple); /* Purple indicator line */
    transition: width 0.3s;
}

.text-dark:hover::after {
    width: 100%;
}

/* Hero Section Styling */
.hero {
    height: calc(100vh - 90px);
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 10;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-digital);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.05;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFF;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.stat-divider {
    width: 1px;
    background: var(--border-color);
    align-self: stretch;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mouse Scroll Indicator */
.hero-scroller-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0.6;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 6px;
    background: var(--neon-blue);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

.hint-text {
    font-family: var(--font-digital);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0.2; }
    100% { top: 6px; opacity: 1; }
}

/* Radical X-Ray Garage HUD System Grid */
.xray-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

.xray-header {
    margin-bottom: 4rem;
}

.header-pre {
    font-family: var(--font-digital);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
}

.xray-header h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
}

.xray-header p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.garage-workspace {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1100px) {
    .garage-workspace {
        grid-template-columns: 2fr 1.1fr;
    }
}

/* HUD Chassis Viewport */
.chassis-hud-viewport {
    position: relative;
    width: 100%;
    background: rgba(5, 7, 12, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HUD Live Telemetry Overlays */
.hud-telemetry {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
}

.hud-telemetry.left {
    top: 20px;
    left: 20px;
}

.hud-telemetry.right {
    top: 20px;
    right: 20px;
    align-items: flex-end;
}

.telemetry-item {
    font-family: var(--font-digital);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
}

.telemetry-item .label {
    color: var(--text-secondary);
}

.telemetry-item .value {
    font-weight: 700;
}

/* Dynamic scanning laser bar */
.laser-scanner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 4px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--neon-blue), transparent);
    box-shadow: 0 0 20px var(--neon-blue);
    opacity: 0.6;
    pointer-events: none;
    z-index: 3;
    animation: scanLine 8s infinite linear;
}

@keyframes scanLine {
    0% { left: -5%; }
    50% { left: 105%; }
    100% { left: -5%; }
}

/* SVGs Chassis */
.chassis-container {
    width: 100%;
    padding: 2rem 0;
}

.chassis-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 12px rgba(255,255,255,0.05));
}

.car-body-path {
    transition: stroke 0.4s ease, opacity 0.4s ease;
}

/* Dim body lines on hover */
.chassis-hud-viewport:hover .car-body-path {
    opacity: 0.06;
}

/* Hotspots core visual rules */
.hotspot {
    cursor: pointer;
}

.hotspot-lbl {
    font-family: var(--font-digital);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.4;
    transition: opacity 0.3s, fill 0.3s;
}

.hotspot-lbl.yellow { fill: var(--neon-yellow); }
.hotspot-lbl.green { fill: var(--neon-green); }
.hotspot-lbl.red { fill: var(--neon-red); }
.hotspot-lbl.blue { fill: var(--neon-blue); }
.hotspot-lbl.cyan { fill: var(--neon-cyan); }

.pulse-ring {
    fill: none;
    stroke-width: 1.5;
    animation: rings 2s infinite ease-out;
    transform-origin: center;
}

.stroke-neon-green { stroke: var(--neon-green); }
.stroke-neon-red { stroke: var(--neon-red); }
.stroke-neon-blue { stroke: var(--neon-blue); }
.stroke-neon-cyan { stroke: var(--neon-cyan); }
.stroke-neon-yellow { stroke: var(--neon-yellow); }

@keyframes rings {
    0% { r: 5; opacity: 1; }
    100% { r: 35; opacity: 0; }
}

.glow-target {
    transition: opacity 0.4s;
}

.tech-spring, .brake-caliper, .dash-screen, .battery-grid {
    transition: stroke-width 0.3s, filter 0.3s, opacity 0.3s;
}

.hud-link-line {
    opacity: 0.1;
    transition: opacity 0.3s, stroke-width 0.3s;
}

/* HOVER TRIGGERS DIRECTLY WITHIN SVG */
.hotspot:hover .glow-target {
    opacity: 0.35 !important;
}

.hotspot:hover .pulse-ring {
    animation-duration: 0.8s;
}

.hotspot:hover rect {
    stroke-width: 4 !important;
    filter: drop-shadow(0 0 8px currentColor);
}

.hotspot:hover .tech-spring,
.hotspot:hover .brake-caliper,
.hotspot:hover .dash-screen,
.hotspot:hover .battery-grid {
    filter: drop-shadow(0 0 8px currentColor);
    stroke-width: 6 !important;
}

.hotspot:hover .hotspot-lbl {
    opacity: 1 !important;
}

.hotspot:hover .hud-link-line {
    opacity: 0.6 !important;
    stroke-width: 2px !important;
}

/* Floating Diagnostics Console Box */
.hud-details-console {
    display: flex;
    flex-direction: column;
}

.console-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.pulse-green-dot {
    width: 6px;
    height: 6px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--neon-cyan);
}

.chassis-address {
    background: rgba(255,255,255,0.04);
    padding: 0.1rem 0.4rem;
    border-radius: 2px;
}

.dashboard-readout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.2rem;
    font-size: 0.75rem;
}

.readout-block {
    display: flex;
    flex-direction: column;
}

.readout-block .title {
    color: var(--text-secondary);
    margin-bottom: 0.1rem;
}

.readout-block .value {
    font-size: 0.95rem;
    font-weight: 700;
}

.console-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.console-body p.desc-text {
    font-size: 0.95rem;
    min-height: 80px;
    margin-bottom: 1.5rem;
}

/* HUD Live Mini Graphics Feed Window */
.hud-graphic-grid {
    position: relative;
    width: 100%;
    height: 120px;
    border: 1px solid rgba(255,255,255,0.03);
    background: rgba(0,0,0,0.2) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path d="M0 0h20v20H0z" fill="none"/><circle cx="10" cy="10" r="0.5" fill="rgba(255,255,255,0.06)"/></svg>');
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hud-graphic-grid::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.05);
}

.hud-mini-radar {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 50%;
    position: relative;
}

.hud-mini-radar::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 1px;
    background: rgba(0, 229, 255, 0.15);
}

.hud-mini-radar::after {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border-top: 2px solid var(--neon-blue);
    animation: spins 3s infinite linear;
}

@keyframes spins {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hud-action-footer {
    display: flex;
}

/* Specialties Section Redesign */
.services-section {
    padding: 6rem 2rem;
}

.section-badge {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(7, 9, 15, 0.8) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-image-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-coming-soon {
    position: relative;
    opacity: 0.85;
}

.coming-soon-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--neon-cyan);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    letter-spacing: 0.1em;
    box-shadow: 0 0 15px var(--neon-cyan-glow);
    z-index: 10;
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-image {
    transform: scale(1.05);
}

.tech-card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.1;
    pointer-events: none;
    transition: opacity 0.4s;
}

.tech-card-overlay.green { background: var(--neon-green); }
.tech-card-overlay.red { background: var(--neon-red); }
.tech-card-overlay.blue { background: var(--neon-blue); }
.tech-card-overlay.cyan { background: var(--neon-cyan); }
.tech-card-overlay.yellow { background: var(--neon-yellow); }

.service-card:hover .tech-card-overlay {
    opacity: 0.18;
}

/* EV Hybrid Battery Mockup matrix grid */
.battery-matrix-bg {
    background: #020305;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-cell-matrix {
    width: 90%;
    height: 90%;
    opacity: 0.15;
    background-image: 
        radial-gradient(var(--neon-cyan) 2px, transparent 2px);
    background-size: 15px 15px;
    transition: opacity 0.4s;
}

.service-card:hover .cyber-cell-matrix {
    opacity: 0.35;
}

.card-body {
    padding: 1.8rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-indicator {
    position: absolute;
    top: 0;
    left: 1.8rem;
    width: 40px;
    height: 3px;
    border-radius: 0 0 2px 2px;
}

.card-pre {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.feature-tag {
    font-family: var(--font-digital);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    color: var(--text-secondary);
}

/* ECU diagnostic terminal simulation section */
.tech-simulation-section {
    padding: 4rem 2rem;
}

.sim-console {
    max-width: 900px;
    margin: 0 auto;
}

.sim-console h2 {
    font-size: 2rem;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.terminal-container {
    background: #020305;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin: 2rem auto;
    text-align: left;
}

.terminal-header {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.term-dot.close { background: #FF5F56; }
.term-dot.minimize { background: #FFBD2E; }
.term-dot.expand { background: #27C93F; }

.term-title {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-left: auto;
}

.terminal-body {
    padding: 1.5rem;
    min-height: 180px;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.term-line {
    opacity: 0.8;
}

/* Sourcing & Partners Section */
.about-section {
    padding: 6rem 2rem;
    border-top: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1000px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-info h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.partner-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.logo-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 1rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    color: var(--text-secondary);
}

.about-stats-panel {
    background: rgba(10, 15, 25, 0.9) !important;
}

.about-header-meta {
    font-family: var(--font-digital);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-cyan);
}

.circle-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

.brand-stats {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.stat-pair {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed rgba(255,255,255,0.03);
    padding-bottom: 0.4rem;
}

.stat-pair span:first-child {
    color: var(--text-secondary);
}

.stat-pair span:last-child {
    font-weight: 700;
}

/* Futuristic Footer Layout (White Background Revamp for Brand Cohesion) */
.footer {
    background: #FFFFFF !important;
    color: #050608 !important;
    padding: 5rem 0 2rem;
    border-top: 2px solid rgba(115, 96, 242, 0.15);
}

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

@media (min-width: 800px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-logo {
    height: 100px; /* Taller footer brand logo */
    width: auto;
    display: block;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
    mix-blend-mode: multiply; /* Perfect blending of logo white background */
}

.footer-logo:hover {
    transform: scale(1.03);
}

.brand-tagline {
    color: #4A5568 !important;
    font-size: 0.95rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1877F2; /* Facebook Native Blue */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1rem;
}

.social-icon-link:hover {
    background: #1877F2;
    color: #FFFFFF;
    border-color: #1877F2;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.social-svg-icon {
    width: 20px;
    height: 20px;
}

.footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #050608 !important;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.footer-contact p {
    color: #2D3748 !important;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-contact .text-neon-blue {
    color: var(--neon-purple) !important; /* Viber brand purple for legibility on white */
    text-shadow: none !important;
}

/* Specific styling for footer secondary buttons to pop on white background */
.footer .btn-secondary {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #050608 !important;
}

.footer .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.copyright {
    color: #718096 !important;
    font-size: 0.78rem;
    border-top: 1px solid rgba(0,0,0,0.06) !important;
    padding-top: 2rem;
    letter-spacing: 0.05em;
}

/* 
   Scroll-Driven Animations (Progressive Enhancement)
*/
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        
        @keyframes reveal-up {
            from {
                opacity: 0;
                transform: translateY(40px) scale(0.97);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .reveal-card {
            animation: reveal-up linear both;
            animation-timeline: view(block);
            animation-range: entry 8% cover 25%;
        }
    }
}

/* Mobile responsive header and logo scale-down */
@media (max-width: 768px) {
    body {
        padding-top: 90px; /* Reduced offset for smaller mobile logo header */
    }
    .nav-logo {
        height: 60px; /* Reduced logo size on mobile devices */
    }
    .nav-white {
        padding: 0.4rem 0;
    }
}
