/* =========================================
   1. CSS VARIABLES & RESET
   ========================================= */
:root {
    --bg-primary: #0F0F14;
    --bg-secondary: #1A1A1F;
    --bg-card: #2A2A30;
    --text-primary: #F5F5F5;
    --text-secondary: #A0A0A8;
    --accent: #FF6B00;
    --accent-hover: #E55A00;
    --metallic: #C0C0C0;
    --border: #3A3A40;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NO GLASSMORPHISM RULE: All backgrounds must be solid */
/* NO TEXT GRADIENTS RULE: All text uses solid colors */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   2. UTILITY CLASSES & BUTTONS
   ========================================= */
.section {
    padding: 80px 0;
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.text-accent {
    color: var(--accent);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--text-primary);
}

.btn-full {
    width: 100%;
}

.icon-accent {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* =========================================
   3. NAVBAR & ANNOUNCEMENT
   ========================================= */
.announcement-bar {
    background-color: var(--accent);
    color: var(--text-primary);
    text-align: center;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   4. 3D HERO ENGINE SECTION
   ========================================= */
.hero-3d-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1A1A1F 0%, #0F0F14 100%);
}

.hero-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 400px;
}

.hero-headline {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.engine-container {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    perspective: 1200px;
}

.engine-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.engine-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--metallic);
    border: 1px solid var(--border);
    transition: transform 0.1s linear;
}

.layer-label {
    position: absolute;
    bottom: -30px;
    white-space: nowrap;
    color: var(--accent);
    font-weight: 600;
    opacity: 0.8;
}

/* Engine Component Styling (Pure CSS) */
.engine-block {
    width: 300px;
    height: 350px;
    background: linear-gradient(135deg, #2A2A30, #1A1A1F);
    z-index: 1;
    transform: translate(-50%, -50%) translateZ(-400px);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.engine-oil-pan {
    width: 320px;
    height: 80px;
    background: linear-gradient(180deg, #3A3A40, #2A2A30);
    border-radius: 0 0 20px 20px;
    z-index: 2;
    transform: translate(-50%, -50%) translateZ(-300px) translateY(140px);
}

.engine-crankshaft {
    width: 280px;
    height: 40px;
    background: repeating-linear-gradient(90deg, #C0C0C0, #C0C0C0 20px, #808080 20px, #808080 40px);
    z-index: 3;
    transform: translate(-50%, -50%) translateZ(-200px) translateY(80px);
}

.engine-pistons {
    width: 260px;
    height: 150px;
    display: flex;
    gap: 15px;
    z-index: 4;
    transform: translate(-50%, -50%) translateZ(-100px) translateY(-20px);
}

.piston {
    width: 60px;
    height: 120px;
    background: linear-gradient(90deg, #A0A0A8, #F5F5F5, #A0A0A8);
    border-radius: 5px;
    border: 1px solid var(--border);
}

.engine-cylinder-head {
    width: 310px;
    height: 100px;
    background: linear-gradient(180deg, #3A3A40, #2A2A30);
    z-index: 5;
    transform: translate(-50%, -50%) translateZ(0px) translateY(-100px);
}

.port {
    width: 40px;
    height: 40px;
    background: #0F0F14;
    border-radius: 50%;
    display: inline-block;
    margin: 30px 20px;
    border: 2px solid var(--accent);
}

.engine-camshaft {
    width: 340px;
    height: 30px;
    background: linear-gradient(90deg, #808080, #C0C0C0, #808080);
    z-index: 6;
    transform: translate(-50%, -50%) translateZ(100px) translateY(-160px);
}

.lobe {
    width: 50px;
    height: 50px;
    background: #A0A0A8;
    border-radius: 50%;
    position: absolute;
    top: -10px;
}
.lobe:nth-child(1) { left: 40px; }
.lobe:nth-child(2) { left: 140px; }
.lobe:nth-child(3) { left: 240px; }

.engine-valve-cover {
    width: 320px;
    height: 60px;
    background: linear-gradient(180deg, #FF6B00, #CC5500);
    border-radius: 10px 10px 0 0;
    z-index: 7;
    transform: translate(-50%, -50%) translateZ(200px) translateY(-210px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2);
}

.bolt {
    width: 12px;
    height: 12px;
    background: #C0C0C0;
    border-radius: 50%;
    position: absolute;
    top: 10px;
}
.bolt:nth-child(1) { left: 20px; }
.bolt:nth-child(2) { left: 154px; }
.bolt:nth-child(3) { right: 20px; }

.engine-intake {
    width: 100px;
    height: 200px;
    background: linear-gradient(90deg, #2A2A30, #3A3A40);
    z-index: 6;
    transform: translate(-50%, -50%) translateZ(50px) translateX(-200px) translateY(-20px);
    border-right: 3px solid var(--accent);
}

/* =========================================
   5. CAMERA TUNNEL TRANSITION
   ========================================= */
.camera-tunnel-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.tunnel-frame {
    position: absolute;
    border: 2px solid var(--accent);
    opacity: 0;
    pointer-events: none;
}

/* =========================================
   6. CARDS & SECTIONS
   ========================================= */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.feature-card {
    text-align: center;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Stats */
.stats-section {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border);
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background-color: var(--bg-primary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* Testimonials */
.testimonial-card .stars {
    color: var(--accent);
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Brands */
.brands-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.brand-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.brand-item:hover {
    color: var(--accent);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* =========================================
   7. FOOTER
   ========================================= */
.footer {
    background-color: #0A0A0D;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-flex;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.footer h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a, .footer ul li {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--accent);
}

.footer ul li i {
    width: 25px;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--accent);
}

/* =========================================
   8. INNER PAGES SPECIFIC
   ========================================= */
.page-hero {
    background-color: var(--bg-secondary);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--accent);
}

/* Services Detail */
.service-detail-card {
    display: flex;
    flex-direction: column;
}

.service-detail-card p {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.service-meta i {
    color: var(--accent);
    margin-right: 5px;
}

/* Pricing */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 10px 25px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-table {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.pricing-row.header {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--accent);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row.popular {
    background-color: rgba(255, 107, 0, 0.05);
}

.badge {
    background-color: var(--accent);
    color: var(--text-primary);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
}

.price-match-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--accent);
    padding: 30px;
    margin-top: 3rem;
    border-radius: 4px;
}

.price-match-callout i {
    font-size: 2.5rem;
    color: var(--accent);
}

/* About Page */
.workshop-illustration {
    position: relative;
    height: 300px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workshop-car {
    font-size: 4rem;
    color: var(--text-secondary);
    z-index: 2;
}

.workshop-tool {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--accent);
    transform: rotate(45deg);
}

.lift-post {
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 20px;
    height: 150px;
    background-color: var(--border);
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 80px;
    height: 80px;
    background-color: var(--bg-secondary);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 auto 1rem;
}

.role {
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-layout {
    align-items: start;
}

.form-card, .info-card {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 4px;
    font-family: var(--font-body);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.contact-list i {
    color: var(--accent);
    font-size: 1.2rem;
}

.map-placeholder {
    height: 250px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.emergency-callout {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(255, 107, 0, 0.1);
    border: 1px solid var(--accent);
    padding: 20px;
    border-radius: 4px;
}

.emergency-callout i {
    font-size: 2rem;
    color: var(--accent);
}

/* Track Service */
.track-service-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.track-search-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-form {
    display: flex;
    gap: 10px;
    margin-top: 2rem;
}

.search-form input {
    flex-grow: 1;
}

.track-result.hidden {
    display: none;
}

.status-timeline {
    max-width: 600px;
    margin: 3rem auto;
    position: relative;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border);
}

.status-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    opacity: 0.5;
}

.status-step.completed, .status-step.active {
    opacity: 1;
}

.status-icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.status-step.completed .status-icon {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.status-step.active .status-icon {
    border-color: var(--accent);
    color: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.status-info h4 {
    margin-bottom: 0.25rem;
}

.status-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Gallery */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 4px;
}

.ba-slider {
    position: relative;
    height: 200px;
    background-color: var(--bg-secondary);
    overflow: hidden;
    margin-bottom: 1rem;
    cursor: ew-resize;
}

.ba-before, .ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.ba-before {
    background-color: #3a1a1a;
    color: #8B0000;
    z-index: 1;
}

.ba-after {
    background-color: #1a2a1a;
    color: #4CAF50;
    z-index: 2;
    width: 50%; /* Initial state for JS to manipulate */
    border-right: 2px solid var(--accent);
    overflow: hidden;
}

.ba-label {
    position: absolute;
    top: 10px;
    font-size: 0.8rem;
    background-color: rgba(0,0,0,0.7);
    padding: 2px 8px;
    color: white;
}

.ba-before .ba-label { left: 10px; }
.ba-after .ba-label { right: 10px; }

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    pointer-events: none;
}

/* FAQ */
.faq-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.faq-search input {
    padding-left: 40px;
}

.faq-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
}

.cta-box {
    text-align: center;
    margin-top: 4rem;
    padding: 40px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
}

/* 404 Page */
.error-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.error-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0;
}

.broken-car-illustration {
    position: relative;
    margin-bottom: 2rem;
}

.broken-car-illustration i {
    font-size: 6rem;
    color: var(--text-secondary);
}

.smoke {
    position: absolute;
    top: -20px;
    right: 20%;
    width: 20px;
    height: 20px;
    background-color: var(--text-secondary);
    border-radius: 50%;
    opacity: 0;
    animation: smoke-rise 2s infinite;
}

.smoke.delay {
    animation-delay: 1s;
    right: 30%;
}

@keyframes smoke-rise {
    0% { transform: translateY(0) scale(1); opacity: 0.8; }
    100% { transform: translateY(-60px) scale(3); opacity: 0; }
}

.error-section h1 {
    font-size: 6rem;
    color: var(--accent);
    line-height: 1;
}

.error-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-search {
    display: flex;
    max-width: 400px;
    margin: 0 auto 2rem;
    gap: 10px;
}

.error-search input {
    flex-grow: 1;
}

/* =========================================
   9. RESPONSIVE BREAKPOINTS
   ========================================= */
@media (max-width: 992px) {
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        left: 5%;
        max-width: 350px;
    }
    
    .hero-headline {
        font-size: 3rem;
    }
    
    .engine-container {
        right: 5%;
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 30px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
        z-index: 1001;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .hero-3d-section {
        flex-direction: column;
        height: auto;
        padding: 100px 0;
    }
    
    .hero-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        text-align: center;
        margin-bottom: 3rem;
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .engine-container {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 300px;
        height: 300px;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Print Styles */
@media print {
    .navbar, .footer, .btn, .announcement-bar {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}