/* ============================================

   OEMS AUTO CENTAR - PREMIUM AUTOMOTIVE UI
   Design System v1.0
   ============================================ */

:root {
    /* Base colors */
    --bg-primary: #0A0E1A;
    --bg-panel: #0F1420;
    --bg-elevated: #141A28;
    --bg-glass: rgba(20, 26, 40, 0.6);
    
    /* Accents */
    --accent-blue: #00D4FF;
    --accent-blue-dim: #0099CC;
    --accent-blue-deep: #003D4F;
    --accent-orange: #FF6B1A;
    --accent-orange-dim: #CC4D00;
    --accent-orange-glow: rgba(255, 107, 26, 0.3);
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #C5CDD9;
    --text-muted: #6B7588;
    --text-dim: #475063;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(0, 212, 255, 0.3);
    
    /* Effects */
    --glow-blue: 0 0 40px rgba(0, 212, 255, 0.4);
    --glow-orange: 0 0 40px rgba(255, 107, 26, 0.4);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.6);
    
    /* Typography */
    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --max-width: 1320px;
    --section-pad: 120px;
    
    /* Easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom cursor glow - additive only, normal cursor remains visible */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.10) 0%, rgba(0, 212, 255, 0.03) 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    mix-blend-mode: screen;
    will-change: transform;
}

@media (hover: none), (max-width: 768px) {
    .cursor-glow { display: none; }
}

/* Grid background */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s var(--ease-out);
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.loader-circle {
    stroke-dashoffset: 283;
    animation: loaderDraw 1.5s var(--ease-out) forwards, loaderRotate 2s linear infinite 1.5s;
    transform-origin: center;
}

@keyframes loaderDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes loaderRotate {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-blue);
    letter-spacing: 0.3em;
    animation: loaderBlink 1s ease-in-out infinite;
}

@keyframes loaderBlink {
    50% { opacity: 0.4; }
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

/* Typography utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================

   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.3s;
}

.nav-logo:hover { opacity: 0.85; }

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--accent-blue);
    letter-spacing: 0.3em;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: 24px;
}

.nav-link {
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF8C42 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 4px 20px rgba(255, 107, 26, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
}

.nav-cta:hover::before { transform: translateX(100%); }

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 26, 0.5);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-burger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* ============================================

   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-hud {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Background grid pattern */
.hud-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    opacity: 0.6;
}

/* Center radial glow */
.hud-center-glow {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, rgba(0, 212, 255, 0.04) 30%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* HUD fragments - absolute positioned blocks */
.hud-fragment {
    position: absolute;
    opacity: 0;
    animation: hudFadeIn 1s var(--ease-out) forwards;
}

.hud-status-bar {
    top: 120px;
    right: 5%;
    animation-delay: 0.7s;
}

.hud-rpm-gauge {
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    animation-delay: 0.3s;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.15));
}

.hud-dyno-box {
    bottom: 15%;
    right: 5%;
    animation-delay: 0.5s;
}

.hud-telemetry-strip {
    bottom: 8%;
    left: 5%;
    display: flex;
    gap: 36px;
    animation-delay: 0.9s;
    padding: 16px 22px;
    background: rgba(15, 20, 32, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 10px;
}

.telem-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.telem-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    font-weight: 600;
}

.telem-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.telem-unit {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 2px;
    font-weight: 500;
}

.telem-value-orange { color: var(--accent-orange); }

/* Scan line animation */
.hud-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
    animation: scanMove 5s linear infinite;
    will-change: transform, opacity;
}

@keyframes hudFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 0.9; transform: translateY(0); }
}

.hud-rpm-gauge {
    /* Override transform from translateY */
    animation-name: hudFadeInRpm;
}

@keyframes hudFadeInRpm {
    from { opacity: 0; transform: translateY(calc(-50% + 20px)); }
    to { opacity: 0.9; transform: translateY(-50%); }
}

/* RPM needle animation - applied to SVG line */
.rpm-needle {
    transform-origin: center bottom;
    transform-box: fill-box;
    animation: rpmSweep 4s var(--ease-in-out) infinite;
}

@keyframes rpmSweep {
    0% { transform: rotate(-130deg); }
    40% { transform: rotate(50deg); }
    50% { transform: rotate(45deg); }
    60% { transform: rotate(60deg); }
    100% { transform: rotate(-130deg); }
}

.rpm-value {
    animation: rpmCount 4s ease-in-out infinite;
}

@keyframes rpmCount {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.status-dot {
    animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 0.4; r: 4; }
    50% { opacity: 1; r: 5; }
}

@keyframes scanMove {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.dyno-tuned {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: dynoLine 2s var(--ease-out) forwards 1s;
}

@keyframes dynoLine {
    to { stroke-dashoffset: 0; }
}

/* Hide some HUD elements on smaller screens for clarity */
@media (max-width: 1100px) {
    .hud-rpm-gauge { opacity: 0.5; transform: translateY(-50%) scale(0.85); right: 2%; }
    .hud-dyno-box { display: none; }
    .hud-status-bar { display: none; }
}

@media (max-width: 768px) {
    .hud-rpm-gauge { display: none; }
    .hud-telemetry-strip { 
        left: 50%;
        transform: translateX(-50%);
        bottom: 4%;
        gap: 20px;
        padding: 12px 16px;
    }
    .telem-value { font-size: 16px; }
    .telem-item:nth-child(n+3) { display: none; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-blue);
    letter-spacing: 0.2em;
    font-weight: 500;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s var(--ease-out) forwards 0.2s;
}

.hero-tag-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: tagPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-blue);
}

@keyframes tagPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(48px, 8vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    max-width: 1100px;
}

.hero-line {
    display: block;
    overflow: hidden;
}

.hero-word {
    display: inline-block;
    transform: translateY(110%);
    animation: heroWordReveal 1s var(--ease-out) forwards;
}

.hero-line:nth-child(1) .hero-word { animation-delay: 0.4s; }
.hero-line:nth-child(2) .hero-word { animation-delay: 0.55s; }
.hero-line:nth-child(3) .hero-word { animation-delay: 0.7s; }
.hero-line:nth-child(4) .hero-word { animation-delay: 0.85s; }

@keyframes heroWordReveal {
    to { transform: translateY(0); }
}

.hero-word-accent {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #66E5FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.4));
}

.hero-word-stroke {
    -webkit-text-stroke: 2px var(--accent-orange);
    color: transparent;
    text-shadow: 0 0 40px rgba(255, 107, 26, 0.3);
}

.hero-subtitle {
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--text-secondary);
    max-width: 620px;
    margin-bottom: 48px;
    opacity: 0;
    animation: heroReveal 0.8s var(--ease-out) forwards 1s;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
    opacity: 0;
    animation: heroReveal 0.8s var(--ease-out) forwards 1.15s;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    border-radius: 10px;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF8C42 100%);
    color: white;
    box-shadow: 0 4px 30px rgba(255, 107, 26, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-150%);
    transition: transform 0.7s var(--ease-out);
}

.btn-primary:hover::before { transform: translateX(150%); }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(255, 107, 26, 0.5);
}

.btn-arrow {
    transition: transform 0.3s var(--ease-out);
    font-size: 18px;
    line-height: 1;
}

.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-play {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroReveal 0.8s var(--ease-out) forwards 1.3s;
}

.hero-stat {
    position: relative;
    padding-left: 24px;
}

.hero-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-blue), transparent);
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
    opacity: 0;
    animation: heroReveal 1s var(--ease-out) forwards 1.6s;
}

.hero-scroll span {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-blue);
    letter-spacing: 0.3em;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--accent-blue), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    right: 0;
    height: 50%;
    background: var(--accent-orange);
    animation: scrollDown 2s var(--ease-in-out) infinite;
}

@keyframes scrollDown {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* ============================================

   BRANDS MARQUEE
   ============================================ */

.brands {
    padding: 32px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    background: rgba(15, 20, 32, 0.4);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.brands-track {
    display: flex;
    width: max-content;
    animation: brandsScroll 30s linear infinite;
}

@keyframes brandsScroll {
    to { transform: translateX(-50%); }
}

.brands-set {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
}

.brand-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    white-space: nowrap;
    transition: color 0.3s;
}

.brand-item:hover { color: var(--text-primary); }

.brand-item.brand-accent {
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* ============================================

   SECTION HEADERS
   ============================================ */

.section-header {
    max-width: 800px;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-blue);
    letter-spacing: 0.25em;
    font-weight: 600;
    margin-bottom: 24px;
}

.section-tag-line {
    width: 40px;
    height: 1px;
    background: var(--accent-blue);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: clamp(15px, 1.3vw, 17px);
    color: var(--text-secondary);
    max-width: 600px;
}

/* Reveal animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================

   SERVICES BENTO
   ============================================ */

.services {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    grid-auto-rows: minmax(220px, auto);
}

.bento-card {
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 32px;
    overflow: hidden;
    grid-column: span 2;
    transition: all 0.5s var(--ease-out);
    cursor: pointer;
    isolation: isolate;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-elevated);
}

.bento-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.bento-card:hover .bento-glow { opacity: 1; }

.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.bento-large {
    grid-column: span 4;
    grid-row: span 2;
    background: linear-gradient(135deg, var(--bg-panel) 0%, #1a1f2e 100%);
    border-color: rgba(255, 107, 26, 0.2);
}

.bento-large:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 20px 60px rgba(255, 107, 26, 0.2);
}

.bento-wide {
    grid-column: span 4;
}

.bento-accent-blue {
    background: linear-gradient(135deg, var(--bg-panel) 0%, #0a1f2e 100%);
    border-color: rgba(0, 212, 255, 0.2);
}

.bento-accent-orange {
    background: linear-gradient(135deg, var(--bg-panel) 0%, #2e1a0a 100%);
}

.bento-icon {
    color: var(--accent-blue);
    margin-bottom: 20px;
    width: fit-content;
    padding: 14px;
    border-radius: 14px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.4s var(--ease-out);
}

.bento-large .bento-icon {
    color: var(--accent-orange);
    background: rgba(255, 107, 26, 0.08);
    border-color: rgba(255, 107, 26, 0.2);
}

.bento-card:hover .bento-icon {
    transform: rotate(-5deg) scale(1.05);
}

.bento-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-orange);
    letter-spacing: 0.25em;
    margin-bottom: 12px;
    font-weight: 600;
}

.bento-accent-blue .bento-meta { color: var(--accent-blue); }

.bento-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.bento-large .bento-title { font-size: 36px; }

.bento-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.bento-large .bento-desc { font-size: 16px; }

.bento-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.feature-pill {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.feature-pill:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    margin-top: auto;
    transition: gap 0.3s;
}

.bento-link:hover { gap: 14px; }

.bento-large .bento-link {
    padding: 12px 22px;
    background: var(--accent-orange);
    color: white;
    border-radius: 10px;
    width: fit-content;
}

.bento-large .bento-link:hover {
    background: #FF8C42;
    box-shadow: 0 6px 25px rgba(255, 107, 26, 0.4);
}

/* Stat card */
.bento-stat {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    border-color: rgba(0, 212, 255, 0.2);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-big {
    font-family: var(--font-display);
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-blue);
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    margin-bottom: 8px;
}

.stat-plus {
    font-size: 50px;
    color: var(--accent-orange);
    -webkit-text-stroke: 0;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.stat-bar {
    height: 4px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    width: 0;
    transition: width 1.5s var(--ease-out);
}

.bento-stat.revealed .stat-bar-fill { width: 92%; }

/* ============================================

   TRACKER
   ============================================ */

.tracker {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
}

/* 2-column layout: VIN tracker + Fleet availability widget */
.tracker-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.tracker-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.tracker-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0.5;
}

/* Fleet availability widget */
.fleet-widget {
    background: linear-gradient(160deg, var(--bg-panel) 0%, #0a1f2e 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fleet-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    opacity: 0.6;
}

.fleet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-subtle);
}

.fleet-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fleet-availability {
    text-align: center;
    padding: 16px 0 20px;
}

.fleet-count {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
    font-family: var(--font-display);
    line-height: 1;
}

.fleet-count-num {
    font-size: 64px;
    font-weight: 700;
    color: var(--accent-orange);
    text-shadow: 0 0 30px rgba(255, 107, 26, 0.4);
}

.fleet-count-divider {
    font-size: 36px;
    color: var(--text-muted);
    font-weight: 400;
}

.fleet-count-total {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-secondary);
}

.fleet-count-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.fleet-bar {
    height: 6px;
    background: rgba(255, 107, 26, 0.1);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 26, 0.2);
    position: relative;
}

.fleet-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-orange) 0%, #FF8C42 100%);
    box-shadow: 0 0 12px rgba(255, 107, 26, 0.5);
    border-radius: 3px;
    transition: width 1.2s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.fleet-bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.fleet-car-display {
    background: rgba(10, 14, 26, 0.5);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 18px;
    position: relative;
}

.fleet-pulse {
    animation: ledPulse 1.5s ease-in-out infinite;
}

.fleet-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px;
    background: var(--bg-elevated);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 16px;
}

.fleet-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.fleet-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-bottom: 12px;
}

.fleet-cta:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.fleet-disclaimer {
    text-align: center;
    padding-top: 4px;
}

.tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-subtle);
}

.tracker-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-led {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-blue);
    animation: ledPulse 2s ease-in-out infinite;
}

@keyframes ledPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.tracker-status-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-blue);
    letter-spacing: 0.2em;
    font-weight: 600;
}

.tracker-id {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

.tracker-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.label-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    font-weight: 600;
}

.label-info {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

.tracker-input-wrap {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tracker-input {
    flex: 1;
    padding: 18px 22px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s;
    outline: none;
}

.tracker-input::placeholder {
    color: var(--text-dim);
    text-transform: none;
    letter-spacing: 0.05em;
}

.tracker-input:focus {
    border-color: var(--accent-blue);
    background: var(--bg-panel);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.tracker-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    background: var(--accent-blue);
    color: var(--bg-primary);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.tracker-submit:hover {
    background: white;
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

/* Tracker result */
.tracker-result {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease-out);
}

.tracker-result.shown {
    max-height: 5000px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.tracker-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.result-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    margin-bottom: 6px;
}

.result-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
}

.result-year {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 18px;
}

.result-status {
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--accent-blue);
    border-radius: 100px;
    color: var(--accent-blue);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    animation: statusGlow 2s ease-in-out infinite;
}

@keyframes statusGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(0, 212, 255, 0); }
}

.tracker-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 8px;
    overflow-x: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    text-align: center;
}

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 2px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 16px;
    transition: all 0.4s;
}

.progress-step.done .step-circle {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--bg-primary);
}

.progress-step.active .step-circle {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    box-shadow: 0 0 20px var(--accent-orange);
}

.step-circle.pulse { animation: stepPulse 2s ease-in-out infinite; }

@keyframes stepPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.step-time {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-default);
    margin-top: -22px;
    position: relative;
    min-width: 20px;
}

.progress-line.done {
    background: var(--accent-blue);
}

.tracker-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 24px;
    background: var(--bg-elevated);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.detail-value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ============================================

   COMPARISON SLIDER
   ============================================ */

.results {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
}

.comparison-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-panel);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 24px;
    width: fit-content;
}

.comparison-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.comparison-tab:hover { color: var(--text-primary); }

.comparison-tab.active {
    background: var(--accent-blue);
    color: var(--bg-primary);
}

.tab-icon { font-size: 16px; }

.comparison-container {
    position: relative;
}

.comparison-pane {
    display: none;
}

.comparison-pane.active { display: block; }

/* Live chart wrapper */
.live-chart-wrap {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-elevated);
    position: relative;
    overflow: hidden;
}

.live-chart-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.live-chart {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    margin-bottom: 28px;
    user-select: none;
}

.live-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Smooth path transitions for live update */
#dynoPowerLive,
#dynoTorqueLive {
    transition: d 0.05s linear;
}

/* Interactive slider track */
.live-slider-track {
    position: relative;
    height: 60px;
    padding: 0 30px;
    user-select: none;
}

.live-slider-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30px;
    right: 30px;
    height: 6px;
    transform: translateY(-50%);
    background: rgba(0, 212, 255, 0.1);
    border-radius: 3px;
    border: 1px solid var(--border-subtle);
}

.live-slider-fill {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    height: 6px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-orange) 100%);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    pointer-events: none;
    transition: width 0.05s linear;
}

.live-slider-handle {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #66E5FF 100%);
    border-radius: 50%;
    cursor: ew-resize;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 4px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    z-index: 5;
    transition: transform 0.2s, box-shadow 0.2s;
}

.live-slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.live-slider-handle.dragging {
    transform: translate(-50%, -50%) scale(1.15);
    cursor: grabbing;
}

.handle-grip {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.live-slider-labels {
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    pointer-events: none;
}

.live-slider-label.left { color: var(--text-muted); }
.live-slider-label.right { color: var(--accent-blue); font-weight: 700; }
.live-slider-label.center {
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    background: rgba(255, 107, 26, 0.1);
    border: 1px solid var(--accent-orange);
    border-radius: 6px;
}

/* Pulsing chart container */
.live-chart-wrap.dragging {
    border-color: var(--accent-blue);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 212, 255, 0.2);
}

.comparison-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.comp-stat {
    padding: 24px;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.comp-stat:hover {
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

.comp-stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.comp-stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.comp-old {
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 18px;
    text-decoration: line-through;
}

.comp-arrow {
    color: var(--accent-blue);
    font-size: 16px;
}

.comp-new {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    transition: color 0.2s;
}

.comp-stat.changed .comp-new {
    color: var(--accent-orange);
}

.comp-stat-gain {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 107, 26, 0.12);
    border: 1px solid var(--accent-orange);
    border-radius: 6px;
    color: var(--accent-orange);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
}

/* ============================================

   PARTS
   ============================================ */

.parts {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
}

.parts-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.parts-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 32px 0;
}

.parts-tag {
    padding: 8px 16px;
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.parts-tag:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.parts-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
}

.parts-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(0, 212, 255, 0.15), transparent);
    animation: cardRotate 8s linear infinite;
    z-index: 0;
}

.parts-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-panel);
    border-radius: 19px;
    z-index: 1;
}

@keyframes cardRotate {
    to { transform: rotate(360deg); }
}

.parts-card > * { position: relative; z-index: 2; }

.parts-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.parts-card-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--accent-blue);
    letter-spacing: 0.25em;
    font-weight: 700;
}

.parts-card-status {
    color: var(--accent-orange);
    font-size: 14px;
    animation: ledPulse 1.5s ease-in-out infinite;
}

.parts-card-body {
    padding: 20px 0;
    margin-bottom: 24px;
}

.parts-card-footer {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.parts-stat {
    display: flex;
    flex-direction: column;
}

.parts-stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-blue);
}

.parts-stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ============================================

   FLEET / FLOTA SECTION
   ============================================ */

.fleet {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
}

.fleet-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
    align-items: center;
}

.fleet-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.fleet-benefit {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.fleet-benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.fleet-benefit:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card);
}

.fleet-benefit:hover::before { opacity: 1; }

.fleet-benefit-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    transition: all 0.4s;
}

.fleet-benefit:hover .fleet-benefit-icon {
    background: rgba(0, 212, 255, 0.15);
    transform: rotate(-5deg) scale(1.05);
}

.fleet-benefit-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.fleet-benefit-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Fleet visual card */
.fleet-card-vehicle {
    background: var(--bg-panel);
    border: 1px solid var(--border-default);
    border-radius: 20px;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.fleet-card-vehicle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(255, 107, 26, 0.12), transparent);
    animation: cardRotate 10s linear infinite;
    z-index: 0;
}

.fleet-card-vehicle::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--bg-panel);
    border-radius: 19px;
    z-index: 1;
}

.fleet-card-vehicle > * {
    position: relative;
    z-index: 2;
}

.fleet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.fleet-card-body {
    padding: 20px 0;
    margin-bottom: 24px;
}



.contact {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-panel);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.contact-item:not(.contact-item-static):hover {
    border-color: var(--accent-blue);
    transform: translateX(4px);
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact-item-icon-wa {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-item-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 16px;
    font-weight: 500;
}

/* Form */
.glass-panel {
    background: rgba(15, 20, 32, 0.6);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--border-default);
}

.contact-form {
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-blue);
    letter-spacing: 0.2em;
    font-weight: 600;
}

.form-led {
    width: 8px;
    height: 8px;
    background: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-orange);
    animation: ledPulse 1.5s ease-in-out infinite;
}

.form-id {
    margin-left: auto;
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-input {
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s;
    outline: none;
    width: 100%;
}

.form-input::placeholder { color: var(--text-dim); }

.form-input:focus {
    border-color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.03);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.08);
}

.form-select {
    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='%2300D4FF' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 44px;
    cursor: pointer;
}

.form-select option {
    background: var(--bg-panel);
    color: var(--text-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
    font-family: var(--font-body);
}

.form-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF8C42 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.4s;
    margin-top: 8px;
    font-family: var(--font-body);
    box-shadow: 0 4px 30px rgba(255, 107, 26, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(255, 107, 26, 0.5);
}

.form-disclaimer {
    text-align: center;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ============================================

   MAP
   ============================================ */

.map-section {
    position: relative;
    z-index: 2;
}

.map-wrap {
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 5;
    max-width: 380px;
}

.map-card {
    border-radius: 20px;
    padding: 32px;
}

.map-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-blue);
    letter-spacing: 0.25em;
    font-weight: 600;
    margin-bottom: 16px;
}

.map-card-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.map-card-addr {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================

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

.footer {
    padding: 80px 0 32px;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-panel);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-desc {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover { color: var(--text-primary); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================

   FLOATING WHATSAPP
   ============================================ */

.float-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 50;
}

.float-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.float-wa-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2s ease-out infinite;
}

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

/* ============================================

   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    :root { --section-pad: 80px; }
    
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-card { grid-column: span 1; }
    .bento-large, .bento-wide { grid-column: span 2; }
    
    .parts-grid,
    .contact-grid,
    .fleet-grid,
    .tracker-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .tracker-layout { gap: 24px; }
    
    .fleet-benefits {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .map-overlay {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        max-width: none;
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero-title { font-size: clamp(40px, 10vw, 70px); }
}

@media (max-width: 640px) {
    .container,
    .nav-container,
    .hero-content { padding: 0 20px; }
    
    .hero { padding: 100px 0 60px; }
    
    .nav-cta span:first-child { display: none; }
    .nav-cta { padding: 11px 14px; }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-card,
    .bento-large,
    .bento-wide { grid-column: span 1; }
    
    .bento-large .bento-title { font-size: 26px; }
    
    .tracker-input-wrap { flex-direction: column; }
    .tracker-submit { padding: 16px; justify-content: center; }
    
    .tracker-panel,
    .fleet-widget,
    .contact-form { padding: 24px; }
    
    .fleet-count-num { font-size: 48px; }
    .fleet-count-divider, .fleet-count-total { font-size: 28px; }
    
    .fleet-benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-stats { gap: 32px; }
    .hero-stat-num { font-size: 36px; }
    
    .comparison-tabs { width: 100%; overflow-x: auto; }
    .comparison-tab { white-space: nowrap; padding: 10px 16px; font-size: 13px; }
    
    .tracker-progress { flex-direction: column; align-items: stretch; }
    .progress-step { flex-direction: row; min-width: 0; }
    .progress-line { display: none; }
    
    .float-wa { width: 54px; height: 54px; bottom: 20px; right: 20px; }
    
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
/* ============================================================================
   OEMS Tracker v3 CSS - KOMPLETNI STILOVI
   ----------------------------------------------------------------------------
   Append na kraj landing/styles.css
   Override-uje prethodne verzije (jedan blok, jedan marker).
   ============================================================================ */

/* === MAX-HEIGHT FIX (scroll-anje sadrzaja) === */
.tracker-result {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s var(--ease-out, ease-out);
}
.tracker-result.shown {
  max-height: 5000px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
}

/* === STATUS BADGES === */
.oems-status-PRIMLJENO { background: #3B82F6 !important; }
.oems-status-USLO_U_SERVIS { background: #3B82F6 !important; }
.oems-status-DIJAGNOSTIKA { background: #F59E0B !important; }
.oems-status-CEKA_ODOBRENJE { background: #EF4444 !important; animation: oemsPulse 2s infinite; }
.oems-status-U_RADU { background: #F97316 !important; }
.oems-status-CEKA_DIJELOVE { background: #F59E0B !important; }
.oems-status-PROBNA_VOZNJA { background: #06B6D4 !important; }
.oems-status-ZAVRSENO { background: #10B981 !important; }
.oems-status-ZAKLJUCANO { background: #6B7280 !important; }
.oems-status-OTKAZANO { background: #EF4444 !important; }

@keyframes oemsPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.85; } }

/* === STEPPER === */
.oems-stepper {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}
.oems-stepper-banner {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}
.oems-banner-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.oems-banner-error {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.oems-stepper-wrap { position: relative; padding: 0.5rem 0; }
.oems-stepper-bar {
  position: absolute;
  top: 20px; left: 24px; right: 24px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 0;
}
.oems-stepper-fill {
  height: 100%;
  background: linear-gradient(90deg, #F97316, #EA580C);
  border-radius: 2px;
  transition: width 0.6s ease;
}
.oems-stepper-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}
.oems-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  min-width: 0;
}
.oems-step-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1A2235;
  border: 2px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}
.oems-step.is-done .oems-step-icon {
  background: #10B981;
  border-color: #10B981;
}
.oems-step.is-current .oems-step-icon {
  background: linear-gradient(135deg, #F97316, #EA580C);
  border-color: #F97316;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.15);
}
.oems-step-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  padding: 0 0.15rem;
  word-break: break-word;
  line-height: 1.2;
}
.oems-step.is-current .oems-step-label { color: #F97316; font-weight: 700; }
.oems-step.is-done .oems-step-label { color: #10B981; }

/* === HISTORY === */
.oems-history-section {
  margin-top: 24px;
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.oems-history-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-primary, #fff);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease;
  font-family: inherit;
}
.oems-history-toggle:hover { background: rgba(0, 212, 255, 0.05); }
.oems-history-toggle .oems-history-chevron {
  transition: transform 0.3s ease;
  color: var(--accent-blue, #00D4FF);
}
.oems-history-toggle.open .oems-history-chevron { transform: rotate(180deg); }
.oems-history-toggle .oems-history-count {
  margin-left: 0.5rem;
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent-blue, #00D4FF);
  padding: 2px 10px;
  border-radius: 20px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.75rem;
  font-weight: 700;
}
.oems-history-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.oems-history-body.open { max-height: 4000px; }
.oems-history-inner { padding: 0 20px 20px 20px; display: flex; flex-direction: column; gap: 8px; }

.oems-history-item {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-blue, #00D4FF);
  border-radius: 8px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.oems-history-item:hover {
  background: rgba(0, 212, 255, 0.06);
  transform: translateX(2px);
}
.oems-history-item.is-placen { border-left-color: #10B981; }

.oems-history-nalog {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-blue, #00D4FF);
}
.oems-history-item.is-placen .oems-history-nalog { color: #10B981; }
.oems-history-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oems-history-kvar {
  font-size: 0.85rem;
  color: var(--text-primary, #fff);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.oems-history-sub {
  font-size: 0.72rem;
  color: var(--text-muted, #9CA3AF);
  font-family: 'SF Mono', Monaco, monospace;
}
.oems-history-iznos {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
}
.oems-history-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  margin-left: 6px;
}
.oems-history-badge.placen { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.oems-history-badge.nije-placen { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }

.oems-history-expand-icon {
  color: var(--accent-blue, #00D4FF);
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.oems-history-item.expanded .oems-history-expand-icon { transform: rotate(180deg); }

.oems-history-details {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.oems-history-item.expanded .oems-history-details {
  max-height: 3000px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.oems-history-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}
.oems-history-info-item { display: flex; flex-direction: column; gap: 2px; }
.oems-history-info-label {
  font-size: 0.65rem;
  color: var(--text-muted, #9CA3AF);
  font-family: 'SF Mono', Monaco, monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.oems-history-info-value {
  font-size: 0.85rem;
  color: var(--text-primary, #fff);
  font-weight: 600;
}

.oems-history-section-title {
  font-size: 0.75rem;
  color: var(--text-muted, #9CA3AF);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 12px 0 6px 0;
  font-weight: 700;
}

.oems-history-items-list { display: flex; flex-direction: column; gap: 4px; }
.oems-history-item-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 5px;
  font-size: 0.8rem;
  align-items: center;
}
.oems-history-item-tip {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.oems-history-item-tip.tip-rad { background: rgba(0, 212, 255, 0.15); color: #00D4FF; }
.oems-history-item-tip.tip-dio { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.oems-history-item-naziv { color: var(--text-primary, #fff); font-weight: 500; }
.oems-history-item-kolicina {
  font-size: 0.72rem;
  color: var(--text-muted, #9CA3AF);
  font-family: 'SF Mono', Monaco, monospace;
}
.oems-history-item-cijena {
  font-family: 'SF Mono', Monaco, monospace;
  font-weight: 700;
  color: var(--text-primary, #fff);
  font-size: 0.8rem;
}

.oems-history-totals {
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.oems-history-total-cell { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.oems-history-total-cell.is-grand { border-left: 1px solid rgba(0, 212, 255, 0.2); padding-left: 12px; }
.oems-history-total-label {
  font-size: 0.65rem;
  color: var(--text-muted, #9CA3AF);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.oems-history-total-value {
  font-family: 'SF Mono', Monaco, monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary, #fff);
}
.oems-history-total-cell.is-grand .oems-history-total-value {
  color: var(--accent-blue, #00D4FF);
  font-size: 1.1rem;
}

.oems-history-empty {
  text-align: center;
  padding: 16px;
  color: var(--text-muted, #9CA3AF);
  font-size: 0.85rem;
  font-style: italic;
}

/* === DOKUMENTI === */
.oems-docs-section {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
}
.oems-docs-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text-primary, #fff);
  display: flex;
  align-items: center;
  gap: 8px;
}
.oems-docs-count {
  background: rgba(0, 212, 255, 0.15);
  color: var(--accent-blue, #00D4FF);
  padding: 2px 10px;
  border-radius: 20px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.7rem;
  font-weight: 700;
}
.oems-docs-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.oems-doc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent-blue, #00D4FF);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.oems-doc-item:hover {
  background: rgba(0, 212, 255, 0.08);
  transform: translateX(2px);
}
.oems-doc-item.is-pdf { border-left-color: #EF4444; }
.oems-doc-item.is-word { border-left-color: #3B82F6; }
.oems-doc-item.is-excel { border-left-color: #10B981; }
.oems-doc-item.is-image { border-left-color: #A855F7; }
.oems-doc-item.is-zip { border-left-color: #F59E0B; }
.oems-doc-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
}
.oems-doc-item.is-pdf .oems-doc-icon { background: rgba(239, 68, 68, 0.15); }
.oems-doc-item.is-word .oems-doc-icon { background: rgba(59, 130, 246, 0.15); }
.oems-doc-item.is-excel .oems-doc-icon { background: rgba(16, 185, 129, 0.15); }
.oems-doc-item.is-image .oems-doc-icon { background: rgba(168, 85, 247, 0.15); }
.oems-doc-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oems-doc-naziv {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary, #fff);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.oems-doc-meta {
  font-size: 0.72rem;
  color: var(--text-muted, #9CA3AF);
  font-family: 'SF Mono', Monaco, monospace;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.oems-doc-cat-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent-blue, #00D4FF);
}
.oems-doc-cat-DIJAGNOSTICKI_PROTOKOL { background: rgba(59, 130, 246, 0.15); color: #93C5FD; }
.oems-doc-cat-RACUN { background: rgba(16, 185, 129, 0.15); color: #6EE7B7; }
.oems-doc-cat-PONUDA { background: rgba(245, 158, 11, 0.15); color: #FCD34D; }
.oems-doc-cat-GARANCIJA { background: rgba(0, 212, 255, 0.15); color: #67E8F9; }
.oems-doc-cat-SAOBRACAJNA, .oems-doc-cat-OSIGURANJE { background: rgba(168, 85, 247, 0.15); color: #C4B5FD; }
.oems-doc-cat-OSTALO { background: rgba(255, 255, 255, 0.08); color: #9CA3AF; }
.oems-doc-action {
  font-size: 1.2rem;
  color: var(--text-muted, #9CA3AF);
  transition: all 0.2s ease;
}
.oems-doc-item:hover .oems-doc-action {
  color: var(--accent-orange, #F97316);
  transform: translateX(3px);
}
.oems-doc-opis {
  font-size: 0.78rem;
  color: var(--text-muted, #9CA3AF);
  font-style: italic;
  margin-top: 2px;
}

/* === APPROVAL MODAL === */
#oemsApprovalModal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.oems-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(4px);
}
.oems-modal-content {
  position: relative; background: #121829; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 2rem;
  max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto;
  color: #E5E7EB;
}
.oems-modal-close {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background: transparent; border: 0; color: white;
  font-size: 2rem; cursor: pointer; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.oems-modal-close:hover { background: rgba(255,255,255,0.1); }
.oems-modal-icon { font-size: 3rem; text-align: center; margin-bottom: 0.5rem; }
.oems-modal-content h2 { text-align: center; font-size: 1.4rem; margin-bottom: 0.5rem; color: white; }
.oems-modal-sub { text-align: center; color: #9CA3AF; margin-bottom: 1.5rem; font-size: 0.9rem; }
.oems-approval-detail {
  background: rgba(255,255,255,0.03); border-radius: 10px; padding: 1.25rem; margin-bottom: 1rem;
}
.oems-detail-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; }
.oems-detail-desc { color: #9CA3AF; font-size: 0.95rem; margin-bottom: 1rem; white-space: pre-wrap; }
.oems-detail-price { font-size: 1.8rem; font-weight: 800; color: #F97316; }
.oems-pin-label { display: block; font-size: 0.85rem; color: #9CA3AF; margin-bottom: 0.5rem; font-weight: 600; }
#oemsPinInput {
  width: 100%; padding: 1rem; font-size: 2rem; font-weight: 700;
  text-align: center; letter-spacing: 0.5em; font-family: 'SF Mono', Monaco, monospace;
  background: rgba(255,255,255,0.05); border: 2px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: white; margin-bottom: 1rem; box-sizing: border-box;
}
#oemsPinInput:focus { border-color: #F97316; outline: none; }
#oemsNotesInput {
  width: 100%; padding: 0.75rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; color: white; font-family: inherit;
  resize: vertical; margin-bottom: 1.25rem; box-sizing: border-box;
}
.oems-modal-actions { display: flex; gap: 0.75rem; }
.oems-btn {
  flex: 1; padding: 0.9rem 1rem; border: 0; border-radius: 10px;
  font-size: 1rem; font-weight: 700; cursor: pointer; font-family: inherit;
}
.oems-btn-reject { background: rgba(255,255,255,0.08); color: white; }
.oems-btn-approve { background: linear-gradient(135deg, #10B981, #059669); color: white; }
.oems-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* === MOBILE === */
@media (max-width: 768px) {
  .tracker-result-grid { grid-template-columns: 1fr !important; }
  .oems-step-label { font-size: 0.6rem; }
  .oems-step-icon { width: 32px; height: 32px; font-size: 0.95rem; }
  .oems-stepper-bar { top: 16px; left: 18px; right: 18px; }
  .oems-stepper { padding: 0.75rem; }
  .oems-history-item { grid-template-columns: 1fr auto; gap: 8px; }
  .oems-history-nalog { grid-column: 1 / -1; font-size: 0.8rem; }
  .oems-history-expand-icon { display: none; }
  .oems-history-totals { grid-template-columns: 1fr; }
  .oems-doc-item { grid-template-columns: auto 1fr; }
  .oems-doc-action { display: none; }
  .oems-doc-naziv { font-size: 0.85rem; white-space: normal; }
}
@media (max-width: 480px) {
  .oems-step-label { font-size: 0.55rem; }
  .oems-step-icon { width: 28px; height: 28px; font-size: 0.85rem; }
  .oems-stepper-bar { top: 14px; left: 14px; right: 14px; }
}
/* ============================================================================
   OEMS Landing Redesign v1
   ----------------------------------------------------------------------------
   - Hero title v2: logo + tagline (smanjen font)
   - Tracker layout single column (bez fleet-widget-a)
   - Rent-a-Car samostalna sekcija (razvucena)
   ============================================================================ */

/* === HERO TITLE V2 — logo + tagline (zamjenjuje 4-line naslov) === */
.hero-title-v2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
  max-width: 100%;
  font-size: unset;  /* override clamp iz .hero-title */
  letter-spacing: normal;
  line-height: 1.1;
}

.hero-logo {
  width: clamp(180px, 22vw, 320px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.25));
  opacity: 0;
  transform: translateY(20px);
  animation: heroLogoReveal 1s var(--ease-out, ease-out) forwards 0.3s;
}

@keyframes heroLogoReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-family: var(--font-display, 'Rajdhani', sans-serif);
  font-weight: 600;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary, #fff);
  background: linear-gradient(135deg, #FFFFFF 0%, #B8C5D6 50%, var(--accent-blue, #00D4FF) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(20px);
  animation: heroLogoReveal 1s var(--ease-out, ease-out) forwards 0.55s;
}

/* === TRACKER LAYOUT - SINGLE COLUMN (fleet-widget izvucen u zasebnu sekciju) === */
.tracker-layout.tracker-layout-single {
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}

/* === RENT-A-CAR SAMOSTALNA SEKCIJA === */
.rent-section {
  padding: 80px 0;
  position: relative;
}

.rent-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255, 107, 26, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.rent-section .container {
  position: relative;
  z-index: 1;
}

.rent-wide-grid {
  display: block;
  max-width: 1100px;
  margin: 48px auto 0;
}

/* Override fleet-widget unutar nove sekcije - razvuci širinu */
.rent-wide-grid .fleet-widget {
  padding: 48px;
  background: var(--bg-panel, rgba(255,255,255,0.02));
  border: 1px solid var(--border-default, rgba(255,255,255,0.08));
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.rent-wide-grid .fleet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  margin-bottom: 32px;
}

.rent-wide-grid .fleet-availability {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 0;
  margin-bottom: 24px;
}

.rent-wide-grid .fleet-count {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.rent-wide-grid .fleet-count-num {
  color: var(--accent-blue, #00D4FF);
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.rent-wide-grid .fleet-count-divider,
.rent-wide-grid .fleet-count-total {
  color: var(--text-muted, #6B7280);
  font-size: 0.6em;
}

.rent-wide-grid .fleet-count-label {
  font-size: 1rem;
  color: var(--text-secondary, #9CA3AF);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.rent-wide-grid .fleet-bar {
  width: 100%;
  max-width: 500px;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.rent-wide-grid .fleet-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue, #00D4FF), #66E5FF);
  border-radius: 3px;
  transition: width 1s ease;
}

.rent-wide-grid .fleet-car-display {
  max-width: 600px;
  margin: 0 auto 32px;
}

.rent-wide-grid .fleet-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-bottom: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  margin-bottom: 28px;
}

.rent-wide-grid .fleet-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.rent-wide-grid .fleet-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--accent-orange, #FF6B1A), #FF8533);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  transition: all 0.3s var(--ease-out, ease-out);
  box-shadow: 0 8px 32px rgba(255, 107, 26, 0.3);
}

.rent-wide-grid .fleet-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 107, 26, 0.4);
}

.rent-wide-grid .fleet-disclaimer {
  text-align: center;
  margin-top: 20px;
}

/* === MOBILE === */
@media (max-width: 900px) {
  .hero-logo { width: clamp(140px, 35vw, 220px); }
  .hero-tagline { font-size: clamp(24px, 7vw, 36px); }
  .hero-title-v2 { gap: 16px; }
  
  .rent-section { padding: 60px 0; }
  .rent-wide-grid .fleet-widget { padding: 28px; }
  .rent-wide-grid .fleet-meta { grid-template-columns: 1fr; gap: 12px; }
  .rent-wide-grid .fleet-count { font-size: 56px; }
}

/* ============================================================================
   OEMS Landing Hotfix CSS
   Logo u nav (img umjesto SVG + text)
   ============================================================================ */
.nav-logo.nav-logo-img {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
}
.nav-logo-image {
  height: 44px;
  width: auto;
  max-width: 220px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.15));
  transition: filter 0.3s ease;
}
.nav-logo.nav-logo-img:hover .nav-logo-image {
  filter: drop-shadow(0 0 18px rgba(0, 212, 255, 0.35));
}

/* Footer logo - manji */
.footer-brand .nav-logo-image {
  height: 56px;
  max-width: 280px;
}

/* Hero bez logo-a - tagline gets vise prostora */
.hero-title-v2 .hero-tagline {
  margin-top: 0;
}

@media (max-width: 768px) {
  .nav-logo-image { height: 36px; max-width: 160px; }
  .footer-brand .nav-logo-image { height: 44px; }
}
