/* ============================================================
   HOME PAGE REDESIGN - NEW SECTIONS STYLING
   ============================================================ */

/* Common Section Elements */
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #E8F5E9 0%, #D4F1E3 100%);
    color: #2CCE80;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 2px solid rgba(44, 206, 128, 0.2);
    box-shadow: 0 2px 8px rgba(44, 206, 128, 0.15);
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 28px auto;
    padding-top: 10px;
}

.section-header-center h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2em;
    color: #000000;
    margin: 12px 0;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6em;
    color: #666666;
    margin-top: 12px;
}

/* ============================================================
   HOW IT WORKS SECTION - REDESIGNED
   ============================================================ */

.how-it-works-section {
    padding: 50px 0 50px 0;
    background: #FFFFFF;
    position: relative;
}

.how-it-works-container {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding-horizontal);
    position: relative;
    z-index: 1;
}

/* Process Timeline */
.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 32px;
    padding-top: 28px;
    position: relative;
}

/* Extra spacing for the "SIMPLE PROCESS" tag below the timeline */
.how-it-works-section .section-tag {
    margin-top: 32px;
}

.process-step {
    flex: 1 1 0;
    min-width: 0;
    height: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
    background: linear-gradient(135deg, #F5F7F6 0%, #E8EFEB 100%);
    border-radius: 16px;
    border: 1px solid #D5D8DC;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: #2CCE80;
    box-shadow: 0 12px 32px rgba(44, 206, 128, 0.25);
    background: linear-gradient(135deg, #E8EFEB 0%, #D4F1E3 100%);
}

.process-step:nth-child(2) {
    background: linear-gradient(135deg, #F0F2F4 0%, #E8EAEC 100%);
    border-color: #D0D5DA;
}

.process-step:nth-child(2):hover {
    background: linear-gradient(135deg, #E8EAEC 0%, #D4F1E3 100%);
}

.process-step:nth-child(4) {
    background: linear-gradient(135deg, #FAFBFC 0%, #F0F2F4 100%);
    border-color: #CED3D8;
}

.process-step:nth-child(4):hover {
    background: linear-gradient(135deg, #F0F2F4 0%, #D4F1E3 100%);
}

.step-number {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2CCE80 0%, #00B36B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(44, 206, 128, 0.3);
    z-index: 2;
}

.step-icon {
    margin-top: auto;
    padding-top: 20px;
}

.step-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
}

.step-content h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3em;
    color: #000000;
    margin-bottom: 12px;
    margin-top: 8px;
    min-height: 31px;
}

.step-content > p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6em;
    color: #666666;
    margin-bottom: 20px;
    min-height: 77px;
}

.step-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
}

.step-features li {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #2CCE80;
    padding: 4px 0 4px 24px;
    position: relative;
}

.step-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 4px;
    font-weight: 700;
    color: #2CCE80;
}

/* Process Connector */
.process-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #E0E0E0 0%, #2CCE80 50%, #E0E0E0 100%);
    align-self: center;
    margin-top: 80px;
    position: relative;
}

.process-connector::after {
    content: '→';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: #2CCE80;
    font-size: 20px;
    font-weight: 700;
}

/* CTA Bottom */
.cta-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: none;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #2CCE80 0%, #00B36B 100%);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5em;
    text-decoration: none;
    border-radius: 8px;
    height: auto;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(44, 206, 128, 0.25);
    border: none;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 206, 128, 0.35);
}

.cta-note {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #999999;
    margin-top: 8px;
}

/* ============================================================
   FUNDING INTRO SECTION - REDESIGNED
   ============================================================ */

.funding-intro-section {
    padding: 40px 0 60px 0;
    background: #F5F5F5;
    position: relative;
    overflow: hidden;
}

.funding-intro-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 110, 115, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.funding-intro-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 110, 115, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.funding-intro-container {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding-horizontal);
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

/* Image Container */
.uses-image-container {
    position: relative;
    background: linear-gradient(135deg, #2CCE80 0%, #26B870 100%);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 12px 40px rgba(44, 206, 128, 0.25);
    transition: all 0.4s ease;
}

.uses-image-container:hover {
    box-shadow: 0 20px 60px rgba(44, 206, 128, 0.35);
    transform: translateY(-8px);
}

.uses-man-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: block;
}

/* Intro Content */
.intro-content {
    flex: 1;
}

.intro-content h2,
.uses-content h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2em;
    color: #000000;
    margin: 16px 0 24px 0;
    letter-spacing: -0.02em;
}

.section-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6em;
    color: #666666;
    margin-bottom: 40px;
}

/* ============================================================
   FUNDING CATEGORIES SECTION
   ============================================================ */

.funding-categories-section {
    padding: 40px 0 45px 0;
    background: linear-gradient(135deg, #F5FFFB 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.funding-categories-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(44, 206, 128, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.funding-categories-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(44, 206, 128, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.funding-categories-container {
    max-width: var(--page-max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding-horizontal);
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 40px;
    padding: 32px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 2px solid #E0E4E8;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
}

.stat-item:not(:last-child)::after { display: none; }

.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2em;
    color: #2CCE80;
    margin-bottom: 8px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4em;
    color: #666666;
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #2CCE80;
    color: #FFFFFF;
    border: 2px solid #2CCE80;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5em;
    text-decoration: none;
    border-radius: 8px;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    background: #26B870;
    border-color: #26B870;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 206, 128, 0.35);
}

/* Uses Grid */
.uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.use-category {
    background: #FFFFFF;
    padding: 18px;
    border-radius: 12px;
    border: 2px solid #E0E4E8;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.use-category::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 206, 128, 0.05) 0%, transparent 60%);
    border-radius: 0 12px 0 100%;
    transition: all 0.3s ease;
}

.use-category::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 40%, rgba(44, 206, 128, 0.03) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.use-category:hover {
    border-color: #2CCE80;
    box-shadow: 0 8px 24px rgba(44, 206, 128, 0.25);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #FFFFFF 0%, #F0FFF9 100%);
}

.use-category:hover::before {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(44, 206, 128, 0.1) 0%, transparent 60%);
}

.use-category:hover::after {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent 40%, rgba(44, 206, 128, 0.08) 100%);
}

/* Professional white cards with green accent variations */
.use-category:nth-child(1) {
    border-left: 4px solid #2CCE80;
}

.use-category:nth-child(1) .category-icon {
    background: linear-gradient(135deg, #E8F9F3 0%, #D4F1E3 100%);
    box-shadow: 0 4px 12px rgba(44, 206, 128, 0.15);
}

.use-category:nth-child(1):hover .category-icon {
    box-shadow: 0 6px 16px rgba(44, 206, 128, 0.25);
    transform: scale(1.05);
}

.use-category:nth-child(2) {
    border-top: 4px solid #2CCE80;
}

.use-category:nth-child(2) .category-icon {
    background: linear-gradient(135deg, #D4F1E3 0%, #C0EBD7 100%);
    box-shadow: 0 4px 12px rgba(44, 206, 128, 0.15);
}

.use-category:nth-child(2):hover .category-icon {
    box-shadow: 0 6px 16px rgba(44, 206, 128, 0.25);
    transform: scale(1.05);
}

.use-category:nth-child(3) {
    border-right: 4px solid #2CCE80;
}

.use-category:nth-child(3) .category-icon {
    background: linear-gradient(135deg, #C0EBD7 0%, #ADE4CB 100%);
    box-shadow: 0 4px 12px rgba(44, 206, 128, 0.15);
}

.use-category:nth-child(3):hover .category-icon {
    box-shadow: 0 6px 16px rgba(44, 206, 128, 0.25);
    transform: scale(1.05);
}

.use-category:nth-child(4) {
    border-bottom: 4px solid #2CCE80;
}

.use-category:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #ADE4CB 0%, #9ADDBF 100%);
    box-shadow: 0 4px 12px rgba(44, 206, 128, 0.15);
}

.use-category:nth-child(4):hover .category-icon {
    box-shadow: 0 6px 16px rgba(44, 206, 128, 0.25);
    transform: scale(1.05);
}

.category-icon {
    width: 44px;
    height: 44px;
    background: #E8F5E9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 2px solid rgba(44, 206, 128, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.category-icon svg {
    width: 24px;
    height: 24px;
}

.use-category:hover .category-icon {
    border-color: #2CCE80;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(44, 206, 128, 0.2);
}

.use-category h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3em;
    color: #000000;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid rgba(44, 206, 128, 0.15);
    position: relative;
    z-index: 2;
}

.use-category:hover h3 {
    color: #2CCE80;
    border-bottom-color: rgba(44, 206, 128, 0.4);
}

.use-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-category ul li {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5em;
    color: #666666;
    padding: 4px 0 4px 24px;
    position: relative;
    transition: all 0.2s ease;
}

.use-category ul li:hover {
    color: #2CCE80;
    padding-left: 28px;
}

.use-category ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 4px;
    color: #2CCE80;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s ease;
}

.use-category ul li:hover::before {
    left: 4px;
    color: #26B870;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */

@media (max-width: 1200px) {
    .uses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .process-timeline {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 20px;
    }
    
    .process-connector {
        width: 2px;
        height: 28px;
        margin: 0 auto;
        background: linear-gradient(180deg, #E0E0E0 0%, #2CCE80 50%, #E0E0E0 100%);
    }
    
    .process-connector::after {
        content: '↓';
        right: auto;
        bottom: -20px;
        top: auto;
        transform: translateX(-50%);
        left: 50%;
    }
    
    .funding-intro-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .uses-image-container {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section-header-center h2 {
        font-size: 36px;
    }
    
    .how-it-works-section {
        padding: 45px 0 45px 0;
    }
    
    .process-timeline {
        gap: 20px;
        margin-bottom: 16px;
    }
    
    .process-connector {
        height: 20px;
    }
    
    .funding-intro-section {
        padding: 30px 0 40px 0;
    }
    
    .funding-categories-section {
        padding: 40px 0 60px 0;
    }
    
    .process-step {
        padding: 20px 16px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
    
    /* Normalize buttons on mobile - full width and unified font */
    .btn-secondary-outline {
        display: inline-flex;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 16px;
        height: auto;
        padding: 14px 16px;
        box-sizing: border-box;
        text-align: center;
        margin: 12px 0 0 0;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }
    
    .intro-content h2,
    .uses-content h2 {
        font-size: 32px;
    }
    
    .uses-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .use-category {
        padding: 20px;
    }
    
    .use-category h3 {
        font-size: 18px;
    }
    
    .use-category ul li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section-header-center h2 {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .process-timeline {
        gap: 16px;
        margin-bottom: 12px;
    }
    
    .process-connector {
        height: 16px;
    }
    
    .step-content h3 {
        font-size: 18px;
    }
    
    .step-content > p {
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .intro-content h2,
    .uses-content h2 {
        font-size: 26px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .btn-primary-large {
        width: 100%;
        padding: 14px 32px;
    }
}

