/* style/register.css */
.page-register {
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF;
}

.page-register__hero-section {
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark hero background */
    position: relative;
    overflow: hidden;
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3; /* Make background image subtle */
}

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

.page-register__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

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

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

.page-register__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-register__cta-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.3s ease;
    white-space: nowrap;
}

.page-register__cta-button--register {
    background-color: #000000; /* Main color */
    color: #FFFFFF; /* Register text color */
    border: 2px solid #FCBC45;
}

.page-register__cta-button--register:hover {
    background-color: #FCBC45;
    color: #000000;
    transform: translateY(-3px);
}

.page-register__cta-button--login {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #FCBC45;
}

.page-register__cta-button--login:hover {
    background-color: #E0A83D;
    transform: translateY(-3px);
}

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

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

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

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

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

.page-register__value-item:hover {
    transform: translateY(-5px);
}

.page-register__value-icon {
    width: 250px; /* Min 200px */
    height: 187px; /* Corresponding height for 4:3 aspect */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-register__value-heading {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #000000;
}

.page-register__value-description {
    font-size: 1em;
    line-height: 1.7;
    color: #666666;
}

.page-register__cta-paragraph {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #333333;
}

.page-register__inline-link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-register__inline-link:hover {
    color: #E0A83D;
    text-decoration: underline;
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-register__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 30px;
}

.page-register__step-icon {
    background-color: #000000; /* Main color */
    color: #FFFFFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    flex-shrink: 0;
}

.page-register__step-content {
    text-align: left;
}

.page-register__step-title {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #000000;
}

.page-register__step-description {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #666666;
}

.page-register__step-image {
    width: 400px; /* Min 200px */
    height: 300px; /* Corresponding height for 4:3 aspect */
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
}

.page-register__step-button {
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.page-register__step-button:hover {
    background-color: #E0A83D;
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-register__condition-item {
    background-color: #F8F8F8;
    border-left: 5px solid #000000; /* Main color accent */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-register__condition-heading {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #000000;
}

.page-register__condition-description {
    font-size: 1em;
    line-height: 1.7;
    color: #666666;
}

.page-register__faq-list {
    margin-top: 40px;
}

.page-register__faq-item {
    background-color: #F8F8F8;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

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

.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);
}

.page-register__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    line-height: 1.7;
    color: #666666;
}

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

.page-register__call-to-action {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF; /* Light text */
    text-align: center;
    padding: 80px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.page-register__call-to-action .page-register__section-title {
    color: #FFFFFF;
    margin-bottom: 25px;
}

.page-register__call-to-action .page-register__section-description {
    color: #F0F0F0;
    margin-bottom: 40px;
}

.page-register__cta-button--final-register {
    background-color: #FCBC45;
    color: #000000;
    padding: 18px 40px;
    font-size: 1.25em;
    border-radius: 10px;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__cta-button--final-register:hover {
    background-color: #E0A83D;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__main-title {
        font-size: 3em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__value-icon, .page-register__step-image {
        width: 300px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 40px 15px;
    }
    .page-register__main-title {
        font-size: 2.2em;
    }
    .page-register__intro-text {
        font-size: 1em;
    }
    .page-register__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-register__cta-button {
        width: 100%;
    }
    .page-register__section {
        padding: 40px 15px;
    }
    .page-register__section-title {
        font-size: 1.8em;
    }
    .page-register__section-description {
        font-size: 0.95em;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
    }
    .page-register__value-icon, .page-register__step-image {
        width: 100%; /* Ensure content images are responsive */
        height: auto;
        max-width: 100%; /* Crucial for mobile overflow */
    }
    .page-register__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .page-register__step-content {
        text-align: center;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-register__call-to-action {
        padding: 60px 15px;
    }
    .page-register__cta-button--final-register {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    /* Ensure no horizontal scroll */
    .page-register {
        overflow-x: hidden;
    }
}