/* style/login.css */
.page-login {
    color: #000000; /* Dark text for general content on assumed light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-login__hero-section {
    background: #FFFFFF; /* White background for hero section */
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

.page-login__main-title {
    font-size: 3.2em;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__hero-description {
    font-size: 1.2em;
    color: #333333;
    margin-bottom: 30px;
}

.page-login__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-login__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-login__button--login,
.page-login__button--login-large {
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Dark text on login button */
}

.page-login__button--login:hover,
.page-login__button--login-large:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-login__button--register,
.page-login__button--register-large {
    background-color: #000000; /* Dark background for register button */
    color: #FFFFFF; /* White text on register button */
}

.page-login__button--register:hover,
.page-login__button--register-large:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-login__button--support,
.page-login__button--troubleshoot-support,
.page-login__button--faq-support,
.page-login__button--download-app {
    background-color: #000000; /* Dark background for support/download buttons */
    color: #FFFFFF; /* White text on support/download buttons */
    padding: 12px 25px;
    font-size: 1em;
}

.page-login__button--support:hover,
.page-login__button--troubleshoot-support:hover,
.page-login__button--faq-support:hover,
.page-login__button--download-app:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

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

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

.page-login__info-section,
.page-login__process-section,
.page-login__security-section,
.page-login__troubleshooting-section,
.page-login__benefits-section,
.page-login__faq-section,
.page-login__cta-final-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* White background for content sections */
}

.page-login__info-section:nth-of-type(even),
.page-login__security-section:nth-of-type(even),
.page-login__benefits-section:nth-of-type(even) {
    background-color: #F8F8F8; /* Light grey for alternating sections for visual break */
}


.page-login__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

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

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

.page-login__benefit-item,
.page-login__security-item,
.page-login__troubleshoot-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-login__benefit-item:hover,
.page-login__security-item:hover,
.page-login__troubleshoot-item:hover {
    transform: translateY(-5px);
}

.page-login__benefit-item img,
.page-login__security-item img,
.page-login__troubleshoot-item img,
.page-login__benefits-item img {
    width: 100%; /* Ensure images fill their container */
    height: auto;
    max-width: 400px; /* Example max-width, ensuring >= 200px */
    min-width: 200px; /* Enforce min width */
    min-height: 200px; /* Enforce min height */
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover; /* Ensure image covers the area without distortion */
}

.page-login__benefit-title,
.page-login__security-subtitle,
.page-login__troubleshoot-subtitle,
.page-login__benefits-subtitle {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-login__benefit-text,
.page-login__security-text,
.page-login__troubleshoot-text,
.page-login__benefits-text {
    font-size: 1em;
    color: #555555;
}

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

.page-login__process-item {
    background-color: #FFFFFF;
    border-left: 5px solid #FCBC45;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-login__process-step-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-login__process-step-text {
    font-size: 1.05em;
    color: #444444;
}

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

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

.page-login__benefits-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

/* FAQ Section */
.page-login__faq-list {
    margin-top: 40px;
}

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

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    background-color: #FDFDFD;
    transition: background-color 0.3s ease;
}

.page-login__faq-question:hover {
    background-color: #F0F0F0;
}

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

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: rotate(45deg); /* Change + to X or rotate to signify open */
}

.page-login__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    color: #444444;
    line-height: 1.7;
}

.page-login__faq-answer p {
    margin: 0;
}

.page-login__cta-final-section {
    background-color: #000000; /* Dark background for final CTA */
    color: #FFFFFF;
    padding: 100px 0;
    text-align: center;
}

.page-login__cta-final-section .page-login__section-title {
    color: #FFFFFF;
}

.page-login__cta-final-section .page-login__section-description {
    color: #E0E0E0;
}

.page-login__final-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: 2.8em;
    }
    .page-login__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-login {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-login__hero-section {
        padding: 60px 0;
    }
    .page-login__main-title {
        font-size: 2.2em;
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__button {
        width: 80%;
        max-width: 300px;
    }
    .page-login__info-section,
    .page-login__process-section,
    .page-login__security-section,
    .page-login__troubleshooting-section,
    .page-login__benefits-section,
    .page-login__faq-section,
    .page-login__cta-final-section {
        padding: 60px 0;
    }
    .page-login__section-title {
        font-size: 1.8em;
    }
    .page-login__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-login__benefits-grid,
    .page-login__security-grid,
    .page-login__troubleshoot-grid,
    .page-login__benefits-list {
        grid-template-columns: 1fr;
    }
    .page-login__process-item {
        padding: 20px 25px;
    }
    .page-login__process-step-title {
        font-size: 1.4em;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-login__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-login__final-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__final-actions .page-login__button {
        width: 80%;
        max-width: 300px;
    }

    /* Mobile image constraint */
    .page-login__container img,
    .page-login__hero-image img,
    .page-login__benefits-item img,
    .page-login__security-item img,
    .page-login__troubleshoot-item img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Still enforce min width for content images */
        min-height: 200px; /* Still enforce min height for content images */
    }
}

@media (max-width: 480px) {
    .page-login__main-title {
        font-size: 1.8em;
    }
    .page-login__section-title {
        font-size: 1.5em;
    }
    .page-login__button {
        padding: 12px 20px;
        font-size: 1em;
    }
}