:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-button-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-dark: #0a0a0a;
    --background-light: #FFFFFF;
}

/* Base styles for the page-login scope */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Inherited from body, but explicitly set for clarity */
}

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

.page-login__section-title {
    font-size: clamp(2em, 5vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-login__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px;
    background-color: var(--background-dark);
    color: var(--text-light);
    overflow: hidden;
}

.page-login__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-login__main-title {
    font-size: clamp(2.5em, 6vw, 3.5em);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-login__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-login__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-login__btn-primary {
    background-color: var(--login-button-color);
    color: var(--text-light);
    border: 2px solid var(--login-button-color);
}

.page-login__btn-primary:hover {
    background-color: darken(var(--login-button-color), 10%);
    border-color: darken(var(--login-button-color), 10%);
}

.page-login__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-login__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Form Section */
.page-login__form-section {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 60px 0;
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-login__form-section .page-login__section-title,
.page-login__form-section .page-login__section-description {
    color: var(--text-dark);
}

.page-login__login-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-login__form-group {
    margin-bottom: 20px;
}

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-login__form-input::placeholder {
    color: #999;
}

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.page-login__remember-me {
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.page-login__checkbox-label {
    font-size: 0.95em;
    color: var(--text-dark);
}

.page-login__forgot-password {
    font-size: 0.95em;
    color: var(--primary-color);
    text-decoration: none;
}

.page-login__forgot-password:hover {
    text-decoration: underline;
}

.page-login__submit-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background-color: var(--login-button-color);
    color: var(--text-light);
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-login__submit-button:hover {
    background-color: darken(var(--login-button-color), 10%);
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 25px;
    font-size: 1em;
    color: var(--text-dark);
}

.page-login__register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

/* Benefits Section */
.page-login__benefits-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
}

.page-login__benefits-section .page-login__section-title,
.page-login__benefits-section .page-login__section-description {
    color: var(--text-light);
}

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

.page-login__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

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

.page-login__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-login__benefit-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-login__benefit-text {
    font-size: 1em;
    color: var(--text-light);
}

/* Guide Section */
.page-login__guide-section {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 80px 0;
}

.page-login__guide-section .page-login__section-title,
.page-login__guide-section .page-login__section-description {
    color: var(--text-dark);
}

.page-login__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-login__guide-item {
    background-color: #f0f0f0;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-login__guide-step-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-login__guide-step-text {
    font-size: 1em;
    color: var(--text-dark);
}

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

/* Troubleshooting Section */
.page-login__troubleshooting-section {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.page-login__troubleshooting-section .page-login__section-title,
.page-login__troubleshooting-section .page-login__section-description {
    color: var(--text-light);
}

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

.page-login__trouble-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
}

.page-login__trouble-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-login__trouble-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-login__trouble-text {
    font-size: 1em;
    color: var(--text-light);
}

/* Security Section */
.page-login__security-section {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 80px 0;
}

.page-login__security-section .page-login__section-title,
.page-login__security-section .page-login__section-description {
    color: var(--text-dark);
}

.page-login__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-login__security-item {
    background-color: #f0f0f0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-login__security-feature-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-login__security-feature-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* FAQ Section */
.page-login__faq-section {
    background-color: var(--background-light);
    color: var(--text-dark);
    padding: 80px 0;
}

.page-login__faq-section .page-login__section-title,
.page-login__faq-section .page-login__section-description {
    color: var(--text-dark);
}

.page-login__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-login__faq-item {
    background-color: #f0f0f0;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-login__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e8e8e8;
    transition: background-color 0.3s ease;
}

.page-login__faq-item summary:hover {
    background-color: #dcdcdc;
}

.page-login__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-login__faq-qtext {
    flex-grow: 1;
    color: var(--text-dark);
}

.page-login__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-login__faq-item[open] .page-login__faq-toggle {
    content: '−';
}

.page-login__faq-answer {
    padding: 20px 25px;
    background-color: var(--background-light);
    color: var(--text-dark);
    border-top: 1px solid #eee;
}

.page-login__faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

/* Final CTA Section */
.page-login__cta-final-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-login__cta-final-section .page-login__section-title,
.page-login__cta-final-section .page-login__section-description {
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-login__hero-content {
        margin-bottom: 30px;
    }

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

    .page-login__hero-description {
        font-size: 1.1em;
    }
}

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

    .page-login__container {
        padding: 0 15px;
    }

    .page-login__section-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-login__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-login__hero-section {
        padding: 10px 15px 40px;
    }

    .page-login__hero-content {
        margin-bottom: 30px;
    }

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

    .page-login__hero-description {
        font-size: 1em;
    }

    .page-login__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-login__btn-primary,
    .page-login__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-login__hero-image,
    .page-login__benefit-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-login__hero-image-wrapper,
    .page-login__benefit-card,
    .page-login__trouble-card,
    .page-login__guide-item,
    .page-login__security-item,
    .page-login__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-login__form-section,
    .page-login__benefits-section,
    .page-login__guide-section,
    .page-login__troubleshooting-section,
    .page-login__security-section,
    .page-login__faq-section,
    .page-login__cta-final-section {
        padding: 40px 0;
    }

    .page-login__login-form {
        padding: 20px;
    }

    .page-login__form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-login__submit-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px;
        font-size: 1em;
    }

    .page-login__benefits-grid,
    .page-login__troubleshooting-grid,
    .page-login__security-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-login__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-login__faq-answer {
        padding: 15px 20px;
    }

    .page-login__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

/* Ensure no image filter is applied */
.page-login img {
    filter: none;
}