.page-register {
    color: #333333; /* Dark text for default white body background */
}

.page-register__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* For fixed header */
    background-color: #000000; /* Dark background for hero text overlay to ensure contrast */
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.page-register__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #FFFFFF;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #F0F0F0;
}

.page-register__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-register__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-register__button--primary {
    background-color: #FCBC45;
    color: #000000;
}

.page-register__button--primary:hover {
    background-color: #E6A83E;
    transform: translateY(-2px);
}

.page-register__button--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-register__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-register__section {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.page-register__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-register__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-register__section-intro {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.6;
}

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

.page-register__why-join-item {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__why-join-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__why-join-icon {
    width: 400px; /* Matching HTML width, ensuring min size */
    height: 300px; /* Matching HTML height, ensuring min size */
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 8px;
}

.page-register__why-join-heading {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__why-join-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
}

.page-register__steps {
    background-color: #F5F5F5;
}

.page-register__steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

.page-register__steps-item {
    background-color: #FFFFFF;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.page-register__steps-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    font-size: 2.2em;
    font-weight: bold;
    color: #FCBC45;
    flex-shrink: 0;
    line-height: 1;
}

.page-register__steps-heading {
    font-size: 1.6em;
    color: #000000;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-register__steps-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
}

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

.page-register__cta-text {
    font-size: 1.3em;
    color: #000000;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-register__conditions {
    background-color: #FFFFFF;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-register__conditions-item {
    background-color: #F8F8F8;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-register__conditions-heading {
    font-size: 1.4em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-register__conditions-text {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
}

.page-register__faq {
    background-color: #F5F5F5;
}

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

.page-register__faq-item {
    background-color: #FFFFFF;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-register__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    position: relative;
    user-select: none;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E0E0E0;
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: #F0F0F0;
}

.page-register__faq-question::marker {
    display: none;
}

.page-register__faq-toggle {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    color: #FCBC45;
}

.page-register__faq-item[open] .page-register__faq-question {
    border-bottom: 1px solid transparent; /* Hide border when open */
}

.page-register__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #555555;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-register__cta-final {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 100px 20px;
}

.page-register__cta-final-content {
    max-width: 800px;
}

.page-register__cta-final-title {
    font-size: 3em;
    color: #FFFFFF;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-register__cta-final-description {
    font-size: 1.3em;
    color: #F0F0F0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-register__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 2.8em;
    }

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

    .page-register__cta-final-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 80px);
    }

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

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

    .page-register__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-register__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-register__section {
        padding: 50px 15px;
    }

    .page-register__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-register__section-intro {
        margin-bottom: 40px;
    }

    .page-register__why-join-icon {
        width: 100%; /* Allows it to scale up to max-width */
        height: auto;
        min-width: 200px;
        min-height: 150px;
    }

    .page-register__steps-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .page-register__steps-item::before {
        margin-bottom: 10px;
    }

    .page-register__conditions-list {
        grid-template-columns: 1fr;
    }

    .page-register__faq-question {
        font-size: 1em;
        padding: 18px 20px;
    }

    .page-register__faq-toggle {
        right: 20px;
    }

    .page-register__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-register__cta-final {
        padding: 60px 15px;
    }

    .page-register__cta-final-title {
        font-size: 2em;
    }

    .page-register__cta-final-description {
        font-size: 1.1em;
    }

    /* Ensure all images in content area are responsive and not too small */
    .page-register img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min size for content images */
        min- /* Enforce min size for content images */
        object-fit: cover; /* Adjust as needed */
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 1.8em;
    }
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__cta-final-title {
        font-size: 1.8em;
    }
}