:root {
    color-scheme: dark;
    --lob-bg: #090b0f;
    --lob-surface: #10141a;
    --lob-card: #151a21;
    --lob-card-strong: #1b222b;
    --lob-line: rgba(168, 183, 197, 0.16);
    --lob-muted: #9aa7b4;
    --lob-text: #f7f9fb;
    --lob-brand: #5cc8ff;
    --lob-brand-2: #ff5a76;
    --lob-warn: #ffc857;
    --lob-danger: #ff4d6d;
    --lob-purple: #9aa7ff;
    --lob-radius: 8px;
    --lob-shadow: 0 22px 72px -54px rgba(0, 0, 0, 0.9);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--lob-bg);
    text-rendering: optimizeLegibility;
}

body {
    background: linear-gradient(180deg, #0d1117 0%, var(--lob-bg) 48%, #080a0e 100%) !important;
    color: var(--lob-muted) !important;
    letter-spacing: 0 !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(92, 200, 255, 0.055), transparent 34%, transparent 68%, rgba(255, 90, 118, 0.04)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 42%);
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

.text-brand {
    color: var(--lob-brand) !important;
}

.bg-brand {
    background-color: var(--lob-brand) !important;
}

.border-brand,
.focus\:border-brand:focus {
    border-color: var(--lob-brand) !important;
}

.shadow-brand\/20 {
    box-shadow: 0 18px 38px -24px rgba(92, 200, 255, 0.58) !important;
}

.text-emerald-300,
.text-emerald-400,
.text-emerald-500,
.text-emerald-500\/70 {
    color: var(--lob-brand) !important;
}

.bg-emerald-400,
.bg-emerald-500 {
    background-color: var(--lob-brand) !important;
}

.bg-emerald-400\/10,
.bg-emerald-500\/5,
.bg-emerald-500\/10,
.bg-emerald-500\/20 {
    background-color: rgba(92, 200, 255, 0.1) !important;
}

.border-emerald-400\/20,
.border-emerald-500\/10,
.border-emerald-500\/20,
.border-emerald-500\/30 {
    border-color: rgba(92, 200, 255, 0.22) !important;
}

.shadow-emerald-500\/5,
.shadow-emerald-500\/20 {
    box-shadow: 0 18px 44px -34px rgba(92, 200, 255, 0.42) !important;
}

.from-emerald-500\/5 {
    --tw-gradient-from: rgba(92, 200, 255, 0.08) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgba(92, 200, 255, 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.hover\:bg-emerald-500:hover {
    background-color: var(--lob-brand) !important;
}

.hover\:bg-emerald-500\/5:hover,
.group:hover .group-hover\:bg-emerald-500\/10 {
    background-color: rgba(92, 200, 255, 0.08) !important;
}

.hover\:border-emerald-500\/30:hover {
    border-color: rgba(92, 200, 255, 0.32) !important;
}

.bg-surface {
    background-color: var(--lob-surface) !important;
}

.bg-card {
    background-color: var(--lob-card) !important;
}

.border-borderline {
    border-color: var(--lob-line) !important;
}

.glass-card,
.stat-card,
.metric-cell,
.proof-tile,
.input-field,
.input-dark,
[class*="rounded-[2rem]"],
[class*="rounded-[2.5rem]"],
.rounded-3xl,
.rounded-2xl,
.rounded-xl {
    border-radius: 8px !important;
}

.glass-card,
.stat-card,
.metric-cell,
.proof-tile {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
        var(--lob-card) !important;
    border: 1px solid var(--lob-line) !important;
    box-shadow: 0 18px 70px -48px rgba(0, 0, 0, 0.9);
}

.lob-shell {
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 16px;
}

.lob-page-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--lob-line);
    background:
        linear-gradient(135deg, rgba(92, 200, 255, 0.095), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.046), rgba(255, 255, 255, 0.012)),
        var(--lob-card);
    border-radius: var(--lob-radius);
    padding: clamp(22px, 4vw, 38px);
}

.lob-page-hero::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(38%, 360px);
    background: linear-gradient(180deg, rgba(92, 200, 255, 0.09), rgba(255, 90, 118, 0.045));
    opacity: 0.34;
    mask-image: linear-gradient(90deg, transparent, black);
}

.lob-section-title {
    color: var(--lob-text);
    font-weight: 900;
    line-height: 1.02;
    font-size: clamp(26px, 5vw, 54px);
    letter-spacing: 0 !important;
}

.lob-muted {
    color: var(--lob-muted);
}

.lob-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--lob-line);
    background: rgba(255, 255, 255, 0.035);
    color: var(--lob-muted);
    border-radius: var(--lob-radius);
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 800;
}

.lob-primary,
.lob-secondary {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: var(--lob-radius);
    padding: 0 18px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lob-primary {
    background: linear-gradient(135deg, var(--lob-brand), #98ddff);
    color: #061016;
    box-shadow: 0 18px 38px -26px rgba(92, 200, 255, 0.72);
}

.lob-secondary {
    border: 1px solid var(--lob-line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--lob-text);
}

.lob-primary:hover,
.lob-secondary:hover {
    transform: translateY(-1px);
}

.lob-secondary:hover {
    border-color: rgba(92, 200, 255, 0.44);
}

.lob-landing-nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 60;
    border-bottom: 1px solid var(--lob-line);
    background: rgba(9, 11, 15, 0.82);
    backdrop-filter: blur(18px);
}

.lob-landing-hero {
    position: relative;
    min-height: 94vh;
    padding: 112px 16px 48px;
    overflow: hidden;
}

.lob-landing-hero::before {
    content: "";
    position: absolute;
    inset: 64px 0 auto;
    height: 70%;
    background:
        linear-gradient(120deg, rgba(92, 200, 255, 0.12), transparent 34%),
        linear-gradient(240deg, rgba(255, 90, 118, 0.07), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 62%);
    opacity: 0.74;
}

.lob-landing-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(24px, 5vw, 68px);
    align-items: center;
}

.lob-hero-title {
    color: var(--lob-text);
    font-size: clamp(46px, 8vw, 104px);
    font-weight: 950;
    line-height: 0.92;
}

.lob-hero-copy {
    max-width: 620px;
    color: #b5c8d0;
    line-height: 1.75;
    font-size: clamp(14px, 2vw, 17px);
}

.lob-hero-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
}

.lob-device {
    width: min(100%, 620px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
        #10151c;
    border-radius: var(--lob-radius);
    box-shadow: var(--lob-shadow);
    overflow: hidden;
}

.lob-device__top {
    height: 44px;
    border-bottom: 1px solid var(--lob-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.lob-device__dots {
    display: flex;
    gap: 6px;
}

.lob-device__dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--lob-line);
}

.lob-device__body {
    padding: clamp(16px, 3vw, 28px);
}

.lob-visual-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
}

.lob-balance-panel {
    min-height: 215px;
    background:
        linear-gradient(135deg, rgba(92, 200, 255, 0.16), transparent 48%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
    border: 1px solid var(--lob-line);
    border-radius: var(--lob-radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lob-tiny-chart {
    height: 72px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: 7px;
}

.lob-tiny-chart span {
    display: block;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--lob-brand), var(--lob-brand-2));
}

.lob-side-stack {
    display: grid;
    gap: 14px;
}

.lob-mini-panel {
    border: 1px solid var(--lob-line);
    background: rgba(255, 255, 255, 0.035);
    border-radius: var(--lob-radius);
    padding: 16px;
}

.lob-feed-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.lob-feed-row:last-child {
    border-bottom: 0;
}

.lob-feature-band {
    padding: clamp(48px, 8vw, 86px) 16px;
}

.lob-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lob-feature-card {
    min-height: 250px;
    border: 1px solid var(--lob-line);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)),
        var(--lob-card);
    border-radius: var(--lob-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lob-feature-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(92, 200, 255, 0.26);
    background: rgba(92, 200, 255, 0.1);
    color: var(--lob-brand);
    border-radius: var(--lob-radius);
}

.lob-legal-footer {
    width: 100%;
    margin-top: clamp(44px, 7vw, 86px);
    border-top: 1px solid var(--lob-line);
    background: rgba(9, 11, 15, 0.78);
    padding: 34px 16px calc(34px + env(safe-area-inset-bottom));
}

body > main > header {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--lob-line);
    background:
        linear-gradient(135deg, rgba(92, 200, 255, 0.09), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014)),
        var(--lob-card);
    border-radius: var(--lob-radius) !important;
    padding: clamp(20px, 4vw, 34px) !important;
    margin-bottom: 24px !important;
}

body > main > header::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: min(42%, 360px);
    background: linear-gradient(180deg, rgba(92, 200, 255, 0.08), rgba(255, 90, 118, 0.035));
    opacity: 0.28;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent, black);
}

body > main > header > * {
    position: relative;
    z-index: 1;
}

body > main > header h2 {
    font-size: clamp(28px, 5vw, 52px) !important;
    line-height: 1.02 !important;
    font-weight: 900 !important;
}

.lob-footer-grid {
    max-width: 1180px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 28px;
}

.lob-footer-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.lob-footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--lob-muted);
    font-size: 12px;
    font-weight: 800;
    border: 1px solid var(--lob-line);
    border-radius: var(--lob-radius);
    padding: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.lob-footer-links a:hover {
    color: var(--lob-text);
    border-color: rgba(92, 200, 255, 0.34);
}

.lob-legal-layout {
    max-width: 980px;
    margin: 0 auto;
    padding: 112px 16px 54px;
}

.lob-legal-doc {
    border: 1px solid var(--lob-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.014)), var(--lob-card);
    border-radius: var(--lob-radius);
    padding: clamp(24px, 4vw, 44px);
}

.lob-legal-doc h2 {
    color: var(--lob-text);
    font-size: 20px;
    font-weight: 900;
    margin-top: 26px;
    margin-bottom: 10px;
}

.lob-legal-doc p,
.lob-legal-doc li {
    color: var(--lob-muted);
    line-height: 1.78;
    font-size: 14px;
}

.lob-legal-doc ul {
    padding-left: 18px;
}

.lob-auth-card {
    width: min(100%, 460px);
    border: 1px solid var(--lob-line);
    background:
        linear-gradient(135deg, rgba(92, 200, 255, 0.08), transparent 36%),
        linear-gradient(225deg, rgba(255, 90, 118, 0.035), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        var(--lob-card);
    border-radius: var(--lob-radius);
    box-shadow: var(--lob-shadow);
}

#authModal,
#loginModal {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

#authModal.active,
#loginModal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-scale {
    transform: translateY(10px) scale(0.98);
    transition: transform 0.25s ease;
}

#authModal.active .modal-scale,
#loginModal.active .modal-scale {
    transform: translateY(0) scale(1);
}

.glass-card:hover,
.stat-card:hover,
.metric-cell:hover,
.proof-tile:hover {
    border-color: rgba(92, 200, 255, 0.42) !important;
}

button,
a,
input,
select,
textarea {
    letter-spacing: 0 !important;
}

button,
a[href],
[role="button"] {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(92, 200, 255, 0.9);
    outline-offset: 3px;
}

input,
select,
textarea,
.input-dark,
.input-field {
    background: rgba(12, 16, 22, 0.88) !important;
    border-color: var(--lob-line) !important;
    color: var(--lob-text) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(154, 167, 180, 0.72) !important;
}

.stat-glow {
    text-shadow: 0 0 24px rgba(92, 200, 255, 0.24) !important;
}

.progress-bar {
    background: linear-gradient(90deg, var(--lob-brand), var(--lob-brand-2), var(--lob-warn)) !important;
}

nav.sticky,
nav.fixed {
    background: rgba(9, 11, 15, 0.82) !important;
    border-color: var(--lob-line) !important;
    box-shadow: 0 14px 50px -38px rgba(0, 0, 0, 0.9);
}

nav .max-w-6xl,
nav .max-w-7xl,
nav .max-w-5xl {
    max-width: 1180px !important;
}

main.max-w-6xl,
main.max-w-5xl,
main.max-w-4xl,
main.max-w-3xl {
    max-width: 1180px !important;
}

main[class*="pt-8"],
main[class*="pt-10"],
main[class*="pt-20"] {
    padding-top: clamp(28px, 4vw, 54px) !important;
}

.log-row:hover {
    padding-left: 0 !important;
    transform: translateX(3px);
}

.lob-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--lob-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    border-radius: 8px;
    color: var(--lob-text);
}

.lob-alert__icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex: 0 0 auto;
    background: rgba(92, 200, 255, 0.1);
    color: var(--lob-brand);
}

.lob-alert--danger {
    border-color: rgba(255, 77, 109, 0.32);
    background: linear-gradient(180deg, rgba(255, 77, 109, 0.1), rgba(255, 77, 109, 0.035));
}

.lob-alert--danger .lob-alert__icon {
    background: rgba(255, 77, 109, 0.12);
    color: var(--lob-danger);
}

.lob-notify-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid var(--lob-line);
    background: rgba(255, 255, 255, 0.035);
    color: var(--lob-text);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lob-notify-toggle:hover {
    border-color: rgba(92, 200, 255, 0.42);
    background: rgba(92, 200, 255, 0.08);
}

.lob-notify-toggle:active {
    transform: scale(0.98);
}

.lob-notify-toggle[data-state="granted"] {
    border-color: rgba(92, 200, 255, 0.36);
    color: var(--lob-brand);
}

#notificationDropdown.lob-open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
}

.lob-security-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: linear-gradient(180deg, #0d1117, var(--lob-bg));
    color: var(--lob-text);
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.lob-security-card {
    width: min(100%, 520px);
    border: 1px solid var(--lob-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)), var(--lob-card);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 26px 90px -58px rgba(0, 0, 0, 0.95);
}

.lob-security-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(92, 200, 255, 0.11);
    color: var(--lob-brand);
    font-size: 30px;
    margin-bottom: 18px;
}

.lob-security-card--danger .lob-security-card__icon {
    background: rgba(255, 77, 109, 0.12);
    color: var(--lob-danger);
}

.lob-security-card h1 {
    color: var(--lob-text);
    font-size: clamp(26px, 5vw, 38px);
    line-height: 1.05;
    margin: 0 0 12px;
}

.lob-security-card p {
    color: var(--lob-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

.lob-security-card .meta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--lob-line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lob-security-card .meta span {
    border: 1px solid var(--lob-line);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 8px;
    padding: 7px 9px;
    font-size: 11px;
    color: var(--lob-muted);
}

@media (max-width: 768px) {
    main {
        width: 100%;
    }

    .glass-card,
    .stat-card,
    .metric-cell,
    .proof-tile {
        box-shadow: 0 12px 48px -42px rgba(0, 0, 0, 0.95);
    }

    .lob-security-card {
        padding: 24px;
    }

    .lob-landing-hero {
        padding-top: 92px;
        min-height: auto;
    }

    .lob-landing-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lob-hero-visual {
        min-height: auto;
    }

    .lob-visual-grid,
    .lob-feature-grid,
    .lob-footer-grid,
    .lob-footer-links {
        grid-template-columns: 1fr;
    }

    .lob-device__body {
        padding: 14px;
    }

    .lob-balance-panel {
        min-height: 180px;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .lob-landing-grid {
        grid-template-columns: 1fr;
    }

    .lob-hero-visual {
        min-height: auto;
    }

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