.page-register {
    background-color: #0D0E12;
    color: #FFF3E6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    overflow-x: hidden;
}

.page-register__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 20px;
    margin-bottom: 40px;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__hero-content {
    max-width: 800px;
    padding: 0 15px;
}

.page-register__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #FFB04D, #FFA53A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for non-webkit browsers */
}

.page-register__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #000000; /* WCAG AA contrast for button text */
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #A84F0C;
    box-shadow: 0 0 15px rgba(255, 176, 77, 0.5);
    min-height: 44px;
    box-sizing: border-box;
}

.page-register__cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 25px rgba(255, 176, 77, 0.8);
}

.page-register__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
    background: linear-gradient(90deg, #FFB04D, #FFA53A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for non-webkit browsers */
}

.page-register__benefits-section,
.page-register__guide-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 40px;
    background-color: #17191F;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #A84F0C;
}

.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-register__benefit-card {
    background-color: #0D0E12;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #A84F0C;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 176, 77, 0.3);
}

.page-register__benefit-icon {
    width: 100%;
    max-width: 250px; /* Ensure images are not too small */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

.page-register__benefit-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFA53A;
}

.page-register__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.page-register__guide-step {
    background-color: #0D0E12;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #A84F0C;
    text-align: center;
}

.page-register__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FFB04D 0%, #D96800 100%);
    color: #000000; /* WCAG AA contrast */
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-register__step-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #FFB04D;
}

.page-register__guide-image-wrapper {
    text-align: center;
}

.page-register__guide-image,
.page-register__security-image {
    width: 100%;
    max-width: 800px; /* Ensure images are not too small */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__security-content {
    text-align: center;
}

.page-register__security-text {
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-register__security-image {
    margin-top: 30px;
}

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

.page-register__faq-item {
    background-color: #0D0E12;
    border: 1px solid #A84F0C;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-register__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-register__faq-question.is-active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-register__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: #FFF3E6;
}

.page-register__faq-answer.is-active {
    max-height: 200px; /* Adjust based on content */
    padding: 10px 25px 20px;
}

.page-register__cta-bottom-section {
    text-align: center;
}

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

/* Responsive Design */
@media (min-width: 769px) {
    .page-register__hero-section {
        flex-direction: row;
        text-align: left;
        padding: 40px;
        gap: 40px;
    }

    .page-register__hero-content {
        order: 2; /* Content after image on larger screens */
        flex: 1;
        padding: 0;
    }

    .page-register__hero-image-wrapper {
        order: 1; /* Image before content on larger screens */
        flex: 1;
    }

    .page-register__hero-image {
        max-width: 100%;
    }

    .page-register__main-title {
        text-align: left;
    }

    .page-register__description {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .page-register__cta-button {
        margin-left: 0;
        margin-right: auto;
    }

    .page-register__benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .page-register__guide-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .page-register__hero-section {
        padding-top: 20px;
        flex-direction: column; /* Ensure image is above text */
    }

    .page-register__hero-image {
        max-width: 100%;
        height: auto;
    }

    .page-register__benefit-icon,
    .page-register__guide-image,
    .page-register__security-image {
        max-width: 100%;
        height: auto;
    }

    .page-register__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .page-register__guide-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 549px) {
    .page-register__hero-section {
        padding: 15px;
    }

    .page-register__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-register__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .page-register__cta-button {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .page-register__faq-answer.is-active {
        padding: 10px 20px 15px;
    }

    /* Ensure content area images are not smaller than 200px display size */
    .page-register__benefits-section img,
    .page-register__guide-section img,
    .page-register__security-section img {
        min-width: 200px;
        min-height: 200px;
        object-fit: cover;
    }
}