.page-register {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for first section to avoid being directly against header */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Default to column for mobile first approach */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    overflow: hidden;
    background-color: #0A4B2C; /* Deep Green for hero section background */
    margin-bottom: 40px;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 600px; /* Limit hero image height */
    margin-bottom: 20px; /* Space between image and content on mobile */
}

.page-register__hero-content {
    position: relative; /* Ensure content is above any background layering */
    z-index: 2;
    max-width: 800px;
}

.page-register__main-title {
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2C14E; /* Gold */
}

.page-register__hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-register__hero-cta,
.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px; /* Ensure buttons are not too small */
    min-height: 44px; /* Ensure buttons are accessible */
}

.page-register__hero-cta:hover,
.page-register__cta-button:hover,
.page-register__submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(87, 227, 141, 0.4); /* Glow */
}

/* Section Titles */
.page-register__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #F2C14E; /* Gold */
    position: relative;
    padding-bottom: 15px;
}

.page-register__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #2AD16F; /* A vibrant green from button gradient */
    border-radius: 2px;
}

/* Form Section */
.page-register__form-section {
    padding: 60px 0;
}

.page-register__form-card {
    background-color: #11271B; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #2E7A4E; /* Border */
}

.page-register__form-group {
    margin-bottom: 25px;
}

.page-register__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
}

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-size: 1rem;
    box-sizing: border-box;
}

.page-register__form-input::placeholder {
    color: #A7D9B8; /* Text Secondary */
    opacity: 0.7;
}

.page-register__form-input:focus {
    outline: none;
    border-color: #57E38D; /* Glow */
    box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3); /* Glow */
}

.page-register__checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.page-register__form-checkbox {
    margin-right: 10px;
    min-width: 20px; /* Accessible checkbox size */
    min-height: 20px; /* Accessible checkbox size */
}

.page-register__checkbox-label {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-register__checkbox-label a {
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
}

.page-register__checkbox-label a:hover {
    text-decoration: underline;
}

.page-register__submit-button {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    color: #F2FFF6; /* Text Main */
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 44px; /* Ensure buttons are accessible */
}

.page-register__login-prompt {
    text-align: center;
    margin-top: 30px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-register__login-prompt a {
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: bold;
}

.page-register__login-prompt a:hover {
    text-decoration: underline;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green */
    margin-bottom: 40px;
}

.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-color: #11271B; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #2E7A4E; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.page-register__benefit-icon {
    width: 250px; /* Enforce min size > 200px */
    height: 187px; /* Maintain aspect ratio for 400x300 source */
    object-fit: cover;
    margin: 0 auto 20px;
    border-radius: 8px;
    display: block; /* Ensure it's a block element */
}

.page-register__benefit-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #F2C14E; /* Gold */
}

.page-register__benefit-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-register__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-register__cta-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #F2FFF6; /* Text Main */
}

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

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

.page-register__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.page-register__faq-question {
    font-size: 1.25rem;
    font-weight: bold;
    padding: 20px 25px;
    cursor: pointer;
    color: #F2FFF6; /* Text Main */
    position: relative;
    margin: 0;
}

.page-register__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: #57E38D; /* Glow */
}

.page-register__faq-item.is-open .page-register__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-register__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-item.is-open .page-register__faq-answer {
    max-height: 200px; /* Adjust as needed for content length */
    padding: 0 25px 20px;
}

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


/* Responsive adjustments */
@media (min-width: 850px) {
    .page-register__hero-section {
        flex-direction: column; /* Ensure image is above text */
        min-height: 500px;
        padding: 60px 20px;
    }

    .page-register__hero-image {
        max-width: 100%;
        max-height: 600px;
        margin-bottom: 40px; /* More space on desktop */
    }

    .page-register__hero-content {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
    }
}

@media (max-width: 768px) {
    .page-register__container {
        padding: 15px;
    }

    .page-register__hero-section {
        padding: 30px 15px;
    }

    .page-register__main-title {
        font-size: 2rem; /* Adjusted for smaller screens */
    }

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

    .page-register__hero-cta,
    .page-register__cta-button,
    .page-register__submit-button {
        width: 100%;
        max-width: 300px; /* Constrain width for better look */
        margin: 0 auto; /* Center buttons */
        display: block;
    }

    .page-register__form-card {
        padding: 25px;
    }

    .page-register__form-group {
        margin-bottom: 20px;
    }

    .page-register__benefits-grid {
        grid-template-columns: 1fr; /* Stack benefits on mobile */
    }

    .page-register__benefit-icon {
        width: 250px; /* Enforce min size > 200px */
        height: 187px; /* Maintain aspect ratio */
    }

    .page-register__cta-text {
        font-size: 1.2rem;
    }

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

    .page-register__faq-question::after {
        right: 20px;
    }

    /* Mobile overflow prevention for images */
    .page-register img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    /* Enforce content area image size for images that might be smaller than 200px */
    .page-register__benefit-icon {
        width: 250px; /* Ensures it's above 200px */
        height: auto; /* Allow height to adjust */
        max-width: 100%; /* Ensure it fits container */
    }
}

@media (max-width: 549px) {
    .page-register__main-title {
        font-size: 1.8rem;
    }
    .page-register__section-title {
        font-size: 1.5rem;
    }
    .page-register__hero-cta,
    .page-register__cta-button,
    .page-register__submit-button {
        font-size: 1rem;
        padding: 12px 20px;
    }
    .page-register__form-card {
        padding: 20px;
    }
    .page-register__benefit-card {
        padding: 20px;
    }
    .page-register__cta-text {
        font-size: 1.1rem;
    }
}