/* ===========================================
   Home Page — Luiz Rangel
   Extends base styles.css
   =========================================== */

/* Problem Section */
.home-problem {
    padding: 80px 0;
    background: #1a202c;
    color: white;
}

.home-problem .section-header h2 {
    color: white;
    font-size: 2.2rem;
}

.home-problem .lead {
    color: #cbd5e0;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 3rem;
}

.problem-content {
    max-width: 1000px;
    margin: 0 auto;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f56565, #e53e3e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.problem-icon i {
    font-size: 1.4rem;
    color: white;
}

.problem-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.problem-card p {
    color: #cbd5e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.home-problem .problem-callout {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(245, 101, 101, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(245, 101, 101, 0.2);
}

.home-problem .problem-callout p {
    color: #e2e8f0;
    font-size: 1.1rem;
    margin: 0;
}

.home-problem .problem-callout strong {
    color: #fff;
}

/* Solution Section */
.home-solution {
    padding: 80px 0;
    background: white;
}

.solution-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.solution-text .lead {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.solution-text p {
    color: #666;
    line-height: 1.7;
}

.solution-creds {
    margin-top: 2rem;
}

.cred-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cred-item i {
    color: #38a169;
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.cred-item span {
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
}

.solution-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ICP Paths Section — Reuses LP styles with home prefix */
.home-paths {
    padding: 80px 0;
    background: #f8fafc;
}

.home-paths .paths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.home-paths .path-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.home-paths .path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.home-paths .path-primary {
    border-color: #667eea;
}

.home-paths .path-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.home-paths .path-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea10, #764ba210);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.home-paths .path-icon i {
    font-size: 1.5rem;
    color: #667eea;
}

.home-paths .path-card h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.home-paths .path-who {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.home-paths .path-description {
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.home-paths .path-gains {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.home-paths .path-gains li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.home-paths .path-gains li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 0.8rem;
}

.home-paths .path-offer {
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #4a5568;
}

/* How It Works — Reuses LP styles */
.home-how-it-works {
    padding: 80px 0;
    background: white;
}

.home-how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.home-how-it-works .step-card {
    background: #f8fafc;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.home-how-it-works .step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.home-how-it-works .step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
}

.home-how-it-works .step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea10, #764ba210);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 1.5rem;
}

.home-how-it-works .step-icon i {
    font-size: 1.8rem;
    color: #667eea;
}

.home-how-it-works .step-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.home-how-it-works .steps-result {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.home-how-it-works .steps-result i {
    font-size: 2rem;
    flex-shrink: 0;
}

.home-how-it-works .steps-result p {
    color: white;
    margin: 0;
    font-size: 1.05rem;
}

/* Social Proof Sectors — Reuses testimonial base styles */
.social-proof-sectors {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-proof-sectors p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.social-proof-sectors strong {
    color: white;
}

/* Differentiators Section */
.home-differentiators {
    padding: 80px 0;
    background: #f8fafc;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.diff-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.diff-item:hover {
    transform: translateY(-5px);
    border-color: #667eea;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.1);
}

.diff-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.diff-icon i {
    font-size: 1.8rem;
    color: white;
}

.diff-item h3 {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.diff-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Final CTA Section */
.home-final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
}

.final-cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-box h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.final-cta-box .lead {
    color: #cbd5e0;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.final-cta-box .lead strong {
    color: white;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.final-cta-buttons .secondary-button {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.final-cta-buttons .secondary-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
}

.final-cta-micro {
    color: #a0aec0;
    font-size: 0.9rem;
    margin: 0;
}

.final-cta-micro i {
    margin-right: 0.3rem;
}

/* Ecosystem Section */
.home-ecosystem {
    padding: 40px 0;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.home-ecosystem .ecosystem-content {
    text-align: center;
}

.home-ecosystem .ecosystem-label {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.home-ecosystem .ecosystem-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.home-ecosystem .ecosystem-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.home-ecosystem .ecosystem-brand strong {
    color: #2d3748;
    font-size: 1.1rem;
}

.home-ecosystem .ecosystem-brand span {
    color: #999;
    font-size: 0.85rem;
}

.home-ecosystem .ecosystem-divider {
    color: #cbd5e0;
    font-size: 0.8rem;
}

/* ===========================
   Responsive Overrides
   =========================== */
@media (max-width: 768px) {
    .problem-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution-image {
        order: -1;
    }

    .solution-image img {
        height: 250px;
    }

    .home-paths .paths-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-paths .path-primary {
        order: -1;
    }

    .home-how-it-works .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-how-it-works .steps-result {
        flex-direction: column;
        text-align: center;
    }

    .diff-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-box h2 {
        font-size: 1.8rem;
    }

    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .final-cta-buttons .primary-button,
    .final-cta-buttons .secondary-button {
        width: 100%;
        justify-content: center;
    }

    .home-problem .section-header h2 {
        font-size: 1.8rem;
    }

    .home-ecosystem .ecosystem-brands {
        flex-direction: column;
        gap: 1rem;
    }

    .home-ecosystem .ecosystem-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .home-problem .section-header h2 {
        font-size: 1.5rem;
    }

    .problem-card {
        padding: 1.5rem;
    }

    .final-cta-box h2 {
        font-size: 1.5rem;
    }
}
