.page-register {
    background-color: #140C0C;
    color: #FFF1E8;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure some space at the bottom */
}

/* Header offset handled by shared.css body padding-top */
/* First section padding-top should be minimal */
.page-register__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per rule */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    text-align: center;
}

.page-register__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px; /* Space between image and text */
    overflow: hidden;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5; /* 1920x600 ratio */
    object-fit: cover;
    object-position: center;
}

.page-register__hero-content {
    max-width: 1200px;
    padding: 0 20px;
}

.page-register__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* H1 clamp font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F3C54D; /* Gold accent for main title */
}

.page-register__description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C; /* Dark text for bright button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-register__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 176, 74, 0.4);
}

.page-register__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
    color: #F3C54D; /* Gold accent for section titles */
    position: relative;
}

.page-register__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #E53030; /* Auxiliary red for underline */
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-register__benefits-section,
.page-register__process-section,
.page-register__security-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 60px;
}

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

.page-register__benefit-card {
    background-color: #2A1212; /* Card BG color */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #6A1E1E; /* Border color */
    transition: transform 0.3s ease;
}

.page-register__benefit-card:hover {
    transform: translateY(-5px);
}

.page-register__benefit-image {
    width: 100%;
    height: auto;
    max-height: 250px; /* Ensure images are not too tall */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-register__benefit-title {
    font-size: 1.4rem;
    color: #F3C54D; /* Gold accent for titles */
    margin-bottom: 10px;
}

.page-register__benefit-text {
    font-size: 1rem;
    color: #FFF1E8;
}

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

.page-register__process-step {
    background-color: #2A1212;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #6A1E1E;
}

.page-register__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-register__step-title {
    font-size: 1.3rem;
    color: #F3C54D;
    margin-bottom: 10px;
}

.page-register__step-text {
    font-size: 1rem;
    color: #FFF1E8;
}

.page-register__process-image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-register__process-image,
.page-register__security-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-register__security-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.page-register__security-text {
    flex: 1;
    min-width: 300px;
}

.page-register__security-text p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-register__security-text a {
    color: #F3C54D; /* Gold for links */
    text-decoration: underline;
}

.page-register__security-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-register__learn-more-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #E53030; /* Auxiliary red */
    color: #FFF1E8;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.2s ease;
}

.page-register__learn-more-button:hover {
    background-color: #C61F1F; /* Main red on hover */
}

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

.page-register__faq-item {
    background-color: #2A1212;
    border: 1px solid #6A1E1E;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 20px;
}

.page-register__faq-question {
    font-size: 1.2rem;
    color: #F3C54D;
    margin-bottom: 10px;
}

.page-register__faq-answer {
    font-size: 1rem;
    color: #FFF1E8;
}

.page-register__faq-answer a {
    color: #F3C54D;
    text-decoration: underline;
}

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

.page-register__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2rem;
    margin-top: 30px;
}

/* Links within text */
.page-register p a, .page-register li a {
    color: #F3C54D;
    text-decoration: underline;
}
.page-register p a:hover, .page-register li a:hover {
    color: #FFB04A;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-register__hero-content {
        padding: 0 15px;
    }

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

    .page-register__description {
        font-size: 1rem;
    }

    .page-register__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-register__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-register__benefits-grid,
    .page-register__process-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }

    .page-register__benefit-card,
    .page-register__process-step,
    .page-register__faq-item {
        padding: 20px;
    }

    .page-register__security-content {
        flex-direction: column;
    }

    .page-register__process-image,
    .page-register__security-image,
    .page-register__benefit-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
    }

    .page-register__hero-image {
        aspect-ratio: 16/9; /* Slightly taller aspect ratio for mobile hero */
    }

    /* Ensure all images within .page-register are responsive and don't overflow */
    .page-register img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 549px) {
    .page-register__main-title {
        text-align: center; /* Ensure H1 is centered on smaller mobiles */
    }
    .page-register__description {
        text-align: center;
    }
    .page-register__security-text {
        text-align: center; /* Adjust text alignment for smaller screens */
    }
    .page-register__security-text p {
        text-align: left; /* paragraphs can be left aligned for readability */
    }
}