/* style/login.css */

/* --- Base Styles --- */
.page-login {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #1a1a2e, so light text */
    background-color: transparent; /* Main content background will be transparent to show body background */
}

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

/* --- Hero Section --- */
.page-login__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-login__hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-login__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: -1;
}

.page-login__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5); /* Slightly darker background for content */
    border-radius: 10px;
}

.page-login__main-title {
    font-size: 3.5em;
    color: #FFFF00; /* Custom color for login/register font */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-login__intro-text {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* --- Login Form --- */
.page-login__form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    margin: 30px auto 0;
}

.page-login__form-title {
    font-size: 1.8em;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
}

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

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

.page-login__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #017439;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

.page-login__form-input::placeholder {
    color: #cccccc;
}

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

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

.page-login__checkbox {
    margin-right: 8px;
}

.page-login__checkbox-label {
    color: #f0f0f0;
}

.page-login__forgot-password-link {
    color: #017439;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-login__forgot-password-link:hover {
    color: #FFFF00;
}

.page-login__btn-login {
    width: 100%;
    padding: 15px;
    background-color: #C30808; /* Custom login button color */
    color: #FFFF00; /* Custom login button font color */
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-login:hover {
    background-color: #a00606;
}

.page-login__register-prompt {
    text-align: center;
    margin-top: 20px;
    color: #f0f0f0;
}

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

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

/* --- Section Titles & Descriptions --- */
.page-login__section-title {
    font-size: 2.5em;
    color: #FFFF00;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-login__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* --- Guide Section --- */
.page-login__guide-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.4);
}

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

.page-login__step-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #017439;
}

.page-login__step-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-login__step-text {
    color: #cccccc;
}

/* --- Benefits Section --- */
.page-login__benefits-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.6);
}

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

.page-login__benefit-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #017439;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-login__benefit-icon {
    width: 100%;
    height: auto;
    max-width: 200px; /* Adjust max-width for benefit icons */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-login__benefit-title {
    font-size: 1.6em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-login__benefit-text {
    color: #cccccc;
}

/* --- Features Section (Similar to Benefits, but with different content) --- */
.page-login__features-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.4);
}

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

.page-login__feature-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #017439;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-login__feature-icon {
    width: 100%;
    height: auto;
    max-width: 200px; /* Adjust max-width for feature icons */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-login__feature-title {
    font-size: 1.6em;
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-login__feature-text {
    color: #cccccc;
}

/* --- Promo Video Section --- */
.page-login__promo-video-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.page-login__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background-color: #000;
}

.page-login__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-login__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
    border-radius: 10px;
    z-index: 2;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Remove underline for link */
}

.page-login__video-overlay-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

.page-login__video-play-button {
    font-size: 4em;
    color: #FFFF00;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.page-login__video-overlay-link:hover .page-login__video-play-button {
    transform: scale(1.1);
}

/* --- CTA Section --- */
.page-login__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
}

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

.page-login__btn-primary,
.page-login__btn-secondary {
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal;
    word-wrap: break-word;
}

.page-login__btn-primary {
    background-color: #C30808; /* Custom login button color */
    color: #FFFF00; /* Custom login button font color */
    border: 2px solid #C30808;
}

.page-login__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-login__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand color */
    border: 2px solid #017439;
}

.page-login__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* --- FAQ Section --- */
.page-login__faq-section {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.5);
}

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

.page-login__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #017439;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-login__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}