:root {
    --primary: #38BDF8; /* Sky Blue - friendly, trustworthy */
    --primary-glow: rgba(56, 189, 248, 0.4);
    --primary-dark: #0EA5E9;
    --secondary: #0F172A; /* Rich Navy - professional, not harsh */
    --secondary-light: #1E293B;
    --accent: #F59E0B; /* Warm Amber - inviting CTA color */
    --bg-dark: #0B1120; /* Softer dark blue-black */
    --bg-section: #111827; /* Slightly lighter for section variety */
    --text-main: #F1F5F9;
    --text-dim: #CBD5E1; /* Brighter dim text for better readability */
    --white: #FFFFFF;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --rounded: 16px;
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.12);
    --3d-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    --dropdown-bg: rgba(15, 23, 42, 0.97);
    --dropdown-border: rgba(255, 255, 255, 0.12);
    --option-hover: rgba(56, 189, 248, 0.15);
    --success: #10B981;
}

.parallax-wrapper {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

[data-reveal] { opacity: 0; transform: translateY(30px); transition: 0.8s var(--transition); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Nav */
header {
    background: var(--secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
}

.top-bar {
    background: #000;
    color: var(--text-dim);
    font-size: 0.85rem;
    padding: 8px 0;
    text-align: right;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.nav-links a {
    color: var(--text-dim);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px #fff;
}

.phone-link {
    background: linear-gradient(90deg, var(--primary), #00E5FF);
    padding: 0.8rem 1.8rem;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.phone-link:hover {
    background: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

#hero {
    min-height: 100vh;
    padding-top: 100px; 
    background: linear-gradient(165deg, var(--bg-dark) 0%, var(--secondary) 50%, var(--bg-dark) 100%);
}

.hero-glow-overlay {
    position: absolute;
    top: 50%; left: 50%; 
    width: 60vw; height: 60vh;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
}

#hero h1 {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    line-height: 0.9;
    background: linear-gradient(to bottom, #fff 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2.5rem;
}

.hero-glass-form {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    transform: perspective(2000px) rotateY(-5deg); /* Less aggressive tilt */
    padding: 1.5rem; /* Explicit container padding */
    border-radius: 20px;
}

.hero-glass-form:hover {
    transform: perspective(2000px) rotateY(0deg) scale(1.02);
}

.vin-toggle {
    display: flex;
    background: rgba(0,0,0,0.4);
    border-radius: 100px;
    padding: 4px;
    margin-bottom: 2rem;
}

.vin-btn {
    flex: 1;
    padding: 0.6rem;
    border-radius: 100px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.vin-btn.active { background: var(--primary); color: #000; }

.hero-glass-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-glass-form input, .hero-glass-form textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.form-step {
    display: none;
    animation: fadeInSlide 0.5s ease forwards;
}

.form-step.active {
    display: block;
}

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

.elite-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.elite-input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 15px rgba(64, 196, 255, 0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.hero-glass-form input:focus, .hero-glass-form textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--rounded);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(225, 29, 72, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--rounded);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Simplified Grid & Card System */
.grid-simplified {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-simple {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.card-simple:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
}

.card-simple.dark {
    background: rgba(0, 0, 0, 0.3);
}

.card-simple i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.card-simple h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 800;
}

.card-simple p {
    color: var(--text-dim);
    line-height: 1.7;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #000;
    font-size: 1.8rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* About Section Refinement */
.about-section {
    background: var(--bg-light);
}

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

.about-image img {
    width: 100%;
    border-radius: var(--rounded);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-content { grid-template-columns: 1fr 1fr; }
}
.parts-catalog { background: var(--bg-light); }
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.part-card {
    background: #fff;
    border-radius: var(--rounded);
    padding: 3rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
    transform-style: preserve-3d;
}

.part-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(3deg) translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.part-icon {
    background: var(--secondary);
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    transition: var(--transition);
}

.part-card:hover .part-icon {
    background: var(--primary);
    transform: scale(1.1) rotate(5deg);
}

.part-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--secondary);
    font-weight: 700;
}

.part-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.part-list li {
    margin-bottom: 0.7rem;
    color: var(--text-dim);
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
}
.part-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.btn-call {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--secondary);
    color: #fff;
    padding: 1rem;
    border-radius: var(--rounded);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-call:hover {
    background: var(--primary);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.3);
}

/* Footer */
footer {
    background: var(--secondary);
    color: #fff;
    padding: 6rem 0 3rem;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: block;
    color: #fff;
    text-decoration: none;
}

.footer-logo span { color: var(--primary); }

.footer-text { color: #94a3b8; margin-bottom: 2rem; }

.footer-links h4, .contact-info h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links ul li a { color: #94a3b8; text-decoration: none; transition: var(--transition); }
.footer-links ul li a:hover { color: var(--primary); padding-left: 5px; }

.whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    #hero h1 { font-size: 2.2rem !important; line-height: 1.15 !important; }
    .hero-btns { flex-direction: column; align-items: stretch; max-width: 300px; margin: 0 auto; }
    .footer-content { grid-template-columns: 1fr !important; gap: 2.5rem; }
    header { height: 70px; }
    .logo img { height: 40px !important; }
    .logo div span:first-child { font-size: 1rem !important; }
    .logo div span:last-child { font-size: 0.6rem !important; letter-spacing: 2px !important; }
    section { padding: 3rem 0 !important; }
    .section-title h2 { font-size: 2.2rem; }

    /* Hero Grid - stack vertically */
    .hero-grid { 
        grid-template-columns: 1fr !important; 
        gap: 2.5rem !important; 
        text-align: center; 
        padding-top: 1rem;
    }
    .hero-btns { justify-content: center; }
    #hero p { margin: 0 auto 2rem !important; }
    #hero { padding-top: 80px !important; min-height: auto !important; padding-bottom: 3rem !important; }
    .hero-glass-form { 
        transform: translateZ(0) !important; 
    }
    .hero-glass-form:hover {
        transform: translateZ(0) !important;
    }
    .hero-content h1 { font-size: 2.2rem !important; }
    .hero-content p { font-size: 1rem !important; }

    /* Top Bar */
    .top-bar { font-size: 0.7rem; padding: 6px 0; }
    .top-bar .container { gap: 0.5rem; font-size: 0.7rem; }

    /* Why Choose Us cards - 1 column */
    #why-choose-us h2 { font-size: 2rem !important; }

    /* How It Works */
    .grid-simplified { 
        grid-template-columns: 1fr !important; 
        gap: 1.2rem !important; 
    }

    /* Card Simple */
    .card-simple { padding: 2rem 1.5rem !important; }
    .card-simple i { font-size: 2rem !important; margin-bottom: 1rem !important; }
    .card-simple h3 { font-size: 1.2rem !important; }

    /* About Section */
    .about-grid { 
        grid-template-columns: 1fr !important; 
        gap: 2rem !important; 
        text-align: center; 
    }
    .about-content h2 { font-size: 1.8rem !important; }
    .about-content .btn-primary { display: inline-block; }

    /* Brand Logos */
    #pc-brands span, #pc-brands a { font-size: 1rem !important; }

    /* Testimonials */
    #testimonials h2 { font-size: 2rem !important; }

    /* Final CTA */
    #final-cta h2 { font-size: 2rem !important; }
    #final-cta p { font-size: 1.1rem !important; }
    #final-cta { padding: 5rem 0 !important; }
    #final-cta .btn-primary { padding: 1.2rem 2.5rem !important; font-size: 1rem !important; }

    /* Contact section (old) */
    #contact .section-title h2 { font-size: 2rem; }
    #contact form > div { grid-template-columns: 1fr !important; }

    /* Form adjustments */
    .form-tabs { flex-direction: row !important; }
    .form-tab-btn { font-size: 0.85rem !important; padding: 0.6rem !important; }
    .elite-select-wrapper { margin-bottom: 0.4rem; }
    .elite-select-trigger { height: 46px; padding: 0.6rem 1rem; font-size: 0.9rem; }
    .elite-input { padding: 0.7rem 1rem !important; font-size: 0.9rem !important; }

    /* Make & Model row - stack */
    .hero-glass-form [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .hero-glass-form [style*="grid-template-columns: 1.5fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .hero-glass-form [style*="grid-template-columns: 1fr auto"] {
        grid-template-columns: 1fr !important;
    }

    /* Submit Button */
    .btn-primary { padding: 0.9rem 1.5rem; font-size: 0.95rem; }

    /* Footer */
    .footer-info .footer-logo { flex-direction: column !important; align-items: flex-start !important; }
    footer { padding: 3rem 0 2rem !important; }
    .footer-bottom { font-size: 0.8rem; }
    footer .contact-info p { font-size: 0.9rem; }

    /* Mobile Action Bar */
    .mobile-action-bar {
        display: grid;
    }
    footer {
        padding-bottom: 5rem !important;
    }
    body {
        padding-bottom: 0;
    }

    /* Phone link in nav hidden on mobile (action bar handles it) */
    .phone-link { display: none !important; }

    /* Dropdown on mobile */
    .elite-select-dropdown {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-height: 60vh !important;
        border-radius: 20px 20px 0 0 !important;
        z-index: 9999 !important;
    }
    .elite-select-options {
        max-height: 40vh !important;
    }

    /* Form trust badges */
    .form-trust-badges { 
        flex-wrap: wrap; 
        gap: 0.5rem; 
        justify-content: center !important; 
    }
    .form-trust-badges span { font-size: 0.6rem; }
}

/* Extra small screens */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    #hero h1 { font-size: 1.8rem !important; }
    .hero-content h1 { font-size: 1.8rem !important; }
    .hero-content p { font-size: 0.9rem !important; }
    .hero-glass-form { padding: 1.2rem !important; }
    .hero-glass-form h3 { font-size: 1.3rem !important; }
    .card-simple { padding: 1.5rem 1.2rem !important; }
    .step-num { width: 45px; height: 45px; font-size: 1.3rem; }
    .about-content h2 { font-size: 1.5rem !important; }
    #final-cta h2 { font-size: 1.6rem !important; }
    .footer-links h4, .contact-info h4 { font-size: 1rem; }
    .action-btn { font-size: 0.95rem; padding: 1rem; }
}

/* Sub-page mobile responsiveness */
@media (max-width: 768px) {
    /* Stack all 2-column and multi-column inline grids */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns: 1fr 1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
    }

    /* Page titles */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }

    /* Sub-page containers max-width override */
    [style*="max-width: 800px"],
    [style*="max-width: 900px"],
    [style*="max-width: 1000px"] {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }

    /* Glass cards padding */
    [style*="border-radius: 20px"][style*="padding: 3rem"],
    [style*="border-radius: 20px"][style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }

    /* Price table on savings page */
    table { font-size: 0.8rem !important; }
    table th, table td { padding: 0.6rem 0.5rem !important; }

    /* CTA buttons on sub-pages */
    a[style*="padding: 1.2rem 3rem"] {
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    /* Stacked CTA button groups */
    [style*="display: flex"][style*="gap: 1rem"][style*="justify-content: center"] {
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Contact page form */
    #contact-form .elite-input { font-size: 0.9rem; }

    /* 3-column step process → stack */
    [style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Mobile-hide class */
    .mobile-hide { display: none !important; }
}

/* Premium Searchable Select System */
.elite-select-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 0.8rem;
}

.elite-select-trigger {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    height: 52px;
}

.elite-select-trigger:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.elite-select-trigger.active {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(64, 196, 255, 0.2);
}

.elite-select-trigger.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.selected-value {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.elite-select-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: var(--dropdown-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--dropdown-border);
    border-radius: 16px;
    z-index: 2000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.elite-select-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.elite-select-search {
    padding: 1rem;
    border-bottom: 1px solid var(--dropdown-border);
}

.elite-select-search input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #fff;
    outline: none;
    font-family: inherit;
}

.elite-select-options {
    max-height: 250px;
    overflow-y: auto;
    padding: 0.5rem;
}

.elite-select-options::-webkit-scrollbar {
    width: 6px;
}

.elite-select-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.elite-option {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
    color: var(--text-dim);
}

.elite-option:hover {
    background: var(--option-hover);
    color: #fff;
}

.elite-option.no-results {
    color: var(--text-dim);
    font-size: 0.9rem;
    justify-content: center;
    pointer-events: none;
}

/* Trust Badges below form */
.form-trust-badges {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.form-trust-badges span {
    font-size: 0.7rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.form-trust-badges i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* Mobile Action Bar */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 10000;
    background: #000;
    border-top: 2px solid var(--primary);
}

.action-btn {
    padding: 1.2rem;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
}

.action-btn.call {
    background: var(--secondary);
}

.action-btn.chat {
    background: #25D366;
}

@media (max-width: 768px) {
    .mobile-action-bar {
        display: grid;
    }
    footer {
        padding-bottom: 8rem; /* Space for bar */
    }
}

@keyframes floatVertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* VIN Decoder Tabs & Loader */
.form-tab-btn {
    opacity: 0.6;
}
.form-tab-btn.active {
    opacity: 1;
    border-bottom-color: var(--primary) !important;
    color: #fff !important;
}
#decode-vin-btn:hover {
    background: var(--primary) !important;
    color: #000 !important;
}
.loading-spinner {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   HOW IT WORKS — Interactive Cards
   ============================================= */

.hiw-steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
}

.hiw-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.hiw-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(56,189,248,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.hiw-card:hover {
    transform: translateY(-8px);
    border-color: rgba(56,189,248,0.35);
    box-shadow: 0 30px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(56,189,248,0.1);
}

.hiw-card:hover::before { opacity: 1; }

.hiw-step-badge {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--primary);
    background: rgba(56,189,248,0.12);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    border: 1px solid rgba(56,189,248,0.25);
}
.hiw-step-badge.accent {
    color: var(--accent);
    background: rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.25);
}
.hiw-step-badge.green {
    color: #10B981;
    background: rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.25);
}

.hiw-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hiw-icon-wrap.accent { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); color: var(--accent); }
.hiw-icon-wrap.green  { background: rgba(16,185,129,0.1);  border-color: rgba(16,185,129,0.2);  color: #10B981; }

.hiw-card:hover .hiw-icon-wrap       { transform: scale(1.1) rotate(-5deg); box-shadow: 0 10px 30px rgba(56,189,248,0.2); }
.hiw-card:hover .hiw-icon-wrap.accent { box-shadow: 0 10px 30px rgba(245,158,11,0.2); }
.hiw-card:hover .hiw-icon-wrap.green  { box-shadow: 0 10px 30px rgba(16,185,129,0.2); }

.hiw-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.hiw-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

.hiw-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
}
.hiw-checklist li {
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.hiw-checklist li i {
    color: var(--primary);
    font-size: 0.7rem;
    flex-shrink: 0;
    background: rgba(56,189,248,0.12);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    background: rgba(56,189,248,0.1);
    color: var(--primary);
    border: 1px solid rgba(56,189,248,0.25);
    letter-spacing: 0.5px;
}
.hiw-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56,189,248,0.3);
}
.hiw-btn.accent { background: rgba(245,158,11,0.1); color: var(--accent); border-color: rgba(245,158,11,0.25); }
.hiw-btn.accent:hover { background: var(--accent); color: #000; border-color: var(--accent); box-shadow: 0 8px 20px rgba(245,158,11,0.3); }
.hiw-btn.green  { background: rgba(16,185,129,0.1); color: #10B981;      border-color: rgba(16,185,129,0.25); }
.hiw-btn.green:hover  { background: #10B981; color: #000; border-color: #10B981; box-shadow: 0 8px 20px rgba(16,185,129,0.3); }

.hiw-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    color: rgba(255,255,255,0.2);
    font-size: 1.4rem;
}

@media (max-width: 900px) {
    .hiw-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(56,189,248,0.1);
}

/* =============================================
   Infinite Brand Marquee
   ============================================= */
.brand-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-marquee {
    display: flex;
    gap: 2rem;
    padding-left: 2rem;
    animation: scroll-marquee 30s linear infinite;
    white-space: nowrap;
}

.brand-marquee:hover {
    animation-play-state: paused;
}

.brand-pill {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.brand-pill:hover {
    background: rgba(56,189,248,0.1);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56,189,248,0.2);
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Moves exactly half the width since we duplicated content */
    }
}

/* Parts Catalog Styles */
.pc-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.pc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: rgba(56,189,248,0.4);
}

.pc-card:hover .pc-icon-wrapper i {
    transform: scale(1.15);
    color: var(--primary);
}

.pc-icon-wrapper {
    height: 180px;
    background: linear-gradient(135deg, rgba(56,189,248,0.08) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pc-icon-wrapper i {
    font-size: 5rem;
    color: rgba(255,255,255,0.6);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
}

.btn-shop {
    background: var(--primary);
    color: #000;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-shop:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.brand-h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
