.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main on light background */
    background-color: #F4F7FB; /* Background color from custom palette */
}

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

.page-register__hero-section {
    position: relative;
    padding-top: 10px; /* As per fixed header rule, only small top padding */
    background-color: #2F6BFF; /* Primary color as background */\    color: #ffffff; /* White text on primary background */
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-register__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for hero image */
}

.page-register__hero-content-wrapper {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1; /* Ensure content is above potential background elements */
}

.page-register__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Use clamp for H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff; /* White text for H1 on primary background */
}

.page-register__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly off-white for description */
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color from palette */
    color: #ffffff; /* White text on button */
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-register__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

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

.page-register__cta-button--secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-register__cta-button--secondary:hover {
    background: #e0e0e0;
    color: #2F6BFF;
}

.page-register__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #000000; /* Custom Color_1776249996415 */
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #1F2D3D; /* Text Main */
}

.page-register__benefits-section,
.page-register__guide-section,
.page-register__security-section,
.page-register__promotions-section,
.page-register__faq-section,
.page-register__final-cta-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background color */
}

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

.page-register__benefit-item,
.page-register__step-item {
    background-color: #ffffff; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid #D6E2FF; /* Border color */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__benefit-item:hover,
.page-register__step-item:hover {
    transform: translateY(-5px);
}

.page-register__benefit-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-register__benefit-title,
.page-register__step-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2F6BFF; /* Primary color for titles */
}

.page-register__benefit-text,
.page-register__step-text {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
}

.page-register__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2F6BFF; /* Primary color */
    color: #ffffff;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4); /* Glow color */
}

.page-register__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-register__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.page-register__security-text {
    flex: 1;
}

.page-register__security-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-register__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__text-link {
    color: #2F6BFF; /* Primary color for links */
    text-decoration: underline;
}

.page-register__promotions-section {
    background-color: #E6EEFF; /* Lighter shade of primary for section bg */
}

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

.page-register__promo-card {
    background-color: #ffffff; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border color */
}

.page-register__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-register__promo-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2F6BFF; /* Primary color for titles */
}

.page-register__promo-text {
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
}

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

.page-register__faq-item {
    background-color: #ffffff; /* Card BG */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    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;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #000000; /* Custom Color_1776249996415 */
    user-select: none;
    background-color: #F8F9FA; /* Slightly off-white for summary */
    border-bottom: 1px solid transparent;
}

.page-register__faq-item[open] .page-register__faq-question {
    border-bottom-color: #D6E2FF; /* Border color */
}

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

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #2F6BFF; /* Primary color */
}

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

.page-register__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #1F2D3D; /* Text Main */
    text-align: left;
}

.page-register__final-cta-section {
    background-color: #2F6BFF; /* Primary color as background */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-register__final-cta-section .page-register__section-title {
    color: #ffffff;
}

.page-register__final-cta-section .page-register__section-description {
    color: #f0f0f0;
}

/* --- Responsive Design --- */

/* Generic image responsiveness */
.page-register img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-register {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-register__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. HERO section */
    .page-register__hero-section {
        padding-top: 10px;
        padding-bottom: 40px;
    }

    .page-register__hero-content-wrapper {
        padding: 20px 15px;
    }

    .page-register__main-title {
        font-size: 1.8em;
    }

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

    /* General section padding */
    .page-register__benefits-section,
    .page-register__guide-section,
    .page-register__security-section,
    .page-register__promotions-section,
    .page-register__faq-section,
    .page-register__final-cta-section {
        padding: 40px 0;
    }

    .page-register__section-title {
        font-size: 1.8em;
    }

    .page-register__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Benefits and Steps grid */
    .page-register__benefits-grid,
    .page-register__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-register__benefit-item,
    .page-register__step-item {
        padding: 25px;
    }

    /* Security section layout */
    .page-register__security-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-register__security-text,
    .page-register__security-image-wrapper {
        flex: none;
        width: 100%;
    }

    /* Promotions cards */
    .page-register__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

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

    .page-register__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95em;
    }

    /* 6. Generic images and containers */
    .page-register img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-register__section,
    .page-register__card,
    .page-register__container,
    .page-register__hero-image-wrapper,
    .page-register__security-image-wrapper,
    .page-register__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 7. Buttons and button containers */
    .page-register__cta-button,
    .page-register__btn-primary,
    .page-register__btn-secondary,
    .page-register a[class*="button"],
    .page-register a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to prevent text touching edges */
        padding-right: 15px;
    }
    
    .page-register__cta-buttons,
    .page-register__button-group,
    .page-register__btn-container,
    .page-register__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px; /* Spacing between stacked buttons */
    }

    /* Ensure no horizontal scroll for elements */
    .page-register {
        overflow-x: hidden;
    }
}