/* Base styles for .page-login, ensuring text contrast against shared.css body background */
.page-login {
    color: #FFF6D6; /* Text Main */
    background-color: transparent; /* Body background is handled by shared.css var(--background-color) #0A0A0A */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-login__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
}

.page-login__hero-image-wrapper {
    width: 100%;
    height: auto;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Default to cover */
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-login__hero-content {
    padding: 40px 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-login__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #F2C14E; /* Main color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Glow effect */
}

.page-login__description {
    font-size: 1.15rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
}

.page-login__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4); /* Glow */
}

.page-login__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-login__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Main color */
    border: 2px solid #F2C14E; /* Border color */
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.2);
}

.page-login__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.3);
}

/* General Section Styles */
.page-login__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem); /* Responsive font size */
    font-weight: 700;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

/* Why Choose Section */
.page-login__why-choose-section {
    background-color: #0A0A0A; /* Background color */
    padding: 60px 0;
    color: #FFF6D6; /* Text Main */
}

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

.page-login__feature-card,
.page-login__benefit-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-login__feature-card:hover,
.page-login__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-login__feature-icon,
.page-login__benefit-icon {
    width: 100%; /* Ensure images are responsive within cards */
    height: auto;
    max-width: 400px; /* Example max width */
    max-height: 267px; /* Example max height for 3:2 aspect */
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 20px;
    display: block; /* Ensure block for margin auto */
    min-width: 200px;
    min-height: 200px;
}

.page-login__feature-title,
.page-login__benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFD36B; /* Glow color for titles */
    margin-bottom: 15px;
}

.page-login__feature-text,
.page-login__benefit-text {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
    line-height: 1.7;
}

/* Process Section */
.page-login__process-section {
    background-color: #0A0A0A; /* Background color */
    padding: 60px 0;
    color: #FFF6D6; /* Text Main */
}

.page-login__process-steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-login__step-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-login__step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-login__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFD36B; /* Glow color */
    margin-bottom: 15px;
}

.page-login__step-text {
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
}

.page-login__troubleshooting {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 10px;
    padding: 30px;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-login__troubleshooting-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #F2C14E; /* Main color */
    margin-bottom: 20px;
    text-align: center;
}

.page-login__troubleshooting-text {
    font-size: 1.1rem;
    color: #FFF6D6; /* Text Main */
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Section */
.page-login__faq-section {
    background-color: #0A0A0A; /* Background color */
    padding: 60px 0;
    color: #FFF6D6; /* Text Main */
}

.page-login__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-login__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border color */
    overflow: hidden;
    background: #111111; /* Card BG */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}
details.page-login__faq-item summary.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-login__faq-item summary.page-login__faq-question::-webkit-details-marker {
    display: none;
}
details.page-login__faq-item summary.page-login__faq-question:hover {
    background: rgba(242, 193, 78, 0.05);
}
.page-login__faq-qtext {
    flex: 1;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFD36B; /* Glow color */
}
.page-login__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-login__faq-item .page-login__faq-answer {
    padding: 0 25px 20px;
    background: #111111; /* Card BG */
    border-radius: 0 0 10px 10px;
    color: #FFF6D6; /* Text Main */
}
details.page-login__faq-item[open] .page-login__faq-question {
    background: rgba(242, 193, 78, 0.05);
}
details.page-login__faq-item[open] .page-login__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Bottom CTA Section */
.page-login__cta-bottom-section {
    background-color: #0A0A0A; /* Background color */
    padding: 60px 0;
    text-align: center;
    color: #FFF6D6; /* Text Main */
}

.page-login__cta-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-login__cta-text-wrapper {
    max-width: 800px;
}

/* General image styling to ensure responsiveness and minimum size */
.page-login img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-login__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-login__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-login__description {
        font-size: 1.05rem;
    }
    .page-login__cta-buttons {
        flex-wrap: wrap;
    }
    .page-login__btn-primary,
    .page-login__btn-secondary {
        width: calc(50% - 10px);
    }
}

@media (max-width: 849px) {
    .page-login__hero-image {
        object-fit: contain !important; /* Prevent cropping important details */
        aspect-ratio: unset !important; /* Allow natural aspect ratio or be defined by content */
        max-height: 400px;
    }
}

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

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

    .page-login__hero-content {
        padding: 30px 15px;
    }
}