/* ==========================================
   HOME PAGE - ADDITIONAL STYLES
   Supplements styles.css for new sections
   ========================================== */

/* ==========================================
   HERO ENHANCEMENTS
   ========================================== */
#home.hero-section {
    background: linear-gradient(135deg, var(--primary-brown) 0%, #6B4E2A 40%, var(--accent-gold) 100%);
    color: #fff;
    padding: 160px 2rem 80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: none !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.hero-highlight {
    color: #FFD97D;
    -webkit-text-fill-color: #FFD97D;
}

.hero-subtitle {
    color: rgba(255,255,255,0.92) !important;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 540px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.hero-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2rem;
}

.tool-tag {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.tool-tag:hover {
    background: rgba(255,255,255,0.25);
}

/* ==========================================
   TRUST SECTION ENHANCEMENTS
   ========================================== */
.trust-tagline {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
}

/* ==========================================
   REGIONS GRID
   ========================================== */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.region-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.region-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.13);
    border-color: var(--primary-green);
}

.region-card--featured {
    border-color: var(--primary-brown);
    background: linear-gradient(145deg, #fffaf5, #fff);
    position: relative;
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(139,111,71,0.2);
}

.region-card--featured:hover {
    border-color: var(--accent-gold);
    transform: translateY(-14px);
}

.region-flag {
    font-size: 2.8rem;
    margin-bottom: 0.25rem;
}

.region-title {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin: 0;
}

.region-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.region-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.region-list li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.2rem 0;
}

/* ==========================================
   GROWTH SECTION
   ========================================== */
.growth-intro {
    margin-bottom: 3rem;
}

.growth-intro .service-badge {
    margin-bottom: 1rem;
}

.growth-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.growth-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #ece8e0;
    text-align: center;
    transition: all 0.3s ease;
}

.growth-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
    border-color: var(--primary-green);
}

.growth-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.growth-title {
    font-size: 1.05rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.growth-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   CFO SECTION
   ========================================== */
.cfo-section {
    background: linear-gradient(135deg, #1a2332 0%, #2d3f55 100%);
    color: #fff;
}

.cfo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cfo-content .service-badge {
    background: rgba(168,197,184,0.25);
    border: 1px solid rgba(168,197,184,0.4);
    color: var(--light-green);
}

.cfo-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #fff;
    line-height: 1.2;
    margin: 1rem 0;
}

.cfo-desc {
    color: rgba(255,255,255,0.78);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.cfo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cfo-list li {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cfo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cfo-stats-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    backdrop-filter: blur(10px);
}

.cfo-metric {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cfo-metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cfo-metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #FFD97D;
    margin-bottom: 0.3rem;
}

.cfo-metric-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   HOW IT WORKS - STEPS
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
    margin-top: 1rem;
}

.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, var(--primary-brown), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    display: block;
}

.step-title {
    font-size: 1rem;
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-brown), var(--accent-gold));
    flex-shrink: 0;
    margin: 0 0.5rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .regions-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }

    .region-card--featured {
        transform: none;
    }

    .growth-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .step-connector {
        display: none;
    }

    .cfo-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

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

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

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

    .step-connector {
        display: none;
    }

    .hero-tools {
        gap: 0.5rem;
    }

    .cfo-stats-card {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .growth-grid {
        grid-template-columns: 1fr;
    }

    .hero-badge {
        font-size: 0.75rem;
    }
}

/* ==========================================
   ADDITIONAL RESPONSIVE POLISH
   Smooth tablet step + mobile spacing
   ========================================== */

/* Tablet refinement (between mobile-menu 1100px and tablet 1024px) */
@media (max-width: 1100px) and (min-width: 769px) {
    .regions-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 760px;
        margin: 0 auto;
    }
    .region-card--featured { transform: none; }
    .region-card--featured:hover { transform: translateY(-8px); }
}

/* Hero & section spacing tightens on tablet */
@media (max-width: 1024px) {
    #home.hero-section { padding: 140px 1.5rem 70px; }
}

/* Mobile (≤768px) — typography + spacing */
@media (max-width: 768px) {
    #home.hero-section { padding: 120px 1.25rem 60px; }
    .hero-subtitle { font-size: 1rem; max-width: 100%; }
    .hero-tools { justify-content: flex-start; }
    .region-card { padding: 2rem 1.5rem; }
    .growth-card { padding: 1.75rem 1.25rem; }
    .step-card { padding: 1.75rem 1.25rem; }
    .cfo-stats-card { padding: 2rem 1.5rem; }
    .cfo-metric-value { font-size: 2rem; }
    .trust-tagline { font-size: 0.9rem; letter-spacing: 1px; }
}

/* Small mobile (≤480px) */
@media (max-width: 480px) {
    #home.hero-section { padding: 110px 1rem 50px; }
    .hero-title { font-size: 1.75rem !important; line-height: 1.25; }
    .hero-subtitle { font-size: 0.95rem; line-height: 1.7; }
    .region-flag { font-size: 2.2rem; }
    .region-title { font-size: 1.15rem; }
    .growth-icon { font-size: 2rem; }
    .step-number { font-size: 2rem; }
    .cfo-stats-card { padding: 1.5rem 1.25rem; gap: 1.25rem; }
    .cfo-metric-value { font-size: 1.65rem; }
    .cfo-list li { font-size: 0.92rem; padding: 0.4rem 0; }
    .trust-tagline { font-size: 0.82rem; }
}

/* Tiny mobile (≤360px) — guarantees no horizontal scroll on small Androids */
@media (max-width: 360px) {
    #home.hero-section { padding: 100px 0.9rem 40px; }
    .hero-title { font-size: 1.55rem !important; }
    .tool-tag { font-size: 0.72rem; padding: 0.3rem 0.75rem; }
    .region-card,
    .growth-card,
    .step-card { padding: 1.5rem 1rem; }
}

/* ==========================================
   JOURNEY TIMELINE SECTION
   ========================================== */
.timeline-section {
    padding: 100px 2rem;
    position: relative;
    background: #F8F6F3;
}

.timeline-container {
    max-width: 1100px;
    margin: 40px auto 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-brown) 0%, var(--primary-green) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 30px;
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 0;
    margin-left: 50%;
}

.timeline-badge {
    position: absolute;
    right: -15px;
    top: 30px;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 3px solid var(--primary-brown);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-badge {
    left: -15px;
    border-color: var(--primary-green);
}

.timeline-item:hover .timeline-badge {
    transform: scale(1.2);
    background: var(--accent-gold);
}

.timeline-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #ece8e0;
    transition: all 0.3s ease;
    width: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-item:nth-child(even) .timeline-year {
    color: var(--primary-green);
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   PLATFORMS LOGO GRID
   ========================================== */
.platforms-section {
    padding: 100px 2rem;
    background: #fff;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 40px auto 0;
}

.platform-card {
    background: #F8F6F3;
    border: 1px solid #ece8e0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.platform-card:hover {
    background: #fff;
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.platform-logo-icon {
    font-size: 2.2rem;
}

.platform-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.platform-use {
    font-size: 0.82rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ==========================================
   TIMELINE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
        transform: none;
    }
    
    .timeline-item {
        width: 100%;
        justify-content: flex-start;
        padding-left: 45px;
        padding-right: 0;
        margin-left: 0 !important;
        margin-bottom: 40px;
    }
    
    .timeline-badge {
        left: 5px !important;
        right: auto !important;
        top: 25px;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}
