/* style/login.css */
.page-login {
    color: #333333; /* Dark text for light body background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4; /* Assumed inherited from shared.css or body */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Base styles for sections that will have a dark background */
.page-login__hero-section,
.page-login__features-section,
.page-login__security-section,
.page-login__download-cta-section,
.page-login__explore-section {
    background-color: #0D1117; /* Main brand dark color */
    color: #ffffff; /* Light text on dark background */
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

/* Overlay for dark sections to give depth if needed */
.page-login__hero-section::before,
.page-login__features-section::before,
.page-login__security-section::before,
.page-login__download-cta-section::before,
.page-login__explore-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.8)); /* Subtle gradient for depth */
    z-index: 0;
}

.page-login__hero-section > *,
.page-login__features-section > *,
.page-login__security-section > *,
.page-login__download-cta-section > *,
.page-login__explore-section > * {
    position: relative;
    z-index: 1;
}

.page-login__process-section,
.page-login__faq-section,
.page-login__contact-promo-section {
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text on light background */
    padding: 80px 20px;
}

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

.page-login__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Accent color for main titles */
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-login__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: rgba(255, 255, 255, 0.8); /* Lighter text for description on dark background */
}
.page-login__process-section .page-login__section-description,
.page-login__faq-section .page-login__section-description,
.page-login__contact-promo-section .page-login__section-description {
    color: #555555; /* Darker text for description on light background */
}

/* Hero Section */
.page-login__hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.page-login__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    line-height: 1.2;
}

.page-login__hero-description {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin-bottom: 40px;
}

.page-login__login-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    max-width: 1000px;
}

.page-login__login-image-container {
    flex: 1 1 40%;
    min-width: 300px;
}

.page-login__login-hero-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    width: 100%; /* Ensure image fills container */
    height: auto;
    min-width: 200px; /* Minimum size */
    min-height: 200px;
    object-fit: cover;
}

.page-login__login-form {
    flex: 1 1 40%;
    min-width: 300px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-login__form-title {
    font-size: 2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 15px;
}

.page-login__form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 30px;
}

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

.page-login__label {
    display: block;
    color: #FFD700;
    margin-bottom: 8px;
    font-size: 1em;
}

.page-login__input {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.page-login__actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.page-login__login-button,
.page-login__forgot-password,
.page-login__register-button,
.page-login__download-button,
.page-login__contact-button,
.page-login__promo-button {
    display: block;
    text-align: center;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-login__login-button,
.page-login__register-button {
    background-color: #FFD700;
    color: #0D1117;
    border: none;
}

.page-login__login-button:hover,
.page-login__register-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-login__forgot-password {
    background-color: transparent;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-login__forgot-password:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.page-login__register-prompt {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 25px;
    font-size: 0.95em;
}

.page-login__register-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

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

/* Features Section */
.page-login__features-grid,
.page-login__security-grid,
.page-login__explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-login__feature-item,
.page-login__security-item,
.page-login__explore-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-login__feature-item:hover,
.page-login__security-item:hover,
.page-login__explore-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-login__feature-icon,
.page-login__security-icon {
    width: 300px;
    height: 225px;
    max-width: 100%;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    display: block;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
    object-fit: cover;
}

.page-login__feature-title,
.page-login__security-title,
.page-login__explore-card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-login__feature-text,
.page-login__security-text,
.page-login__explore-card-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

.page-login__call-to-action-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 60px;
    color: rgba(255, 255, 255, 0.9);
}

/* Process Section */
.page-login__process-list {
    list-style: none;
    counter-reset: process-step;
    padding: 0;
    margin-top: 50px;
}

.page-login__process-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 80px;
}

.page-login__process-item::before {
    counter-increment: process-step;
    content: "Step " counter(process-step);
    position: absolute;
    left: 20px;
    top: 30px;
    background-color: #FFD700;
    color: #0D1117;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

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

.page-login__process-step-description {
    color: #555555;
    font-size: 1em;
}

.page-login__process-note {
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    color: #777777;
}

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

.page-login__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px 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.1em;
    font-weight: bold;
    color: #0D1117;
    cursor: pointer;
    background-color: #ffffff;
    border-radius: 8px;
    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;
}