.page-affiliate-program {
    font-family: Arial, sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-affiliate-program__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-affiliate-program__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    padding: 40px 20px 60px;
    background-color: #2F6BFF; /* Primary Color */
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-affiliate-program__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-affiliate-program__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-affiliate-program__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-affiliate-program__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Using clamp as required */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-affiliate-program__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #E0E0E0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-affiliate-program__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    font-size: 1.05em;
}

.page-affiliate-program__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-affiliate-program__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #1F2D3D; /* Text Main */
    padding-top: 40px;
}

.page-affiliate-program__section-title--light {
    color: #FFFFFF;
}

.page-affiliate-program__text-content {
    font-size: 1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #1F2D3D; /* Text Main */
}

.page-affiliate-program__text-content--light {
    color: #E0E0E0;
}

/* Benefits Section */
.page-affiliate-program__benefits-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-affiliate-program__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-affiliate-program__benefit-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border */
}

.page-affiliate-program__benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-affiliate-program__benefit-icon {
    width: 200px; /* Min size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-affiliate-program__card-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #1F2D3D; /* Text Main */
}

.page-affiliate-program__card-description {
    font-size: 0.95em;
    color: #000000; /* Custom Color_1776249996415 */
}

/* How It Works Section */
.page-affiliate-program__how-it-works-section {
    padding: 60px 0;
    background-color: #6FA3FF; /* Secondary Color */
    color: #FFFFFF;
}

.page-affiliate-program__how-it-works-section .page-affiliate-program__section-title {
    color: #FFFFFF;
}

.page-affiliate-program__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-affiliate-program__step-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-affiliate-program__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
    background-color: #2F6BFF; /* Primary Color */
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.page-affiliate-program__how-it-works-section .page-affiliate-program__card-title {
    color: #FFFFFF;
}

.page-affiliate-program__how-it-works-section .page-affiliate-program__card-description {
    color: #E0E0E0;
}

.page-affiliate-program__cta-button--centered {
    margin: 0 auto;
    display: block;
}

/* Commission Section */
.page-affiliate-program__commission-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-affiliate-program__commission-table {
    width: 100%;
    margin-top: 30px;
    border-collapse: collapse;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden; /* For border-radius on table */
}

.page-affiliate-program__table-header,
.page-affiliate-program__table-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid #D6E2FF; /* Border */
}

.page-affiliate-program__table-header {
    background-color: #2F6BFF; /* Primary Color */
    color: #FFFFFF;
    font-weight: bold;
}

.page-affiliate-program__table-header .page-affiliate-program__table-cell {
    padding: 15px 20px;
    text-align: center;
}

.page-affiliate-program__table-row {
    background-color: #FFFFFF; /* Card BG */
}

.page-affiliate-program__table-row:nth-child(even) {
    background-color: #F8FAFC; /* Slightly different background for readability */
}

.page-affiliate-program__table-cell {
    padding: 15px 20px;
    text-align: center;
    color: #000000; /* Custom Color_1776249996415 */
    border-right: 1px solid #D6E2FF; /* Border */
}

.page-affiliate-program__table-cell:last-child {
    border-right: none;
}

.page-affiliate-program__note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}

/* FAQ Section */
.page-affiliate-program__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
}

.page-affiliate-program__faq-item {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-affiliate-program__faq-question {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2F6BFF; /* Primary Color */
    cursor: pointer;
}

.page-affiliate-program__faq-answer {
    font-size: 1em;
    color: #000000; /* Custom Color_1776249996415 */
    display: none; /* Hidden by default, JS will toggle */
    padding-top: 10px;
    border-top: 1px solid #D6E2FF;
    margin-top: 10px;
}

.page-affiliate-program__faq-item.active .page-affiliate-program__faq-answer {
    display: block;
}

/* Final CTA Section */
.page-affiliate-program__cta-section {
    background-color: #2F6BFF; /* Primary Color */
    padding: 60px 20px;
    text-align: center;
    color: #FFFFFF;
    margin-top: 40px;
}

.page-affiliate-program__cta-container {
    padding: 20px;
}

.page-affiliate-program__cta-button--alt {
    background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%); /* Using a lighter blue gradient for distinction */
}

.page-affiliate-program__cta-button--alt:hover {
    background: linear-gradient(180deg, #4A8BFF 0%, #6FA3FF 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-affiliate-program__hero-section {
        padding: 30px 15px 40px;
    }

    .page-affiliate-program__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-affiliate-program__description {
        font-size: 1em;
    }

    .page-affiliate-program__cta-button {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .page-affiliate-program__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-affiliate-program__benefits-grid,
    .page-affiliate-program__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-affiliate-program__benefit-card,
    .page-affiliate-program__step-card {
        padding: 20px;
    }

    .page-affiliate-program__benefit-icon {
        width: 250px; /* Ensure min size 200px */
        height: auto;
    }

    .page-affiliate-program__commission-table {
        overflow-x: auto; /* Allow horizontal scroll for table on small screens */
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
    }

    .page-affiliate-program__table-header,
    .page-affiliate-program__table-row {
        grid-template-columns: repeat(3, minmax(100px, 1fr)); /* Allow columns to shrink */
    }

    .page-affiliate-program__table-cell {
        font-size: 0.9em;
        padding: 10px;
    }

    /* Mobile overflow constraint */
    .page-affiliate-program img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-affiliate-program__hero-image {
        border-radius: 0;
    }
}