/* style/register.css */
.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

.page-register__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Apply header offset here */
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    border-radius: 10px;
    margin: 20px;
    max-width: 900px;
    box-sizing: border-box;
    color: #ffffff;
}

.page-register__hero-title {
    font-size: 3.5em;
    color: #26A9E0; /* Primary color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-register__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-register__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text contrast */
}

.page-register__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-register__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin: 10px;
}

.page-register__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

.page-register__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Primary brand color */
    border: 2px solid #26A9E0;
    margin: 10px;
}

.page-register__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-register__about-platform-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

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

.page-register__feature-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-register__feature-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-register__feature-item p {
    color: #f0f0f0;
}

.page-register__benefits-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background */
}

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

.page-register__benefit-card {
    background: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-register__benefit-icon {
    width: 200px; /* Min size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-register__card-text {
    font-size: 1em;
    color: #555555;
}

.page-register__steps-section {
    padding: 80px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

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

.page-register__step-item {
    background: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-register__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-register__step-text {
    font-size: 1em;
    color: #555555;
}

.page-register__step-text a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-register__cta-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.08); /* Dark section with light text */
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-register__cta-text {
    font-size: 1.4em;
    margin-bottom: 25px;
    font-weight: bold;
    color: #f0f0f0;
}

.page-register__security-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-register__security-item {
    background: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-register__security-icon {
    width: 200px; /* Min size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__security-item p {
    color: #555555;
}

.page-register__security-item a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-register__promotions-section {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

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

.page-register__promo-card {
    background: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-register__promo-image {
    width: 250px; /* Example size, min 200px */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-register__promo-card .page-register__btn-primary {
    margin-top: auto; /* Push button to bottom */
    width: auto;
    max-width: 100%;
}

.page-register__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a;
    color: #ffffff;
}

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

.page-register__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly lighter background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15); /* Slightly darker for question header */
    transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-register__faq-title {
    font-size: 1.2em;
    color: #26A9E0;
    margin: 0;
    flex-grow: 1;
}

.page-register__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Keep horizontal padding */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px !important; /* Apply padding when active */
}

.page-register__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

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

.page-register__cta-final-section {
    padding: 80px 0;
    background-color: #0a0a0a;
    text-align: center;
    color: #ffffff;
}

.page-register__cta-buttons-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

@media (max-width: 1024px) {
    .page-register__hero-title {
        font-size: 3em;
    }
    .page-register__hero-description {
        font-size: 1.2em;
    }
    .page-register__section-title {
        font-size: 2em;
    }
    .page-register__section-description {
        font-size: 1em;
    }
}

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