/* style/register.css */

.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background: #F4F7FB; /* Body background color from shared.css */
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-register__hero-section {
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Main brand color gradient */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-register__hero-section .page-register__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-register__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-register__main-title {
    font-size: 3.2em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-register__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-register__hero-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* General Section Styles */
.page-register__light-bg {
    background: #F4F7FB; /* Custom Background color */
    color: #333333;
}

.page-register__dark-section {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Main brand color gradient */
    color: #ffffff;
}

.page-register__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: inherit;
}

.page-register__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: inherit;
}

/* Why Join Section */
.page-register__why-join-section {
    padding: 80px 0;
}

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

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

.page-register__benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register__benefit-image {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__benefit-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-register__benefit-description {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D; /* Custom Text Main color */
}

/* Steps Section */
.page-register__steps-section {
    padding: 80px 0;
}

.page-register__steps-section .page-register__section-title,
.page-register__steps-section .page-register__section-intro {
    color: #ffffff;
}

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

.page-register__step-card {
    background: #FFFFFF; /* Custom Card BG color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #D6E2FF; /* Custom Border color */
    color: #1F2D3D; /* Custom Text Main color */
}

.page-register__step-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-register__step-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D; /* Custom Text Main color */
}

.page-register__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

/* Tips Section */
.page-register__tips-section {
    padding: 80px 0;
}

.page-register__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page-register__tip-item {
    background: #FFFFFF; /* Custom Card BG color */
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #2F6BFF;
    color: #1F2D3D; /* Custom Text Main color */
}

.page-register__tip-heading {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-register__tip-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D; /* Custom Text Main color */
}

/* Promotions Section */
.page-register__promotions-section {
    padding: 80px 0;
}

.page-register__promotions-section .page-register__section-title,
.page-register__promotions-section .page-register__section-intro {
    color: #ffffff;
}

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

.page-register__promo-card {
    background: #FFFFFF; /* Custom Card BG color */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #D6E2FF; /* Custom Border color */
    color: #1F2D3D; /* Custom Text Main color */
}

.page-register__promo-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-register__promo-description {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #1F2D3D; /* Custom Text Main color */
}

.page-register__btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: #ffffff;
    color: #2F6BFF;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    border: 2px solid #2F6BFF;
    transition: all 0.3s ease;
}

.page-register__btn-secondary:hover {
    background: #2F6BFF;
    color: #ffffff;
}

/* FAQ Section */
.page-register__faq-section {
    padding: 80px 0;
}

.page-register__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-register__faq-item {
    background: #FFFFFF; /* Custom Card BG color */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #D6E2FF; /* Custom Border color */
    color: #1F2D3D; /* Custom Text Main color */
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    color: #000000; /* Custom Color_1776249996415 */
    list-style: none;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    content: '-';
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg); /* Change + to X */
}

.page-register__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #1F2D3D; /* Custom Text Main color */
}

.page-register__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-register__cta-final-section {
    padding: 80px 0 100px 0;
    text-align: center;
}

.page-register__cta-final-section .page-register__section-title,
.page-register__cta-final-section .page-register__section-intro {
    color: #ffffff;
}

/* Universal Image and Button Responsive Styles */
.page-register img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register a[class*="button"],
.page-register a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__cta-buttons,
.page-register__button-group,
.page-register__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-register__container {
        padding: 15px;
    }

    .page-register__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
    }

    .page-register__main-title {
        font-size: 2.2em;
    }

    .page-register__description {
        font-size: 1em;
    }

    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-register__cta-buttons,
    .page-register__button-group,
    .page-register__btn-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .page-register__hero-image-wrapper {
        margin-top: 30px;
    }

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

    .page-register__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-register__why-join-section,
    .page-register__steps-section,
    .page-register__tips-section,
    .page-register__promotions-section,
    .page-register__faq-section,
    .page-register__cta-final-section {
        padding: 40px 0;
    }

    .page-register__benefits-grid,
    .page-register__step-grid,
    .page-register__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-register__benefit-card,
    .page-register__step-card,
    .page-register__promo-card {
        padding: 20px;
    }

    .page-register__benefit-title,
    .page-register__step-title,
    .page-register__promo-title {
        font-size: 1.3em;
    }

    .page-register__tip-item {
        padding: 20px;
    }

    .page-register__tip-heading {
        font-size: 1.2em;
    }

    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-register__faq-answer {
        padding: 0 15px 15px 15px;
    }
    
    /* Universal Image Responsive Styles */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-register__hero-section,
    .page-register__why-join-section,
    .page-register__steps-section,
    .page-register__tips-section,
    .page-register__promotions-section,
    .page-register__faq-section,
    .page-register__cta-final-section,
    .page-register__card,
    .page-register__benefit-card,
    .page-register__step-card,
    .page-register__promo-card,
    .page-register__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Add padding to prevent content touching edges on mobile */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-register__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-register__hero-section .page-register__container,
    .page-register__why-join-section .page-register__container,
    .page-register__steps-section .page-register__container,
    .page-register__tips-section .page-register__container,
    .page-register__promotions-section .page-register__container,
    .page-register__faq-section .page-register__container,
    .page-register__cta-final-section .page-register__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}