/* --- app_autoparts.css --- */
:root {
    --color-bg-dark: #0a0f1c;
    --color-bg-dark-accent: #161d2f;
    --color-primary-blue: #4f8cf7;
    --color-accent-blue: #1e3a8a;
    --color-gp-green: #34a853;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-muted: rgba(255, 255, 255, 0.6);
}

/* Base resets & layout for new sections */
.app-hero-v2,
.app-features-v2,
.app-articles-v2,
.app-cta-v2 {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- HERO SECTION --- */
.app-hero-v2 {
    background: linear-gradient(rgba(10, 15, 28, 0.8), rgba(10, 15, 28, 0.8)),
        url('/images/autoparts_hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    color: white;
    overflow: hidden;
}

.app-hero-v2__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.app-hero-v2__text {
    flex: 1;
    z-index: 2;
}

.app-hero-v2__text h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: white !important;
    /* Force white for contrast */
}

.app-hero-v2__slogan {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8) !important;
    /* Ensure it's light */
    margin-bottom: 40px;
    max-width: 500px;
}

.btn--download {
    background: var(--color-gp-green);
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(52, 168, 83, 0.3);
    text-transform: none;
}

.btn--download:hover {
    background: #2d9248;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(52, 168, 83, 0.4);
}

.app-hero-v2__badges {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
}

.trust-badge__value {
    font-size: 1.8rem;
    font-weight: 800;
    color: white !important;
}

.trust-badge__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.app-hero-v2__phone {
    flex: 0 0 400px;
    position: relative;
    z-index: 1;
}

.app-hero-v2__phone img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    border-radius: 30px;
}

/* --- FEATURES SECTION --- */
.app-features-v2 {
    background: #0f172a;
    padding: 120px 0;
}

.app-features-v2 .display-1 {
    color: white !important;
    /* Fix dark on dark */
}

.app-features-v2 .lead {
    color: rgba(255, 255, 255, 0.7) !important;
    /* Fix dark on dark */
    font-size: 1.4rem;
}

.app-features-v2__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card-v2 {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    color: white;
    transition: all 0.3s ease;
}

.feature-card-v2:hover {
    border-color: var(--color-primary-blue);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card-v2__icon {
    font-size: 2.5rem;
    color: var(--color-primary-blue);
    margin-bottom: 24px;
}

.feature-card-v2 h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white !important;
}

.feature-card-v2 p {
    color: var(--text-muted) !important;
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-card-v2__link {
    color: var(--color-primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* --- ARTICLES SECTION --- */
.app-articles-v2 {
    background: #0a0f1c;
    padding: 100px 0;
}

.app-articles-v2__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 50px;
}

.app-articles-v2__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card-v2 {
    background: var(--color-bg-dark-accent);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.article-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary-blue);
}

.article-card-v2__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-v2__body {
    padding: 24px;
}

.article-card-v2__body h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.article-card-v2__body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- CTA SECTION --- */
.app-cta-v2 {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    padding: 120px 0;
    text-align: center;
    color: white;
}

.app-cta-v2 h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: white;
}

.app-cta-v2 .lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.app-cta-v2__badges {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
}

.trust-badge--light .trust-badge__value {
    color: white;
}

.trust-badge--light .trust-badge__label {
    color: rgba(255, 255, 255, 0.7);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .app-hero-v2__inner {
        gap: 30px;
    }

    .app-hero-v2__text h1 {
        font-size: 3rem;
    }

    .app-hero-v2__phone {
        flex: 0 0 320px;
    }
}

@media (max-width: 900px) {
    .app-hero-v2__inner {
        flex-direction: column;
        text-align: center;
    }

    .app-hero-v2__text {
        order: 1;
    }

    .app-hero-v2__phone {
        order: 2;
        margin-top: 40px;
        flex: none;
        width: 300px;
    }

    .app-hero-v2__slogan {
        margin-left: auto;
        margin-right: auto;
    }

    .app-hero-v2__badges {
        justify-content: center;
    }

    .app-features-v2__cards,
    .app-articles-v2__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .app-hero-v2__text h1 {
        font-size: 2.5rem;
    }

    .app-hero-v2__badges {
        flex-direction: column;
        gap: 20px;
    }

    .app-cta-v2__badges {
        flex-direction: column;
        gap: 30px;
    }
}