/* SUUSRI AI HR Assessment — Universal Stylesheet
   Theme: SUUSRI brand — Navy × Gold × Cream (matches SPEC_GAP_REPORT)
   Type: Georgia (display) · Segoe UI (body) · Consolas (mono) — system fonts, no CDN
*/
:root {
    /* ── SUUSRI brand palette ── */
    --primary: #1A1B4B;
    /* Deep Navy */
    --primary-light: #4A4FA8;
    --primary-soft: #EFE9DC;
    /* Cream-tinted navy soft */
    --primary-border: #C9BFA8;
    --accent: #D4AF37;
    /* Gold — the accent */
    --accent-light: #E6C65C;
    --gold: #D4AF37;
    --gold-dim: rgba(212, 175, 55, 0.15);

    /* ── Cream environment ── */
    --bg-top: #FBF8F1;
    --bg-mid: #F6F0E3;
    --bg-btm: #EFE6D0;
    --bg-deep: #E3D5AE;
    --card-bg: rgba(255, 255, 255, 0.6);
    --card-border: rgba(26, 27, 75, 0.10);
    --line: rgba(26, 27, 75, 0.06);

    /* ── Semantic ── */
    --ink: #1C1C1E;
    --muted: #6E6A5E;
    --gray-dark: #4B4A45;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;
    --purple: #8B5CF6;
    --green-bg: rgba(16, 185, 129, 0.12);
    --red-bg: rgba(239, 68, 68, 0.1);

    /* ── Shadows ── */
    --shadow: 0 40px 100px -24px rgba(26, 27, 75, 0.18), 0 0 0 1px rgba(26, 27, 75, 0.05);
    --shadow-hover: 0 40px 100px -24px rgba(26, 27, 75, 0.32);
    --shadow-card: 0 8px 30px rgba(26, 27, 75, 0.06);

    /* ── Shape ── */
    --radius: 20px;
    --radius-sm: 12px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Reset ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    color: var(--ink);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(150deg, var(--bg-top) 0%, var(--bg-mid) 40%, var(--bg-btm) 70%, var(--bg-deep) 100%);
    background-attachment: fixed;
}

/* ========== Ambient background effects ========== */
.grid-lines {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 30%, transparent 100%);
}

.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 560px;
    height: 560px;
    top: -160px;
    left: -140px;
    background: radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.20), transparent 70%);
    animation: driftA 20s ease-in-out infinite;
}

.blob-2 {
    width: 520px;
    height: 520px;
    bottom: -180px;
    right: -140px;
    background: radial-gradient(circle at 60% 40%, rgba(26, 27, 75, 0.18), transparent 70%);
    animation: driftB 22s ease-in-out infinite;
}

.blob-3 {
    width: 340px;
    height: 340px;
    top: 36%;
    right: 8%;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.14), transparent 70%);
    animation: driftC 16s ease-in-out infinite;
}

@keyframes driftA {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(50px, 60px)
    }
}

@keyframes driftB {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-40px, -50px)
    }
}

@keyframes driftC {

    0%,
    100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-30px, 40px)
    }
}

/* Everything above the blobs */
nav,
main,
.stage,
.container,
section {
    position: relative;
    z-index: 1;
}

main {
    padding: 0 50px 0 50px;
}

/* ========== Universal Navigation (fixed) ========== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

body.has-nav {
    padding-top: 66px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2rem;
    background: rgba(250, 246, 239, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 27, 75, 0.12);
    box-shadow: 0 2px 20px rgba(26, 27, 75, 0.08);
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.7;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo-text,
.brand-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.logo-text span,
.brand-text span {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border: 1px solid var(--gold);
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.ats-nav-link,
.nav-link {
    font-size: 0.82rem;
    padding: 0.38rem 0.9rem;
    border-radius: 0.6rem;
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    letter-spacing: 0.01em;
    color: var(--muted);
}

.ats-nav-link:hover,
.nav-link:hover {
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(26, 27, 75, 0.08);
}

.ats-nav-active,
.nav-link.active {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(26, 27, 75, 0.3) !important;
}

.ats-nav-link.gold-btn {
    background: var(--gold);
    color: var(--primary);
}

.ats-nav-link.gold-btn:hover {
    background: #e6c65c;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35) !important;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: 1.5px solid rgba(26, 27, 75, 0.15);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle:hover {
    border-color: var(--gold);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    #navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        background: rgba(250, 246, 239, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(26, 27, 75, 0.12);
        box-shadow: 0 20px 40px rgba(26, 27, 75, 0.12);
        padding: 0.9rem 1.25rem 1.1rem;
    }

    #navbar .nav-links.open {
        display: flex;
    }

    #navbar .nav-link,
    #navbar .ats-nav-link {
        padding: 0.6rem 0.9rem;
    }
}

/* ========== Layout ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ========== Cards ========== */
.card,
.card-premium {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    position: relative;
}

.card::before,
.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before,
.card-premium:hover::before {
    opacity: 1;
}

/* ========== Typography ========== */
h1,
h2,
h3,
h4 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--primary);
}

h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 1.6rem;
    font-weight: 700;
}

h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 25%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    display: inline-block;
}

/* ========== Forms ========== */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

label {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(26, 27, 75, 0.14);
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    outline: none;
    transition: var(--transition);
    width: 100%;
}

input:hover,
select:hover,
textarea:hover {
    background: rgba(255, 255, 255, 0.85);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.65rem 1.35rem;
    border-radius: 0.75rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 0.45rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 27, 75, 0.3);
}

.btn-gold {
    background: var(--gold);
    color: var(--primary);
}

.btn-gold:hover {
    background: #e6c65c;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(26, 27, 75, 0.2);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(26, 27, 75, 0.05);
}

.btn-full {
    width: 100%;
    border-radius: 100px;
    height: 52px;
    font-size: 1rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== Stepper ========== */
.stepper-wrap {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 2.5rem;
}

.stepper-rail {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(26, 27, 75, 0.1);
    transform: translateY(-50%);
    z-index: 0;
}

.stepper-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.4s ease;
    width: 0%;
}

.step-node {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(26, 27, 75, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition);
    color: var(--muted);
    backdrop-filter: blur(8px);
}

.step-node.active {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 5px rgba(26, 27, 75, 0.1);
}

.step-node.done {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary);
}

/* ========== Timer ========== */
.timer-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(26, 27, 75, 0.12);
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-family: Consolas, 'Courier New', monospace;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    box-shadow: var(--shadow-card);
}

.timer-chip.urgent {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.timer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: blink 2s ease-in-out infinite;
}

.timer-chip.urgent .timer-dot {
    background: var(--danger);
}

/* ========== Score badge ========== */
.score-ring,
.score-badge-large {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    box-shadow: 0 0 0 8px var(--gold-dim), var(--shadow-card);
}

.score-ring .score-val,
.score-badge-large .score-number {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.score-ring .score-lbl,
.score-badge-large .score-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-top: 2px;
}

/* ========== Feedback cards ========== */
.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

@media(max-width:720px) {
    .feedback-grid {
        grid-template-columns: 1fr;
    }
}

.feedback-block,
.feedback-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
}

.feedback-block.strengths,
.feedback-card.strengths {
    border-left: 4px solid var(--success);
}

.feedback-block.improvements,
.feedback-card.improvements {
    border-left: 4px solid var(--danger);
}

.feedback-block.suggestions,
.feedback-card.suggestions {
    border-left: 4px solid var(--gold);
    grid-column: span 2;
}

@media(max-width:720px) {

    .feedback-block.suggestions,
    .feedback-card.suggestions {
        grid-column: span 1;
    }
}

.feedback-block h3,
.feedback-card h3 {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feedback-list {
    list-style: none;
}

.feedback-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(26, 27, 75, 0.07);
    font-size: 0.93rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.feedback-list li::before {
    content: '›';
    color: var(--gold);
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1;
}

.feedback-list li:last-child {
    border-bottom: none;
}

/* ========== Admin Stats Grid ========== */
.stats-grid,
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

@media(max-width:900px) {

    .stats-grid,
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:480px) {

    .stats-grid,
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card,
.admin-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.stat-card:hover,
.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-card .value,
.admin-stat-card .value {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0.5rem 0;
}

.stat-card .label,
.admin-stat-card .label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ========== Admin Table ========== */
.table-wrap,
.admin-table-container {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(14px);
    overflow-x: auto;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th,
.admin-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(26, 27, 75, 0.06);
}

.admin-table th {
    background: rgba(26, 27, 75, 0.05);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    white-space: nowrap;
}

.admin-table tbody tr {
    transition: var(--transition);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ========== Status Pills ========== */
.pill,
.status-pill {
    padding: 4px 11px;
    border-radius: 100px;
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-block;
}

.pill.completed,
.status-pill.completed {
    background: var(--green-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pill.in_progress,
.status-pill.in_progress {
    background: rgba(212, 175, 55, 0.12);
    color: #8B6914;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.pill.pending,
.status-pill.pending {
    background: rgba(100, 116, 139, 0.1);
    color: var(--muted);
}

/* ========== Modal ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 39, 0.55);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box,
.modal-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    width: 92%;
    max-width: 820px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 2.25rem;
    box-shadow: 0 30px 60px rgba(10, 14, 39, 0.25);
    transform: translateY(20px);
    transition: var(--transition);
    position: relative;
}

.modal-overlay.open .modal-box,
.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: var(--muted);
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ========== Q&A display ========== */
.qa-block {
    background: rgba(255, 255, 255, 0.6);
    border-left: 3px solid var(--primary);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
}

.qa-q,
.qa-question {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.qa-a,
.qa-answer {
    font-size: 0.9rem;
    color: var(--ink);
    white-space: pre-wrap;
}

/* ========== Loader ========== */
.loader,
.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(26, 27, 75, 0.1);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 3rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== Result section ========== */
.result-section {
    margin-top: 2.5rem;
}

/* ========== Universal Footer ========== */
#footer {
    margin-top: 5rem;
}

footer {
    background: #14153A;
    color: rgba(255, 255, 255, 0.72);
    padding: 2.5rem 2rem 2rem;
    border-top: 2px solid var(--gold);
    text-align: center;
    font-size: 0.88rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}

.footer-brand {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-brand span {
    color: var(--gold);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 1.1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.4rem;
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    margin-top: 0.5rem;
}

.footer-secure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.9rem;
    padding: 5px 14px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer-secure .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 2s ease-in-out infinite;
}

/* ========== Animations ========== */
@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shine {
    0% {
        left: -60%;
    }

    40% {
        left: 130%;
    }

    100% {
        left: 130%;
    }
}

/* ========== Login Page Specific ========== */
.login-stage {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.login-card {
    display: flex;
    width: 100%;
    max-width: 1040px;
    min-height: 580px;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(26, 27, 75, 0.12);
    box-shadow: 0 40px 100px -24px rgba(26, 27, 75, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    animation: cardIn 0.85s cubic-bezier(.22, 1, .36, 1) 0.2s forwards;
}

.panel-left {
    flex: 1 1 45%;
    position: relative;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: radial-gradient(120% 120% at 15% 0%, rgba(212, 175, 55, 0.18), transparent 55%), linear-gradient(160deg, #4A4FA8 0%, #1A1B4B 48%, #0D0E2E 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    color: #fff;
}

.panel-right {
    flex: 1 1 55%;
    padding: 48px 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    position: relative;
}

@media(max-width:860px) {
    .panel-left {
        display: none;
    }

    .panel-right {
        flex: 1 1 100%;
    }
}

.deco-shape {
    position: absolute;
    border-radius: 40%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    filter: blur(0.5px);
}

.deco-1 {
    width: 190px;
    height: 190px;
    top: -45px;
    right: -55px;
    border-radius: 50%;
    animation: driftA 9s ease-in-out infinite;
}

.deco-2 {
    width: 120px;
    height: 120px;
    bottom: 16%;
    right: 6%;
    border-radius: 30% 70% 60% 40%/40% 40% 60% 60%;
    animation: driftB 11s ease-in-out infinite;
}

.deco-3 {
    width: 70px;
    height: 70px;
    top: 44%;
    left: -20px;
    border-radius: 50%;
    animation: driftC 8s ease-in-out infinite;
}

.stagger {
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.65s cubic-bezier(.22, 1, .36, 1) forwards;
}

.r1 {
    animation-delay: .6s
}

.r2 {
    animation-delay: .72s
}

.r3 {
    animation-delay: .82s
}

.r4 {
    animation-delay: .92s
}

.r5 {
    animation-delay: 1.0s
}

.r6 {
    animation-delay: 1.08s
}

.lp-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 16px 8px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.7s ease 0.55s forwards;
}

.lp-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 2s ease-in-out infinite;
}

.lp-headline {
    position: relative;
    z-index: 2;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #fff;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.8s ease 0.68s forwards;
}

.lp-headline em {
    font-style: normal;
    background: linear-gradient(90deg, #fff, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-sub {
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: 320px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.75s ease 0.8s forwards;
}

.lp-chips {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.75s ease 0.95s forwards;
}

.lp-chip {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 14px 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px -12px rgba(15, 20, 70, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.chip-label {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2px;
}

.chip-value {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.logo-square {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.15), 0 10px 22px -8px rgba(26, 27, 75, 0.4);
    margin-bottom: 16px;
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {

    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.15), 0 10px 22px -8px rgba(26, 27, 75, 0.4)
    }

    50% {
        box-shadow: 0 0 0 9px rgba(212, 175, 55, 0.22), 0 10px 26px -8px rgba(26, 27, 75, 0.4)
    }
}

.logo-square img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.field {
    margin-bottom: 1.1rem;
}

.field-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
    display: block;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #94a3b8;
    transition: color 0.25s;
    z-index: 2;
}

.input-wrap input {
    padding-left: 46px;
    padding-right: 46px;
    height: 50px;
    border-radius: 14px;
}

.input-wrap:focus-within .input-icon {
    color: var(--gold);
}

.toggle-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    transition: color 0.25s;
    z-index: 2;
}

.toggle-eye:hover {
    color: var(--gold);
}

.error-box {
    display: none;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    border: 1px solid rgba(239, 68, 68, 0.22);
    backdrop-filter: blur(4px);
    align-items: center;
    gap: 10px;
}

.btn-login {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--primary) 0%, #2A2B6E 50%, var(--gold) 100%);
    background-size: 220% 100%;
    background-position: 0%;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 12px 26px -8px rgba(26, 27, 75, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: skewX(-20deg);
    animation: shine 3.2s ease-in-out infinite;
}

.btn-login:hover {
    background-position: 100%;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -8px rgba(26, 27, 75, 0.5);
}

.btn-login:active {
    transform: translateY(0) scale(0.99);
}