/* style/register.css */

/* Base styles for the register page content */
.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text 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;
}

/* Section titles and descriptions */
.page-register__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-register__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for body text */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark background sections (e.g., Hero, Guide) */
.page-register__dark-bg {
    background-color: #000000; /* Dark background */
    color: #ffffff; /* Light text */
    padding: 60px 0;
}

/* Light background sections (e.g., Benefits, FAQ, Conclusion) */
.page-register__light-bg {
    background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
    color: #f0f0f0; /* Light text */
    padding: 60px 0;
}

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

.page-register__cta-buttons--center {
    text-align: center;
}

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register a[class*="button"],
.page-register a[class*="btn"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

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

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

.page-register__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

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

/* Custom button for Login if needed, using #EA7C07 */
.page-register__btn-login {
    background-color: #EA7C07;
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-register__btn-login:hover {
    background-color: #c96706;
    border-color: #c96706;
}

/* Larger buttons */
.page-register__btn-primary--large,
.page-register__btn-secondary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    background-color: #000000;
}

.page-register__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    z-index: 1;
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block; /* Ensure it's treated as a block for max-width */
}

.page-register__hero-section .page-register__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-register__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-register__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-register__benefit-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for light-on-dark contrast */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

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

.page-register__benefit-image {
    width: 100%;
    max-width: 250px; /* Example size, ensuring it's not a small icon */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
}

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

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

/* Guide Section */
.page-register__guide-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-register__guide-steps {
    flex: 1;
    min-width: 300px;
}