/* Base styles for the register page */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #F5F7FA; /* General light background */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    background-color: #E53935; /* Fallback for image loading */
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-register__hero-content {
    text-align: center;
    padding: 40px 15px;
    background-color: #E53935; /* Brand color background */
    color: #ffffff;
}

.page-register__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-register__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #E53935;
}

.page-register__section-title--white {
    color: #ffffff;
}

.page-register__subsection-title {
    font-size: 2em;
    font-weight: 600;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #333333;
}

.page-register__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-register__text-block--white {
    color: #f0f0f0;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-register__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-register__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.page-register__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-register__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.2);
}

.page-register__btn-cta {
    margin: 10px;
}

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

.page-register__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 40px;
}

.page-register__cta-buttons--center {
    justify-content: center;
}

.page-register__cta-buttons--left {
    justify-content: flex-start;
}

/* Intro Section */
.page-register__intro-section {
    padding: 60px 0;
    background-color: #F5F7FA; /* Light background */
}

.page-register__light-bg {
    background-color: #F5F7FA;
    color: #333333;
}

.page-register__dark-section {
    background-color: #E53935;
    color: #ffffff;
    padding: 60px 0;
}

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

.page-register__benefits-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-register__benefits-image {
    width: 100%;
    max-width: 400px; /* Constrain image width */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-register__benefits-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #E53935;
    margin-bottom: 15px;
}

.page-register__benefits-description {
    font-size: 1em;
    color: #555555;
    text-align: left; /* Align text left within card */
}

/* Steps Section */
.page-register__steps-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.page-register__step-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-register__step-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-register__step-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    text-align: left;
}

.page-register__step-details-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-register__step-details-list li {
    margin-bottom: 8px;
}

.page-register__step-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}

/* Promotions Section */
.page-register__promotions-section {
    padding: 60px 0;
    background-color: #F5F7FA;
}

.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;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-register__promo-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-register__promo-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #E53935;
    padding: 20px 20px 10px 20px;
    text-align: center;
}

.page-register__promo-description {
    font-size: 1em;
    color: #555555;
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Make description take available space */
    text-align: center;
}

/* Mobile App Section */
.page-register__mobile-app-section {
    padding: 60px 0;
    background-color: #E53935;
}

.page-register__mobile-app-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-register__mobile-app-content {
    flex: 1;
    color: #ffffff;
    text-align: left;
}

.page-register__mobile-app-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    font-size: 1.1em;
}

.page-register__mobile-app-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-register__mobile-app-features li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #FF5A4F; /* Accent color for checkmark */
}

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

.page-register__mobile-app-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-register__faq-section {
    padding: 60px 0;
}

.page-register__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-register__faq-item {
    background-color: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-register__faq-item[open] {
    background-color: #f9f9f9;
    border-color: #FF5A4F;
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none; /* Remove default marker */
    position: relative;
}

.page-register__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-register__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #E53935;
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.1em;
    color: #555555;
}

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

/* Final CTA Section */
.page-register__cta-final {
    padding: 80px 0;
    text-align: center;
    background-color: #E53935; /* Dark background */
}

.page-register__cta-final-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-register__container {
        padding: 20px 30px;
    }

    .page-register__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }

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

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