/* style/affiliate-program.css */
.page-affiliate-program {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-affiliate-program__section {
    padding: 60px 0;
    text-align: center;
}

.page-affiliate-program__section:nth-of-type(even) {
    background-color: #e9ecef;
}

.page-affiliate-program__section-title {
    font-size: 2.8em;
    color: #0056b3;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.page-affiliate-program__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: #ffd700;
    border-radius: 2px;
}

.page-affiliate-program__section-intro {
    font-size: 1.2em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-affiliate-program__hero {
    background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
    color: #fff;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    flex-wrap: wrap;
}

.page-affiliate-program__hero-content {
    max-width: 600px;
}

.page-affiliate-program__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffd700;
}

.page-affiliate-program__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-affiliate-program__hero-button {
    display: inline-block;
    background-color: #ffd700;
    color: #0056b3;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-affiliate-program__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-affiliate-program__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-affiliate-program__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Why Join Section */
.page-affiliate-program__why-join {
    background-color: #f8f9fa;
}

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

.page-affiliate-program__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-affiliate-program__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-affiliate-program__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.1));
}

.page-affiliate-program__feature-title {
    font-size: 1.6em;
    color: #0056b3;
    margin-bottom: 15px;
}

.page-affiliate-program__feature-description {
    font-size: 1.1em;
    color: #666;
}

/* How It Works Section */
.page-affiliate-program__how-it-works {
    background-color: #e9ecef;
}

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

.page-affiliate-program__step-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    position: relative;
    padding-left: 100px;
}

.page-affiliate-program__step-number {
    position: absolute;
    left: 30px;
    top: 40px;
    width: 50px;
    height: 50px;
    background-color: #0056b3;
    color: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-affiliate-program__step-title {
    font-size: 1.8em;
    color: #0056b3;
    margin-bottom: 15px;
}

.page-affiliate-program__step-description {
    font-size: 1.1em;
    color: #666;
}

.page-affiliate-program__cta-bottom {
    margin-top: 60px;
}

.page-affiliate-program__button {
    display: inline-block;
    background-color: #0056b3;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-affiliate-program__button:hover {
    background-color: #003d80;
    transform: translateY(-2px);
}

/* Commission Overview Section */
.page-affiliate-program__commission-overview {
    background-color: #f8f9fa;
}

.page-affiliate-program__commission-details {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
    text-align: left;
}

.page-affiliate-program__commission-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-affiliate-program__commission-text {
    flex: 2;
    min-width: 300px;
}

.page-affiliate-program__commission-text p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
}

.page-affiliate-program__button--secondary {
    background-color: #ffd700;
    color: #0056b3;
}

.page-affiliate-program__button--secondary:hover {
    background-color: #e6c200;
    color: #003d80;
}

/* Resources Section */
.page-affiliate-program__resources {
    background-color: #e9ecef;
}

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

.page-affiliate-program__resource-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.page-affiliate-program__resource-title {
    font-size: 1.5em;
    color: #0056b3;
    margin-bottom: 10px;
}

.page-affiliate-program__resource-description {
    font-size: 1.05em;
    color: #666;
}

.page-affiliate-program__button--bottom-cta {
    margin-top: 50px;
    font-size: 1.3em;
    padding: 18px 35px;
}

/* Detailed Info Section */
.page-affiliate-program__detailed-info {
    background-color: #f8f9fa;
}

.page-affiliate-program__detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-affiliate-program__detail-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-affiliate-program__detail-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #0056b3;
}

.page-affiliate-program__detail-title a {
    color: #0056b3;
    text-decoration: none;
}

.page-affiliate-program__detail-title a:hover {
    text-decoration: underline;
}

.page-affiliate-program__detail-description {
    font-size: 1.1em;
    color: #666;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-affiliate-program__button--small {
    padding: 10px 20px;
    font-size: 1em;
    align-self: flex-start;
    background-color: #0056b3;
    color: #fff;
}

.page-affiliate-program__button--small:hover {
    background-color: #003d80;
}

/* Final CTA Section */
.page-affiliate-program__final-cta {
    background: linear-gradient(135deg, #0056b3, #003d80);
    color: #fff;
    padding: 80px 0;
}

.page-affiliate-program__final-cta .page-affiliate-program__section-title {
    color: #ffd700;
}

.page-affiliate-program__final-cta .page-affiliate-program__section-intro {
    color: #e0e0e0;
}

.page-affiliate-program__button--large {
    font-size: 1.5em;
    padding: 20px 40px;
    background-color: #ffd700;
    color: #0056b3;
}

.page-affiliate-program__button--large:hover {
    background-color: #e6c200;
    color: #003d80;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-affiliate-program__hero {
        flex-direction: column;
        text-align: center;
    }

    .page-affiliate-program__hero-content {
        max-width: 100%;
    }

    .page-affiliate-program__hero-image-wrapper {
        max-width: 100%;
    }

    .page-affiliate-program__hero-title {
        font-size: 3em;
    }

    .page-affiliate-program__commission-details {
        flex-direction: column;
        text-align: center;
    }

    .page-affiliate-program__commission-text {
        min-width: unset;
    }

    .page-affiliate-program__commission-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-affiliate-program__section-title {
        font-size: 2.2em;
    }

    .page-affiliate-program__section-intro {
        font-size: 1.1em;
    }

    .page-affiliate-program__hero-title {
        font-size: 2.5em;
    }

    .page-affiliate-program__hero-description {
        font-size: 1.1em;
    }

    .page-affiliate-program__hero-button,
    .page-affiliate-program__button--bottom-cta,
    .page-affiliate-program__button--large {
        font-size: 1.1em;
        padding: 15px 25px;
    }

    .page-affiliate-program__steps-grid,
    .page-affiliate-program__features-grid,
    .page-affiliate-program__resources-grid,
    .page-affiliate-program__detail-list {
        grid-template-columns: 1fr;
    }

    .page-affiliate-program__step-item {
        padding-left: 30px;
        padding-top: 80px;
    }

    .page-affiliate-program__step-number {
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
    }

    .page-affiliate-program__feature-title,
    .page-affiliate-program__resource-title,
    .page-affiliate-program__detail-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .page-affiliate-program__section {
        padding: 40px 0;
    }

    .page-affiliate-program__hero {
        padding: 60px 0;
    }

    .page-affiliate-program__hero-title {
        font-size: 2em;
    }

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

    .page-affiliate-program__section-title {
        font-size: 1.8em;
    }

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

    .page-affiliate-program__button,
    .page-affiliate-program__hero-button,
    .page-affiliate-program__button--bottom-cta,
    .page-affiliate-program__button--large {
        width: 100%;
        box-sizing: border-box;
    }
}