/* style/register.css */
/* Body padding-top is handled by shared.css var(--header-offset) */

/* General styles for the page */
.page-register {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
}

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

.page-register__section-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-register__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-register__section-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small decorative top padding */
    background-color: #08160F; /* Background */
    overflow: hidden;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it doesn't overflow */
    margin-top: 40px; /* Space between content and image */
    order: 2; /* Image below content on desktop */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    order: 1; /* Content above image on desktop */
    margin-bottom: 40px;
}

.page-register__hero-title {
    font-size: clamp(2.2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-register__hero-description {
    font-size: 1.2em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Inverted gradient on hover */
}

/* Video Section */
.page-register__video-section {
    background-color: #08160F; /* Background */
    padding: 60px 20px;
    text-align: center;
}

.page-register__video-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for the video container */
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

.page-register__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.page-register__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* Benefits Section */
.page-register__benefits-section {
    background-color: #11271B; /* Card BG */
    padding: 80px 20px;
    text-align: center;
}

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

.page-register__benefit-card {
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

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

.page-register__benefit-icon {
    width: 100%; /* Full width for the image */
    height: auto;
    max-height: 200px; /* Limit height for consistency */
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 10px;
    border: 2px solid #57E38D; /* Glow */
}

.page-register__benefit-title {
    font-size: 1.5em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

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

/* Guide Section */
.page-register__guide-section {
    background-color: #08160F; /* Background */
    padding: 80px 20px;
    text-align: center;
}

.page-register__guide-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.page-register__step-item {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    flex: 1 1 300px; /* Allow items to grow/shrink, min width 300px */
    max-width: 380px;
    border: 1px solid #2E7A4E; /* Border */
}

.page-register__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #2AD16F; /* Main color */
    color: #08160F;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 25px;
    box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-register__step-title {
    font-size: 1.6em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-register__step-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

.page-register__guide-cta {
    margin-top: 60px;
}

.page-register__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* FAQ Section */
.page-register__faq-section {
    background-color: #11271B; /* Card BG */
    padding: 80px 20px;
}

.page-register__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-register__faq-item[open] {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #0A4B2C;
    list-style: none; /* For details/summary */
    user-select: none;
}

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

.page-register__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 20px;
    color: #57E38D; /* Glow */
}

.page-register__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: left;
    max-height: 0; /* Default hidden state for JS-controlled */
    overflow: hidden; /* Default hidden state for JS-controlled */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* For JS-controlled */
}

.page-register__faq-item[open] .page-register__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 10px;
}

/* Final CTA Section */
.page-register__cta-final-section {
    background-color: #08160F; /* Background */
    padding: 80px 20px;
    text-align: center;
}

.page-register__cta-button--final {
    margin-top: 40px;
    padding: 20px 50px;
    font-size: 1.4em;
    border-radius: 60px;
    box-shadow: 0 8px 25px rgba(42, 209, 111, 0.5);
}

.page-register__cta-button--final:hover {
    box-shadow: 0 12px 30px rgba(42, 209, 111, 0.7);
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__hero-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 1em;
    }
    .page-register__hero-title {
        font-size: clamp(1.8em, 6vw, 2.8em);
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-register__cta-button--large,
    .page-register__cta-button--final {
        padding: 15px 30px;
        font-size: 1.1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-register__hero-section {
        flex-direction: column;
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-register__hero-content {
        margin-bottom: 30px;
    }
    .page-register__hero-image-wrapper {
        margin-top: 30px;
    }

    .page-register__video-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-register__video-container {
        padding-bottom: 56.25%; /* Maintain aspect ratio */
    }
    .page-register__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-register__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-register__benefits-section,
    .page-register__guide-section,
    .page-register__faq-section,
    .page-register__cta-final-section {
        padding: 50px 15px;
    }

    .page-register__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-register__benefit-card {
        padding: 25px;
    }
    .page-register__benefit-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-register__guide-steps {
        flex-direction: column;
        align-items: center;
    }
    .page-register__step-item {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

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

    /* Ensure all images are responsive */
    .page-register img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-register__section,
    .page-register__card,
    .page-register__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-register__section-title {
        font-size: 1.5em;
    }
    .page-register__hero-title {
        font-size: clamp(1.6em, 7vw, 2.5em);
    }
    .page-register__benefit-title {
        font-size: 1.3em;
    }
    .page-register__step-title {
        font-size: 1.4em;
    }
    .page-register__faq-question {
        font-size: 1em;
    }
}