:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg-color: #FFFFFF;
    --bg-color: #F4F7FB;
    --text-main-color: #1F2D3D;
    --custom-color-1776249996415: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

.page-login {
    background-color: var(--bg-color); /* #F4F7FB */
    color: var(--text-main-color); /* #1F2D3D */
    padding-bottom: 40px;
}

.page-login__container {
    max-width: 1200px; /* Aligned with 3WIN style guide */
    margin: 0 auto;
    padding: 0 20px;
}

.page-login__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: var(--primary-color); /* #2F6BFF */
    color: #FFFFFF;
    display: flex;
    flex-direction: column; /* Image block above text block */
    align-items: center;
    text-align: center;
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Spacing between image and text */
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-login__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-login__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF;
    /* No fixed font-size for H1, relying on responsive scaling */
}

.page-login__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-login__cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    background: var(--button-gradient);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-login__cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-login__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    color: var(--text-main-color); /* #1F2D3D */
}

.page-login__features-section {
    padding: 40px 0;
}

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

.page-login__feature-item {
    background-color: var(--card-bg-color); /* #FFFFFF */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-login__feature-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--custom-color-1776249996415); /* #000000 */
}

.page-login__feature-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main-color); /* #1F2D3D */
}

.page-login__steps-section {
    padding: 40px 0;
}

.page-login__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.page-login__step-item {
    background-color: var(--card-bg-color); /* #FFFFFF */
    border-left: 5px solid var(--primary-color); /* #2F6BFF */
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__step-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--custom-color-1776249996415); /* #000000 */
}

.page-login__step-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--text-main-color); /* #1F2D3D */
}

.page-login__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-login__cta-button--large {
    padding: 16px 32px;
    font-size: 1.15em;
    margin-bottom: 15px;
}

.page-login__cta-link {
    display: block;
    font-size: 1em;
    color: var(--primary-color); /* #2F6BFF */
    text-decoration: none;
    margin-top: 10px;
    font-weight: 500;
}

.page-login__cta-link:hover {
    text-decoration: underline;
}

.page-login__faq-section {
    padding: 40px 0 60px;
}

.page-login__faq-item {
    background-color: var(--card-bg-color); /* #FFFFFF */
    border: 1px solid var(--border-color); /* #D6E2FF */
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-login__faq-question {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--custom-color-1776249996415); /* #000000 */
}

.page-login__faq-answer {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-main-color); /* #1F2D3D */
}

.page-login__faq-answer a {
    color: var(--primary-color); /* #2F6BFF */
    text-decoration: none;
    font-weight: 500;
}

.page-login__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-login__hero-section {
        padding-top: 8px;
        padding-bottom: 30px;
    }

    .page-login__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em); /* H1 clamp for responsiveness */
    }

    .page-login__description {
        font-size: 1em;
    }

    .page-login__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .page-login__features-grid {
        grid-template-columns: 1fr;
    }

    .page-login__feature-image {
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 200px; /* Ensure images are not too small */
        max-height: 300px; /* Prevent overly tall images on mobile */
    }

    .page-login__hero-image {
        max-width: 100%;
        height: auto;
        min-height: 200px; /* Ensure images are not too small */
        max-height: 400px; /* Prevent overly tall images on mobile */
    }

    .page-login__hero-image-wrapper {
        margin-bottom: 20px;
    }

    /* All img elements within .page-login must be responsive */
    .page-login img {
        max-width: 100%;
        height: auto;
    }

    .page-login__cta-button--large {
        width: 90%;
        max-width: 300px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-login__container {
        padding: 0 15px;
    }

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

    .page-login__section-title {
        font-size: 1.5em;
    }

    .page-login__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
}