.page-login {
    background-color: #08162B; /* Deep Navy */
    color: #F3F8FF; /* Text Main */
    font-family: Arial, sans-serif; /* Roboto气质 */
}

.page-login__hero-banner {
    position: relative;
    width: 100%;
    background-color: #113B7A; /* Main color */
    padding-bottom: 20px; /* Small padding at the bottom */
}

.page-login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Ensure it doesn't get too tall */
}

.page-login__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-login__main-title {
    color: #F2C14E; /* Gold */
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Using clamp for responsive H1 font size */
}

.page-login__description {
    color: #AFC4E8; /* Text Secondary */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-login__form-section {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-login__form-container {
    background-color: #10233F; /* Card B G */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 100%;
    border: 1px solid #244D84; /* Border color */
}

.page-login__form-title {
    color: #F3F8FF; /* Text Main */
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: bold;
}

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

.page-login__form-label {
    display: block;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 8px;
    font-weight: bold;
}

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #244D84; /* Border color */
    border-radius: 8px;
    background-color: #08162B; /* Deep Navy */
    color: #F3F8FF; /* Text Main */
    font-size: 1rem;
}

.page-login__form-input::placeholder {
    color: #AFC4E8; /* Text Secondary */
    opacity: 0.7;
}

.page-login__form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-login__submit-button {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
    color: #F3F8FF; /* Text Main */
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease;
    flex-grow: 1; /* Allow button to grow */
    min-width: 150px; /* Minimum width for button */
}

.page-login__submit-button:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-login__forgot-password-link {
    color: #4FA8FF; /* Glow */
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    margin-left: 20px; /* Spacing from button */
}

.page-login__forgot-password-link:hover {
    color: #F2C14E; /* Gold */
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #1B3357; /* Divider */
}

.page-login__register-prompt p {
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-login__register-button {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
    color: #F3F8FF; /* Text Main */
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
}

.page-login__register-button:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-login__features-section {
    padding: 60px 20px;
    background-color: #08162B; /* Deep Navy */
    text-align: center;
}

.page-login__features-title {
    color: #F2C14E; /* Gold */
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-login__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-login__feature-card {
    background-color: #10233F; /* Card B G */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #244D84; /* Border color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-login__feature-icon {
    width: 200px; /* Min size */
    height: 150px; /* Min size */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-login__feature-heading {
    color: #F3F8FF; /* Text Main */
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-login__feature-description {
    color: #AFC4E8; /* Text Secondary */
    font-size: 1rem;
    line-height: 1.5;
}

.page-login__cta-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #113B7A 0%, #1D5FD1 100%); /* Main color gradient */
    text-align: center;
}

.page-login__cta-title {
    color: #F3F8FF; /* Text Main */
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-login__cta-description {
    color: #AFC4E8; /* Text Secondary */
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-login__cta-button {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
    color: #F3F8FF; /* Text Main */
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background 0.3s ease;
    display: inline-block;
}

.page-login__cta-button:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-login__main-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem); /* Adjusted clamp for mobile h1 */
    }
    .page-login__description {
        font-size: 1rem;
    }
    .page-login__form-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-login__forgot-password-link {
        margin-left: 0; /* Remove left margin on mobile */
    }
    .page-login__submit-button {
        width: 100%;
    }
    .page-login__features-title,
    .page-login__cta-title {
        font-size: 1.8rem;
    }
    .page-login__cta-description {
        font-size: 1rem;
    }
    .page-login__cta-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .page-login img {
        max-width: 100%;
        height: auto;
    }
    .page-login__hero-image {
        max-height: 400px; /* Adjust max-height for mobile hero */
    }
    .page-login__feature-icon {
        width: 200px; /* Maintain minimum size */
        height: auto; /* Allow height to adjust */
    }
}

/* Ensure content area images are not smaller than 200px */
.page-login__feature-card img {
    min-width: 200px;
    min-height: 200px; /* Ensuring minimum size for content images */
    width: 100%; /* For responsiveness within card */
    height: auto;
    object-fit: cover;
}

/* Ensure text color contrast */
.page-login__main-title,
.page-login__form-title,
.page-login__form-label,
.page-login__form-input,
.page-login__submit-button,
.page-login__register-button,
.page-login__features-title,
.page-login__feature-heading,
.page-login__cta-title,
.page-login__cta-button {
    color: #F3F8FF; /* Text Main, high contrast */
}

.page-login__description,
.page-login__form-input::placeholder,
.page-login__forgot-password-link,
.page-login__register-prompt p,
.page-login__feature-description,
.page-login__cta-description {
    color: #AFC4E8; /* Text Secondary, also good contrast */
}