/* ============================================
   NOVARIDE - ULTRA-PREMIUM COMPONENTS
   Apple-Level Business Class UI Components
   ============================================ */

/* ========== WORLD-CLASS NAVIGATION - APPLE LEVEL ========== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 9999;
    padding: 24px 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: visible;
}

/* Ensure nav is above EVERYTHING when mobile menu is open */
body.menu-open .nav {
    z-index: 200000 !important;
    overflow: visible !important;
    height: 100vh;
    /* Ensure it takes full height if needed for touch targets */
}

/* Hide chatbot and cookie consent when mobile menu is open */
body.menu-open .nova-chat-btn,
body.menu-open .nova-chat-window,
body.menu-open .nova-chat-greeting,
body.menu-open .cookie-consent {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    transition: all 0.5s ease;
}

.nav.scrolled::before {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav.scrolled {
    padding: 16px 0;
}

.nav-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    /* Reduced from 48px to prevent overlap */
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-logo:hover {
    opacity: 0.85;
}

/* Premium Logo Styles - Apple Level */
.nav-logo-img {
    height: 26px;
    width: auto;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.1);
}

.nav-logo:hover .nav-logo-img {
    filter: brightness(1.2);
}

.nav.scrolled .nav-logo-img {
    height: 22px;
}

/* Premium Slogan - Apple-Level Responsive System */
.nav-slogan {
    display: block;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    white-space: nowrap;
}

.nav-slogan .slogan-green {
    color: #10b981 !important;
    font-weight: 600;
}

.nav.scrolled .nav-slogan {
    font-size: 0.6rem;
    margin-left: 12px;
    padding-left: 12px;
}

/* Large Desktop (>1400px): Full logo + slogan */
@media (max-width: 1400px) {
    .nav-logo-img {
        height: 32px;
    }

    .nav.scrolled .nav-logo-img {
        height: 28px;
    }

    .nav-slogan {
        font-size: 0.55rem;
        margin-left: 12px;
        padding-left: 12px;
    }
}

/* Tablet/Small Desktop (<=1200px): Hide slogan, prioritize space */
@media (max-width: 1200px) {
    .nav-logo-img {
        height: 28px;
    }

    .nav.scrolled .nav-logo-img {
        height: 24px;
    }

    .nav-slogan {
        display: none;
    }
}

/* Mobile (<=768px): Stacked logo + slogan */
@media (max-width: 768px) {
    .nav-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .nav-logo-img {
        height: 35px;
    }

    .nav-slogan {
        display: block !important;
        margin: 0;
        padding: 0;
        border: none;
        font-size: 0.75rem;
        /* Much bigger */
        font-weight: 500;
        letter-spacing: 0.03em;
        line-height: 1.2;
        color: rgba(255, 255, 255, 0.9);
        /* Brighter */
    }

    .nav-slogan br {
        display: none;
    }

    .nav.scrolled .nav-logo-img {
        height: 28px;
        /* Smaller than top */
    }

    .nav.scrolled .nav-slogan {
        font-size: 0.7rem;
        /* Readable on scroll */
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    /* Reduced gap */
}

/* Nav menu maintains consistent spacing when scrolled */
.nav.scrolled .nav-menu {
    gap: 4px;
}

/* Apple Business-Class Navigation Links - Ultra Premium Typography */
.nav-link {
    position: relative;
    padding: 12px 22px;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

/* Nav links stay consistent when scrolled - premium behavior */
.nav.scrolled .nav-link {
    padding: 12px 22px;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

/* Premium Active Indicator - Elegant Underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--nova-green), transparent);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 500;
}

/* Active State - World-Class Apple-Level Pill Indicator */
.nav-link.active {
    color: #ffffff;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.18);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.06);
}

.nav-link.active::after {
    width: 0;
    opacity: 0;
}

.nav-link.active:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.28);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.10);
}

/* Elegant CTA Button - Premium Outline Style */
.nav-cta {
    margin-left: 16px;
    padding: 12px 24px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
    color: var(--nova-green) !important;
    background: transparent !important;
    border: 1.5px solid var(--nova-green) !important;
    border-radius: 100px !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    white-space: nowrap !important;
    min-width: max-content !important;
    flex-shrink: 0 !important;
}

/* CTA maintains premium size when scrolled */
.nav.scrolled .nav-cta {
    padding: 12px 24px !important;
    font-size: 0.85rem !important;
}

.nav-cta:hover {
    color: #000 !important;
    background: var(--nova-green) !important;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4) !important;
    transform: translateY(-1px) !important;
}

/* ═══════════════════════════════════════════════════════════════
   ULTRA-PREMIUM HAMBURGER MENU - APPLE/TESLA LEVEL
   World-class mobile navigation toggle with refined aesthetics
   ═══════════════════════════════════════════════════════════════ */

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    cursor: pointer;
    z-index: var(--z-modal);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    margin-right: -4px;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

/* Subtle top highlight - premium detail */
.nav-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
}

/* Hover state - refined elegance */
.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Active pressed state */
.nav-toggle:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
}

/* Premium hamburger lines */
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--nova-green);
    border-radius: 1px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    position: absolute;
}

/* Line positions - asymmetric for visual interest */
.nav-toggle span:nth-child(1) {
    top: 16px;
    width: 20px;
}

.nav-toggle span:nth-child(2) {
    top: 23px;
    width: 14px;
    right: 14px;
    left: auto;
}

.nav-toggle span:nth-child(3) {
    top: 30px;
    width: 20px;
}

@media (max-width: 1024px) {
    .nav-inner {
        padding: 0 24px;
    }

    .nav-logo-img {
        height: 60px;
    }

    .nav.scrolled .nav-logo-img {
        height: 48px;
    }
}

/* Mobile screens - ensure hamburger menu is always visible */
@media (max-width: 767px) {
    .nav {
        padding: 12px 0;
    }

    .nav-inner {
        padding: 0 16px;
        max-width: 100%;
        width: 100%;
    }

    .nav-logo-img {
        height: 35px;
        flex-shrink: 0;
    }

    .nav.scrolled .nav-logo-img {
        height: 28px;
    }

    /* Premium hamburger - mobile refinements */
    .nav-toggle {
        margin-left: auto;
        margin-right: -24px !important;
        flex-shrink: 0;
        z-index: 999999;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        /* Dynamic viewport height for mobile browsers */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(50px);
        -webkit-backdrop-filter: blur(50px);
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 99999;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* Initially hidden */
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .nav-link {
        font-size: 2rem !important;
        font-weight: 300 !important;
        letter-spacing: -0.02em !important;
        padding: 16px 32px !important;
    }

    /* Override scrolled state for mobile menu links */
    .nav.scrolled .nav-link {
        font-size: 2rem !important;
        font-weight: 300 !important;
        letter-spacing: -0.02em !important;
        padding: 16px 32px !important;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 32px !important;
        font-size: 1.1rem !important;
        padding: 16px 40px !important;
    }

    /* Override scrolled state for mobile menu CTA */
    .nav.scrolled .nav-cta {
        font-size: 1.1rem !important;
        padding: 16px 40px !important;
    }

    .nav-toggle {
        display: flex;
    }

    /* ─────────────────────────────────────────
       ACTIVE STATE - PREMIUM X MORPHING
       Staggered animation with color transition
       ───────────────────────────────────────── */

    .nav-toggle.active {
        background: rgba(16, 185, 129, 0.06);
        border-color: rgba(16, 185, 129, 0.25);
    }

    .nav-toggle.active span {
        background: var(--nova-green);
        left: 14px;
        right: auto;
    }

    .nav-toggle.active span:nth-child(1) {
        top: 23px;
        transform: rotate(45deg);
        width: 20px;
        transition-delay: 0.08s;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
        transition-delay: 0s;
    }

    .nav-toggle.active span:nth-child(3) {
        top: 23px;
        transform: rotate(-45deg);
        width: 20px;
        transition-delay: 0.08s;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ULTRA-PREMIUM BUTTONS - APPLE/PORSCHE LEVEL
   Refined, subtle, no flashy effects. Pure elegance.
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-family);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}

/* ═══ PRIMARY BUTTON - NovaRide Green ═══ */
.btn-primary {
    background: var(--nova-green);
    color: #000;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    background: #0fd990;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
}

/* ═══ SECONDARY BUTTON - Subtle Outline ═══ */
.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-secondary:active {
    background: rgba(255, 255, 255, 0.08);
}

/* ═══ GHOST BUTTON - Minimal ═══ */
.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 20px;
}

.btn-ghost:hover {
    color: var(--nova-green);
    background: rgba(16, 185, 129, 0.08);
}

/* ═══ SIZE VARIANTS ═══ */
.btn-lg {
    padding: 18px 36px;
    font-size: 0.95rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
    border-radius: 10px;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ═══ MOBILE REFINEMENTS ═══ */
@media (max-width: 767px) {
    .btn {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 0.9rem;
        width: auto;
    }

    .btn-lg {
        min-height: 52px;
        padding: 16px 28px;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
    }
}

/* ========== ULTRA-PREMIUM CARDS ========== */

.card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-7);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(255, 255, 255, 0.1) 50%, transparent 90%);
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card:hover {
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-4px);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(16, 185, 129, 0.08);
}

.card:hover::after {
    opacity: 1;
}

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
}

.card-glass:hover {
    background: var(--glass-bg-hover);
}

.card-title {
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    letter-spacing: var(--letter-spacing-normal);
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
}

.card-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    margin-bottom: var(--space-6);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.card:hover .card-image {
    z-index: 1;
    transform: scale(1.03) translateY(-2px);
}

/* ========== PRODUCT CARDS ========== */

.product-card {
    text-align: center;
    padding: var(--space-8);
}

/* ========== PRODUCT BADGES - TESLA PREMIUM LEVEL ========== */

.product-badge {
    position: absolute;
    top: var(--space-5);
    left: var(--space-5);
    z-index: 100;
    padding: 8px 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    background: rgba(16, 185, 129, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    box-shadow:
        0 4px 20px rgba(16, 185, 129, 0.35),
        0 0 0 1px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

/* Ensure badge stays above image on hover */
.card:hover .product-badge,
.accessory-card:hover .product-badge {
    z-index: 200;
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(16, 185, 129, 0.45),
        0 0 0 1px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Premium badge variants */
.product-badge[style*="soft-emerald"],
.product-badge.badge-bestseller {
    color: #ffffff !important;
    font-weight: 700;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 4px 24px rgba(16, 185, 129, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.product-badge.badge-new {
    background: rgba(59, 130, 246, 0.9);
}

.product-badge.badge-promo {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(185, 28, 28, 0.95) 100%);
}

/* Connected/Tech badge style - glassmorphism dark */
.product-badge:not([style]) {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: var(--nova-green);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Force z-index for all badges with inline styles */
.product-badge[style] {
    z-index: 100 !important;
    position: absolute !important;
}

.product-specs {
    display: flex;
    justify-content: center;
    gap: var(--space-7);
    margin: var(--space-6) 0;
    padding: var(--space-5) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-spec {
    text-align: center;
}

.product-spec-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-1);
}

.product-spec-value {
    font-size: 1.15rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.product-price {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--nova-green);
    margin-top: var(--space-5);
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

/* ========== BADGES - APPLE MINIMALIST STYLE ========== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
}

.badge-green {
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--nova-green);
}

/* ========== TAGS ========== */
.tag {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-4);
    font-size: 0.8rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover,
.tag.active {
    background: var(--nova-green-subtle);
    border-color: var(--nova-green);
    color: var(--nova-green);
}

/* ========== PREMIUM FORMS ========== */

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.form-input {
    width: 100%;
    padding: var(--space-5);
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    outline: none;
    transition: all 0.4s ease;
}

.form-input:focus {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--nova-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 0 30px rgba(16, 185, 129, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-color: #0a0a0a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-4) center;
    padding-right: var(--space-10);
    cursor: pointer;
}

.form-select option {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 12px 16px;
}

.form-select option:hover,
.form-select option:checked {
    background-color: rgba(16, 185, 129, 0.2);
}

/* Mobile-first form row: single column default */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile form input enhancements */
@media (max-width: 767px) {
    .form-input {
        min-height: 56px;
        padding: 16px 20px;
        font-size: 1rem;
    }
}

/* ========== STATS ========== */

.stats {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: var(--space-5);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--nova-green);
    line-height: 1;
    letter-spacing: var(--letter-spacing-tight);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: var(--space-3);
}

/* ========== WHY CARDS ========== */

.why-card {
    text-align: center;
    padding: var(--space-8);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nova-green-subtle) 0%, transparent 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-2xl);
    color: var(--nova-green);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.why-card:hover .why-icon {
    background: linear-gradient(135deg, var(--nova-green) 0%, #0d9668 100%);
    color: var(--void-black);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    border-color: transparent;
}

/* ========== IMPACT CARDS ========== */

.impact-value {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--nova-green);
    line-height: 1;
    text-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--space-2);
}

/* ========== TESTIMONIALS ========== */

.testimonial-card {
    padding: var(--space-8);
    text-align: center;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto var(--space-5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: var(--line-height-relaxed);
    font-style: italic;
    margin-bottom: var(--space-5);
}

.testimonial-author {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

/* ========== ICONS ========== */

.icon {
    width: 24px;
    height: 24px;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

/* ========== FOOTER ========== */

.footer {
    background: var(--void-black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-10);
}

.footer-logo {
    display: block;
    text-align: left;
    margin-left: 0;
    transition: all 0.3s ease;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    opacity: 0.9;
    transition: all 0.4s ease;
    display: block;
}

.footer-logo:hover .footer-logo-img {
    opacity: 1;
    transform: scale(1.03);
}

.footer-brand-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: var(--space-5);
    max-width: 300px;
    line-height: var(--line-height-relaxed);
    text-align: left;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-5);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--nova-green);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--nova-green);
}

.footer-link:hover::before {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer-copyright a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-copyright a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: var(--space-5);
}

.footer-social a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--nova-green);
    transform: translateY(-3px);
}

/* Mobile-first footer */
.footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(4, 1fr);
    }
}

/* ========== 5-COLUMN FOOTER GRID (WITH LEGAL SECTION) ========== */
.footer-grid-5 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .footer-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

@media (min-width: 900px) {
    .footer-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1100px) {
    .footer-grid-5 {
        grid-template-columns: 1.5fr repeat(4, 1fr);
        gap: 28px;
    }

    .footer-grid-5 .footer-brand-description {
        max-width: 250px;
    }

    .footer-grid-5 .footer-links {
        gap: var(--space-2);
    }

    .footer-grid-5 .footer-link {
        font-size: 0.88rem;
    }
}

@media (max-width: 639px) {
    .footer-brand {
        text-align: left;
    }

    .footer-brand-description {
        max-width: 100%;
        margin: var(--space-4) 0 0;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 24px;
    }

    .footer-copyright {
        display: block;
        font-size: 0.75rem;
        line-height: 1.6;
    }

    .footer-social {
        justify-content: center;
        gap: 20px;
    }
}