:root {
    --bg-base: #07080a;
    --bg-surface: #0e1015;
    --bg-surface-elevated: #14171f;
    --bg-card: rgba(14, 16, 22, 0.72);
    
    --border-hairline: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-active: #ff4d4f;

    --text-primary: #ffffff;
    --text-secondary: #9c9c9d;
    --text-muted: #6b6b70;

    --brand-warm-amber: #ffb347;
    --brand-warm-coral: #ff6b4a;
    --brand-warm-crimson: #ff2f3a;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

    --status-success: #10b981;
    --status-danger: #ff2f3a;
    --status-warning: #ffb347;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.noise-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Reading Progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-warm-amber), var(--brand-warm-crimson));
    width: 0%;
    z-index: 1000;
}

/* Ambient background */
.aurora-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background-color: var(--bg-base);
    contain: strict;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.aurora-blade {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    will-change: transform, opacity;
}

/* Background glow layers */
.blade-1 {
    width: 900px;
    height: 520px;
    top: -100px;
    left: 10%;
    background: radial-gradient(ellipse at center, rgba(255, 47, 58, 0.48) 0%, rgba(255, 107, 74, 0.28) 40%, rgba(255, 179, 71, 0.12) 68%, transparent 85%);
    transform: rotate(-32deg) translate3d(0, 0, 0) scale(1);
    animation: fluidDrift1 13s ease-in-out infinite alternate;
}

.blade-2 {
    width: 1050px;
    height: 480px;
    top: 40px;
    right: 2%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 74, 0.44) 0%, rgba(255, 47, 58, 0.26) 42%, rgba(255, 179, 71, 0.15) 70%, transparent 85%);
    transform: rotate(-26deg) translate3d(0, 0, 0) scale(1.05);
    animation: fluidDrift2 17s ease-in-out infinite alternate;
}

.blade-3 {
    width: 820px;
    height: 420px;
    top: 220px;
    left: 22%;
    background: radial-gradient(ellipse at center, rgba(255, 47, 58, 0.38) 0%, rgba(255, 107, 74, 0.22) 45%, rgba(255, 179, 71, 0.09) 68%, transparent 82%);
    transform: rotate(-38deg) translate3d(0, 0, 0) scale(0.96);
    animation: fluidDrift3 15s ease-in-out infinite alternate;
}

.blade-4 {
    width: 720px;
    height: 360px;
    top: 140px;
    left: 48%;
    background: radial-gradient(ellipse at center, rgba(255, 179, 71, 0.32) 0%, rgba(255, 107, 74, 0.20) 45%, transparent 75%);
    transform: rotate(-22deg) translate3d(0, 0, 0);
    animation: fluidDrift4 11s ease-in-out infinite alternate;
}

.blade-5 {
    width: 860px;
    height: 440px;
    top: 360px;
    right: 18%;
    background: radial-gradient(ellipse at center, rgba(255, 47, 58, 0.34) 0%, rgba(255, 107, 74, 0.18) 42%, rgba(255, 179, 71, 0.10) 65%, transparent 80%);
    transform: rotate(-30deg) translate3d(0, 0, 0);
    animation: fluidDrift5 20s ease-in-out infinite alternate;
}

.aurora-plasma-orb {
    position: absolute;
    width: 750px;
    height: 550px;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(45px);
    background: radial-gradient(ellipse at center, rgba(255, 47, 58, 0.35) 0%, rgba(255, 107, 74, 0.22) 38%, rgba(255, 179, 71, 0.10) 62%, transparent 80%);
    animation: plasmaBreathe 9s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: transform, opacity;
}



.aurora-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, transparent 35%, rgba(7, 8, 10, 0.72) 80%, var(--bg-base) 100%);
    pointer-events: none;
}

/* Keyframes */
@keyframes fluidDrift1 {
    0% { transform: rotate(-32deg) translate3d(0, 0, 0) scale(1); opacity: 0.95; }
    33% { transform: rotate(-37deg) translate3d(60px, -35px, 0) scale(1.12); opacity: 1; }
    66% { transform: rotate(-28deg) translate3d(90px, 20px, 0) scale(0.94); opacity: 0.85; }
    100% { transform: rotate(-34deg) translate3d(-30px, 40px, 0) scale(1.06); opacity: 0.98; }
}

@keyframes fluidDrift2 {
    0% { transform: rotate(-26deg) translate3d(0, 0, 0) scale(1.05); opacity: 0.92; }
    33% { transform: rotate(-22deg) translate3d(-65px, 45px, 0) scale(0.95); opacity: 0.84; }
    66% { transform: rotate(-31deg) translate3d(-30px, -30px, 0) scale(1.16); opacity: 1; }
    100% { transform: rotate(-25deg) translate3d(50px, -20px, 0) scale(1.02); opacity: 0.9; }
}

@keyframes fluidDrift3 {
    0% { transform: rotate(-38deg) translate3d(0, 0, 0) scale(0.96); opacity: 0.85; }
    33% { transform: rotate(-43deg) translate3d(55px, 30px, 0) scale(1.1); opacity: 1; }
    66% { transform: rotate(-33deg) translate3d(20px, -35px, 0) scale(0.9); opacity: 0.8; }
    100% { transform: rotate(-36deg) translate3d(-40px, -15px, 0) scale(1.05); opacity: 0.92; }
}

@keyframes fluidDrift4 {
    0% { transform: rotate(-22deg) translate3d(0, 0, 0) scale(0.95); opacity: 0.82; }
    50% { transform: rotate(-28deg) translate3d(-45px, -25px, 0) scale(1.22); opacity: 1; }
    100% { transform: rotate(-18deg) translate3d(40px, 25px, 0) scale(0.88); opacity: 0.78; }
}

@keyframes fluidDrift5 {
    0% { transform: rotate(-30deg) translate3d(0, 0, 0) scale(1); opacity: 0.85; }
    50% { transform: rotate(-36deg) translate3d(50px, -40px, 0) scale(1.15); opacity: 1; }
    100% { transform: rotate(-25deg) translate3d(-45px, 30px, 0) scale(0.92); opacity: 0.8; }
}

@keyframes plasmaBreathe {
    0% { transform: translateX(-50%) scale(1); opacity: 0.85; }
    50% { transform: translateX(-50%) scale(1.18); opacity: 1; }
    100% { transform: translateX(-50%) scale(0.94); opacity: 0.75; }
}

/* Floating nav */
.nav-container {
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
    padding: 0 16px;
}

.floating-pill-nav {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 8px 12px 8px 20px;
    background: rgba(11, 14, 22, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 
        inset 0 1px 1.5px rgba(255, 255, 255, 0.28),
        inset 0 -1px 1px rgba(0, 0, 0, 0.35),
        0 16px 40px -8px rgba(0, 0, 0, 0.7);
    border-radius: 9999px;
    max-width: 900px;
    width: 100%;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-pill-nav:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 
        inset 0 1px 1.5px rgba(255, 255, 255, 0.38),
        inset 0 -1px 1px rgba(0, 0, 0, 0.35),
        0 20px 48px -8px rgba(0, 0, 0, 0.8),
        0 0 24px rgba(255, 77, 79, 0.12);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
}

.brand-glyph {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-link-muted {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link-muted:hover {
    color: #ffffff;
}

.nav-pill-btn {
    background: #e6e6e6;
    color: #2f3031;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    box-shadow: 
        0 0 0 1px #000,
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 #ffffff;
}

.nav-pill-btn:hover {
    background: #ffffff;
    transform: translateY(-1px);
}

/* Hero section */
.hero-viewport {
    position: relative;
    z-index: 10;
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
}

.hero-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eyebrow-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 20, 28, 0.65);
    border: 1px solid var(--border-hairline);
    border-radius: 9999px;
    padding: 5px 14px;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-warm-amber);
    box-shadow: 0 0 8px var(--brand-warm-coral);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.eyebrow-text {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.2px;
}

.hero-title {
    font-family: var(--font-sans) !important;
    font-size: clamp(46px, 5.2vw, 68px) !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    letter-spacing: -1.6px !important;
    color: #ffffff !important;
    margin-bottom: 20px !important;
    text-wrap: balance;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--brand-warm-amber) 0%, var(--brand-warm-coral) 52%, var(--brand-warm-crimson) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.2px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 36px auto;
}

/* Keycap buttons */
.keycap-btn-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.keycap-btn {
    background: #e6e6e6;
    color: #2f3031;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    user-select: none;
    transition: all 0.15s ease;
    box-shadow: 
        0 0 0 1px #000000,
        0 3px 0 1px #111111,
        0 8px 18px rgba(0, 0, 0, 0.6),
        0 0 16px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 0 rgba(0, 0, 0, 0.22);
}

.keycap-btn:hover {
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 
        0 0 0 1px #000000,
        0 4px 0 1px #111111,
        0 12px 24px rgba(0, 0, 0, 0.7),
        0 0 22px rgba(255, 255, 255, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.22);
}

.keycap-btn:active {
    transform: translateY(2px);
    box-shadow: 
        0 0 0 1px #000000,
        0 1px 0 1px #111111,
        0 3px 8px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.keycap-glyph {
    color: #2f3031;
}

.install-caption {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(14, 16, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 56px;
}

.caption-copy {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2px;
    border-radius: 3px;
    transition: color 0.15s ease;
}

.caption-copy:hover {
    color: #ffffff;
}

/* Command bar launcher */
.command-bar-wrapper {
    width: 100%;
    max-width: 680px;
    margin-bottom: 36px;
}

.command-bar-panel {
    background: rgba(11, 14, 23, 0.40);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 
        0 32px 80px -15px rgba(0, 0, 0, 0.85),
        0 0 50px -10px rgba(255, 47, 58, 0.16),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.30),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.45);
    overflow: hidden;
    text-align: left;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.command-bar-panel:hover {
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 
        0 36px 90px -15px rgba(0, 0, 0, 0.9),
        0 0 60px -8px rgba(255, 47, 58, 0.22),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.4);
}

.command-input-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.search-glyph {
    color: var(--text-muted);
    flex-shrink: 0;
}

.typed-query-box {
    flex: 1;
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 13.5px;
    color: #ffffff;
}

.blinking-caret {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: var(--brand-warm-amber);
    margin-left: 2px;
    animation: caretBlink 1.1s infinite;
}

@keyframes caretBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.command-mode-pill {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--brand-warm-amber);
    background: rgba(255, 179, 71, 0.12);
    border: 1px solid rgba(255, 179, 71, 0.25);
    padding: 3px 8px;
    border-radius: 4px;
}

.command-results {
    padding: 8px 0;
}

.command-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 20px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.command-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.active-row {
    background: linear-gradient(90deg, rgba(255, 47, 58, 0.16) 0%, rgba(255, 107, 74, 0.06) 60%, transparent 100%);
    border-left: 2px solid var(--brand-warm-crimson);
}

.row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.shield-icon { color: var(--brand-warm-crimson); }
.server-icon { color: var(--brand-warm-coral); }
.onion-icon { color: var(--brand-warm-amber); }
.home-icon { color: var(--status-success); }

.row-label {
    font-size: 13.5px;
    font-weight: 500;
    color: #ffffff;
}

.row-arg {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 6px;
}

.row-shortcut {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3px 7px;
    border-radius: 4px;
}

.command-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid var(--border-hairline);
    background: rgba(9, 11, 15, 0.6);
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.footer-hints {
    display: flex;
    gap: 8px;
}

.footer-brand {
    color: var(--text-secondary);
}

.ghost-pill-wrapper {
    display: flex;
    justify-content: center;
}

.ghost-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-hairline);
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 9999px;
    transition: all 0.15s ease;
}

.ghost-pill:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.02);
}

.ghost-arrow {
    transition: transform 0.15s ease;
}

.ghost-pill:hover .ghost-arrow {
    transform: translateX(3px);
}

/* Floating status badge */
.floating-badge {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(14, 16, 22, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-hairline);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
}

.badge-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--status-success);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { opacity: 1; }
    50% { opacity: 0.35; }
    100% { opacity: 1; }
}

.badge-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-title {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

.badge-desc {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}

/* Containers & utilities */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.dev-section {
    padding: 80px 0;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-warm-amber);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
    color: #ffffff;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 680px;
    margin-bottom: 32px;
}

/* Telemetry inspector */
.inspector-panel {
    background: rgba(12, 15, 24, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 30px 80px -15px rgba(0, 0, 0, 0.78),
        0 0 40px -10px rgba(255, 77, 79, 0.1),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.26),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.35);
}

.panel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    flex-wrap: wrap;
    gap: 12px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.panel-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toolbar-tabs {
    display: flex;
    gap: 4px;
    background: rgba(7, 8, 10, 0.6);
    padding: 3px;
    border-radius: 6px;
    border: 1px solid var(--border-hairline);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-mono);
    transition: all 0.15s ease;
}

.tab-btn.active {
    background: var(--bg-surface-elevated);
    color: #ffffff;
}

/* Query bar */
.query-bar {
    display: flex;
    padding: 18px 22px;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 10, 16, 0.35);
}

.ip-field-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.ip-field {
    width: 100%;
    background: rgba(7, 9, 14, 0.60);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 13px 46px 13px 18px;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 14px;
    outline: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        inset 0 1.5px 3px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.ip-field:focus {
    border-color: var(--brand-warm-amber);
    box-shadow: 
        0 0 0 3px rgba(255, 179, 71, 0.15),
        inset 0 1.5px 3px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-eye-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    transition: all 0.18s ease;
}

.btn-eye-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.btn-inspect {
    background: linear-gradient(135deg, var(--brand-warm-amber), var(--brand-warm-crimson));
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0 24px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 
        0 4px 14px rgba(255, 47, 58, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.btn-inspect:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(255, 47, 58, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

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

/* Preset chips */
.presets-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: rgba(7, 9, 14, 0.38);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    overflow-x: auto;
}

.presets-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.preset-chip {
    background: rgba(18, 22, 33, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.preset-chip:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    background: rgba(24, 29, 44, 0.65);
}

.preset-my-ip {
    border-color: rgba(255, 179, 71, 0.35);
    color: var(--brand-warm-amber);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.preset-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-warm-amber);
    box-shadow: 0 0 6px var(--brand-warm-amber);
}

.panel-body {
    padding: 24px;
}

/* Verdict banner */
.verdict-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.verdict-banner.clean {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
}

.verdict-banner.blocked {
    background: rgba(255, 47, 58, 0.08);
    border-color: rgba(255, 47, 58, 0.25);
}

.verdict-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.verdict-badge {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.verdict-clean-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--status-success);
}

.verdict-blocked-badge {
    background: rgba(255, 47, 58, 0.2);
    color: var(--brand-warm-crimson);
}

.verdict-desc {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.verdict-score-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-mono);
}

.score-num {
    font-size: 24px;
    font-weight: 700;
}

.score-max {
    font-size: 12px;
    color: var(--text-muted);
}

/* Progress track */
.score-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--status-success);
    transition: width 0.4s ease, background-color 0.3s ease;
    border-radius: 2px;
}

/* Telemetry grid */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.data-cell {
    background: rgba(10, 13, 21, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.data-cell:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(14, 18, 28, 0.62);
}

.cell-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.cell-label-row .cell-label {
    margin-bottom: 0;
}

.btn-cell-eye {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.18s ease;
}

.btn-cell-eye:hover {
    color: var(--brand-warm-amber);
    background: rgba(255, 179, 71, 0.12);
}

.cell-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.cell-value {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    word-break: break-all;
}

/* Diagnosis */
.diagnosis-container {
    background: rgba(10, 13, 21, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 18px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.diagnosis-header {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.diagnosis-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-hairline);
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}

.tel-endpoint-tag {
    color: var(--brand-warm-amber);
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
}

/* JSON view */
#json-view {
    background: #06080d;
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    padding: 18px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: #e2e8f0;
    max-height: 320px;
    overflow-y: auto;
    line-height: 1.5;
}

/* Architecture section */
.arch-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.flow-card {
    background: rgba(12, 15, 24, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 
        0 20px 48px -10px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
    box-shadow: 
        0 24px 56px -10px rgba(0, 0, 0, 0.75),
        0 0 30px -5px rgba(255, 77, 79, 0.12),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.3);
}

.flow-step {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-warm-amber);
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.25);
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.flow-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.flow-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Ingress section */
.spectrum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spectrum-card {
    background: rgba(12, 15, 24, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 
        0 20px 48px -10px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.spectrum-card:hover {
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
    box-shadow: 
        0 24px 56px -10px rgba(0, 0, 0, 0.75),
        0 0 30px -5px rgba(255, 77, 79, 0.12),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.3);
}

.spectrum-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 107, 74, 0.12);
    border: 1px solid rgba(255, 107, 74, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-warm-coral);
    margin-bottom: 16px;
}

.spectrum-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.spectrum-desc {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Code tabs */
.code-card {
    background: rgba(12, 15, 24, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 
        0 20px 48px -10px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 11, 17, 0.45);
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.code-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.code-tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-copy:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.code-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
}

/* Benchmarks table */
.table-card {
    background: rgba(12, 15, 24, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 
        0 20px 48px -10px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
    border-radius: 14px;
    overflow-x: auto;
}

.benchmarks-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.benchmarks-table th {
    background: rgba(9, 11, 17, 0.45);
    padding: 14px 18px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benchmarks-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.benchmarks-table tr:last-child td {
    border-bottom: none;
}

.td-highlight {
    color: #ffffff;
    font-weight: 600;
    font-family: var(--font-mono);
}

.badge-metric {
    background: rgba(255, 179, 71, 0.1);
    color: var(--brand-warm-amber);
    border: 1px solid rgba(255, 179, 71, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-family: var(--font-mono);
    margin-left: 6px;
}

/* API reference */
.api-grid {
    display: grid;
    gap: 16px;
}

.api-card {
    background: rgba(12, 15, 24, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 
        0 20px 48px -10px rgba(0, 0, 0, 0.65),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 1px 0 rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px 24px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.api-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    box-shadow: 
        0 24px 56px -10px rgba(0, 0, 0, 0.75),
        0 0 30px -5px rgba(255, 77, 79, 0.12),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.3);
}

.api-endpoint-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.method-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255, 179, 71, 0.15);
    color: var(--brand-warm-amber);
    border: 1px solid rgba(255, 179, 71, 0.3);
}

.api-path {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.api-summary {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-hairline);
    padding: 40px 0;
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    z-index: 10;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Responsive layout */
@media (max-width: 820px) {
    .arch-flow-grid,
    .spectrum-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-right .nav-link-muted {
        display: none;
    }

    .hero-viewport {
        padding-top: 100px;
    }

    .hero-title {
        font-size: 38px !important;
        letter-spacing: -1px !important;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .keycap-btn-row {
        flex-direction: column;
        width: 100%;
    }

    .keycap-btn {
        width: 100%;
        justify-content: center;
    }

    .telemetry-grid {
        grid-template-columns: 1fr;
    }

    .query-bar {
        flex-direction: column;
    }

    .btn-inspect {
        padding: 12px;
        justify-content: center;
    }

    .floating-badge {
        display: none;
    }
}
