.page-register {
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set background for page content */
}

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

.page-register__hero-section {
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Slightly dim the image to make text readable */
    z-index: 0;
}

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

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color for CTA */
    color: #000000; /* Dark text for bright button */
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 188, 69, 0.4);
}

.page-register__hero-button:hover {
    background-color: #FFD700;
    transform: translateY(-3px);
}

.page-register__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 25px;
    padding-top: 40px;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-section {
    padding: 80px 0;
}

.page-register__value-section {
    background-color: #F8F8F8;
}

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

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

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

.page-register__value-image {
    width: 100%;
    max-width: 400px; /* Ensure image is not too small */
    height: auto;
    border-radius: 10px;
    margin-bottom: 25px;
    object-fit: cover;
}

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

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

.page-register__main-cta-button {
    display: block;
    width: fit-content;
    margin: 60px auto 0;
    background-color: #FCBC45;
    color: #000000;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(252, 188, 69, 0.3);
}

.page-register__main-cta-button:hover {
    background-color: #FFD700;
    transform: translateY(-5px);
}

.page-register__steps-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

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

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

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

.page-register__step-heading {
    font-size: 2em;
    color: #000000;
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555555;
}

.page-register__steps-visual {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 800px; /* Max width for consistency */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-register__conditions-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    background-color: #F8F8F8;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-register__condition-item {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.page-register__condition-item::before {
    content: '✓';
    color: #FCBC45;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.page-register__link-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    background-color: #000000;
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__link-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

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

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

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

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

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

.page-register__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FCBC45;
    transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
    transform: rotate(45deg);
}

.page-register__faq-answer {
    padding: 15px 30px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
    border-top: 1px solid #E0E0E0;
}

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

.page-register__faq-image {
    display: block;
    margin: 60px auto 0;
    width: 100%;
    max-width: 800px; /* Max width for consistency */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-register__cta-section {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    text-align: center;
    padding: 100px 20px;
}

.page-register__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.page-register__cta-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(252, 188, 69, 0.4);
    margin-right: 20px;
}

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

.page-register__cta-login-button {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #FCBC45;
    color: #FCBC45;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 3em;
    }
    .page-register__section-title,
    .page-register__cta-title {
        font-size: 2.5em;
    }
    .page-register__hero-button,
    .page-register__main-cta-button,
    .page-register__cta-button,
    .page-register__cta-login-button {
        font-size: 1.1em;
        padding: 15px 30px;
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding: 60px 15px;
    }
    .page-register__hero-title {
        font-size: 2.5em;
    }
    .page-register__hero-description {
        font-size: 1.1em;
    }
    .page-register__section-title,
    .page-register__cta-title {
        font-size: 2em;
    }
    .page-register__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-register__value-section,
    .page-register__steps-section,
    .page-register__conditions-section,
    .page-register__faq-section,
    .page-register__cta-section {
        padding: 60px 0;
    }
    .page-register__value-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-register__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-register__step-number {
        margin-bottom: 20px;
    }
    .page-register__step-heading {
        font-size: 1.8em;
    }
    .page-register__link-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-register__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-register__faq-answer {
        padding: 10px 20px 15px;
    }
    .page-register__cta-button,
    .page-register__cta-login-button {
        display: block;
        margin: 20px auto;
        width: 90%;
    }
    .page-register__cta-button {
        margin-right: auto;
    }
    .page-register__value-image,
    .page-register__steps-visual,
    .page-register__faq-image {
        max-width: 100%;
        height: auto;
    }

    /* Enforce image max-width for mobile */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-register__hero-title {
        font-size: 2em;
    }
    .page-register__hero-description {
        font-size: 1em;
    }
    .page-register__section-title,
    .page-register__cta-title {
        font-size: 1.8em;
    }
    .page-register__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}