﻿
/* ═══════════════════════════════════════════
   ROOT & RESET
═══════════════════════════════════════════ */
:root {
    --gold: #c9a84c;
    --gold-light: #f0d080;
    --gold-dark: #9a7530;
    --navy: #0a1628;
    --navy-mid: #0f2040;
    --navy-light: #162b55;
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --white: #ffffff;
    --off-white: #f8f6f0;
    --muted: #94a3b8;
    --border: rgba(201,168,76,.2);
    --font: 'Cairo',sans-serif;
    --shadow-gold: 0 0 40px rgba(201,168,76,.25);
    --shadow-deep: 0 25px 80px rgba(0,0,0,.5);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

    /* ═══════════════════════════════════════════
   NOISE TEXTURE OVERLAY
═══════════════════════════════════════════ */
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 0;
        opacity: .4;
    }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,22,40,.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all .3s;
}

    nav.scrolled {
        padding: 12px 60px;
        background: rgba(10,22,40,.97);
    }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}

.nav-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}

    .nav-name span {
        color: var(--gold);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}

    .nav-link:hover {
        color: var(--white);
        background: rgba(255,255,255,.06);
    }

.nav-cta {
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    color: var(--navy) !important;
    padding: 9px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(201,168,76,.35);
    transition: all .3s;
}

    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(201,168,76,.5);
        background: rgba(255,255,255,.06) !important;
        color: var(--gold) !important;
        border: 1px solid var(--gold);
    }

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 60px 80px;
    overflow: hidden;
}

/* Animated mesh background */
.hero-mesh {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 80% 50%,rgba(13,148,136,.15) 0%,transparent 60%), radial-gradient(ellipse 60% 80% at 10% 30%,rgba(201,168,76,.08) 0%,transparent 50%), radial-gradient(ellipse 40% 40% at 50% 80%,rgba(22,43,85,.8) 0%,transparent 60%);
    animation: meshPulse 8s ease-in-out infinite alternate;
}

@keyframes meshPulse {
    from {
        opacity: .7
    }

    to {
        opacity: 1
    }
}

/* Floating geometric shapes */
.geo {
    position: absolute;
    border: 1px solid rgba(201,168,76,.15);
    border-radius: 50%;
    animation: geoFloat 6s ease-in-out infinite;
}

.geo1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.geo2 {
    width: 250px;
    height: 250px;
    bottom: 50px;
    right: 100px;
    animation-delay: -3s;
    border-color: rgba(13,148,136,.2);
}

.geo3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 25%;
    animation-delay: -1.5s;
}

@keyframes geoFloat {
    0%,100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Grid overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(201,168,76,.04) 1px,transparent 1px), linear-gradient(90deg,rgba(201,168,76,.04) 1px,transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,168,76,.12);
    border: 1px solid rgba(201,168,76,.3);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 28px;
    animation: fadeUp .8s ease both;
}

    .hero-badge i {
        font-size: 14px;
    }

.hero-title {
    font-size: clamp(38px,5vw,68px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeUp .8s .1s ease both;
}

    .hero-title .line-gold {
        display: block;
        background: linear-gradient(135deg,var(--gold-light),var(--gold),var(--gold-dark));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-sub {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeUp .8s .2s ease both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp .8s .3s ease both;
}

.btn-hero-primary {
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    color: var(--navy);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(201,168,76,.4);
    transition: all .3s;
}

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 40px rgba(201,168,76,.55);
    }

.btn-hero-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,.2);
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .3s;
}

    .btn-hero-ghost:hover {
        border-color: var(--gold);
        color: var(--gold);
        background: rgba(201,168,76,.06);
    }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    animation: fadeUp .8s .4s ease both;
}

.stat-num {
    font-size: 30px;
    font-weight: 900;
    color: var(--gold);
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

/* Hero right - Dashboard mockup */
.hero-visual {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 52%;
    animation: fadeUp .8s .2s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════
   DASHBOARD MOCKUP
═══════════════════════════════════════════ */
.mockup-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-deep),0 0 0 1px rgba(255,255,255,.08);
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.08);
}

.mockup-topbar {
    background: rgba(255,255,255,.04);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

    .dot.r {
        background: #ff5f57;
    }

    .dot.y {
        background: #febc2e;
    }

    .dot.g {
        background: #28c840;
    }

.mockup-body {
    display: flex;
    min-height: 320px;
}

.mock-sidebar {
    width: 130px;
    flex-shrink: 0;
    background: rgba(10,22,40,.8);
    padding: 12px 8px;
    border-left: 1px solid rgba(255,255,255,.04);
}

.mock-brand {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold);
    padding: 6px 8px 14px;
    letter-spacing: .5px;
}

.mock-nav-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 7px;
    font-size: 10px;
    color: rgba(255,255,255,.4);
    margin-bottom: 2px;
    cursor: pointer;
}

    .mock-nav-item.active {
        background: rgba(201,168,76,.12);
        color: var(--gold-light);
    }

    .mock-nav-item i {
        font-size: 12px;
        flex-shrink: 0;
    }

.mock-main {
    flex: 1;
    padding: 14px;
}

.mock-kpi-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.mock-kpi {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 10px;
}

.mock-kpi-val {
    font-size: 14px;
    font-weight: 800;
    color: var(--white);
}

.mock-kpi-lbl {
    font-size: 8px;
    color: rgba(255,255,255,.4);
    margin-top: 2px;
}

.mock-kpi.k1 .mock-kpi-val {
    color: #10b981;
}

.mock-kpi.k2 .mock-kpi-val {
    color: #ef4444;
}

.mock-kpi.k3 .mock-kpi-val {
    color: var(--gold);
}

.mock-kpi.k4 .mock-kpi-val {
    color: #6366f1;
}

.mock-chart-area {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.mock-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    padding: 10px;
}

.mock-card-title {
    font-size: 9px;
    color: rgba(255,255,255,.5);
    margin-bottom: 8px;
    font-weight: 600;
}

.mock-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 70px;
}

.mock-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    min-width: 6px;
}

.b1 {
    background: rgba(59,130,246,.6);
}

.b2 {
    background: rgba(239,68,68,.5);
}

.mock-donut {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(#3b82f6 0deg 130deg,#10b981 130deg 220deg,#ef4444 220deg 290deg,#f59e0b 290deg 360deg);
    margin: 0 auto 6px;
    box-shadow: 0 0 0 8px rgba(255,255,255,.03);
}

.mock-table-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: 8px;
    color: rgba(255,255,255,.5);
}

.mock-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 7px;
    font-weight: 600;
}

    .mock-badge.posted {
        background: rgba(16,185,129,.15);
        color: #10b981;
    }

    .mock-badge.draft {
        background: rgba(100,116,139,.15);
        color: #64748b;
    }

/* ═══════════════════════════════════════════
   FEATURES SECTION
═══════════════════════════════════════════ */
.section {
    padding: 100px 60px;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px,4vw,48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 540px;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    margin-top: 60px;
}

.feat-card {
    background: linear-gradient(135deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all .4s;
    cursor: default;
}

    .feat-card::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        opacity: 0;
        transition: opacity .4s;
    }

    .feat-card:hover {
        border-color: rgba(201,168,76,.3);
        transform: translateY(-6px);
        box-shadow: 0 20px 60px rgba(0,0,0,.3),var(--shadow-gold);
    }

        .feat-card:hover::before {
            opacity: 1;
        }

.fc1::before {
    background: radial-gradient(var(--gold) 0%,transparent 70%);
}

.fc2::before {
    background: radial-gradient(var(--teal) 0%,transparent 70%);
}

.fc3::before {
    background: radial-gradient(#6366f1 0%,transparent 70%);
}

.fc4::before {
    background: radial-gradient(#ef4444 0%,transparent 70%);
}

.fc5::before {
    background: radial-gradient(#10b981 0%,transparent 70%);
}

.fc6::before {
    background: radial-gradient(var(--gold) 0%,transparent 70%);
}

.feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.fi1 {
    background: rgba(201,168,76,.12);
    color: var(--gold);
}

.fi2 {
    background: rgba(13,148,136,.12);
    color: var(--teal-light);
}

.fi3 {
    background: rgba(99,102,241,.12);
    color: #818cf8;
}

.fi4 {
    background: rgba(239,68,68,.12);
    color: #f87171;
}

.fi5 {
    background: rgba(16,185,129,.12);
    color: #34d399;
}

.fi6 {
    background: rgba(201,168,76,.12);
    color: var(--gold);
}

.feat-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.feat-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════
   SCREENSHOTS SECTION
═══════════════════════════════════════════ */
.screens-section {
    background: linear-gradient(180deg,var(--navy) 0%,var(--navy-mid) 50%,var(--navy) 100%);
    padding: 100px 60px;
    overflow: hidden;
}

.screens-track {
    display: flex;
    gap: 24px;
    margin-top: 60px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

    .screens-track:active {
        cursor: grabbing;
    }

    .screens-track::-webkit-scrollbar {
        height: 4px;
    }

    .screens-track::-webkit-scrollbar-track {
        background: rgba(255,255,255,.05);
        border-radius: 2px;
    }

    .screens-track::-webkit-scrollbar-thumb {
        background: var(--gold-dark);
        border-radius: 2px;
    }

.screen-card {
    min-width: 380px;
    background: var(--navy-mid);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: transform .3s;
}

    .screen-card:hover {
        transform: scale(1.02);
    }

.screen-titlebar {
    background: rgba(255,255,255,.04);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 11px;
    color: var(--muted);
}

.screen-dots {
    display: flex;
    gap: 5px;
}

.sdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

    .sdot.r {
        background: #ff5f57;
    }

    .sdot.y {
        background: #febc2e;
    }

    .sdot.g {
        background: #28c840;
    }

.screen-body {
    padding: 16px;
}

/* Screen 1: Chart of Accounts */
.coa-tree {
    font-size: 11px;
}

.coa-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 7px;
    margin-bottom: 2px;
    transition: background .2s;
}

    .coa-item:hover {
        background: rgba(255,255,255,.04);
    }

    .coa-item.parent {
        font-weight: 700;
        color: var(--gold-light);
    }

    .coa-item.child {
        margin-right: 20px;
        color: rgba(255,255,255,.6);
    }

.coa-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    margin-right: auto;
}

.cb-asset {
    background: rgba(59,130,246,.15);
    color: #60a5fa;
}

.cb-rev {
    background: rgba(16,185,129,.15);
    color: #34d399;
}

.cb-exp {
    background: rgba(239,68,68,.15);
    color: #f87171;
}

.cb-liab {
    background: rgba(239,68,68,.12);
    color: #fca5a5;
}

/* Screen 2: Journal Entry */
.je-form {
    font-size: 11px;
}

.je-field {
    margin-bottom: 10px;
}

.je-label {
    font-size: 9px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.je-input {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 6px;
    padding: 7px 10px;
    color: var(--white);
    font-size: 10px;
    width: 100%;
}

.je-lines-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6px;
    font-size: 9px;
    color: var(--muted);
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 6px;
}

.je-line {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6px;
    margin-bottom: 6px;
}

.je-line-input {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 5px;
    padding: 5px 7px;
    color: var(--white);
    font-size: 9px;
}

.je-totals {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6px;
    padding: 8px 0 0;
    border-top: 2px solid rgba(255,255,255,.08);
    font-size: 10px;
    font-weight: 700;
}

.balanced-badge {
    background: rgba(16,185,129,.15);
    color: #34d399;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 9px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Screen 3: Reports */
.rpt-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding-bottom: 8px;
}

.rpt-tab {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,.4);
    cursor: pointer;
}

    .rpt-tab.active {
        background: rgba(201,168,76,.15);
        color: var(--gold-light);
    }

.rpt-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: 10px;
}

    .rpt-row:last-child {
        border-bottom: none;
    }

.rpt-code {
    background: rgba(255,255,255,.07);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 6px;
}

.rpt-d {
    color: #34d399;
    font-weight: 700;
}

.rpt-c {
    color: #f87171;
    font-weight: 700;
}

.rpt-total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0;
    border-top: 2px solid rgba(255,255,255,.08);
    font-size: 11px;
    font-weight: 800;
}

/* ═══════════════════════════════════════════
   STATS BANNER
═══════════════════════════════════════════ */
.stats-banner {
    background: linear-gradient(135deg,rgba(201,168,76,.1),rgba(13,148,136,.05));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
}

.stat-big {
    font-size: 48px;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-text {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
    padding: 100px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse,rgba(201,168,76,.08) 0%,transparent 70%);
    pointer-events: none;
}

.cta-section .section-title {
    font-size: clamp(30px,4vw,52px);
}

.cta-section .section-sub {
    margin: 0 auto 40px;
    text-align: center;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
    background: rgba(0,0,0,.4);
    border-top: 1px solid var(--border);
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 13px;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

    .footer-link:hover {
        color: var(--gold);
    }

/* ═══════════════════════════════════════════
   LOGIN PAGE (hidden by default)
═══════════════════════════════════════════ */
#loginPage {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--navy);
    overflow-y: auto;
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Left decorative panel */
.login-left {
    background: linear-gradient(135deg,var(--navy-mid),var(--navy-light));
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.login-left-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 50%,rgba(201,168,76,.1) 0%,transparent 60%), radial-gradient(ellipse 50% 50% at 10% 80%,rgba(13,148,136,.08) 0%,transparent 50%);
}

.login-left-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(201,168,76,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(201,168,76,.05) 1px,transparent 1px);
    background-size: 50px 50px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.login-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}

.login-brand-name {
    font-size: 26px;
    font-weight: 900;
}

    .login-brand-name span {
        color: var(--gold);
    }

.login-tagline {
    font-size: clamp(22px,3vw,36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

    .login-tagline span {
        background: linear-gradient(135deg,var(--gold-light),var(--gold));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.login-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.login-features {
    position: relative;
    z-index: 1;
}

.lf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.lf-dot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.lf1 {
    background: rgba(201,168,76,.12);
    color: var(--gold);
}

.lf2 {
    background: rgba(13,148,136,.12);
    color: var(--teal-light);
}

.lf3 {
    background: rgba(99,102,241,.12);
    color: #818cf8;
}

.lf-text {
    font-size: 13px;
    color: rgba(255,255,255,.7);
}

/* Right form panel */
.login-right {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.login-form-box {
    width: 100%;
    max-width: 420px;
}

.login-form-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.login-form-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 36px;
}

.form-field {
    margin-bottom: 20px;
}

.form-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .8px;
    display: block;
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 13px 16px;
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    transition: all .3s;
    appearance: none;
}

    .form-input:focus,
    .form-select:focus {
        border-color: var(--gold);
        background: rgba(201,168,76,.05);
        box-shadow: 0 0 0 3px rgba(201,168,76,.12);
    }

    .form-input::placeholder {
        color: rgba(255,255,255,.25);
    }

    .form-select option {
        background: var(--navy-mid);
        color: var(--white);
    }

.input-icon-wrap {
    position: relative;
}

    .input-icon-wrap .form-input {
        padding-right: 44px;
    }

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.3);
    font-size: 16px;
    pointer-events: none;
}

.input-eye {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.3);
    font-size: 16px;
    cursor: pointer;
    background: none;
    border: none;
}

    .input-eye:hover {
        color: var(--gold);
    }

.select-wrap {
    position: relative;
}

    .select-wrap::after {
        content: '\f282';
        font-family: "bootstrap-icons";
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255,255,255,.3);
        font-size: 14px;
        pointer-events: none;
    }

.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: rgba(255,255,255,.2);
    font-size: 12px;
}

    .form-divider::before, .form-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,.08);
    }

.btn-login {
    width: 100%;
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    color: var(--navy);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(201,168,76,.35);
    transition: all .3s;
    margin-top: 8px;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 40px rgba(201,168,76,.5);
    }

    .btn-login:active {
        transform: translateY(0);
    }

    .btn-login .spinner {
        display: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 2px solid rgba(10,22,40,.3);
        border-top-color: var(--navy);
        animation: spin .7s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.login-error {
    background: rgba(239,68,68,.1);
    border: 1px solid rgba(239,68,68,.25);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #f87171;
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

    .login-error.show {
        display: flex;
    }

.login-success {
    background: rgba(16,185,129,.1);
    border: 1px solid rgba(16,185,129,.25);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #34d399;
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

    .login-success.show {
        display: flex;
    }

.back-to-landing {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
    transition: all .2s;
    cursor: pointer;
    background: none;
}

    .back-to-landing:hover {
        color: var(--gold);
        border-color: var(--gold);
    }

/* ═══════════════════════════════════════════
   DEMO CREDENTIALS BOX
═══════════════════════════════════════════ */
.demo-box {
    background: rgba(201,168,76,.05);
    border: 1px solid rgba(201,168,76,.15);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
    font-size: 12px;
}

.demo-box-title {
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.demo-row {
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.5);
    padding: 3px 0;
}

.demo-val {
    color: rgba(255,255,255,.8);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media(max-width:1200px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:768px) {
    nav {
        padding: 16px 20px;
    }

        nav.scrolled {
            padding: 10px 20px;
        }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .section {
        padding: 60px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-banner {
        grid-template-columns: repeat(2,1fr);
        padding: 40px 20px;
    }

    .cta-section, .screens-section {
        padding: 60px 20px;
    }

    footer {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .login-wrap {
        grid-template-columns: 1fr;
    }

    .login-left {
        display: none;
    }

    .login-right {
        padding: 40px 24px;
    }

    .screen-card {
        min-width: 300px;
    }
}


