.page-login {
    color: #FFF6D6; /* Text Main for dark background */
    background-color: #0A0A0A; /* Default background for sections */
}

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

.page-login__hero-section {
    position: relative;
    padding-top: 50px; /* Small top padding for desktop */
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #0A0A0A;
}

.page-login__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height of the image wrapper */
    overflow: hidden;
}

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

.page-login__hero-content {
    position: relative;
    z-index: 10;
    margin-top: -150px; /* Overlap with image slightly for visual effect */
    background-color: rgba(17, 17, 17, 0.8); /* Card BG with transparency */
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #3A2A12; /* Border color */
}

.page-login__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: #FFD36B; /* Glow color for emphasis */
    margin-bottom: 15px;
}

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

.page-login__login-form-wrapper {
    background-color: #111111; /* Card BG */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #3A2A12;
}

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

.page-login__form-label {
    display: block;
    margin-bottom: 8px;
    color: #FFF6D6;
    font-weight: 500;
}

.page-login__form-input {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #3A2A12;
    border-radius: 5px;
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-size: 1em;
}

.page-login__form-input::placeholder {
    color: rgba(255, 246, 214, 0.6);
}

.page-login__form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.page-login__remember-me {
    color: #FFF6D6;
    display: flex;
    align-items: center;
}

.page-login__checkbox {
    margin-right: 8px;
    accent-color: #F2C14E; /* Highlight checkbox with brand color */
}

.page-login__forgot-password-link {
    color: #F2C14E; /* Main color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
    color: #FFD36B; /* Glow color on hover */
}

.page-login__submit-button,
.page-login__cta-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #111111; /* Dark text for bright button */
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.page-login__submit-button:hover,
.page-login__cta-button:hover {
    background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
    transform: translateY(-2px);
}

.page-login__register-text {
    color: #FFF6D6;
    margin-top: 20px;
    font-size: 0.95em;
}

.page-login__register-link {
    color: #F2C14E;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-login__register-link:hover {
    color: #FFD36B;
}

.page-login__section-title {
    font-size: 2.2em;
    color: #FFD36B;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-login__benefits-section,
.page-login__guide-section,
.page-login__faq-section,
.page-login__cta-register-section,
.page-login__conclusion-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Consistent dark background */
}

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

.page-login__benefit-item {
    background-color: #111111; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #3A2A12;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.page-login__benefit-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-login__benefit-heading {
    font-size: 1.5em;
    color: #F2C14E;
    margin-bottom: 15px;
    flex-grow: 0; /* Don't grow */
}

.page-login__benefit-description {
    color: #FFF6D6;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to grow */
}

.page-login__btn-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #F2C14E;
    color: #111111;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.page-login__btn-link:hover {
    background-color: #FFD36B;
}

.page-login__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-login__step-item {
    background-color: #111111;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #3A2A12;
    box-sizing: border-box;
}

.page-login__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #F2C14E;
    color: #111111;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

.page-login__step-heading {
    font-size: 1.4em;
    color: #F2C14E;
    margin-bottom: 10px;
}

.page-login__step-description {
    color: #FFF6D6;
    line-height: 1.6;
}

.page-login__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-login__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    color: #F2C14E;
    font-size: 1.2em;
    font-weight: 600;
    background-color: #1A1A1A; /* Slightly darker for question */
    border-bottom: 1px solid transparent; /* No border by default */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}
.page-login__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}
.page-login__faq-question::marker {
    display: none; /* Hide default marker */
}

.page-login__faq-item[open] .page-login__faq-question {
    background-color: #222222;
    border-bottom-color: #3A2A12;
}

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

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

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

.page-login__faq-answer {
    padding: 0 25px 20px;
    color: #FFF6D6;
    line-height: 1.6;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-login__faq-item[open] .page-login__faq-answer {
    max-height: 500px; /* Arbitrary large value for smooth transition */
    padding-top: 15px;
}
.page-login__faq-answer p {
    margin: 0;
}
.page-login__faq-answer a {
    color: #F2C14E;
    text-decoration: none;
}
.page-login__faq-answer a:hover {
    text-decoration: underline;
}

.page-login__cta-register-section {
    text-align: center;
    padding: 80px 0;
    background-color: #1A1A1A; /* Slightly different background for CTA */
    border-top: 1px solid #3A2A12;
    border-bottom: 1px solid #3A2A12;
}

.page-login__cta-description {
    font-size: 1.1em;
    color: #FFF6D6;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.page-login__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

.page-login__conclusion-text {
    font-size: 1.1em;
    color: #FFF6D6;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Responsive styles --- */
@media (max-width: 1024px) {
    .page-login__container {
        padding: 20px 30px;
    }
    .page-login__hero-content {
        margin-top: -100px;
        max-width: 500px;
        padding: 25px;
    }
    .page-login__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-login__hero-description {
        font-size: 1em;
    }
    .page-login__benefits-grid,
    .page-login__guide-steps {
        gap: 20px;
    }
    .page-login__benefit-image {
        height: 180px;
    }
    .page-login__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-login__hero-section {
        padding-top: 10px; /* Fixed header offset small top padding */
        padding-bottom: 30px;
    }
    .page-login__hero-image-wrapper {
        max-height: 300px;
    }
    .page-login__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-login__hero-content {
        margin-top: -80px;
        padding: 20px;
        max-width: 90%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-login__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 10px;
    }
    .page-login__hero-description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    
    /* 通用图片与容器 */
    .page-login img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-login__container,
    .page-login__hero-section,
    .page-login__benefits-section,
    .page-login__guide-section,
    .page-login__faq-section,
    .page-login__cta-register-section,
    .page-login__conclusion-section,
    .page-login__benefit-item,
    .page-login__step-item,
    .page-login__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-login__submit-button,
    .page-login__cta-button,
    .page-login__btn-link,
    .page-login__forgot-password-link,
    .page-login__register-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-login__form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .page-login__forgot-password-link {
        text-align: left;
    }
    .page-login__register-text {
        text-align: center;
    }

    .page-login__benefits-grid,
    .page-login__guide-steps {
        grid-template-columns: 1fr; /* Stack items vertically */
    }
    .page-login__benefit-image {
        height: auto; /* Allow image to scale */
        max-height: 250px;
    }
    .page-login__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-login__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-login__faq-answer {
        padding: 0 20px 15px;
    }
    .page-login__cta-register-section {
        padding: 50px 0;
    }
}