/* NovaNode shared interface layer */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600&family=Space+Grotesk:wght@500;600;700&display=swap');
:root {
    --ui-bg: #080a0f;
    --ui-surface: rgba(19, 23, 34, .92);
    --ui-surface-2: rgba(28, 34, 49, .82);
    --ui-surface-3: #202739;
    --ui-text: #f7f8fc;
    --ui-muted: #9aa5ba;
    --ui-border: rgba(148, 163, 184, .17);
    --ui-border-strong: rgba(129, 140, 248, .42);
    --ui-primary: #6366f1;
    --ui-primary-2: #8b5cf6;
    --ui-success: #22c55e;
    --ui-warning: #f59e0b;
    --ui-danger: #ef4444;
    --ui-info: #38bdf8;
    --ui-shadow: 0 24px 70px rgba(0, 0, 0, .38);
    --ui-shadow-sm: 0 10px 30px rgba(0, 0, 0, .22);
    --ui-radius: 14px;
    --ui-radius-sm: 9px;
    --ui-focus: 0 0 0 3px rgba(99, 102, 241, .28);
}

html[data-theme="light"] {
    --ui-bg: #f5f7fb;
    --ui-surface: rgba(255, 255, 255, .96);
    --ui-surface-2: rgba(248, 250, 252, .94);
    --ui-surface-3: #eef2f8;
    --ui-text: #182033;
    --ui-muted: #667085;
    --ui-border: rgba(51, 65, 85, .14);
    --ui-border-strong: rgba(79, 70, 229, .35);
    --ui-shadow: 0 24px 60px rgba(30, 41, 59, .12);
    --ui-shadow-sm: 0 8px 24px rgba(30, 41, 59, .09);
}
html[data-theme="light"] {
    --dash-bg: var(--ui-bg); --dash-sidebar: #f8fafc; --dash-panel: #fff; --dash-text: var(--ui-text);
    --dash-muted: var(--ui-muted); --dash-border: var(--ui-border); --dash-input: #fff;
    --bg-main: var(--ui-bg); --bg-dark: var(--ui-bg); --bg-card: #fff; --text-main: var(--ui-text); --text-muted: var(--ui-muted); --border: var(--ui-border);
}
html[data-theme="light"] :is(.panel, .stat-box, .user-dropdown, .pricing-card, .glass-panel) [style*="color:#fff"],
html[data-theme="light"] :is(.panel, .stat-box, .user-dropdown, .pricing-card, .glass-panel) [style*="color: #fff"] { color: var(--ui-text) !important; }

html { color-scheme: dark; scroll-behavior: smooth; }
html[data-theme="light"] { color-scheme: light; }

body {
    background-color: var(--ui-bg) !important;
    color: var(--ui-text);
    background-image:
        radial-gradient(circle at 12% -10%, rgba(99, 102, 241, .16), transparent 34rem),
        radial-gradient(circle at 90% 10%, rgba(56, 189, 248, .08), transparent 28rem);
}

body::selection { background: rgba(99, 102, 241, .35); color: #fff; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: none !important;
    box-shadow: var(--ui-focus) !important;
}

:where(button, .btn, .dash-btn, .nav-btn) { min-height: 42px; touch-action: manipulation; }
:where(input, select, textarea, .dash-input, .form-control, .form-select) { min-height: 44px; }

html[data-theme="light"] body,
html[data-theme="light"] .dash-main,
html[data-theme="light"] .dash-topbar,
html[data-theme="light"] .dash-sidebar { color: var(--ui-text); }
html[data-theme="light"] .table-dark { --bs-table-bg: transparent; --bs-table-color: var(--ui-text); }
html[data-theme="light"] :is(.logo, .navbar-brand, .premium-nav .main-links a) { color: var(--ui-text) !important; }

.panel, .pricing-card, .stat-box, .glass-panel, .auth-container,
.dashboard-card, .action-card {
    border-color: var(--ui-border) !important;
    box-shadow: var(--ui-shadow-sm);
}

.panel, .pricing-card, .stat-box, .glass-panel, .auth-container {
    background: var(--ui-surface) !important;
    border-radius: var(--ui-radius) !important;
}

.panel:hover, .stat-box:hover, .pricing-card:hover {
    border-color: var(--ui-border-strong) !important;
}

.dash-content { width: 100%; max-width: 1540px; margin-inline: auto; }
.welcome-header { margin-bottom: 1.75rem !important; }
.welcome-header h1 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.045em; }
.welcome-header p { color: var(--ui-muted) !important; max-width: 68ch; }

.dash-topbar, .premium-nav, .navbar {
    background: color-mix(in srgb, var(--ui-bg) 82%, transparent) !important;
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
    border-color: var(--ui-border) !important;
}

.dash-sidebar {
    background: color-mix(in srgb, var(--ui-bg) 94%, #111827) !important;
    border-color: var(--ui-border) !important;
}

.dash-menu a { border: 1px solid transparent; min-height: 44px; }
.dash-menu a:hover { border-color: var(--ui-border); transform: translateX(2px); }
.dash-menu a.active {
    color: #fff !important;
    background: linear-gradient(135deg, rgba(99,102,241,.92), rgba(124,58,237,.88)) !important;
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 10px 24px rgba(79,70,229,.25);
}

.ui-menu-count {
    min-width: 24px; height: 24px; padding: 0 7px; display: inline-grid; place-items: center;
    border-radius: 999px; color: var(--ui-text); background: rgba(148,163,184,.14);
    border: 1px solid var(--ui-border); font-size: .72rem; font-weight: 700;
}

.dash-btn, .btn, .nav-btn {
    border-radius: var(--ui-radius-sm) !important;
    font-weight: 700 !important;
    letter-spacing: -.01em;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
}
.dash-btn:hover, .btn:hover, .nav-btn:hover { transform: translateY(-1px); }
.dash-btn-primary, .btn-primary, .nav-btn:not(.outline) {
    color: #fff !important;
    background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2)) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 20px rgba(99,102,241,.22);
}
.dash-btn-outline, .btn-outline-light, .nav-btn.outline {
    background: transparent !important; color: var(--ui-text) !important; border-color: var(--ui-border) !important;
}

.dash-input, .form-control, .form-select, input:not([type="checkbox"]):not([type="radio"]), textarea, select {
    color: var(--ui-text) !important;
    background-color: var(--ui-surface-2) !important;
    border-color: var(--ui-border) !important;
    border-radius: var(--ui-radius-sm) !important;
}
::placeholder { color: color-mix(in srgb, var(--ui-muted) 78%, transparent) !important; opacity: 1; }

.table-list, .table-responsive { border-radius: 12px; overflow: hidden; }
.table-list { width: 100%; }
.table-list th, .table-list td, table.table th, table.table td { border-color: var(--ui-border) !important; }
.table-list th, table.table thead th {
    color: var(--ui-muted) !important; text-transform: uppercase; letter-spacing: .055em; font-size: .72rem;
    background: color-mix(in srgb, var(--ui-surface-3) 72%, transparent) !important;
}
.table-list tbody tr, table.table tbody tr { transition: background .16s ease; }
.table-list tbody tr:hover, table.table tbody tr:hover { background: rgba(99,102,241,.055) !important; }
.ui-sortable { cursor: pointer; user-select: none; }
.ui-sortable::after { content: " ↕"; color: var(--ui-muted); opacity: .55; }
.ui-sortable[data-sort="asc"]::after { content: " ↑"; opacity: 1; }
.ui-sortable[data-sort="desc"]::after { content: " ↓"; opacity: 1; }

.ui-table-shell { position: relative; }
.ui-table-toolbar, .ui-pagination {
    display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
    padding: .8rem 0;
}
.ui-table-toolbar input { flex: 1 1 220px; max-width: 420px; }
.ui-table-toolbar select { width: auto; min-width: 150px; }
.ui-table-count { color: var(--ui-muted); font-size: .82rem; margin-left: auto; }
.ui-pagination { justify-content: flex-end; }
.ui-pagination button { min-width: 38px; min-height: 38px; border: 1px solid var(--ui-border); border-radius: 8px; background: var(--ui-surface-2); color: var(--ui-text); }
.ui-pagination button[aria-current="page"] { background: var(--ui-primary); color: #fff; border-color: transparent; }

.ui-alert, .error-msg, .success-msg, .alert {
    border: 1px solid var(--ui-border) !important; border-radius: 11px !important;
    padding: .9rem 1rem !important; box-shadow: var(--ui-shadow-sm);
}
.ui-alert-success, .success-msg { color: #86efac !important; background: rgba(34,197,94,.1) !important; border-color: rgba(34,197,94,.25) !important; }
.ui-alert-danger, .error-msg { color: #fca5a5 !important; background: rgba(239,68,68,.1) !important; border-color: rgba(239,68,68,.25) !important; }
.ui-alert-warning { color: #fcd34d !important; background: rgba(245,158,11,.1) !important; border-color: rgba(245,158,11,.25) !important; }

.ui-toast-stack { position: fixed; z-index: 9999; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(390px, calc(100vw - 32px)); }
.ui-toast {
    display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: start;
    padding: 14px 15px; border-radius: 12px; color: var(--ui-text); background: var(--ui-surface);
    border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow); animation: uiToastIn .25s ease both;
}
.ui-toast-dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: var(--ui-info); }
.ui-toast[data-kind="success"] .ui-toast-dot { background: var(--ui-success); }
.ui-toast[data-kind="danger"] .ui-toast-dot { background: var(--ui-danger); }
.ui-toast[data-kind="warning"] .ui-toast-dot { background: var(--ui-warning); }
.ui-toast p { margin: 0; color: var(--ui-muted); font-size: .86rem; }
.ui-toast button { border: 0; background: transparent; color: var(--ui-muted); min-height: 28px; cursor: pointer; }
@keyframes uiToastIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.ui-theme-toggle {
    position: fixed; z-index: 900; right: 18px; top: 82px; width: 44px; height: 44px;
    display: grid; place-items: center; border: 1px solid var(--ui-border); border-radius: 50%;
    background: var(--ui-surface); color: var(--ui-text); box-shadow: var(--ui-shadow-sm); cursor: pointer;
}
.premium-nav .nav-left, .premium-nav .nav-right { display: flex; align-items: center; gap: .75rem; }
.premium-nav .nav-left { min-width: 0; }
.ui-public-menu { display: none; min-height: 40px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--ui-border); color: var(--ui-text); background: var(--ui-surface); font-weight: 700; }
.ui-public-drawer { display: none; }

.ui-progress { position: fixed; inset: 0 0 auto 0; z-index: 10000; height: 3px; pointer-events: none; opacity: 0; }
.ui-progress::before { content: ""; display: block; width: 38%; height: 100%; background: linear-gradient(90deg, var(--ui-primary), var(--ui-info)); animation: uiProgress 1s linear infinite; }
.ui-progress.is-active { opacity: 1; }
@keyframes uiProgress { from { transform: translateX(-100%); } to { transform: translateX(360%); } }

.ui-spinner { width: 16px; height: 16px; display: inline-block; margin-right: 7px; vertical-align: -3px; border: 2px solid rgba(255,255,255,.32); border-top-color: currentColor; border-radius: 50%; animation: uiSpin .7s linear infinite; }
@keyframes uiSpin { to { transform: rotate(360deg); } }

.ui-password-wrap { position: relative; }
.ui-password-wrap > input { padding-right: 48px !important; }
.ui-password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 34px; border: 0; background: transparent; color: var(--ui-muted); cursor: pointer; padding: 4px 8px; }

.ui-copy-btn { min-height: 34px; padding: 5px 9px; margin-left: 7px; border: 1px solid var(--ui-border); border-radius: 7px; color: var(--ui-muted); background: var(--ui-surface-2); cursor: pointer; font-size: .76rem; }

.ui-health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 1.25rem 0 1.75rem; }
.ui-health-card { padding: 1rem; border-radius: 13px; background: var(--ui-surface); border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-sm); }
.ui-health-card header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.ui-health-card p { color: var(--ui-muted); font-size: .82rem; margin: 0; }
.ui-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: rgba(148,163,184,.12); color: var(--ui-muted); }
.ui-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ui-status.is-ready { color: #4ade80; background: rgba(34,197,94,.11); }
.ui-status.is-missing { color: #fbbf24; background: rgba(245,158,11,.1); }

.ui-setup { padding: 1.15rem; margin-bottom: 1.5rem; border-radius: 14px; background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(56,189,248,.06)); border: 1px solid var(--ui-border-strong); }
.ui-setup-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.ui-setup-progress { width: 150px; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(148,163,184,.16); }
.ui-setup-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--ui-primary), var(--ui-info)); border-radius: inherit; }
.ui-checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; list-style: none; padding: 0; margin: 0; }
.ui-checklist li { display: flex; gap: .6rem; align-items: center; color: var(--ui-muted); font-size: .85rem; }
.ui-checklist li::before { content: "○"; color: var(--ui-warning); font-size: 1.1rem; }
.ui-checklist li.is-done::before { content: "✓"; color: var(--ui-success); }

.ui-secret-row { display: flex; gap: .65rem; align-items: center; }
.ui-secret-row input { flex: 1; }
.ui-configured { white-space: nowrap; color: #86efac; font-size: .76rem; font-weight: 700; }
.ui-clear-secret { display: flex; align-items: center; gap: .35rem; margin-top: .45rem; color: var(--ui-muted); font-size: .78rem; }
.ui-clear-secret input { min-height: auto !important; }

.ui-checkout-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; max-width: 520px; margin: 0 auto 1.5rem; counter-reset: checkout; }
.ui-checkout-step { counter-increment: checkout; text-align: center; color: var(--ui-muted); font-size: .76rem; font-weight: 700; }
.ui-checkout-step::before { content: counter(checkout); display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto .4rem; border-radius: 50%; background: var(--ui-surface-3); border: 1px solid var(--ui-border); }
.ui-checkout-step.is-active { color: var(--ui-text); }
.ui-checkout-step.is-active::before { color: #fff; background: var(--ui-primary); border-color: transparent; box-shadow: 0 0 0 4px rgba(99,102,241,.15); }

.ui-empty { text-align: center; padding: 2.5rem 1rem; color: var(--ui-muted); }
.ui-empty strong { display: block; color: var(--ui-text); font-size: 1.05rem; margin-bottom: .3rem; }

.ui-dialog { width: min(460px, calc(100vw - 28px)); padding: 0; border: 1px solid var(--ui-border); border-radius: 16px; color: var(--ui-text); background: var(--ui-surface); box-shadow: var(--ui-shadow); }
.ui-dialog::backdrop { background: rgba(0,0,0,.68); backdrop-filter: blur(4px); }
.ui-dialog-body { padding: 1.35rem; }
.ui-dialog-body p { color: var(--ui-muted); margin: .5rem 0 1.2rem; }
.ui-dialog-body > input { width: 100%; margin: 1rem 0 1.2rem; }
.ui-dialog-actions { display: flex; justify-content: flex-end; gap: .65rem; }

.ui-error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.ui-error-card { width: min(620px, 100%); text-align: center; padding: clamp(2rem, 6vw, 4rem); background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 20px; box-shadow: var(--ui-shadow); }
.ui-error-code { font-size: clamp(3.5rem, 12vw, 7rem); line-height: .9; font-weight: 900; letter-spacing: -.08em; color: transparent; background: linear-gradient(135deg, var(--ui-primary), var(--ui-info)); background-clip: text; }
.ui-error-card p { color: var(--ui-muted); max-width: 48ch; margin: 1rem auto 1.5rem; }

.ui-boot .dash-content > *, .ui-boot .auth-container { opacity: .25; }
.ui-boot .dash-content::before { content: ""; display: block; height: 5px; background: linear-gradient(90deg, transparent, rgba(99,102,241,.7), transparent); background-size: 220% 100%; animation: uiShimmer 1.1s linear infinite; }
@keyframes uiShimmer { to { background-position: -220% 0; } }

@media (max-width: 900px) {
    .premium-nav { padding-inline: 1rem !important; flex-flow: row wrap !important; gap: .75rem !important; }
    .premium-nav .nav-left { flex: 1; }
    .premium-nav .main-links, .premium-nav > .nav-right { display: none !important; }
    .ui-public-menu { display: inline-flex; align-items: center; }
    .premium-nav.is-open { height: auto; min-height: 72px; padding-block: .8rem; }
    .premium-nav.is-open .ui-public-drawer { display: grid; flex: 0 0 100%; gap: .75rem; padding-top: .8rem; }
    .ui-public-links { display: grid; }
    .ui-public-links a { min-height: 44px; display: flex; align-items: center; padding-inline: .75rem; color: var(--ui-text); text-decoration: none; border-radius: 8px; }
    .ui-public-links a:hover { background: var(--ui-surface-2); }
    .ui-public-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
    .dash-content { padding: 1.25rem !important; }
    .topbar-search { width: min(52vw, 320px) !important; }
    .ui-theme-toggle { top: auto; bottom: 18px; }
    .table-list { min-width: 720px; }
    .panel:has(> .table-list), .panel:has(> .table-responsive) { overflow-x: auto; }
}

@media (max-width: 600px) {
    .dash-topbar { padding-inline: .8rem !important; }
    .topbar-search { width: 46vw !important; }
    .topbar-search input { width: 100%; }
    .topbar-search::after { display: none; }
    .topbar-icons { display: none !important; }
    .user-profile { font-size: 0 !important; }
    .user-profile img { margin: 0 !important; }
    .stat-cards, .panel-grid { grid-template-columns: 1fr !important; }
    .ui-health-grid { grid-template-columns: 1fr; }
    .ui-checkout-steps { padding-inline: .5rem; }
    .ui-toast-stack { right: 16px; bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* NovaNode Infrastructure OS */
:root {
    --nova-void: #030610;
    --nova-panel: rgba(8, 14, 29, .86);
    --nova-panel-solid: #091020;
    --nova-cyan: #35d7ff;
    --nova-blue: #477bff;
    --nova-violet: #9b6cff;
    --nova-lime: #84f7b2;
    --nova-line: rgba(111, 160, 255, .19);
    --nova-grid: rgba(99, 164, 255, .055);
    --nova-display: 'Space Grotesk', 'Inter', sans-serif;
    --nova-mono: 'JetBrains Mono', Consolas, monospace;
}

html[data-theme="light"] {
    --nova-void: #edf3ff;
    --nova-panel: rgba(255, 255, 255, .88);
    --nova-panel-solid: #ffffff;
    --nova-line: rgba(47, 93, 187, .18);
    --nova-grid: rgba(47, 93, 187, .07);
}

body {
    font-family: 'Inter', system-ui, sans-serif !important;
    background-image:
        linear-gradient(var(--nova-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--nova-grid) 1px, transparent 1px),
        radial-gradient(circle at 82% -5%, rgba(71, 123, 255, .2), transparent 34rem),
        radial-gradient(circle at -8% 35%, rgba(155, 108, 255, .12), transparent 30rem) !important;
    background-size: 54px 54px, 54px 54px, auto, auto !important;
    background-attachment: fixed !important;
}

body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 46%, rgba(53, 215, 255, .028) 50%, transparent 54%);
}

:is(h1, h2, h3, h4, .logo, .dash-logo, .navbar-brand) {
    font-family: var(--nova-display) !important;
}

.premium-nav {
    border-bottom: 1px solid var(--nova-line) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

.logo { letter-spacing: .08em !important; }
.logo-word { display: grid; line-height: 1; }
.logo-sub { margin-top: 4px; color: var(--nova-cyan); font: 500 .54rem/1 var(--nova-mono); letter-spacing: .2em; }
.nav-status {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 34px; padding: 0 .75rem;
    color: var(--ui-muted); border: 1px solid var(--nova-line); border-radius: 999px;
    background: rgba(53, 215, 255, .045); font: 600 .65rem/1 var(--nova-mono); letter-spacing: .08em; text-transform: uppercase;
}
.nav-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nova-lime); box-shadow: 0 0 12px var(--nova-lime); animation: novaPulse 2.4s ease-in-out infinite; }

.nova-home { overflow: hidden; }
.nova-wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.nova-kicker {
    display: inline-flex; align-items: center; gap: .65rem; color: var(--nova-cyan);
    font: 600 .7rem/1 var(--nova-mono); letter-spacing: .14em; text-transform: uppercase;
}
.nova-kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; box-shadow: 0 0 9px currentColor; }

.nova-hero-v2 {
    position: relative; min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    align-items: center; gap: clamp(3rem, 7vw, 7rem); padding-block: clamp(5rem, 10vw, 8rem);
}
.nova-hero-v2::before {
    content: "NOVA // EDGE COMPUTE"; position: absolute; left: -48px; top: 50%; transform: rotate(-90deg) translateX(-50%);
    transform-origin: left top; color: rgba(144, 173, 230, .32); font: 500 .62rem/1 var(--nova-mono); letter-spacing: .22em;
}
.nova-hero-copy { position: relative; z-index: 2; }
.nova-hero-copy h1 {
    max-width: 780px; margin: 1.25rem 0 1.5rem; font-size: clamp(3.6rem, 7.7vw, 7rem); line-height: .89;
    letter-spacing: -.075em; font-weight: 700; text-wrap: balance;
}
.nova-gradient-text {
    display: block; color: transparent; background: linear-gradient(100deg, #fff 5%, var(--nova-cyan) 46%, var(--nova-violet) 95%);
    -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .nova-gradient-text { background-image: linear-gradient(100deg, #101b3a, #157cba 48%, #6a3bd1); }
.nova-hero-copy > p { max-width: 650px; margin: 0 0 2.25rem; color: var(--ui-muted); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.75; }
.nova-hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.nova-btn {
    min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: 0 1.3rem;
    border: 1px solid var(--nova-line); border-radius: 10px; color: var(--ui-text); background: rgba(8, 14, 29, .62);
    text-decoration: none; font-weight: 800; transition: .22s ease;
}
.nova-btn:hover { transform: translateY(-2px); border-color: rgba(53, 215, 255, .55); box-shadow: 0 12px 32px rgba(24, 92, 190, .18); }
.nova-btn-primary { color: #020713; background: linear-gradient(110deg, #8df0ff, #6288ff 55%, #aa7cff); border-color: transparent; box-shadow: 0 12px 35px rgba(71, 123, 255, .28); }
.nova-btn-arrow { font-family: var(--nova-mono); transition: transform .2s ease; }
.nova-btn:hover .nova-btn-arrow { transform: translateX(4px); }

.nova-trust-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2.5rem; color: var(--ui-muted); font: 500 .7rem/1.4 var(--nova-mono); text-transform: uppercase; letter-spacing: .08em; }
.nova-trust-row span { display: flex; align-items: center; gap: .5rem; }
.nova-trust-row span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--nova-lime); box-shadow: 0 0 8px rgba(132, 247, 178, .7); }

.nova-orbit-console { position: relative; min-height: 540px; display: grid; place-items: center; isolation: isolate; }
.nova-orbit-console::before {
    content: ""; position: absolute; width: min(39vw, 500px); aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 215, 255, .18), rgba(71, 123, 255, .06) 39%, transparent 68%);
    filter: blur(2px); animation: novaBreathe 5s ease-in-out infinite;
}
.nova-orbit { position: absolute; width: min(37vw, 470px); aspect-ratio: 1; border: 1px solid rgba(95, 149, 255, .23); border-radius: 50%; animation: novaRotate 28s linear infinite; }
.nova-orbit::before, .nova-orbit::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--nova-cyan); box-shadow: 0 0 18px var(--nova-cyan); }
.nova-orbit::before { left: 12%; top: 18%; }.nova-orbit::after { right: 3%; bottom: 31%; background: var(--nova-violet); box-shadow: 0 0 18px var(--nova-violet); }
.nova-orbit-secondary { width: min(30vw, 370px); border-style: dashed; animation-direction: reverse; animation-duration: 20s; }
.nova-core {
    position: relative; z-index: 2; width: min(26vw, 318px); aspect-ratio: 1; display: grid; place-items: center;
    border: 1px solid rgba(125, 163, 255, .35); border-radius: 50%; background: rgba(3, 8, 21, .78);
    box-shadow: inset 0 0 55px rgba(53, 215, 255, .09), 0 0 80px rgba(71, 123, 255, .12);
}
.nova-core::before { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(53, 215, 255, .26); border-radius: 50%; }
.nova-core-data { text-align: center; }
.nova-core-data strong { display: block; font: 700 clamp(2.4rem, 5vw, 4.5rem)/1 var(--nova-display); letter-spacing: -.07em; }
.nova-core-data span { color: var(--nova-cyan); font: 600 .64rem/1.4 var(--nova-mono); letter-spacing: .16em; text-transform: uppercase; }
.nova-float-card {
    position: absolute; z-index: 3; min-width: 174px; padding: .9rem 1rem; border: 1px solid var(--nova-line); border-radius: 10px;
    background: rgba(7, 13, 28, .82); backdrop-filter: blur(16px); box-shadow: 0 16px 50px rgba(0,0,0,.28);
}
.nova-float-card small { display: block; color: var(--ui-muted); font: 500 .58rem/1 var(--nova-mono); letter-spacing: .12em; text-transform: uppercase; }
.nova-float-card strong { display: block; margin-top: .55rem; font: 600 1rem/1 var(--nova-display); }
.nova-float-card .nova-bar { display: block; width: 100%; height: 3px; margin-top: .75rem; border-radius: 2px; background: rgba(111,160,255,.13); overflow: hidden; }
.nova-float-card .nova-bar::before { content: ""; display: block; width: var(--value, 74%); height: 100%; background: linear-gradient(90deg, var(--nova-cyan), var(--nova-violet)); box-shadow: 0 0 10px var(--nova-cyan); }
.nova-float-one { top: 14%; left: -3%; }.nova-float-two { right: -2%; bottom: 16%; }.nova-float-three { left: 6%; bottom: 3%; }

.nova-signal-band {
    display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--nova-line);
    background: linear-gradient(90deg, transparent, rgba(53, 215, 255, .035), transparent);
}
.nova-signal { position: relative; padding: 1.5rem clamp(1rem, 2.5vw, 2rem); border-right: 1px solid var(--nova-line); }
.nova-signal:last-child { border-right: 0; }
.nova-signal small { color: var(--ui-muted); font: 500 .62rem/1 var(--nova-mono); letter-spacing: .12em; text-transform: uppercase; }
.nova-signal strong { display: block; margin-top: .55rem; font: 600 clamp(1.25rem, 2vw, 1.75rem)/1 var(--nova-display); }
.nova-signal em { color: var(--nova-lime); font: normal 500 .68rem/1 var(--nova-mono); }

.nova-section { padding-block: clamp(5rem, 10vw, 9rem); }
.nova-section-head { max-width: 760px; margin-bottom: 2.7rem; }
.nova-section-head h2 { margin: .9rem 0 .8rem; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.06em; }
.nova-section-head p { color: var(--ui-muted); font-size: 1.02rem; line-height: 1.7; }

.nova-bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(190px, auto); gap: 1rem; }
.nova-bento-card {
    --card-accent: var(--nova-blue); position: relative; grid-column: span 4; min-height: 280px; overflow: hidden;
    border: 1px solid var(--nova-line); border-radius: 16px; background: var(--nova-panel); color: var(--ui-text); text-decoration: none;
    box-shadow: 0 24px 70px rgba(0,0,0,.18); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nova-bento-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--card-accent) 65%, transparent); box-shadow: 0 28px 70px rgba(0,0,0,.3), 0 0 35px color-mix(in srgb, var(--card-accent) 13%, transparent); }
.nova-bento-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(3,6,16,.92)); pointer-events: none; }
.nova-bento-card.is-wide { grid-column: span 8; }
.nova-bento-card.is-tall { grid-row: span 2; }
.nova-bento-visual { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-position: center; background-size: cover; filter: saturate(.82) contrast(1.08); transition: transform .55s ease, filter .3s ease; }
.nova-bento-card:hover .nova-bento-visual { transform: scale(1.035); filter: saturate(1.05) contrast(1.08); }
.nova-bento-content { position: absolute; z-index: 2; inset: auto 0 0; padding: 1.5rem; }
.nova-bento-meta { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.nova-bento-content small { color: var(--nova-cyan); font: 600 .6rem/1 var(--nova-mono); letter-spacing: .12em; text-transform: uppercase; }
.nova-bento-content h3 { margin: .5rem 0 .35rem; font-size: 1.55rem; }
.nova-bento-content p { color: #aab8d4; font-size: .84rem; margin: 0; }
.nova-bento-price { white-space: nowrap; font: 600 .8rem/1 var(--nova-mono); }
.nova-bento-price strong { font-size: 1.25rem; color: #fff; }

.nova-system-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; }
.nova-system-card { position: relative; min-height: 420px; padding: clamp(1.5rem, 4vw, 3rem); overflow: hidden; border: 1px solid var(--nova-line); border-radius: 18px; background: var(--nova-panel); }
.nova-system-card h3 { max-width: 480px; margin: 1rem 0; font-size: clamp(1.75rem, 3vw, 2.8rem); line-height: 1.05; letter-spacing: -.045em; }
.nova-system-card p { max-width: 520px; color: var(--ui-muted); line-height: 1.7; }
.nova-console-lines { position: absolute; left: 2rem; right: 2rem; bottom: 2rem; display: grid; gap: .65rem; font: 500 .67rem/1.4 var(--nova-mono); color: #8fa6cb; }
.nova-console-lines span { display: flex; gap: .8rem; padding-bottom: .55rem; border-bottom: 1px solid rgba(111,160,255,.1); }
.nova-console-lines b { color: var(--nova-lime); font-weight: 500; }
.nova-node-map { position: absolute; inset: 36% 8% 7%; }
.nova-node-map::before, .nova-node-map::after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(53,215,255,.17); border-radius: 50%; transform: rotate(-12deg); }
.nova-node-map::after { inset: 30% 4%; border-color: rgba(155,108,255,.2); transform: rotate(24deg); }
.nova-map-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--nova-cyan); box-shadow: 0 0 18px var(--nova-cyan); }
.nova-map-dot:nth-child(1) { left: 12%; top: 42%; }.nova-map-dot:nth-child(2) { left: 52%; top: 17%; }.nova-map-dot:nth-child(3) { right: 14%; top: 51%; }.nova-map-dot:nth-child(4) { left: 42%; bottom: 9%; background: var(--nova-violet); }

.nova-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.nova-feature { min-height: 210px; padding: 1.35rem; border: 1px solid var(--nova-line); border-radius: 14px; background: var(--nova-panel); }
.nova-feature-index { color: var(--nova-cyan); font: 600 .62rem/1 var(--nova-mono); letter-spacing: .12em; }
.nova-feature h3 { margin: 2.4rem 0 .7rem; font-size: 1.12rem; }
.nova-feature p { color: var(--ui-muted); font-size: .84rem; line-height: 1.65; }

.nova-final-cta { position: relative; margin-bottom: 5rem; padding: clamp(2rem, 6vw, 5rem); overflow: hidden; border: 1px solid var(--nova-line); border-radius: 20px; background: linear-gradient(120deg, rgba(71,123,255,.14), rgba(155,108,255,.1) 48%, rgba(53,215,255,.08)); text-align: center; }
.nova-final-cta::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -220px; border: 1px solid rgba(53,215,255,.22); border-radius: 50%; box-shadow: 0 0 0 45px rgba(53,215,255,.025), 0 0 0 90px rgba(155,108,255,.025); }
.nova-final-cta h2 { position: relative; margin: 0 auto 1rem; max-width: 800px; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.06em; }
.nova-final-cta p { position: relative; color: var(--ui-muted); margin-bottom: 1.6rem; }
.nova-final-cta .nova-btn { position: relative; }

.nova-page-head { max-width: 830px; margin: 1rem auto 4rem; text-align: center; }
.nova-page-head .nova-kicker { justify-content: center; }
.nova-page-head h1 { margin: 1rem 0; font-size: clamp(2.7rem, 6vw, 5.1rem) !important; line-height: .96; letter-spacing: -.065em; }
.nova-page-head p { max-width: 680px !important; color: var(--ui-muted); margin-inline: auto !important; font-size: 1rem; line-height: 1.7; }
.section-title { font-size: clamp(1.8rem, 4vw, 3rem) !important; letter-spacing: -.05em !important; }
.pricing-grid { gap: 1rem !important; align-items: stretch; }
.pricing-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; text-align: left !important; background: linear-gradient(145deg, rgba(10,17,34,.92), rgba(5,10,22,.88)) !important;
    border-color: var(--nova-line) !important; border-radius: 15px !important; box-shadow: 0 22px 65px rgba(0,0,0,.18) !important;
}
.pricing-card::before { content: "PLAN // AVAILABLE"; display: block; margin-bottom: 1.5rem; color: var(--nova-cyan); font: 600 .56rem/1 var(--nova-mono); letter-spacing: .13em; }
.pricing-card::after { content: ""; position: absolute; right: -45px; top: -45px; width: 110px; height: 110px; border: 1px solid rgba(53,215,255,.12); border-radius: 50%; }
.pricing-card.featured { border-color: rgba(53,215,255,.45) !important; box-shadow: 0 22px 65px rgba(0,0,0,.2), 0 0 35px rgba(53,215,255,.08) !important; }
.pricing-card.featured::before { content: "PLAN // RECOMMENDED"; }
.pricing-card h3 { font-size: 1.3rem !important; }
.pricing-card .price { color: var(--ui-text) !important; font-family: var(--nova-display); font-size: 2.7rem !important; }
.pricing-card .price span { font-family: 'Inter', sans-serif; }
.pricing-card ul li { border-color: rgba(111,160,255,.12) !important; color: var(--ui-muted) !important; }
.pricing-card ul li strong { color: var(--ui-text); }
.pricing-card ul { flex: 1; }
.pricing-card .btn { margin-top: auto; }
.game-card-img { border-color: var(--nova-line) !important; border-radius: 15px !important; box-shadow: 0 22px 65px rgba(0,0,0,.18); }
.game-card-img:hover { transform: translateY(-4px); border-color: rgba(53,215,255,.45) !important; }

.nova-footer { margin-top: 0 !important; padding: 0 !important; text-align: left !important; border-top: 1px solid var(--nova-line); background: rgba(3,6,16,.7); }
.nova-footer-inner { width: min(1240px, calc(100% - 40px)); margin: auto; padding: 2.2rem 0; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.nova-footer-brand { font-family: var(--nova-display); font-weight: 700; letter-spacing: .08em; }
.nova-footer-meta, .nova-footer-links { color: var(--ui-muted); font: 500 .66rem/1.5 var(--nova-mono); letter-spacing: .06em; text-transform: uppercase; }
.nova-footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.nova-footer a { color: inherit; text-decoration: none; }.nova-footer a:hover { color: var(--nova-cyan); }

/* Command-center surfaces */
.dash-logo { position: relative; letter-spacing: .04em; }
.dash-logo::after { content: "CONTROL OS"; margin-left: auto; color: var(--nova-cyan); font: 500 .5rem/1 var(--nova-mono); letter-spacing: .13em; }
.dash-sidebar { box-shadow: 18px 0 55px rgba(0,0,0,.16); }
.dash-sidebar::after { content: ""; position: absolute; inset: auto 18px 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--nova-cyan), transparent); opacity: .3; }
.dash-topbar::after { content: "UPLINK SECURE"; margin-left: auto; color: var(--nova-lime); font: 500 .56rem/1 var(--nova-mono); letter-spacing: .12em; }
.welcome-header .nova-kicker { margin-bottom: .75rem; }
.welcome-header h1 { font-size: clamp(2.1rem, 4vw, 3.6rem) !important; line-height: 1 !important; }
.nova-ops-strip { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.3rem; margin: -1rem 0 1.5rem; padding: .8rem 1rem; border-block: 1px solid var(--nova-line); color: var(--ui-muted); font: 500 .62rem/1.4 var(--nova-mono); letter-spacing: .07em; text-transform: uppercase; }
.nova-ops-strip span { display: inline-flex; align-items: center; gap: .45rem; }
.nova-ops-strip i { width: 6px; height: 6px; border-radius: 50%; background: var(--nova-lime); box-shadow: 0 0 8px var(--nova-lime); }
.nova-ops-strip strong { color: var(--ui-text); }
.topbar-search::after { content: "CTRL K"; margin-left: auto; padding: 4px 6px; border: 1px solid var(--nova-line); border-radius: 5px; color: var(--ui-muted); font: 500 .5rem/1 var(--nova-mono); letter-spacing: .06em; }

.stat-cards { gap: 1rem !important; }
.stat-box {
    position: relative; overflow: hidden; min-height: 138px; background: linear-gradient(145deg, rgba(11,19,39,.94), rgba(6,11,24,.88)) !important;
    border-color: var(--nova-line) !important;
}
.stat-box::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: linear-gradient(180deg, transparent, var(--nova-cyan), transparent); opacity: .65; }
.stat-box::after { content: ""; position: absolute; width: 110px; height: 110px; right: -55px; top: -55px; border: 1px solid rgba(53,215,255,.12); border-radius: 50%; }
.stat-box:nth-child(2)::before { background-image: linear-gradient(180deg, transparent, var(--nova-blue), transparent); }
.stat-box:nth-child(3)::before { background-image: linear-gradient(180deg, transparent, var(--nova-violet), transparent); }
.stat-box:nth-child(4)::before { background-image: linear-gradient(180deg, transparent, var(--nova-lime), transparent); }
.stat-box .info h4 { font: 500 .61rem/1 var(--nova-mono) !important; letter-spacing: .11em; text-transform: uppercase; }
.stat-box .info .val { font-family: var(--nova-display); font-size: 1.85rem !important; letter-spacing: -.05em; }
.stat-icon { border: 1px solid var(--nova-line); border-radius: 12px !important; }

.panel {
    position: relative; background: linear-gradient(145deg, rgba(10,17,34,.9), rgba(6,11,24,.82)) !important;
    border-color: var(--nova-line) !important;
}
.panel::before { content: ""; position: absolute; left: 18px; top: -1px; width: 42px; height: 1px; background: var(--nova-cyan); box-shadow: 0 0 10px rgba(53,215,255,.7); opacity: .55; }
.panel-header h3 { letter-spacing: -.03em; }
.service-icon { border: 1px solid var(--nova-line); background: rgba(53,215,255,.06) !important; color: var(--nova-cyan) !important; }
.badge { font-family: var(--nova-mono); letter-spacing: .04em; }
.table-list td, table.table td { height: 58px; }
.table-list tbody tr:hover, table.table tbody tr:hover { background: rgba(53,215,255,.045) !important; }
.dash-input:focus, .form-control:focus, .form-select:focus, input:focus, textarea:focus, select:focus { border-color: rgba(53,215,255,.55) !important; box-shadow: 0 0 0 3px rgba(53,215,255,.1) !important; }
.dash-btn-primary, .btn-primary, .nav-btn:not(.outline) { background: linear-gradient(105deg, #427cff, #775eea 55%, #9b6cff) !important; box-shadow: 0 10px 28px rgba(71,123,255,.22); }
.dash-btn-outline:hover, .btn-outline-light:hover, .nav-btn.outline:hover { border-color: rgba(53,215,255,.48) !important; background: rgba(53,215,255,.055) !important; }

html[data-theme="light"] :is(.panel, .stat-box, .pricing-card, .auth-container, .ui-health-card, .nova-system-card, .nova-feature, .nova-bento-card) {
    background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(242,247,255,.94)) !important;
}
html[data-theme="light"] .nova-float-card { color: #f7f8fc; }

/* Auth and checkout as access terminals */
body:has(.auth-container) { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
body:has(.auth-container)::after { content: "IDENTITY GATEWAY // ENCRYPTED SESSION"; position: fixed; left: 1.5rem; bottom: 1.25rem; color: rgba(143,166,203,.55); font: 500 .56rem/1 var(--nova-mono); letter-spacing: .14em; }
.auth-container { position: relative; width: min(480px, 100%); margin: 0 !important; overflow: hidden; background: rgba(7,13,27,.91) !important; border-color: var(--nova-line) !important; box-shadow: 0 35px 100px rgba(0,0,0,.38), 0 0 70px rgba(71,123,255,.09) !important; }
.auth-container::before { content: "NOVA ID // SECURE ACCESS"; display: block; margin: -1rem 0 2rem; color: var(--nova-cyan); font: 600 .58rem/1 var(--nova-mono); letter-spacing: .14em; text-align: center; }
.auth-container::after { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--nova-cyan), var(--nova-violet), transparent); }
.auth-container h2 { letter-spacing: -.055em !important; }

body:has(.ui-checkout-steps) > nav { min-height: 72px; padding: 0 clamp(1rem, 5vw, 4rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--nova-line); background: rgba(3,6,16,.78); backdrop-filter: blur(18px); }
.nova-checkout-shell { padding-top: clamp(2rem, 5vw, 4rem) !important; }
.nova-checkout-head { max-width: 700px; margin: 0 auto 2rem; text-align: center; }
.nova-checkout-head .nova-kicker { justify-content: center; }
.nova-checkout-head h1 { margin: 1rem 0 .75rem; font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: .98; letter-spacing: -.06em; }
.nova-checkout-head p { color: var(--ui-muted); line-height: 1.65; }
body:has(.ui-checkout-steps) .pricing-card { position: relative; max-width: 620px !important; background: rgba(7,13,27,.91) !important; }
body:has(.ui-checkout-steps) .pricing-card::before { content: "ORDER CONFIGURATION"; display: block; margin-bottom: 1.2rem; color: var(--nova-cyan); font: 600 .58rem/1 var(--nova-mono); letter-spacing: .14em; }
.checkout-offer-panel { margin-bottom: 2rem; padding: 1.35rem; text-align: left; background: linear-gradient(145deg, rgba(12,20,38,.9), rgba(7,12,25,.88)); border: 1px solid var(--nova-line); border-radius: 14px; box-shadow: inset 0 1px rgba(255,255,255,.025); }
.checkout-offer-label { display: block; margin-bottom: .65rem; color: var(--ui-text); font-size: .76rem; font-weight: 750; letter-spacing: .02em; }
.checkout-coupon-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .7rem; }
.checkout-coupon-row input { width: 100%; min-height: 44px; padding: 0 .9rem; color: var(--ui-text); text-transform: uppercase; letter-spacing: .08em; background: rgba(2,8,20,.75); border: 1px solid var(--nova-line); border-radius: 10px; outline: 0; }
.checkout-coupon-row input:focus { border-color: rgba(53,215,255,.5); box-shadow: 0 0 0 4px rgba(53,215,255,.08); }
.checkout-coupon-message { margin: .7rem 0 0; font-size: .78rem; line-height: 1.45; }
.checkout-coupon-message.is-error { color: #ff8d98; }
.checkout-coupon-applied { margin-top: .75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem .9rem; background: rgba(38,205,145,.08); border: 1px solid rgba(38,205,145,.22); border-radius: 10px; }
.checkout-coupon-applied[hidden] { display: none; }
.checkout-coupon-applied span { min-width: 0; display: grid; gap: .2rem; }
.checkout-coupon-applied strong { color: #76e5bc; font: 750 .76rem/1.25 var(--nova-mono); letter-spacing: .03em; }
.checkout-coupon-applied small { color: var(--ui-muted); line-height: 1.4; }
.checkout-coupon-applied button { padding: .35rem .5rem; color: var(--ui-muted); background: transparent; border: 0; cursor: pointer; font-size: .7rem; font-weight: 700; }
.checkout-coupon-applied button:hover { color: #fff; }
.checkout-credit-option { margin-top: 1rem; display: flex; align-items: center; gap: .55rem; color: var(--ui-muted); cursor: pointer; font-size: .82rem; line-height: 1.45; }
.checkout-credit-option[hidden] { display: none; }
.checkout-credit-option:has(input:disabled) { cursor: not-allowed; opacity: .72; }
.checkout-coupon-savings { margin: -.7rem 0 1.1rem; color: #76e5bc; font-size: .76rem; font-weight: 650; }
.checkout-status { margin: 0; color: #76e5bc; font-size: .92rem; font-weight: 700; }
.checkout-status.is-error { color: #ff8d98; }
html[data-theme="light"] .checkout-offer-panel { background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(242,246,255,.92)); }
html[data-theme="light"] .checkout-coupon-row input { color: var(--ui-text); background: rgba(255,255,255,.92); }
html[data-theme="light"] .checkout-coupon-applied { background: rgba(16,151,108,.08); }
html[data-theme="light"] .checkout-coupon-applied button:hover { color: var(--ui-text); }
.ui-checkout-step::after { content: ""; position: absolute; top: 15px; left: calc(50% + 20px); width: calc(100% - 40px); height: 1px; background: var(--nova-line); }
.ui-checkout-step { position: relative; }.ui-checkout-step:last-child::after { display: none; }
.ui-checkout-step::before { position: relative; z-index: 1; }
@media (max-width: 560px) {
    .checkout-coupon-row { grid-template-columns: 1fr; }
    .checkout-coupon-row .btn { width: 100%; }
    .checkout-coupon-applied { align-items: flex-start; }
}

@keyframes novaPulse { 50% { opacity: .42; transform: scale(.82); } }
@keyframes novaBreathe { 50% { transform: scale(1.07); opacity: .72; } }
@keyframes novaRotate { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
    .nova-hero-v2 { grid-template-columns: 1fr; min-height: auto; }
    .nova-orbit-console { min-height: 500px; }
    .nova-orbit { width: min(70vw, 470px); }.nova-orbit-secondary { width: min(58vw, 370px); }.nova-core { width: min(48vw, 318px); }
    .nova-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .nova-system-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nav-status { display: none; }
    .topbar-search::after { display: none; }
    .nova-wrap { width: min(100% - 28px, 1240px); }
    .nova-hero-v2 { padding-block: 4rem; }
    .nova-hero-v2::before { display: none; }
    .nova-hero-copy h1 { font-size: clamp(3rem, 17vw, 5.2rem); }
    .nova-orbit-console { min-height: 410px; }
    .nova-float-card { min-width: 145px; padding: .75rem; }.nova-float-one { left: 0; }.nova-float-two { right: 0; }.nova-float-three { display: none; }
    .nova-signal-band { grid-template-columns: repeat(2, 1fr); }.nova-signal:nth-child(2) { border-right: 0; }.nova-signal:nth-child(-n+2) { border-bottom: 1px solid var(--nova-line); }
    .nova-bento-card, .nova-bento-card.is-wide { grid-column: span 12; }
    .nova-feature-grid { grid-template-columns: 1fr; }
    .nova-footer-inner { align-items: flex-start; flex-direction: column; }
    .dash-topbar::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .nova-orbit, .nova-orbit-console::before, .nav-status::before { animation: none !important; }
}
