/* --- CORE VARIABLES --- */
:root {
    --bg-dark: #10121b; 
    --bg-panel: #1a1d29;
    --c-blue: #5c6bc0; 
    --c-teal: #26a69a; 
    --c-green: #66bb6a; 
    --c-lime: #d4e157; 
    --c-yellow: #ffca28; 
    --c-orange: #ffa726; 
    --c-deeporg: #ff7043; 
    --c-pink: #ec407a; 
    --c-red: #ef5350;    
    --text-main: #ffffff; 
    --text-muted: #b0b8c4; 
    --text-footer: #9ca3af;
}

/* --- CRITICAL: MODAL STYLES (Keep at top) --- */
.modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); 
    z-index: 9999; 
    display: none; /* Hidden by default */
    justify-content: center; align-items: center; 
    opacity: 0; transition: opacity 0.3s; 
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal-content { 
    background: #1a1d29; padding: 40px; border-radius: 12px; 
    width: 90%; max-width: 450px; position: relative; 
    transform: translateY(20px); transition: transform 0.3s; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.9); border: 1px solid #333; 
}
.modal-overlay.show .modal-content { transform: translateY(0); }
.glass-modal { background: rgba(26, 29, 41, 0.95); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.1); }
.close-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; color: #888; font-size: 24px; cursor: pointer; }

/* --- ANTI-SPAM (Honeypot) --- */
.honey-trap { display: none !important; visibility: hidden; opacity: 0; position: absolute; left: -9999px; }

/* --- BASICS --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-main); line-height: 1.6; overflow-x: hidden; margin: 0; }

/* Typography */
h1, h2, h3, h4, h5, h6, .btn, .tagline, .nav-links a { font-family: 'Exo 2', sans-serif; color: white; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 15px; }
h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; } 
h6, .ui-text { font-size: 1rem; font-weight: 700; letter-spacing: 1px; }
p { margin-bottom: 1rem; color: var(--text-muted); }
.lead { font-size: 1.5rem; line-height: 1.4; max-width: 650px; margin: 0 auto; color: white; text-wrap: balance; }
.sub-lead { font-size: 1.2rem; max-width: 800px; margin: 20px auto 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mb-60 { margin-bottom: 60px; }
.text-rainbow { background: linear-gradient(to right, var(--c-teal), var(--c-lime), var(--c-orange), var(--c-red)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.bg-darker { background: #0f1016; border-bottom: 1px solid #2a2f45; }
.bg-black { background: #000000; }
.bg-gradient-blue { background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%); border-top: 1px solid #2a2f45; }
.content-visibility-auto { content-visibility: auto; contain-intrinsic-size: 1px 800px; }

/* Navigation */
nav { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(16, 18, 27, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #2a2f45; height: 80px; display: flex; align-items: center; }
.nav-content { width: 100%; display: flex; justify-content: space-between; align-items: center; }
//.logo-img { height: 70px; width: auto; filter: brightness(0) invert(1); transition: 0.3s; }
.logo-img { height: 70px; width: auto; transition: 0.3s; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 14px; letter-spacing: 0.5px; transition: 0.3s; text-decoration: none; }
.nav-links a:hover { color: var(--c-teal); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; z-index: 1001; padding: 10px; }
.mobile-menu-btn span { width: 28px; height: 3px; background-color: white; transition: 0.3s; border-radius: 2px; display: block; }
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 8px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -8px); }

/* Buttons & Inputs */
input, select { width: 100%; padding: 12px; margin-bottom: 15px; background: #0d0e15; border: 1px solid #333; color: white; border-radius: 4px; font-family: inherit; font-size: 16px; }
input:focus, select:focus { outline: none; border-color: var(--c-teal); }
input:invalid, select:invalid { border-color: #ef5350; }

.btn { background: linear-gradient(135deg, #ea580c, #dc2626); color: white; padding: 14px 32px; border-radius: 4px; font-size: 1rem; font-weight: 700; border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transform: skewX(-12deg); transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3); display: inline-block; text-decoration: none; }
.btn span { display: block; transform: skewX(12deg); }
.btn:hover { transform: skewX(-12deg) translateY(-3px); box-shadow: 0 6px 20px rgba(234, 88, 12, 0.6); }
.btn-affiliate { background: linear-gradient(135deg, #16a34a, #15803d); box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3); }
.btn-affiliate:hover { box-shadow: 0 6px 20px rgba(22, 163, 74, 0.6); }
.btn-video { background: transparent; border: 2px solid #53A0FD; color: #53A0FD; box-shadow: 0 0 15px rgba(83, 160, 253, 0.1); padding: 12px 28px; }
.btn-video:hover { background: rgba(83, 160, 253, 0.1); color: white; border-color: white; box-shadow: 0 0 20px rgba(83, 160, 253, 0.4); transform: skewX(-12deg) translateY(-2px); }
.btn-video-dl-submit { transform: skewX(0) !important; } .btn-video-dl-submit span { transform: skewX(0) !important; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; transform: skewX(0); }
.btn-secondary { background: transparent; border: 1px solid #666; color: #ccc; box-shadow: none; }
.btn-secondary:hover { border-color: white; color: white; transform: translateY(-1px); }

/* Hero */
.hero { padding-top: 160px; padding-bottom: 100px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(38, 166, 154, 0.1), transparent 60%); }
.hero-actions { margin-top: 40px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-text-wrapper { opacity: 1 !important; transform: none !important; will-change: opacity, transform; } /* Performance Fix */

/* Carousel */
.carousel-container { position: relative; width: 100%; max-width: 900px; height: 500px; margin: 60px auto 0 auto; perspective: 1000px; overflow: hidden; }
.carousel-item { position: absolute; top: 50%; left: 50%; width: 70%; aspect-ratio: 16/9; transform: translate(-50%, -50%); transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.6); border: 1px solid #333; background: #1a1d29; will-change: transform, opacity; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; display: block; background-color: #1a1d29; }
.carousel-item.active { transform: translate(-50%, -50%) scale(1); z-index: 10; border-color: #53A0FD; opacity: 1; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.carousel-item.next { transform: translate(-10%, -50%) scale(0.85); z-index: 5; opacity: 0.4; filter: brightness(0.5); }
.carousel-item.prev { transform: translate(-90%, -50%) scale(0.85); z-index: 5; opacity: 0.4; filter: brightness(0.5); }
.carousel-item.hidden { transform: translate(-50%, -50%) scale(0.5); z-index: 1; opacity: 0; display: none; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); border: 1px solid #444; color: white; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; z-index: 20; transition: 0.2s; font-size: 20px; }
.btn-prev { left: 10px; } .btn-next { right: 10px; }

/* --- SECTIONS (FIXED PADDING & CENTERING) --- */
section { 
    padding: 120px 0; /* Breathing Room */
    border-bottom: 1px solid #2a2f45; 
    position: relative;
}

.section-header { 
    text-align: center !important;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Grids */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }

/* Cards (Glassmorphism) */
.audience-card, .role-card, .feature-item, .affiliate-box { background: rgba(26, 29, 41, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; transition: 0.3s; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.audience-card { padding: 40px; } .audience-card:hover { transform: translateY(-8px); border-color: rgba(255, 255, 255, 0.2); }
.audience-card h3 { color: white; font-size: 1.75rem; margin-bottom: 20px; text-transform: uppercase; }
.audience-icon-bg { width: 60px; height: 60px; position: absolute; top: 30px; right: 30px; opacity: 0.05; pointer-events: none; }
.audience-svg { width: 100%; height: 100%; fill: white; transform: scale(2); }

.role-card { padding: 40px; min-height: 300px; display: flex; flex-direction: column; }
.role-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.2); }
.role-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.role-icon { width: 50px; height: 50px; opacity: 0.5; transition: 0.4s ease; }
.role-card:hover .role-icon { opacity: 1; transform: scale(1.1) rotate(5deg); }
.card-principal { border-top: 4px solid #2563eb; } .card-principal h3 { color: #60a5fa; }
.card-driver { border-top: 4px solid #16a34a; } .card-driver h3 { color: #4ade80; }
.card-mechanic { border-top: 4px solid #ea580c; } .card-mechanic h3 { color: #fb923c; }
.card-logistics { border-top: 4px solid #dc2626; } .card-logistics h3 { color: #f87171; }
.role-subtitle { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); margin-bottom: 15px; display: block; }

.feature-item { padding: 25px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature-item:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.2); }
.icon-box { width: 50px; height: 50px; margin: 0 auto 15px auto; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.f-blue h3 { color: #5c6bc0; } .f-blue .icon-box { color: #5c6bc0; border: 1px solid rgba(92, 107, 192, 0.3); }
.f-teal h3 { color: #26a69a; } .f-teal .icon-box { color: #26a69a; border: 1px solid rgba(38, 166, 154, 0.3); }
.f-green h3 { color: #66bb6a; } .f-green .icon-box { color: #66bb6a; border: 1px solid rgba(102, 187, 106, 0.3); }
.f-lime h3 { color: #d4e157; } .f-lime .icon-box { color: #d4e157; border: 1px solid rgba(212, 225, 87, 0.3); }
.f-yellow h3 { color: #ffca28; } .f-yellow .icon-box { color: #ffca28; border: 1px solid rgba(255, 202, 40, 0.3); }
.f-orange h3 { color: #ffa726; } .f-orange .icon-box { color: #ffa726; border: 1px solid rgba(255, 167, 38, 0.3); }
.f-deeporg h3 { color: #ff7043; } .f-deeporg .icon-box { color: #ff7043; border: 1px solid rgba(255, 112, 67, 0.3); }
.f-pink h3 { color: #ec407a; } .f-pink .icon-box { color: #ec407a; border: 1px solid rgba(236, 64, 122, 0.3); }
.f-red h3 { color: #ef5350; } .f-red .icon-box { color: #ef5350; border: 1px solid rgba(239, 83, 80, 0.3); }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-bottom: 1px solid #333; transition: 0.3s; }
.faq-item summary { padding: 20px 10px; cursor: pointer; font-weight: 600; font-family: 'Exo 2', sans-serif; color: white; list-style: none; position: relative; font-size: 1.1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 10px; font-size: 1.5rem; color: var(--c-teal); transition: 0.3s; font-weight: 300; }
.faq-item[open] summary::after { transform: rotate(45deg); color: #fff; }
.faq-item[open] summary { color: var(--c-teal); }
.faq-item p { padding: 0 10px 20px 10px; color: var(--text-muted); margin: 0; font-size: 1rem; line-height: 1.6; }

/* Scorecard */
.scorecard-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.scorecard-text { flex: 1; min-width: 300px; }
.scorecard-image { flex: 1; min-width: 300px; display: flex; justify-content: center; }
.score-chart-img { max-width: 100%; height: auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5)); transition: 0.3s; border-radius: 10px; }

.affiliate-box { max-width: 600px; margin: 0 auto; padding: 40px; border-radius: 20px; }
.affiliate-icon { width: 60px; height: 60px; fill: var(--c-green); margin-bottom: 15px; }

/* Footer */
footer { padding: 80px 0; text-align: center; border-top: 1px solid #2a2f45; }
.footer-content { display: flex; justify-content: space-between; max-width: 600px; margin: 50px auto; text-align: left; border-top: 1px solid #333; padding-top: 30px; }
.social-list { display: flex; flex-direction: column; gap: 15px; }
.social-link { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 1rem; font-weight: 500; transition: 0.2s; text-decoration: none; }
.social-link:hover { color: white; transform: translateX(5px); }
.social-icon { width: 24px; height: 24px; fill: currentColor; }
.gridbot-btn { background: #c2410c; color: white; padding: 10px 20px; border-radius: 6px; border: none; cursor: pointer; transition: 0.2s; display: flex; align-items: center; }
.legal-footer { margin-top: 40px; border-top: 1px solid #222; padding-top: 20px; }
.legal-links { display: flex; justify-content: center; gap: 15px; margin-top: 10px; font-size: 0.85rem; }
.legal-links a { color: #9ca3af; text-decoration: none; transition: 0.3s; }
.legal-links a:hover { color: var(--c-teal); }
.copyright { font-size: 0.75rem; color: #9ca3af; margin-top: 10px; }

/* Cookie Settings (Floating + Banner) */
.cookie-settings-btn { position: fixed; bottom: 20px; left: 20px; width: 50px; height: 50px; background: rgba(26, 29, 41, 0.9); border: 1px solid var(--c-teal); border-radius: 50%; color: var(--c-teal); display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 1999; box-shadow: 0 4px 15px rgba(0,0,0,0.5); transition: 0.3s; }
.cookie-settings-btn:hover { transform: scale(1.1) rotate(15deg); background: var(--c-teal); color: #1a1d29; box-shadow: 0 0 20px rgba(38, 166, 154, 0.6); }

/* COOKIE BANNER MOBILE FIX */
.cookie-banner { 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background: rgba(16, 18, 27, 0.98); border-top: 1px solid #333; 
    padding: 15px 20px; z-index: 2000; 
    display: none; /* Hidden by JS */
    justify-content: center; align-items: center; 
    gap: 30px; box-shadow: 0 -10px 30px rgba(0,0,0,0.5); 
}
.cookie-banner p { margin: 0; font-size: 0.9rem; color: #ccc; }
.cookie-banner a { color: var(--c-teal); text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links { position: absolute; top: 80px; left: 0; width: 100%; background: #1a1d29; flex-direction: column; padding: 40px 0; transform: translateY(-150%); transition: 0.3s; border-bottom: 1px solid #333; }
    .nav-links.active { transform: translateY(0); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
    .mobile-menu-btn { display: flex; }
    
    /* Layouts */
    section { padding: 80px 0; } /* Mobile padding */
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .scorecard-container { flex-direction: column; text-align: center; }
    .carousel-container { height: 280px; margin-top: 40px; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; align-items: center; }
    
    /* Mobile Cookie Banner */
    .cookie-banner { 
        flex-direction: column; gap: 15px; text-align: center; 
        padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); /* Safe Area */
        left: 0; right: 0; width: auto; box-sizing: border-box; 
    }
    .cookie-buttons { width: 100%; display: flex; gap: 10px; }
    .cookie-buttons button { flex: 1; }
}

/* Scorecard Button (Blue) */
.btn-scorecard { 
    background: linear-gradient(135deg, #2563eb, #3b82f6); 
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); 
}
.btn-scorecard:hover { 
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6); 
    transform: skewX(-12deg) translateY(-3px);
}