/* ============================================
   HOME PAGE STYLES - MBIZ Digital Agency
============================================ */

/* Shared buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 9999px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: #6B21A8;
    color: #fff;
    box-shadow: 0 4px 14px rgba(107, 33, 168, 0.35);
}

.btn-primary:hover {
    background: #4C1D95;
    transform: translateY(-1px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #0F172A;
    border: 2px solid #E2E8F0;
}

.btn-outline:hover {
    border-color: #6B21A8;
    color: #6B21A8;
}

.btn-accent {
    background: #F59E0B;
    color: #0F172A;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover {
    background: #D97706;
    color: #0F172A;
    transform: translateY(-1px);
}

.text-purple { color: #6B21A8; }

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #6B21A8;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 17px;
    color: #64748B;
    max-width: 560px;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ==================== HERO ==================== */
.hero {
    padding: 80px 0 70px;
    background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #ede9fe 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(107, 33, 168, 0.1);
    color: #6B21A8;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: #0F172A;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 17px;
    color: #64748B;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border: 1px solid #F1F5F9;
    width: 100%;
    max-width: 340px;
}

.hero-stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-stat-row:last-child {
    margin-bottom: 0;
}

.hero-stat {
    background: #F8FAFC;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #6B21A8;
    letter-spacing: -0.5px;
}

.hero-stat-label {
    display: block;
    font-size: 12px;
    color: #64748B;
    margin-top: 4px;
    font-weight: 500;
}

/* ==================== CHALLENGE ==================== */
.challenge-section {
    padding: 80px 0;
    background: #fff;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.challenge-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.25s ease;
    display: block;
}

.challenge-card:hover {
    border-color: #6B21A8;
    box-shadow: 0 12px 30px rgba(107, 33, 168, 0.1);
    transform: translateY(-4px);
}

.challenge-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.challenge-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.challenge-card p {
    font-size: 14.5px;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 16px;
}

.challenge-link {
    font-size: 14px;
    font-weight: 600;
    color: #6B21A8;
}

/* ==================== SERVICES ==================== */
.services-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #E2E8F0;
    transition: all 0.25s ease;
}

.service-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.service-icon {
    font-size: 26px;
    margin-bottom: 14px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14.5px;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 16px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: #6B21A8;
}

.service-link:hover {
    color: #4C1D95;
}

/* ==================== STATS ==================== */
.stats-section {
    padding: 60px 0;
    background: #0F172A;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #A855F7;
    letter-spacing: -1px;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #94A3B8;
    margin-top: 6px;
    font-weight: 500;
}

/* ==================== ABOUT HOME ==================== */
.about-home {
    padding: 80px 0;
    background: #fff;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-home-content p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-home-content .btn {
    margin-top: 12px;
}

.about-home-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-point {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
}

.about-point-num {
    font-size: 20px;
    font-weight: 800;
    color: #6B21A8;
    flex-shrink: 0;
}

.about-point h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.about-point p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
}

/* ==================== PROCESS ==================== */
.process-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 22px;
    border: 1px solid #E2E8F0;
    transition: all 0.25s ease;
}

.process-card:hover {
    border-color: #C4B5FD;
    box-shadow: 0 8px 24px rgba(107, 33, 168, 0.08);
}

.process-num {
    font-size: 28px;
    font-weight: 800;
    color: #E9D5FF;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.process-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.55;
}

/* ==================== RESULTS ==================== */
.results-section {
    padding: 80px 0;
    background: #fff;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.result-card {
    background: linear-gradient(145deg, #F5F3FF 0%, #F8FAFC 100%);
    border: 1px solid #E9D5FF;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
}

.result-pct {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #6B21A8;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.result-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.result-card p {
    font-size: 13.5px;
    color: #64748B;
    line-height: 1.5;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #4C1D95 0%, #6B21A8 50%, #7C3AED 100%);
}

.cta-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-banner-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.cta-banner-text p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    max-width: 480px;
}

/* ==================== FAQ ==================== */
.faq-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: none;
    border: none;
    font-size: 15.5px;
    font-weight: 600;
    color: #0F172A;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 16px;
}

.faq-question:hover {
    color: #6B21A8;
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: #6B21A8;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 22px 18px;
    font-size: 14.5px;
    color: #64748B;
    line-height: 1.65;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card {
        max-width: 100%;
    }

    .challenge-grid,
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid,
    .process-grid,
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 50px 0 50px;
    }

    .challenge-section,
    .services-section,
    .about-home,
    .process-section,
    .results-section,
    .faq-section {
        padding: 50px 0;
    }

    .challenge-grid,
    .services-grid,
    .stats-grid,
    .process-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-banner-text p {
        margin: 0 auto 8px;
    }
}