.page-login {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: transparent; /* Main content background will be transparent to show body background */
}

/* Hero Section */
.page-login__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stacks image then content */
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-login__hero-content {
    width: 100%; /* Take full width */
    max-width: 1200px; /* Constrain content width */
    padding: 30px 20px;
    box-sizing: border-box;
    background-color: #08160F; /* Dark background from palette for contrast */
    color: #F2FFF6; /* Text Main color */
}

.page-login__hero-content .page-login__main-title {
    color: #F2FFF6; /* Ensure title is white on dark background */
}

.page-login__hero-content .page-login__intro-text {
    color: #A7D9B8; /* Ensure intro text is light on dark background */
}

/* General Section Styling */
.page-login__section {
    padding: 40px 0;
    margin-bottom: 20px;
}

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

.page-login__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: bold;
    color: #11A84E; /* Main color */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-login__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-login__sub-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: bold;
    color: #11A84E; /* Main color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-login__text-block {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333333; /* Default text color */
}

.page-login__text-block a {
    color: #11A84E; /* Main color for links */
    text-decoration: underline;
}

.page-login__text-block a:hover {
    color: #22C768; /* Auxiliary color on hover */
}

/* CTA Buttons */
.page-login__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    width: auto; /* Default for desktop */
}

.page-login__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main color */
    border: none;
}

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

.page-login__btn-secondary {
    background-color: transparent;
    color: #11A84E; /* Main color */
    border: 2px solid #11A84E; /* Main color as border */
}

.page-login__btn-secondary:hover {
    background-color: #11A84E; /* Main color */
    color: #F2FFF6; /* Text Main color */
    transform: translateY(-2px);
}

/* Steps Grid */
.page-login__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-login__step-card {
    background-color: #ffffff; /* White background for cards */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333; /* Default text color for card */
}

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

.page-login__step-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

.page-login__step-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #11A84E; /* Main color */
    margin-bottom: 10px;
}

.page-login__step-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333333;
}

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

/* Troubleshooting List */
.page-login__troubleshooting-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-login__troubleshooting-list li {
    background-color: #ffffff; /* White background for list items */
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 15px;
    color: #333333;
}

.page-login__list-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #11A84E; /* Main color */
    margin-bottom: 10px;
}

.page-login__list-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333333;
}

/* Security Grid */
.page-login__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-login__security-item {
    background-color: #ffffff; /* White background for security items */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333333;
}

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

.page-login__security-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

.page-login__security-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #11A84E; /* Main color */
    margin-bottom: 10px;
}

.page-login__security-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333333;
}

/* Benefits Section (Dark Background) */
.page-login__benefits-section {
    background-color: #08160F; /* Background color from palette */
    color: #F2FFF6; /* Text Main color for dark background */
}

.page-login__benefits-section .page-login__section-title {
    color: #F2FFF6; /* Text Main color for dark background */
}

.page-login__benefits-section .page-login__section-title::after {
    background: linear-gradient(90deg, #57E38D 0%, #2AD16F 100%); /* Glow color for dark background */
}

.page-login__benefits-section .page-login__text-block {
    color: #A7D9B8; /* Text Secondary color for dark background */
}

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

.page-login__benefits-list li {
    background-color: #11271B; /* Card BG color from palette */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    transition: transform 0.3s ease;
    color: #F2FFF6; /* Text Main color */
}

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

.page-login__benefits-list .page-login__list-title {
    color: #F2FFF6; /* Text Main color */
}

.page-login__benefits-list .page-login__list-description {
    color: #A7D9B8; /* Text Secondary color */
}

/* FAQ Section */
.page-login__faq-section {
    background-color: #f4f4f4; /* Light background to match body */
}

.page-login__faq-list {
    margin-top: 30px;
}

.page-login__faq-item {
    background-color: #ffffff; /* White background for FAQ items */
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #11A84E; /* Main color */
    cursor: pointer;
    background-color: #fcfcfc;
    border-bottom: 1px solid #e0e0e0;
}

.page-login__faq-item[open] .page-login__faq-question {
    border-bottom: 1px solid #e0e0e0;
}

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

.page-login__faq-question::marker {
    display: none;
}

.page-login__faq-qtext {
    flex-grow: 1;
}

.page-login__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #11A84E;
}

.page-login__faq-item[open] .page-login__faq-toggle {
    transform: rotate(45deg);
}

.page-login__faq-answer {
    padding: 15px 25px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333333;
}

.page-login__faq-answer p {
    margin-bottom: 10px;
}

.page-login__faq-answer a {
    color: #11A84E;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-login__hero-content {
        padding: 25px 15px;
    }
    .page-login__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-login__intro-text {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    .page-login__section-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    .page-login__sub-title {
        font-size: clamp(1.1rem, 2vw, 1.5rem);
    }
}

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

    /* Images responsiveness */
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Container responsiveness */
    .page-login__section,
    .page-login__container,
    .page-login__step-card,
    .page-login__security-item,
    .page-login__benefits-list li,
    .page-login__faq-item,
    .page-login__troubleshooting-list li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero section adjustments */
    .page-login__hero-section {
        margin-bottom: 20px;
        padding-top: 10px !important;
    }
    .page-login__hero-image-wrapper {
        max-height: 300px; /* Adjust hero image height for mobile */
    }
    .page-login__hero-content {
        padding: 20px 15px;
        border-radius: 0;
        margin-top: 0; /* No overlap needed */
    }
    .page-login__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }
    .page-login__intro-text {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 20px;
    }
    .page-login__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-login__btn-primary,
    .page-login__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .page-login__section {
        padding: 20px 0;
    }
    .page-login__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
        margin-bottom: 20px;
    }
    .page-login__sub-title {
        font-size: clamp(1.1rem, 5vw, 1.3rem);
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-login__text-block,
    .page-login__step-description,
    .page-login__list-description,
    .page-login__security-description,
    .page-login__faq-answer {
        font-size: 0.9rem;
    }
    
    .page-login__steps-grid,
    .page-login__security-grid,
    .page-login__benefits-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-login__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-login__faq-answer {
        padding: 10px 20px 15px;
    }
}