/* ==============================================
   HOME PAGE STYLES — CoopHispánica
   Extracted from inline <style> blocks in index.html
   ============================================== */

/* Premium Support Section Styles */
.support-section-integrated {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.support-section-integrated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.2), transparent);
}

.support-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.support-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    text-decoration: none !important;
}

.support-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
    box-shadow: 0 25px 50px rgba(76, 175, 80, 0.1);
}

.support-icon-box {
    width: 64px;
    height: 64px;
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #333;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.support-card:hover .support-icon-box {
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-green);
    transform: rotate(-8deg) scale(1.1);
}

.support-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #000000 !important;
}

.support-section-integrated h3,
.support-section-integrated h2 {
    color: #000000 !important;
}

.faq-item-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 20px;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.faq-item-link:hover {
    background: #fcfcfc;
    border-color: var(--primary-green);
    color: #000;
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.faq-item-link i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.contact-pill {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 15px 30px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-pill:hover {
    border-color: var(--primary-green);
    color: #000;
    background: #f9f9f9;
}

/* ---- Home Page Design Tokens ---- */
:root {
    --primary-green: #4caf50;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --dark-accent: #000000;
    --black: #000000;
    --border-rgba: rgba(0, 0, 0, 0.05);
}

/* ---- Home Body Override ---- */
.page-home {
    background-color: var(--light-bg);
    color: var(--dark-accent);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ---- Hero Landing Light ---- */
.hero-landing {
    padding: 140px 0 80px;
    background: radial-gradient(circle at top right, rgba(76, 175, 80, 0.05), transparent 800px);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-badge-light {
    background: rgba(0, 0, 0, 0.05);
    color: var(--black);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.hero-title-main {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #595959;
    max-width: 600px;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* ---- App Mockup Floating ---- */
.visual-hero-container {
    position: relative;
    perspective: 1000px;
}

.main-app-mockup {
    width: 320px;
    background: #000;
    border-radius: 45px;
    border: 10px solid #1a1a1a;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
    padding: 10px;
    transform: rotateY(-10deg) rotateX(5deg);
}

.mockup-img {
    width: 100%;
    border-radius: 30px;
    display: block;
}

/* ---- Stats Floating Cards ---- */
.stat-floating-card {
    position: absolute;
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    z-index: 10;
}

/* ---- Section Header & Grid ---- */
.section-header {
    margin-bottom: 80px;
}

.section-tag {
    color: var(--primary-green);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.grid-modern-card {
    background: #fff;
    padding: 50px;
    border-radius: 32px;
    border: 1px solid #eee;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.grid-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-green);
}

.card-icon-modern {
    width: 60px;
    height: 60px;
    background: var(--light-bg);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 30px;
}

/* ---- Footer Premium ---- */
.footer-premium {
    background: #fff;
    padding: 100px 0 50px;
    border-top: 1px solid #eee;
}

.btn-app-download {
    background: #000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-app-download:hover {
    background: #222;
    color: #fff;
    transform: scale(1.02);
}

/* ---- Responsive Home ---- */
@media (max-width: 991.98px) {
    .hero-landing {
        min-height: auto;
        padding: 140px 0 60px;
    }

    .main-app-mockup {
        width: 260px;
        margin: 0 auto;
    }

    .stat-floating-card {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .hero-landing {
        padding: 120px 0 40px !important;
        text-align: center;
    }

    .hero-title-main {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .hero-badge-light {
        margin-bottom: 20px;
    }

    .btn-navbar-cta.py-3.px-5 {
        padding: 12px 30px !important;
        font-size: 1rem !important;
        width: 100%;
        justify-content: center;
    }

    .main-app-mockup {
        width: 200px;
        margin-top: 40px;
        transform: rotateY(0) rotateX(0);
        /* Simpler on mobile */
    }

    .support-category-grid {
        grid-template-columns: 1fr;
    }

    .grid-modern-card {
        padding: 35px 25px;
        border-radius: 24px;
    }

    .footer-premium {
        padding: 60px 0 30px;
    }
}

.grid-modern-card i {
    transition: transform 0.4s ease;

    .grid-modern-card:hover i {
        transform: scale(1.2) rotate(-5deg);
    }
}