/* Landing Page - Kart Metrics */
/* Professional, aggressive racing aesthetic */

/* ===== HERO SECTION ===== */
.landing-hero {
    background: linear-gradient(135deg, #0A0A0A 0%, #1C1C1C 100%) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing-hero h1 {
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* ===== AGGRESSIVE CTA BUTTONS ===== */
.aggressive-cta-primary:hover {
    background-color: #7F1D1D !important;
    border-color: #7F1D1D !important;
    box-shadow: 0 0 40px rgba(185, 28, 28, 0.7) !important;
    transform: translateY(-2px);
}

.aggressive-cta-secondary:hover {
    background-color: #1C1C1C !important;
    border-color: #B91C1C !important;
    color: #F9FAFB !important;
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.3);
}

/* ===== FEATURE CARDS ===== */
.aggressive-feature-card {
    transition: all 0.3s ease;
}

.aggressive-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-left-width: 6px !important;
}

/* ===== FOOTER ===== */
.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #B91C1C;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

/* ===== TIRE TRACKS (subtle) ===== */
.tire-tracks {
    position: relative;
}

.tire-tracks > * {
    position: relative;
    z-index: 1;
}

.tire-tracks::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 12px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            rgba(0, 0, 0, 0.02) 10px,
            rgba(0, 0, 0, 0.02) 12px
        );
    background-position: 0 30%, 0 70%;
    background-size: 100% 4px;
    opacity: 0.5;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
/* CTA group responsive */
.landing-hero .btn {
    min-height: 44px;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .landing-hero .cta-group {
        flex-direction: column;
    }

    .landing-hero .cta-group .btn {
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .trust-badges {
        justify-content: center !important;
    }

    footer > div > div:first-child {
        flex-direction: column;
        text-align: center;
    }

    footer > div > div:first-child > div {
        margin: 0 auto;
    }

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

@media (min-width: 769px) and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== AUTH PAGES (LOGIN & REGISTER) ===== */
.aggressive-input:focus {
    background-color: #0F0F0F !important;
    border-color: #B91C1C !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.2) !important;
    color: #F9FAFB !important;
    outline: none;
}

.aggressive-input::placeholder {
    color: #6B7280;
    opacity: 0.8;
}

.back-link:hover {
    color: #B91C1C !important;
}

#login-alert .alert,
#register-alert .alert {
    background-color: rgba(185, 28, 28, 0.1) !important;
    border-color: #B91C1C !important;
    color: #F9FAFB !important;
}

#login-alert .alert-success,
#register-alert .alert-success {
    background-color: rgba(16, 185, 129, 0.1) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
}

@media (max-width: 768px) {
    .aggressive-cta-primary,
    .aggressive-cta-secondary {
        font-size: 14px !important;
        padding: 14px !important;
        min-height: 48px !important;
    }

    .aggressive-input {
        padding: 14px !important;
        font-size: 13px !important;
    }
}

.aggressive-input:focus-visible,
.aggressive-cta-primary:focus-visible,
.aggressive-cta-secondary:focus-visible {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}

/* ===== ACCESSIBILITY ===== */
.landing-hero a:focus,
.aggressive-feature-card:focus-within,
.testimonial-visual:focus-within {
    outline: 2px solid #3B82F6;
    outline-offset: 2px;
}
