@font-face{font-family:NexoFont;src:url(fonts/NexoBold.ttf)format("truetype");font-display:swap;font-weight:700}
@font-face{font-family:NexoFont;src:url(fonts/NexoBoldItalic.ttf)format("truetype");font-display:swap;font-weight:700;font-style:italic}
@font-face{font-family:NexoFont;src:url(fonts/NexoMedium.ttf)format("truetype");font-display:swap;font-weight:500}
@font-face{font-family:NexoFont;src:url(fonts/NexoMediumItalic.ttf)format("truetype");font-display:swap;font-weight:500;font-style:italic}
@font-face{font-family:NexoFont;src:url(fonts/NexoRegular.ttf)format("truetype");font-display:swap;font-weight:400}
@font-face{font-family:NexoFont;src:url(fonts/NexoRegularItalic.ttf)format("truetype");font-display:swap;font-weight:400;font-style:italic}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "NexoFont", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    color: #1a1a2e;
    background: #ffffff;
}

/* ============ HEADER ============ */
.header {
    background-color: #2d3e7c;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    height: 32px;
    width: auto;
}

.page-title {
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    flex: 1;
}

.logout-btn {
    background-color: white;
    color: #2d3e7c;
    border: none;
    border-radius: 7px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.logout-btn:hover {
    background-color: #f0f0f0;
}

.logout-arrow {
    width: 15px;
    height: 15px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-wrap {
    position: relative;
}

.profile-btn {
    background: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2d3e7c;
}

.profile-btn:hover {
    background: #f0f0f0;
}

.profile-btn svg {
    width: 20px;
    height: 20px;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    min-width: 170px;
    overflow: hidden;
    z-index: 100;
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown a {
    display: block;
    padding: 12px 18px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.profile-dropdown a:hover {
    background: #f5f6fa;
}

/* ============ VERIFICATION BANNER (gradient: header blue on right -> darker navy on left) ============ */
.verification-banner {
    background-image: linear-gradient(to left, #2d3e7c 0%, #142152 100%);
    padding: 12px 48px 18px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.lock-box {
    width: 50px;
    height: 50px;
    background-color: #5762e8;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lock-icon {
    width: 22px;
    height: 22px;
}

.verification-text {
    flex: 1;
}

.verification-text h2 {
    color: white;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.verification-text p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 100%;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    background-color: #eef0fb;
    padding: 80px 40px 70px;
    text-align: center;
}

.main-title {
    font-size: 42px;
    font-weight: 700;
    color: #2a3a74;
    margin-bottom: 32px;
}

.main-desc {
    font-size: 19px;
    color: #4a5591;
    max-width: 620px;
    margin: 0 auto 16px;
    line-height: 1.6;
}

/* ============ CARDS ============ */
.cards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 950px;
    margin: 60px auto 0;
}

.card {
    background-color: white;
    border-radius: 16px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.card-info {
    flex: 1;
}

.card-title {
    font-size: 27px;
    font-weight: 700;
    color: #14142b;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 19px;
    color: #4a4a4a;
    line-height: 1.55;
    max-width: 620px;
}

.learn-more-btn {
    background-color: #2d3e7c;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.learn-more-btn:hover {
    background-color: #22295c;
}

/* ============ FOOTER ============ */
.footer {
    background-color: white;
    padding: 60px 48px 24px;
}

.footer-logo {
    display: block;
    height: 32px;
    width: auto;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-links a {
    color: #5a6270;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.footer-links a:hover {
    color: #2d3e7c;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.footer-copyright {
    text-align: right;
    color: #9aa1b1;
    font-size: 14px;
}

/* ============ AUTH PAGES ============ */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f5f6fa;
}
.topbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 32px;
    display: flex;
    align-items: center;
}
.topbar .logo-img { height: 42px; }
.auth-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-card {
    background: #fff;
    border-radius: 16px;
    padding: 48px 56px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}
.auth-title {
    font-size: 32px;
    font-weight: 700;
    color: #14142b;
    margin-bottom: 20px;
}
.auth-card .small {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 14px;
}
.auth-card .notice {
    background: #e8f4f8;
    border: none;
    border-radius: 10px;
    padding: 20px 24px;
    font-size: 14px;
    color: #334155;
    margin-bottom: 28px;
    text-align: center;
    line-height: 1.6;
}
.auth-card .notice strong {
    color: #14142b;
}
.auth-card .notice div {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
}
.field {
    margin-bottom: 20px;
}
.field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 8px;
}
.auth-field input {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    font-family: inherit;
    color: #14142b;
    outline: none;
    background: transparent;
    transition: border-color .15s;
}
.auth-field input:focus {
    border-bottom-color: #14142b;
}
.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
    cursor: pointer;
}
.check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    accent-color: #14142b;
}
.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.btn.solid {
    background: #14142b;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: background .15s;
    letter-spacing: 0.5px;
}
.btn.solid:hover { background: #1e1e3f; }
.auth-link {
    font-size: 14px;
    color: #14142b;
    text-decoration: none;
    text-align: center;
}
.auth-link:hover { text-decoration: underline; }
.auth-card .create-link {
    margin-top: 28px;
    font-size: 14px;
    color: #9ca3af;
}
.auth-card .create-link a {
    color: #14142b;
    text-decoration: none;
    font-weight: 500;
}
.auth-card .create-link a:hover { text-decoration: underline; }
.footerbar {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    color: #9ca3af;
    padding: 16px 32px;
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
}
.footerbar strong { color: #64748b; }

/* ============ HERO ANIMATION FIXES ============ */
/* Fix black background issue with auto-playing videos */
.hero-animation_wrap,
.tablet-hero-animation_wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fill-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Ensure video parent containers maintain aspect ratio */
.section_hero {
    position: relative;
    overflow: hidden;
    background: #000; /* Fallback background */
}

/* Prevent the footer links row from overflowing / forcing horizontal scroll on mobile */
@media (max-width: 768px) {
    .footer-links {
        flex-wrap: wrap;
        gap: 14px 20px;
        justify-content: center;
    }
    .footer-copyright {
        text-align: center;
    }
}
