:root {
    --bg: #030712;
    --panel: rgba(8, 20, 42, 0.72);
    --panel-strong: rgba(9, 22, 43, 0.9);
    --line: rgba(96, 165, 250, 0.2);
    --text: #f8fafc;
    --muted: #9fb0c7;
    --soft: #dbeafe;
    --blue: #2563eb;
    --cyan: #38e8ff;
    --cyan-strong: #12c8f4;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --lime: #a3e635;
    --green: #22c55e;
    --amber: #f59e0b;
    --red: #ef4444;
    --radius: 8px;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

/* Bright landing-page theme */
body.landing-page {
    --text: #102a56;
    --muted: #607292;
    --soft: #eaf3ff;
    --line: rgba(37, 99, 235, 0.14);
    background: radial-gradient(circle at 8% 5%, rgba(147, 197, 253, 0.38), transparent 28rem), radial-gradient(circle at 92% 18%, rgba(219, 234, 254, 0.9), transparent 30rem), linear-gradient(180deg, #fafdff 0%, #f1f7ff 48%, #fff 100%);
    color: var(--text);
}

body.landing-page::before {
    background-image: linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
}

.landing-page .site-ambient { background: rgba(96, 165, 250, 0.2); }
.landing-page .site-ambient::after { background: rgba(191, 219, 254, 0.42); }

.landing-page .app-navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.06);
}

.landing-page .brand-lockup,
.landing-page .navbar .nav-link { color: #173466; }
.landing-page .brand-subtitle,
.landing-page .navbar .nav-link:hover { color: #52709f; }
.landing-page .navbar-toggler { border-color: rgba(37, 99, 235, 0.2); }
.landing-page .navbar-toggler-icon { filter: invert(30%) sepia(73%) saturate(1600%) hue-rotate(205deg); }

.landing-page .brand-mark {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.landing-page .btn-nav,
.landing-page .btn-secondary-soft {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.2);
    background: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.07);
}

.landing-page .btn-nav:hover,
.landing-page .btn-secondary-soft:hover { color: #1e40af; border-color: rgba(37, 99, 235, 0.38); background: #eff6ff; }

.landing-page .btn-primary { color: #fff; background: linear-gradient(135deg, #1d4ed8, #3b82f6); box-shadow: 0 14px 32px rgba(37, 99, 235, 0.25); }
.landing-page .btn-primary:hover,
.landing-page .btn-primary:focus { background: linear-gradient(135deg, #1e40af, #2563eb); box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32); }
.landing-page .eyebrow { color: #2563eb; letter-spacing: 0.12em; }

.landing-page .landing-hero {
    border-color: rgba(37, 99, 235, 0.13);
    background: radial-gradient(circle at 78% 18%, rgba(96, 165, 250, 0.2), transparent 20rem), linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,246,255,0.94));
    box-shadow: 0 28px 80px rgba(37, 99, 235, 0.11);
}

.landing-page .landing-hero::before { background: linear-gradient(90deg, #1d4ed8, #60a5fa, #bfdbfe); }
.landing-page .landing-hero h1,
.landing-page .section-heading h2,
.landing-page .education-panel h2,
.landing-page .why-panel h2,
.landing-page .showcase-card h3 { color: #102a56; }
.landing-page .landing-hero p,
.landing-page .section-heading p,
.landing-page .education-panel p,
.landing-page .why-panel p,
.landing-page .showcase-card p,
.landing-page .principle-list span { color: #607292; }

.landing-page .landing-hero-visual { background: radial-gradient(circle, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.2) 60%, transparent 72%); }
.landing-page .mobile-security-copy { display: none; }
.landing-page .core-shield { color: #fff; background: linear-gradient(145deg, #1d4ed8, #60a5fa); box-shadow: 0 22px 55px rgba(37, 99, 235, 0.3); }
.landing-page .core-shield::before,
.landing-page .core-shield::after { border-color: rgba(37, 99, 235, 0.16); }
.landing-page .security-node { color: #173466; border-color: rgba(37, 99, 235, 0.16); background: rgba(255, 255, 255, 0.94); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12); }
.landing-page .security-node i { color: #2563eb; }

.landing-page .landing-section,
.landing-page .education-panel,
.landing-page .why-panel { border-color: rgba(37, 99, 235, 0.12); background: rgba(255, 255, 255, 0.84); box-shadow: 0 20px 55px rgba(37, 99, 235, 0.08); }
.landing-page .process-chain div,
.landing-page .principle-list article { border-color: rgba(37, 99, 235, 0.13); background: #f8fbff; }
.landing-page .process-chain span,
.landing-page .process-chain i,
.landing-page .principle-list strong { color: #2563eb; }
.landing-page .process-chain strong { color: #173466; }

.landing-page .showcase-card { border-color: rgba(37, 99, 235, 0.12); background: linear-gradient(180deg, #fff, #f5f9ff); box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08); }
.landing-page .showcase-card:hover { border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 24px 52px rgba(37, 99, 235, 0.15); }
.landing-page .showcase-card i { color: #fff; background: linear-gradient(135deg, #1d4ed8, #60a5fa); box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2); }

.landing-page .audience-grid div { color: #173466; border-color: rgba(37, 99, 235, 0.13); background: linear-gradient(180deg, #fff, #eef5ff); }
.landing-page .audience-grid i { color: #2563eb; }
.landing-page .why-panel { background: radial-gradient(circle at 95% 5%, rgba(147, 197, 253, 0.3), transparent 20rem), linear-gradient(135deg, #fff, #edf5ff); }

@media (max-width: 575px) {
    .landing-page .landing-hero {
        gap: 1.25rem;
        padding: 1.4rem;
        border-radius: 1rem;
        background:
            radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.2), transparent 17rem),
            linear-gradient(155deg, #ffffff 0%, #edf5ff 100%);
        box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
    }

    .landing-page .landing-hero::before {
        background-image: linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
        background-size: 28px 28px;
    }

    .landing-page .landing-hero .eyebrow {
        display: inline-flex;
        width: fit-content;
        padding: 0.45rem 0.65rem;
        border: 1px solid rgba(37, 99, 235, 0.12);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.76);
        font-size: 0.66rem;
        letter-spacing: 0.09em;
    }

    .landing-page .landing-hero h1 {
        max-width: 11ch;
        margin-top: 0.9rem;
        font-size: clamp(2.55rem, 12vw, 3.25rem);
        line-height: 0.98;
        letter-spacing: -0.045em;
    }

    .landing-page .landing-hero-content > p:not(.eyebrow) {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .landing-page .hero-actions {
        gap: 0.65rem;
        margin-top: 1.25rem;
    }

    .landing-page .hero-actions .btn {
        min-height: 3.1rem;
        border-radius: 0.65rem;
    }

    .landing-page .landing-hero-visual {
        position: relative;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 1rem;
        min-height: 0;
        padding: 1.25rem;
        overflow: hidden;
        border-color: rgba(37, 99, 235, 0.12);
        border-radius: 0.85rem;
        background: rgba(255, 255, 255, 0.76);
        box-shadow: 0 14px 35px rgba(37, 99, 235, 0.09);
    }

    .landing-page .core-shield {
        position: relative;
        left: auto;
        top: auto;
        width: 4.75rem;
        height: 4.75rem;
        transform: none;
        flex: 0 0 auto;
        font-size: 1.75rem;
        box-shadow: 0 14px 30px rgba(37, 99, 235, 0.24);
    }

    .landing-page .core-shield::before,
    .landing-page .core-shield::after,
    .landing-page .security-node {
        display: none;
    }

    .landing-page .mobile-security-copy {
        position: relative;
        z-index: 1;
        display: block;
        min-width: 0;
    }

    .landing-page .mobile-security-copy .security-status {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        margin-bottom: 0.4rem;
        color: #15803d;
        font-size: 0.68rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .landing-page .mobile-security-copy strong {
        display: block;
        color: #102a56;
        font-size: 1rem;
        line-height: 1.3;
    }

    .landing-page .mobile-security-copy p {
        margin: 0.35rem 0 0.75rem;
        color: #607292;
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .landing-page .mobile-security-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .landing-page .mobile-security-stats span {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.35rem 0.5rem;
        border-radius: 999px;
        color: #1d4ed8;
        background: #edf5ff;
        font-size: 0.68rem;
        font-weight: 700;
    }
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 15% 10%, rgba(56, 232, 255, 0.22), transparent 32rem),
        radial-gradient(circle at 88% 18%, rgba(139, 92, 246, 0.22), transparent 28rem),
        radial-gradient(circle at 55% 100%, rgba(236, 72, 153, 0.1), transparent 34rem),
        linear-gradient(135deg, #01040d 0%, #07111f 48%, #020617 100%);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 82%);
}

.site-ambient {
    position: fixed;
    inset: auto auto 8% -6rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(56, 232, 255, 0.16);
    filter: blur(45px);
    animation: ambientDrift 14s ease-in-out infinite alternate;
}

.site-ambient::after {
    content: "";
    position: fixed;
    right: -8rem;
    top: 22%;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.14);
    filter: blur(62px);
}

@keyframes ambientDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(4rem, -3rem, 0); }
}

a {
    color: var(--cyan);
    text-decoration: none;
}

a:hover {
    color: #7dd3fc;
}

.app-navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(2, 6, 23, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.brand-lockup,
.sidebar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(56, 232, 255, 0.54));
    box-shadow: 0 0 28px rgba(56, 232, 255, 0.28);
}

.brand-mark i {
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.55));
}

.brand-name,
.brand-subtitle {
    display: block;
    line-height: 1.1;
}

.brand-name {
    font-weight: 800;
}

.brand-subtitle {
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.73rem;
    font-weight: 500;
}

.navbar .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-weight: 600;
}

.navbar .nav-link:hover {
    color: var(--text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    white-space: normal;
    text-align: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    min-height: 3rem;
    border: 0;
    background: linear-gradient(135deg, #2f6fff, var(--cyan-strong), #22c55e);
    box-shadow: 0 16px 38px rgba(18, 200, 244, 0.32);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: translateX(-110%);
    transition: transform 0.55s ease;
}

.btn-primary:hover::after {
    transform: translateX(110%);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #4f46e5, #06b6d4, #84cc16);
    box-shadow: 0 20px 46px rgba(56, 232, 255, 0.4);
}

.btn-nav,
.btn-secondary-soft {
    color: var(--text);
    border: 1px solid rgba(34, 211, 238, 0.25);
    background: rgba(15, 23, 42, 0.62);
}

.btn-nav:hover,
.btn-secondary-soft:hover {
    color: var(--text);
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(34, 211, 238, 0.09);
}

.page-shell {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0 3rem;
}

.site-container {
    max-width: 1440px;
    overflow-x: clip;
}

.flash-stack {
    width: min(100%, 760px);
    margin: 0 auto 1.5rem;
}

.security-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: var(--shadow);
    animation: alertIn 0.3s ease;
}

@keyframes alertIn {
    from { opacity: 0; transform: translateY(-0.5rem); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success { border-color: rgba(34, 197, 94, 0.35); }
.alert-danger { border-color: rgba(239, 68, 68, 0.42); }
.alert-warning { border-color: rgba(245, 158, 11, 0.42); }
.alert-info { border-color: rgba(34, 211, 238, 0.35); }
.security-alert .btn-close { filter: invert(1) grayscale(1); opacity: 0.75; }

.auth-layout {
    min-height: calc(100vh - 7.5rem);
}

.auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.76fr);
    align-items: stretch;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    width: min(100%, 1320px);
    margin: 0 auto;
}

.auth-visual,
.auth-panel,
.workspace-hero,
.feature-card,
.stat-card,
.activity-list,
.dashboard-sidebar,
.landing-hero,
.landing-section,
.education-panel,
.why-panel,
.showcase-heading,
.workflow-panel {
    max-width: 100%;
}

.auth-visual,
.auth-panel,
.workspace-hero,
.feature-card,
.stat-card,
.activity-list,
.dashboard-sidebar {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.auth-visual {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 5.5rem);
    background:
        radial-gradient(circle at 18% 18%, rgba(56, 232, 255, 0.24), transparent 22rem),
        radial-gradient(circle at 82% 24%, rgba(139, 92, 246, 0.2), transparent 18rem),
        linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(3, 7, 18, 0.16)),
        rgba(6, 16, 35, 0.78);
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(56, 232, 255, 0.28), transparent 28%, transparent 70%, rgba(236, 72, 153, 0.16)),
        radial-gradient(circle at 75% 18%, rgba(163, 230, 53, 0.12), transparent 12rem);
    mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.52));
}

.auth-visual::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 232, 255, 0.82), rgba(163, 230, 53, 0.7), transparent);
    animation: borderSweep 5s ease-in-out infinite;
}

@keyframes borderSweep {
    0%, 100% { opacity: 0.32; transform: translateX(-20%); }
    50% { opacity: 0.9; transform: translateX(20%); }
}

.security-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.07) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at 45% 40%, black, transparent 72%);
}

.visual-content {
    position: relative;
    max-width: 720px;
}

.visual-orbit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    margin-bottom: 1.6rem;
    border-radius: 50%;
    color: var(--cyan);
    background: rgba(56, 232, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(56, 232, 255, 0.28), 0 0 60px rgba(56, 232, 255, 0.26);
    font-size: 2.4rem;
}

.orbit-ring,
.orbit-dot {
    position: absolute;
    border-radius: 50%;
}

.orbit-ring {
    inset: -1rem;
    border: 1px solid rgba(56, 232, 255, 0.24);
}

.orbit-dot {
    width: 0.6rem;
    height: 0.6rem;
    background: var(--lime);
    box-shadow: 0 0 18px var(--lime);
}

.dot-one { right: 0.2rem; top: 1.2rem; }
.dot-two { left: 0.5rem; bottom: 1rem; }

.eyebrow {
    color: var(--cyan);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.auth-visual .eyebrow,
.showcase-heading .eyebrow,
.workflow-panel .eyebrow {
    color: var(--lime);
}

.auth-visual h1 {
    max-width: 10ch;
    margin: 0 0 1rem;
    font-size: clamp(3.7rem, 7.5vw, 7.6rem);
    line-height: 0.92;
    font-weight: 800;
    text-shadow: 0 16px 55px rgba(0, 0, 0, 0.45);
}

.visual-copy,
.auth-subtitle,
.dashboard-subtitle,
.workspace-hero p,
.feature-card p {
    color: var(--muted);
}

.visual-copy {
    max-width: 620px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.65;
}

.security-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.security-pill-row span,
.status-badge,
.user-chip small {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(56, 232, 255, 0.28);
    border-radius: 999px;
    padding: 0.5rem 0.75rem;
    color: var(--soft);
    background: rgba(15, 23, 42, 0.68);
    font-size: 0.82rem;
    font-weight: 700;
}

.auth-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 620px;
    margin-top: 2rem;
}

.auth-metrics div {
    min-height: 5.5rem;
    padding: 1rem;
    border: 1px solid rgba(56, 232, 255, 0.26);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.24), rgba(3, 7, 18, 0.46));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-metrics strong,
.auth-metrics span {
    display: block;
}

.auth-metrics strong {
    color: var(--text);
    font-size: 1.35rem;
    font-weight: 800;
}

.auth-metrics span {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.floating-file {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 10rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(56, 232, 255, 0.36);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.82);
    color: var(--soft);
    font-weight: 700;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.32), 0 0 28px rgba(56, 232, 255, 0.2);
    animation: floatCard 5s ease-in-out infinite;
}

.file-one { right: 8%; top: 20%; }
.file-two { right: 18%; bottom: 18%; animation-delay: -2s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.55rem); }
}

.scan-panel {
    position: absolute;
    right: 8%;
    bottom: 27%;
    width: min(22rem, 34%);
    min-width: 15rem;
    padding: 1rem;
    border: 1px solid rgba(56, 232, 255, 0.24);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.38);
}

.scan-panel span {
    display: block;
    height: 0.55rem;
    margin: 0.6rem 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(56, 232, 255, 0.92), rgba(163, 230, 53, 0.54), rgba(37, 99, 235, 0.08));
}

.scan-panel span:nth-child(2) {
    width: 72%;
}

.scan-panel span:nth-child(3) {
    width: 48%;
}

.auth-panel {
    align-self: center;
    width: min(100%, 520px);
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background:
        radial-gradient(circle at 18% 0%, rgba(56, 232, 255, 0.12), transparent 16rem),
        linear-gradient(180deg, rgba(15, 32, 61, 0.92), rgba(8, 20, 38, 0.94)),
        var(--panel-strong);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-panel-wide {
    width: min(100%, 580px);
}

.auth-title {
    margin-bottom: 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
}

.form-label {
    color: var(--soft);
    font-weight: 700;
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3.1rem;
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.74);
    padding: 0 0.85rem;
}

.input-shell .form-control {
    min-width: 0;
}

.input-shell:focus-within {
    border-color: rgba(56, 232, 255, 0.65);
    box-shadow: 0 0 0 0.2rem rgba(56, 232, 255, 0.16);
}

.input-shell > i {
    color: var(--cyan);
}

.form-control {
    min-height: 3rem;
    border: 0;
    border-radius: 0;
    color: var(--text);
    background: transparent;
    caret-color: var(--cyan);
}

.form-control:focus {
    color: var(--text);
    background: transparent;
    box-shadow: none;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px rgba(2, 6, 23, 0.95) inset;
    transition: background-color 9999s ease-in-out 0s;
}

.home-showcase {
    display: grid;
    gap: 1.25rem;
    width: min(100%, 1320px);
    margin: 1.25rem auto 0;
}

.landing-hero,
.landing-section,
.education-panel,
.why-panel,
.showcase-heading,
.workflow-panel {
    border: 1px solid rgba(56, 232, 255, 0.22);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 5% 0%, rgba(56, 232, 255, 0.16), transparent 22rem),
        radial-gradient(circle at 95% 0%, rgba(139, 92, 246, 0.14), transparent 20rem),
        rgba(8, 20, 42, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.landing-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    width: min(100%, 1320px);
    min-height: 660px;
    margin: 0 auto 1.25rem;
    padding: clamp(2rem, 5vw, 5rem);
    background:
        radial-gradient(circle at 16% 18%, rgba(56, 232, 255, 0.24), transparent 26rem),
        radial-gradient(circle at 82% 16%, rgba(163, 230, 53, 0.16), transparent 20rem),
        linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(8, 20, 42, 0.78));
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(56, 232, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 232, 255, 0.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 45% 42%, black, transparent 76%);
}

.landing-hero-content,
.landing-hero-visual {
    position: relative;
    z-index: 1;
}

.landing-hero h1 {
    max-width: 980px;
    margin: 0 0 1rem;
    font-size: clamp(3.4rem, 8vw, 7.8rem);
    line-height: 0.92;
    font-weight: 800;
    text-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.landing-hero p {
    max-width: 760px;
    color: var(--soft);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.landing-hero-visual {
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(56, 232, 255, 0.22);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at center, rgba(56, 232, 255, 0.13), transparent 13rem),
        rgba(2, 6, 23, 0.42);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 28px 70px rgba(0, 0, 0, 0.35);
}

.core-shield {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8rem;
    height: 8rem;
    border: 1px solid rgba(56, 232, 255, 0.38);
    border-radius: 50%;
    color: #03111f;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    box-shadow: 0 0 68px rgba(56, 232, 255, 0.34);
    font-size: 3rem;
    transform: translate(-50%, -50%);
}

.core-shield::before,
.core-shield::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(56, 232, 255, 0.18);
    pointer-events: none;
}

.core-shield::before {
    inset: -3.3rem;
}

.core-shield::after {
    inset: -6.5rem;
}

.security-node {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(56, 232, 255, 0.28);
    border-radius: var(--radius);
    color: var(--text);
    background: rgba(2, 6, 23, 0.72);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    font-weight: 800;
}

.security-node i {
    color: var(--lime);
}

.node-auth { left: 8%; top: 12%; }
.node-encrypt { right: 8%; top: 22%; }
.node-verify { left: 10%; bottom: 17%; }
.node-decrypt { right: 10%; bottom: 12%; }

.landing-section,
.education-panel,
.why-panel {
    width: min(100%, 1320px);
    margin: 1.25rem auto 0;
    padding: clamp(1.5rem, 4vw, 2.6rem);
}

.section-heading.centered {
    max-width: 920px;
    margin: 0 auto 1.2rem;
    text-align: center;
}

.section-heading.centered h2,
.education-panel h2,
.why-panel h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
}

.section-heading.centered p,
.education-panel p,
.why-panel p {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

.process-chain {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.process-chain div {
    min-height: 10rem;
    padding: 1rem;
    border: 1px solid rgba(56, 232, 255, 0.22);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.45);
}

.process-chain span,
.process-chain i,
.process-chain strong {
    display: block;
}

.process-chain span {
    color: var(--lime);
    font-weight: 800;
}

.process-chain i {
    margin: 1.2rem 0 0.9rem;
    color: var(--cyan);
    font-size: 1.8rem;
}

.process-chain strong {
    color: var(--text);
    font-size: 1.05rem;
}

.education-panel,
.why-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.principle-list {
    display: grid;
    gap: 0.85rem;
}

.principle-list article {
    padding: 1.1rem;
    border: 1px solid rgba(56, 232, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.44);
}

.principle-list strong,
.principle-list span {
    display: block;
}

.principle-list strong {
    color: var(--lime);
    margin-bottom: 0.35rem;
}

.principle-list span {
    color: var(--muted);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.audience-grid div {
    display: grid;
    place-items: center;
    gap: 0.65rem;
    min-height: 8.5rem;
    border: 1px solid rgba(56, 232, 255, 0.2);
    border-radius: var(--radius);
    color: var(--text);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(2, 6, 23, 0.5));
    font-weight: 800;
}

.audience-grid i {
    color: var(--cyan);
    font-size: 2rem;
}

.why-panel {
    background:
        radial-gradient(circle at 10% 0%, rgba(163, 230, 53, 0.16), transparent 18rem),
        radial-gradient(circle at 100% 0%, rgba(56, 232, 255, 0.16), transparent 20rem),
        rgba(8, 20, 42, 0.76);
}

.showcase-heading {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.showcase-heading h2,
.workflow-panel h2 {
    margin: 0 auto 0.8rem;
    max-width: 860px;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.05;
    font-weight: 800;
}

.showcase-heading p {
    max-width: 850px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.showcase-card {
    min-height: 17rem;
    padding: 1.3rem;
    border: 1px solid rgba(56, 232, 255, 0.2);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(8, 20, 42, 0.78)),
        rgba(8, 20, 42, 0.74);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.showcase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(163, 230, 53, 0.42);
    box-shadow: 0 28px 70px rgba(18, 200, 244, 0.16);
}

.showcase-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 1.1rem;
    border-radius: var(--radius);
    color: #03111f;
    background: linear-gradient(135deg, var(--cyan), var(--lime));
    font-size: 1.45rem;
    box-shadow: 0 0 30px rgba(56, 232, 255, 0.26);
}

.showcase-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.showcase-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.workflow-panel {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
    gap: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.workflow-panel h2 {
    margin-left: 0;
}

.workflow-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.workflow-steps div {
    padding: 1rem;
    border: 1px solid rgba(56, 232, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.4);
}

.workflow-steps span {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--lime);
    font-weight: 800;
}

.workflow-steps strong,
.workflow-steps small {
    display: block;
}

.workflow-steps strong {
    margin-bottom: 0.35rem;
    color: var(--text);
}

.workflow-steps small {
    color: var(--muted);
    line-height: 1.5;
}

.password-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    color: var(--muted);
    background: transparent;
}

.password-toggle:hover {
    color: var(--text);
}

.password-meter {
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.34);
}

.strength-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.7rem;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.strength-label strong {
    color: var(--red);
}

.password-meter .progress {
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
}

.password-meter .progress-bar {
    border-radius: 999px;
    transition: width 0.28s ease, background 0.28s ease;
}

.strength-weak { background: linear-gradient(90deg, #dc2626, var(--red)); }
.strength-fair { background: linear-gradient(90deg, #d97706, var(--amber)); }
.strength-good { background: linear-gradient(90deg, #0284c7, var(--cyan)); }
.strength-strong { background: linear-gradient(90deg, #16a34a, var(--green)); }

.password-requirements {
    display: grid;
    gap: 0.45rem;
    padding: 0;
    color: var(--muted);
    font-size: 0.84rem;
    list-style: none;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.password-requirements li.is-met {
    color: #bbf7d0;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
}

.dashboard-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
    padding: 1rem;
    background: rgba(8, 17, 34, 0.86);
}

.sidebar-brand {
    width: 100%;
    padding: 0.5rem 0.4rem 1rem;
    font-weight: 800;
}

.sidebar-nav {
    display: grid;
    gap: 0.35rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.85rem;
    padding: 0 0.85rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--muted);
    font-weight: 700;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--text);
    border-color: rgba(34, 211, 238, 0.22);
    background: rgba(34, 211, 238, 0.08);
}

.dashboard-main {
    display: grid;
    gap: 1.25rem;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-header h1,
.workspace-hero h2,
.section-heading h2 {
    margin: 0;
    font-weight: 800;
}

.dashboard-header h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(15, 23, 42, 0.64);
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--cyan-strong));
    font-weight: 800;
}

.user-chip strong,
.user-chip small {
    display: flex;
}

.user-chip small {
    margin-top: 0.25rem;
    padding: 0.2rem 0.5rem;
    color: #bbf7d0;
}

.workspace-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.24), rgba(34, 211, 238, 0.08)),
        rgba(10, 21, 38, 0.86);
}

.workspace-hero::after {
    content: "";
    position: absolute;
    right: -5rem;
    top: -5rem;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.1);
    filter: blur(35px);
}

.workspace-hero h2 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.status-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.status-grid div {
    min-height: 6rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: var(--radius);
    background: rgba(2, 6, 23, 0.42);
}

.status-grid span,
.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.status-grid strong {
    display: inline-flex;
    margin-top: 1.1rem;
    color: var(--cyan);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.status-grid .status-active {
    color: #86efac;
}

.feature-grid,
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    min-height: 22rem;
    padding: 1.25rem;
    background: rgba(10, 21, 38, 0.76);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.35);
}

.feature-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 5.5rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: var(--radius);
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.08);
    font-size: 1.45rem;
}

.status-badge {
    max-width: 9rem;
    color: var(--cyan);
    font-size: 0.72rem;
    text-align: center;
    text-transform: uppercase;
}

.feature-card h2 {
    margin-bottom: 0.7rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.feature-card p {
    min-height: 4.4rem;
}

.dashboard-section {
    display: grid;
    gap: 0.85rem;
}

.stat-card {
    min-height: 8rem;
    padding: 1.15rem;
    background: rgba(10, 21, 38, 0.72);
}

.stat-card strong {
    display: block;
    margin-top: 1rem;
    color: var(--text);
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 800;
}

.activity-list {
    overflow: hidden;
    background: rgba(10, 21, 38, 0.72);
}

.activity-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.8rem;
    min-height: 4.3rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--line);
}

.activity-item:last-child {
    border-bottom: 0;
}

.activity-item i {
    color: var(--cyan);
    font-size: 1.2rem;
}

.activity-item span {
    font-weight: 800;
}

.activity-item small,
.app-footer small,
.app-footer span {
    color: var(--muted);
}

.app-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    justify-content: center;
    padding: 1.25rem 0 0.25rem;
    color: var(--soft);
    text-align: center;
}

@media (max-width: 1199px) {
    .feature-grid,
    .stat-grid,
    .showcase-grid,
    .process-chain,
    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .auth-split,
    .dashboard-layout,
    .workspace-hero,
    .workflow-panel,
    .landing-hero,
    .education-panel,
    .why-panel {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        min-height: auto;
    }

    .auth-visual {
        min-height: 520px;
    }

    .auth-panel,
    .auth-panel-wide {
        width: 100%;
    }

    .scan-panel {
        display: none;
    }

    .dashboard-sidebar {
        position: static;
    }

    .sidebar-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .page-shell {
        padding: 1rem 0 2rem;
    }

    .auth-visual {
        min-height: 420px;
        padding: 1.5rem;
    }

    .auth-visual h1 {
        font-size: 3rem;
    }

    .floating-file {
        display: none;
    }

    .auth-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .feature-grid,
    .stat-grid,
    .status-grid,
    .sidebar-nav,
    .showcase-grid,
    .workflow-steps,
    .process-chain,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-visual {
        min-height: 360px;
    }

    .security-node span {
        display: none;
    }

    .activity-item {
        grid-template-columns: auto 1fr;
    }

    .activity-item small {
        grid-column: 2;
    }
}

@media (max-width: 575px) {
    .container,
    .container-fluid,
    .site-container {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .navbar .container {
        gap: 0.75rem;
    }

    .brand-mark {
        width: 2.35rem;
        height: 2.35rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-subtitle {
        font-size: 0.68rem;
    }

    .navbar .nav-link,
    .btn-nav {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0.35rem;
    }

    .landing-hero,
    .auth-visual,
    .auth-panel,
    .landing-section,
    .education-panel,
    .why-panel,
    .showcase-heading,
    .workflow-panel,
    .workspace-hero,
    .feature-card,
    .stat-card {
        padding: 1.15rem;
    }

    .landing-hero h1 {
        font-size: clamp(2.45rem, 14vw, 3.5rem);
        line-height: 0.98;
    }

    .auth-visual h1 {
        max-width: 100%;
        font-size: clamp(2.35rem, 13vw, 3.1rem);
        line-height: 1;
    }

    .showcase-heading h2,
    .workflow-panel h2,
    .section-heading.centered h2,
    .education-panel h2,
    .why-panel h2,
    .dashboard-header h1,
    .workspace-hero h2 {
        font-size: clamp(1.75rem, 10vw, 2.55rem);
        line-height: 1.08;
    }

    .hero-actions,
    .security-pill-row {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-actions .btn,
    .security-pill-row span,
    .auth-panel .btn,
    .feature-card .btn {
        width: 100%;
    }

    .auth-visual {
        min-height: auto;
    }

    .visual-orbit {
        width: 5.4rem;
        height: 5.4rem;
        margin-bottom: 1.25rem;
        font-size: 1.9rem;
    }

    .auth-metrics {
        margin-top: 1rem;
    }

    .landing-hero-visual {
        min-height: 280px;
    }

    .core-shield {
        width: 6rem;
        height: 6rem;
        font-size: 2.2rem;
    }

    .core-shield::before {
        inset: -2.2rem;
    }

    .core-shield::after {
        inset: -4.2rem;
    }

    .security-node {
        padding: 0.65rem;
    }

    .node-auth { left: 6%; top: 10%; }
    .node-encrypt { right: 6%; top: 18%; }
    .node-verify { left: 8%; bottom: 14%; }
    .node-decrypt { right: 8%; bottom: 10%; }

    .showcase-card,
    .feature-card {
        min-height: auto;
    }

    .feature-topline {
        min-height: auto;
        margin-bottom: 1.25rem;
    }

    .feature-card p {
        min-height: auto;
    }

    .status-badge {
        max-width: 8.2rem;
    }

    .user-chip {
        width: 100%;
        align-items: flex-start;
    }

    .activity-item {
        padding: 0.95rem;
    }
}

@media (max-width: 380px) {
    .brand-subtitle {
        display: none;
    }

    .landing-hero,
    .auth-visual,
    .auth-panel,
    .landing-section,
    .education-panel,
    .why-panel,
    .showcase-heading,
    .workflow-panel,
    .workspace-hero,
    .feature-card,
    .stat-card {
        padding: 1rem;
    }

    .landing-hero h1,
    .auth-visual h1 {
        font-size: 2.25rem;
    }

    .auth-title {
        font-size: 1.65rem;
    }

    .input-shell {
        gap: 0.5rem;
        padding: 0 0.65rem;
    }

    .password-requirements {
        font-size: 0.78rem;
    }
}

/* Bright theme for authentication and dashboard pages */
body:not(.landing-page) {
    --panel: rgba(255, 255, 255, 0.88);
    --panel-strong: #ffffff;
    --line: rgba(37, 99, 235, 0.14);
    --text: #102a56;
    --muted: #607292;
    --soft: #dbeafe;
    --shadow: 0 24px 65px rgba(30, 64, 175, 0.11);
    background:
        radial-gradient(circle at 8% 5%, rgba(147, 197, 253, 0.34), transparent 28rem),
        radial-gradient(circle at 94% 20%, rgba(254, 215, 170, 0.34), transparent 24rem),
        linear-gradient(180deg, #fbfdff 0%, #eef6ff 55%, #ffffff 100%);
    color: var(--text);
}

body:not(.landing-page)::before {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
}

body:not(.landing-page) .site-ambient { background: rgba(96, 165, 250, 0.18); }
body:not(.landing-page) .site-ambient::after { background: rgba(251, 191, 36, 0.13); }

body:not(.landing-page) .app-navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.06);
}

body:not(.landing-page) .brand-lockup,
body:not(.landing-page) .navbar .nav-link { color: #173466; }
body:not(.landing-page) .brand-subtitle { color: #607292; }
body:not(.landing-page) .navbar .nav-link:hover { color: #2563eb; }
body:not(.landing-page) .navbar-toggler { border-color: rgba(37, 99, 235, 0.2); }
body:not(.landing-page) .navbar-toggler-icon { filter: invert(30%) sepia(73%) saturate(1600%) hue-rotate(205deg); }

body:not(.landing-page) .brand-mark {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.23);
}

body:not(.landing-page) .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
}

body:not(.landing-page) .btn-primary:hover,
body:not(.landing-page) .btn-primary:focus {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.3);
}

body:not(.landing-page) .btn-nav,
body:not(.landing-page) .btn-secondary-soft {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.2);
    background: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.07);
}

body:not(.landing-page) .btn-nav:hover,
body:not(.landing-page) .btn-secondary-soft:hover {
    color: #1e40af;
    border-color: rgba(37, 99, 235, 0.36);
    background: #eff6ff;
}

body:not(.landing-page) .eyebrow { color: #2563eb; }
body:not(.landing-page) a { color: #2563eb; }
body:not(.landing-page) a:hover { color: #1e40af; }

body:not(.landing-page) .auth-visual {
    background:
        radial-gradient(circle at 16% 16%, rgba(96, 165, 250, 0.27), transparent 22rem),
        radial-gradient(circle at 86% 22%, rgba(253, 186, 116, 0.28), transparent 18rem),
        linear-gradient(145deg, #ffffff, #eaf3ff);
}

body:not(.landing-page) .auth-visual::before {
    background: linear-gradient(120deg, rgba(59, 130, 246, 0.12), transparent 35%, transparent 68%, rgba(251, 146, 60, 0.14));
}

body:not(.landing-page) .auth-visual::after {
    background: linear-gradient(90deg, #2563eb, #60a5fa, #f59e0b, transparent);
}

body:not(.landing-page) .security-grid {
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
}

body:not(.landing-page) .auth-visual h1,
body:not(.landing-page) .auth-title,
body:not(.landing-page) .dashboard-header h1,
body:not(.landing-page) .workspace-hero h2,
body:not(.landing-page) .feature-card h2,
body:not(.landing-page) .section-heading h2,
body:not(.landing-page) .showcase-card h3,
body:not(.landing-page) .workflow-panel h2 { color: #102a56; text-shadow: none; }

body:not(.landing-page) .visual-copy,
body:not(.landing-page) .auth-subtitle,
body:not(.landing-page) .dashboard-subtitle,
body:not(.landing-page) .workspace-hero p,
body:not(.landing-page) .feature-card p,
body:not(.landing-page) .showcase-card p,
body:not(.landing-page) .showcase-heading p,
body:not(.landing-page) .workflow-panel p { color: #607292; }

body:not(.landing-page) .visual-orbit {
    color: #fff;
    background: linear-gradient(145deg, #1d4ed8, #60a5fa);
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.25);
}

body:not(.landing-page) .orbit-ring { border-color: rgba(37, 99, 235, 0.22); }
body:not(.landing-page) .orbit-dot { background: #f59e0b; box-shadow: 0 0 18px rgba(245, 158, 11, 0.7); }

body:not(.landing-page) .security-pill-row span,
body:not(.landing-page) .auth-metrics div,
body:not(.landing-page) .floating-file,
body:not(.landing-page) .scan-panel {
    color: #173466;
    border-color: rgba(37, 99, 235, 0.14);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

body:not(.landing-page) .security-pill-row i,
body:not(.landing-page) .auth-metrics strong,
body:not(.landing-page) .floating-file i { color: #2563eb; }
body:not(.landing-page) .auth-metrics span { color: #607292; }

body:not(.landing-page) .auth-panel {
    border-color: rgba(37, 99, 235, 0.13);
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 25px 65px rgba(30, 64, 175, 0.12);
}

body:not(.landing-page) .form-label { color: #173466; }
body:not(.landing-page) .input-shell {
    border-color: #d4e2f7;
    background: #f8fbff;
}

body:not(.landing-page) .input-shell:focus-within {
    border-color: #3b82f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

body:not(.landing-page) .input-shell > i,
body:not(.landing-page) .password-toggle { color: #3b82f6; }
body:not(.landing-page) .form-control,
body:not(.landing-page) .form-control:focus { color: #102a56; background: transparent; }

body:not(.landing-page) .form-control:-webkit-autofill,
body:not(.landing-page) .form-control:-webkit-autofill:hover,
body:not(.landing-page) .form-control:-webkit-autofill:focus,
body:not(.landing-page) .form-control:-webkit-autofill:active {
    -webkit-text-fill-color: #102a56;
    caret-color: #2563eb;
    -webkit-box-shadow: 0 0 0 1000px #f8fbff inset;
    box-shadow: 0 0 0 1000px #f8fbff inset;
    transition: background-color 9999s ease-out 0s;
}

body:not(.landing-page) .input-shell:focus-within .form-control:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    box-shadow: 0 0 0 1000px #ffffff inset;
}
body:not(.landing-page) .password-meter { border-color: rgba(37, 99, 235, 0.12); background: #f8fbff; }
body:not(.landing-page) .password-requirements,
body:not(.landing-page) .strength-label { color: #607292; }
body:not(.landing-page) .password-requirements li.is-met { color: #15803d; }

body:not(.landing-page) .security-alert {
    color: #173466;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 35px rgba(30, 64, 175, 0.12);
}
body:not(.landing-page) .security-alert .btn-close { filter: none; }

body:not(.landing-page) .home-showcase,
body:not(.landing-page) .showcase-heading,
body:not(.landing-page) .workflow-panel { border-color: rgba(37, 99, 235, 0.12); }

body:not(.landing-page) .showcase-heading {
    background:
        radial-gradient(circle at 8% 0%, rgba(96, 165, 250, 0.2), transparent 18rem),
        radial-gradient(circle at 94% 12%, rgba(251, 191, 36, 0.14), transparent 16rem),
        linear-gradient(145deg, #ffffff, #edf5ff);
    box-shadow: 0 18px 48px rgba(30, 64, 175, 0.09);
}
body:not(.landing-page) .showcase-card,
body:not(.landing-page) .workflow-panel {
    border-color: rgba(37, 99, 235, 0.12);
    background: linear-gradient(180deg, #fff, #f5f9ff);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
}
body:not(.landing-page) .showcase-card i { color: #fff; background: linear-gradient(135deg, #2563eb, #60a5fa); box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2); }
body:not(.landing-page) .workflow-steps div { border-color: rgba(37, 99, 235, 0.13); background: #f8fbff; }
body:not(.landing-page) .workflow-steps span { color: #f59e0b; }
body:not(.landing-page) .workflow-steps strong { color: #173466; }
body:not(.landing-page) .workflow-steps small { color: #607292; }

body:not(.landing-page) .dashboard-sidebar,
body:not(.landing-page) .workspace-hero,
body:not(.landing-page) .feature-card,
body:not(.landing-page) .stat-card,
body:not(.landing-page) .activity-list,
body:not(.landing-page) .user-chip {
    border-color: rgba(37, 99, 235, 0.13);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 48px rgba(30, 64, 175, 0.09);
}

body:not(.landing-page) .sidebar-nav a { color: #607292; }
body:not(.landing-page) .sidebar-nav a:hover,
body:not(.landing-page) .sidebar-nav a.active {
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.16);
    background: #edf5ff;
}

body:not(.landing-page) .workspace-hero {
    background: radial-gradient(circle at 95% 5%, rgba(253, 186, 116, 0.2), transparent 17rem), linear-gradient(135deg, #fff, #edf5ff);
}

body:not(.landing-page) .workspace-hero::after { background: rgba(96, 165, 250, 0.14); }
body:not(.landing-page) .status-grid div { border-color: rgba(37, 99, 235, 0.12); background: rgba(255, 255, 255, 0.78); }
body:not(.landing-page) .status-grid span,
body:not(.landing-page) .stat-card span { color: #607292; }
body:not(.landing-page) .status-grid strong { color: #d97706; }
body:not(.landing-page) .status-grid .status-active { color: #15803d; }

body:not(.landing-page) .feature-card:hover { border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 24px 52px rgba(37, 99, 235, 0.14); }
body:not(.landing-page) .feature-icon { color: #2563eb; border-color: rgba(37, 99, 235, 0.16); background: #edf5ff; }
body:not(.landing-page) .status-badge { color: #b45309; }
body:not(.landing-page) .stat-card strong,
body:not(.landing-page) .activity-item span { color: #173466; }
body:not(.landing-page) .stat-card:nth-child(1) strong,
body:not(.landing-page) .stat-card:nth-child(2) strong { color: #15803d; }
body:not(.landing-page) .stat-card:nth-child(3) strong { color: #d97706; }
body:not(.landing-page) .activity-item { border-bottom-color: rgba(37, 99, 235, 0.1); }
body:not(.landing-page) .activity-item i { color: #2563eb; }
body:not(.landing-page) .activity-item small,
body:not(.landing-page) .app-footer small,
body:not(.landing-page) .app-footer span { color: #607292; }
body:not(.landing-page) .avatar { color: #fff; background: linear-gradient(135deg, #2563eb, #60a5fa); }
body:not(.landing-page) .user-chip small { color: #15803d; }

@media (max-width: 575px) {
    body:not(.landing-page) .auth-panel {
        padding: 1.35rem;
    }

    body:not(.landing-page) .input-shell {
        min-height: 3.25rem;
        padding: 0 0.75rem;
    }

    body:not(.landing-page) .showcase-heading {
        padding: 1.75rem 1.25rem;
    }

    body:not(.landing-page) .showcase-heading h2 {
        font-size: clamp(1.85rem, 9.5vw, 2.35rem);
        line-height: 1.06;
    }

    body:not(.landing-page) .showcase-heading p {
        font-size: 0.95rem;
        line-height: 1.65;
    }
}
.file-section-heading { align-items: center; display: flex; justify-content: space-between; gap: 1rem; }
.section-description { color: #64748b; max-width: 850px; }
.file-state-badge { align-items: center; border-radius: 999px; display: inline-flex; font-size: .78rem; font-weight: 800; gap: .4rem; padding: .45rem .75rem; white-space: nowrap; }
.file-state-badge.pending { background: #fff7ed; color: #c2410c; }
.file-state-badge.encrypted { background: #ecfdf5; color: #15803d; }
.empty-file-state { align-items: center; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 14px; color: #64748b; display: flex; gap: .75rem; padding: 1.2rem; }
.empty-file-state i { font-size: 1.4rem; }
.crypto-progress-overlay { align-items: center; background: rgba(9, 30, 66, .72); backdrop-filter: blur(8px); display: flex; inset: 0; justify-content: center; padding: 1.5rem; position: fixed; z-index: 2000; }
.crypto-progress-overlay[hidden] { display: none; }
.crypto-progress-card { background: #fff; border-radius: 24px; box-shadow: 0 28px 80px rgba(15, 23, 42, .3); max-width: 520px; padding: 2.25rem; text-align: center; width: 100%; }
.crypto-progress-icon { align-items: center; background: linear-gradient(135deg, #2563eb, #60a5fa); border-radius: 18px; color: #fff; display: inline-flex; font-size: 1.6rem; height: 58px; justify-content: center; margin-bottom: 1rem; width: 58px; }
.crypto-progress-card h2 { color: #102a56; margin-bottom: .65rem; }
.crypto-progress-card p { color: #64748b; min-height: 1.6rem; }
.crypto-progress-track { background: #dbeafe; border-radius: 999px; height: 13px; margin: 1.35rem 0 .65rem; overflow: hidden; }
.crypto-progress-track span { background: linear-gradient(90deg, #2563eb, #22c55e); border-radius: inherit; display: block; height: 100%; transition: width .55s ease; width: 0; }
.crypto-progress-card > strong { color: #1d4ed8; display: block; font-size: 1.15rem; margin-bottom: .8rem; }
.crypto-progress-card small { color: #94a3b8; }
.crypto-operation-active { overflow: hidden; }
@media (max-width: 640px) { .file-section-heading { align-items: flex-start; flex-direction: column; } }
