/* 
   Tech & Sustainability Design System
   Colors: Dark Blue (#0B1F33), Electric Green (#2EE59D)
*/
:root {
    --color-primary: #2EE59D;
    /* Electric Green */
    --color-primary-hover: #26c485;
    --color-dark-blue: #0B1F33;
    /* Dark Navy for Trust & Tech */
    --color-dark-blue-light: #162a40;
    --color-text-main: #0B1F33;
    --color-text-light: #526b80;
    --color-bg-light: #F4F7FA;
    --color-bg-white: #ffffff;

    --shadow-card: 0 10px 30px rgba(11, 31, 51, 0.08);
    --shadow-hover: 0 15px 35px rgba(11, 31, 51, 0.12);
    --glow-primary: 0 0 20px rgba(46, 229, 157, 0.4);

    --radius-lg: 16px;
    --radius-btn: 12px;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark-blue {
    background-color: var(--color-dark-blue);
    color: white;
}

.text-white {
    color: white !important;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.section-title {
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.text-highlight {
    color: var(--color-primary);
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-btn);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark-blue);
    border: none;
    box-shadow: 0 4px 15px rgba(46, 229, 157, 0.3);
}

.btn-primary:hover,
.glow-effect:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    margin-left: 1rem;
}

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

.btn-large {
    font-size: 1.2rem;
    padding: 1.25rem 3rem;
}

/* Navigation Bar */
.main-nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--color-dark-blue);
    z-index: 2000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: white;
}

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

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.desktop-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1rem;
}

.desktop-menu a:hover {
    color: var(--color-primary);
}

.nav-cta {
    background: var(--color-primary);
    color: var(--color-dark-blue) !important;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-btn);
    box-shadow: var(--glow-primary);
}

.nav-phone {
    color: white !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-phone:hover {
    color: var(--color-primary) !important;
}

.nav-phone svg {
    stroke: var(--color-primary);
}

/* Hamburger Button */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: white;
    width: 44px;
    height: 44px;
    padding: 8px;
    z-index: 2100;
    transition: all 0.3s;
}

.hamburger-btn svg {
    width: 100%;
    height: 100%;
}

.hamburger-btn line {
    transition: 0.3s;
    transform-origin: center;
}

.hamburger-btn.active .line-top {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.active .line-mid {
    opacity: 0;
}

.hamburger-btn.active .line-bot {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-blue);
    z-index: 2050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2rem;
    gap: 1rem;
}

.mobile-nav-link {
    width: 100%;
    height: 56px;
    /* High touch target 56px as requested */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-family: var(--font-heading);
}

.mobile-nav-link.accent {
    background: var(--color-primary);
    color: var(--color-dark-blue);
}

.mobile-menu-footer {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.mobile-footer-btn {
    flex: 1;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
}

.mobile-footer-btn.tel {
    background: white;
    color: var(--color-dark-blue);
}

.mobile-footer-btn.wa {
    background: #25D366;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    /* Reduced from 90vh now that we have header */
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('hero-night.png') no-repeat center center/cover;
    color: white;
    overflow: hidden;
}

/* Gradient Overlay - Dark Blue to Black opacity */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(11, 31, 51, 0.95) 0%, rgba(11, 31, 51, 0.7) 50%, rgba(11, 31, 51, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.hero-subline {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.trust-icons {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary);
}

.trust-badge svg {
    stroke: var(--color-primary);
}

/* Cards & Layouts */
.card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Steps Grid */
.steps-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg-light);
    color: var(--color-dark-blue);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.step-card-arrow {
    align-self: center;
    font-size: 2rem;
    color: var(--color-text-light);
    opacity: 0.5;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism on dark bg */
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.benefit-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Car Brands */
.car-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.brand-card {
    text-align: center;
    padding: 2rem 1rem;
}

.brand-card h3 {
    color: var(--color-dark-blue);
    margin-bottom: 0.5rem;
}

.brand-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Locations Chips */
.city-chips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-chip {
    padding: 0.8rem 2rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-card);
    color: var(--color-dark-blue);
    font-weight: 500;
    border: 1px solid transparent;
}

.btn-chip:hover,
.btn-chip.active {
    border-color: var(--color-primary);
    color: var(--color-primary-hover);
    /* Keep legible on white */
    transform: translateY(-2px);
}

.btn-chip.active {
    background: var(--color-primary);
    color: var(--color-dark-blue);
    border-color: var(--color-primary);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-btn);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-question {
    font-weight: 600;
    font-family: var(--font-heading);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-sticky-cta .btn {
    width: 100%;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: #06121f;
    color: #6c8aa3;
    padding: 3rem 0;
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .hamburger-btn {
        display: block;
    }

    .hero {
        background-position: 70% center;
    }

    /* Show car part */
    .hero-overlay {
        background: linear-gradient(180deg, rgba(11, 31, 51, 0.9) 0%, rgba(11, 31, 51, 0.6) 100%);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .step-card-arrow {
        display: none;
    }

    /* Floating buttons placement adjustment */
    .floating-contacts {
        bottom: 1.5rem;
        right: 1.5rem;
        gap: 0.75rem;
    }

    .contact-btn {
        width: 54px;
        /* Touch target optimized */
        height: 54px;
        border-width: 1px;
    }

    .mobile-sticky-cta {
        display: none;
        /* Removed as requested/replacing with floating buttons + menu */
    }

    .benefits-grid,
    .steps-grid {
        gap: 1rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        margin: 0.5rem 0 0 0 !important;
    }

    /* Hero Optimization Mobile */
    .hero-desktop-content {
        display: none;
    }

    .hero-mobile-content {
        display: block !important;
        text-align: center;
        width: 100%;
        margin-bottom: 2rem;
    }

    .mobile-main-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
    }

    .mobile-main-title span {
        color: var(--color-primary);
        font-weight: 700;
    }

    .mobile-phone-link {
        display: inline-block;
        font-size: 1.4rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .desktop-only {
        display: none !important;
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding: 4rem 0;
    }

    .trust-icons {
        justify-content: center;
        gap: 1rem;
    }
}

/* Default hidden */
.hero-mobile-content {
    display: none;
}

/* Contact Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    text-align: left;
}

.form-section-title {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-dark-blue);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 229, 157, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.checkbox-group input {
    margin-top: 0.25rem;
    accent-color: var(--color-primary);
    width: 1.1rem;
    height: 1.1rem;
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}