/* ==========================================================================
   Protodex Vibrant Aurora 2.0 — 2026 Design System Architecture
   Bleeding-Edge Developer Directory & Commercial Toolkits Aesthetic
   ========================================================================== */

:root {
    /* Deep Obsidian & Canvas */
    --bg: #050609;
    --bg-canvas: #050609;
    --bg-surface: rgba(11, 14, 24, 0.74);
    --bg-card: rgba(11, 14, 24, 0.74);
    --bg-card-hover: rgba(18, 23, 39, 0.90);
    --bg-card-active: rgba(24, 30, 52, 0.96);
    --bg-hover: rgba(45, 217, 224, 0.08);
    --bg-subtle: rgba(255, 255, 255, 0.03);
    
    /* Specular & Glass Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(45, 217, 224, 0.45);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(45, 217, 224, 0.45);
    --border-specular: inset 0 1px 0 0 rgba(255, 255, 255, 0.16);
    --border-specular-active: inset 0 1px 0 0 rgba(255, 255, 255, 0.28);
    
    /* Vibrant Brand Palette */
    --accent: #2DD9E0;
    --accent-hover: #1FC2C9;
    --cyan: #2DD9E0;
    --cyan-glow: rgba(45, 217, 224, 0.28);
    --cyan-soft: rgba(45, 217, 224, 0.08);
    --accent2: #8B5CF6;
    --violet: #8B5CF6;
    --violet-glow: rgba(139, 92, 246, 0.28);
    --yellow: #F59E0B;
    --amber: #F59E0B;
    --amber-glow: rgba(245, 158, 11, 0.25);
    --green: #10B981;
    --emerald: #10B981;
    --emerald-glow: rgba(16, 185, 129, 0.25);
    --red: #EF4444;
    --crimson: #EF4444;
    
    /* Typography Tokens */
    --text: #F8FAFC;
    --text-primary: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
    
    /* Layout Metrics */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;
    --max-w: 1220px;
    --spring-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Vibrant Canvas */
html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-canvas) !important;
    background-image: 
        radial-gradient(ellipse 90% 55% at 50% -15%, rgba(45, 217, 224, 0.16) 0%, transparent 70%),
        radial-gradient(ellipse 75% 50% at 85% 20%, rgba(139, 92, 246, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 65% 45% at 15% 45%, rgba(245, 158, 11, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 80% 50% at 50% 85%, rgba(45, 217, 224, 0.09) 0%, transparent 70%),
        radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 32px 32px !important;
    background-attachment: fixed !important;
    color: var(--text-primary) !important;
    font-family: var(--font) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    min-height: 100vh;
}

/* ─── Frosted Glass Header Navigation ────────────────────────────────── */
header {
    border-bottom: 1px solid var(--border-glass) !important;
    padding: 14px 0 !important;
    position: sticky !important;
    top: 0 !important;
    background: rgba(5, 6, 9, 0.84) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    z-index: 100 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

nav {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

nav a {
    color: var(--text-muted) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 7px 14px !important;
    border-radius: var(--radius-sm) !important;
    transition: all 0.2s var(--spring-curve) !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
}

nav a:hover {
    color: #fff !important;
    background: rgba(45, 217, 224, 0.1) !important;
    border-color: rgba(45, 217, 224, 0.25) !important;
    box-shadow: 0 0 12px rgba(45, 217, 224, 0.15) !important;
}

nav a.nav-cta {
    background: linear-gradient(135deg, #2DD9E0 0%, #1FC2C9 100%) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 0 18px rgba(45, 217, 224, 0.35) !important;
}

nav a.nav-cta:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 0 26px rgba(45, 217, 224, 0.55) !important;
    background: linear-gradient(135deg, #3ef0f7 0%, #2DD9E0 100%) !important;
}

/* ─── Cyber Command Palette Search HUD ────────────────────────────────── */
.search-wrap {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    z-index: 20;
}

.search-wrap input {
    width: 100%;
    padding: 16px 56px 16px 48px;
    background: rgba(11, 14, 24, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(45, 217, 224, 0.32);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: var(--mono);
    font-size: 0.95rem;
    outline: none;
    box-shadow: var(--border-specular), 0 8px 32px rgba(0, 0, 0, 0.45);
    transition: all 0.24s var(--spring-curve);
}

.search-wrap input:focus {
    border-color: var(--cyan);
    box-shadow: var(--border-specular-active), 0 0 35px var(--cyan-glow), 0 12px 40px rgba(0, 0, 0, 0.6);
    background: rgba(15, 20, 35, 0.95);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
    font-family: var(--mono);
    font-weight: 800;
    font-size: 1.1rem;
    pointer-events: none;
}

.hud-kbd {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 3px 8px;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    pointer-events: none;
}

/* ─── Glassmorphism 2.0 Cards & Specular Refraction ───────────────────── */
.server-card, 
.card, 
.cat-card, 
.category-card, 
.metric-card, 
.finding-card, 
.detail-section,
.detail-readme {
    background: var(--bg-surface) !important;
    backdrop-filter: blur(16px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--border-specular), 0 8px 32px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.22s var(--spring-curve) !important;
    position: relative;
}

.server-card:hover, 
.cat-card:hover, 
.category-card:hover,
.finding-card:hover {
    border-color: var(--border-glass-hover) !important;
    background: var(--bg-card-hover) !important;
    box-shadow: var(--border-specular-active), 0 16px 48px -8px var(--cyan-glow) !important;
    transform: translateY(-3px) scale(1.008) !important;
    text-decoration: none !important;
}

/* ─── Security Telemetry Badges ───────────────────────────────────────── */
.tag, 
.tool-tag, 
.chip, 
.meta-item {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    transition: all 0.15s ease !important;
}

.tag:hover, 
.tool-tag:hover, 
.chip:hover {
    border-color: var(--accent) !important;
    color: var(--accent) !important;
    background: var(--cyan-soft) !important;
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--mono);
}

.sec-badge.sec-clean, .sec-clean {
    background: rgba(16, 185, 129, 0.14) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: var(--emerald) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2) !important;
}

.sec-badge.sec-warn, .sec-warn {
    background: rgba(245, 158, 11, 0.14) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    color: var(--amber) !important;
}

.sec-badge.sec-risk, .sec-risk {
    background: rgba(239, 68, 68, 0.14) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: var(--crimson) !important;
}

/* ─── Primary and Gradient Buttons ────────────────────────────────────── */
.btn {
    background: linear-gradient(135deg, #2DD9E0, #1FC2C9) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    font-size: 0.92rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 18px rgba(45, 217, 224, 0.3) !important;
    transition: all 0.2s var(--spring-curve) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 26px rgba(45, 217, 224, 0.5) !important;
    color: #000 !important;
}

/* ─── High-Converting Commercial Callout Banner ───────────────────────── */
.protodex-commercial-callout {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    margin: 36px 0;
    background: linear-gradient(135deg, rgba(45, 217, 224, 0.12) 0%, rgba(139, 92, 246, 0.10) 100%);
    border: 1px solid rgba(45, 217, 224, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: var(--border-specular), 0 12px 40px rgba(45, 217, 224, 0.12);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
}

.protodex-commercial-callout::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.protodex-commercial-callout .callout-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.protodex-commercial-callout .callout-text {
    flex: 1;
    min-width: 260px;
}

.protodex-commercial-callout .callout-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.protodex-commercial-callout .callout-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 4px;
    line-height: 1.5;
}

.protodex-commercial-callout .callout-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.protodex-commercial-callout .callout-btn-primary {
    background: var(--accent);
    color: #000;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.86rem;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(45, 217, 224, 0.35);
    transition: all 0.2s;
    white-space: nowrap;
}

.protodex-commercial-callout .callout-btn-primary:hover {
    background: #45e3ea;
    box-shadow: 0 0 24px rgba(45, 217, 224, 0.55);
    transform: translateY(-1px);
}

.protodex-commercial-callout .callout-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.86rem;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.protodex-commercial-callout .callout-btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--cyan-soft);
}

/* ─── Pricing Featured Tier Radiant Halo ─────────────────────────────── */
.tier.featured {
    border-color: var(--cyan) !important;
    background: linear-gradient(180deg, rgba(45, 217, 224, 0.1) 0%, rgba(11, 14, 24, 0.95) 100%) !important;
    box-shadow: var(--border-specular-active), 0 0 50px rgba(45, 217, 224, 0.25) !important;
    transform: scale(1.02);
}

/* ─── Mission Control Cyber-HUD Terminal (audit.html) ─────────────────── */
.terminal-window {
    background: #07090E !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6) !important;
    position: relative;
}

.terminal-window::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
}

.terminal-body {
    padding: 18px 22px !important;
    font-family: var(--mono) !important;
    font-size: 0.84rem !important;
    color: #A5B4FC !important;
    height: 200px !important;
    overflow-y: auto !important;
    line-height: 1.65 !important;
    position: relative;
    z-index: 3;
}

/* ─── Radar Pulse Keyframes ──────────────────────────────────────────── */
@keyframes radar-ping {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-badge .pulse {
    width: 8px !important;
    height: 8px !important;
    background: var(--emerald) !important;
    border-radius: 50% !important;
    animation: radar-ping 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

/* ─── Footer modern touches ───────────────────────────────────────────── */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(5, 6, 9, 0.95) !important;
    padding: 60px 0 40px !important;
    margin-top: 80px !important;
}

footer .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    color: var(--text-dim);
    font-size: 0.82rem;
    text-align: center;
}


/* ==========================================================================
   2026 RAYCAST COMMAND HUD & OBSIDIAN AURORA BENTO GRID (PROTODEX 2026)
   ========================================================================== */

.aurora-hero-section {
    position: relative;
    padding: 48px 0 32px 0;
    overflow: hidden;
}

.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 18, 30, 0.75);
    border: 1px solid rgba(45, 217, 224, 0.25);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    color: #E2E8F0;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.status-indicator-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: radar-ping 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-top-badge .badge-pill {
    background: rgba(45, 217, 224, 0.15);
    color: #2DD9E0;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(45, 217, 224, 0.3);
    letter-spacing: 0.05em;
}

.aurora-hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #FFFFFF;
    margin-bottom: 16px;
    max-width: 950px;
}

.aurora-hero-title .gradient-text {
    background: linear-gradient(135deg, #2DD9E0 0%, #7B61FF 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.aurora-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: #94A3B8;
    line-height: 1.6;
    max-width: 780px;
    margin-bottom: 32px;
}

/* ─── Raycast Command HUD ────────────────────────────────────────────── */
.raycast-hud-wrapper {
    position: relative;
    max-width: 760px;
    margin-bottom: 36px;
}

.raycast-hud-bar {
    display: flex;
    align-items: center;
    background: rgba(14, 18, 30, 0.85);
    border: 1px solid rgba(45, 217, 224, 0.35);
    border-radius: 16px;
    padding: 8px 14px 8px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(45, 217, 224, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.raycast-hud-bar:focus-within {
    border-color: #2DD9E0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(45, 217, 224, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hud-leading-icon {
    color: #2DD9E0;
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.raycast-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 1.05rem;
    font-family: inherit;
}

.raycast-search-input::placeholder {
    color: #64748B;
    font-size: 0.96rem;
}

.hud-kbd-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    color: #94A3B8;
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.hud-intent-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hud-intent-chips .chips-label {
    font-size: 0.78rem;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 4px;
}

.intent-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(18, 23, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.82rem;
    color: #CBD5E1;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.intent-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64748B;
}

.intent-chip:hover {
    background: rgba(45, 217, 224, 0.12);
    border-color: rgba(45, 217, 224, 0.4);
    color: #2DD9E0;
    transform: translateY(-1px);
}

.intent-chip.highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(45, 217, 224, 0.2));
    border-color: rgba(139, 92, 246, 0.4);
    color: #A78BFA;
    font-weight: 600;
}

.intent-chip.highlight .dot {
    background: #A78BFA;
    box-shadow: 0 0 6px #A78BFA;
}

.intent-chip.highlight:hover {
    border-color: #2DD9E0;
    color: #2DD9E0;
}

/* ─── Telemetry Stats Ribbon ─────────────────────────────────────────── */
.telemetry-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 14, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 28px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
    gap: 16px;
}

.telemetry-item {
    display: flex;
    flex-direction: column;
}

.telemetry-val {
    font-size: 1.55rem;
    font-weight: 800;
    color: #F8FAFC;
    letter-spacing: -0.02em;
    font-family: 'JetBrains Mono', monospace;
}

.telemetry-val.highlight-green {
    color: #10B981;
    text-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
}

.telemetry-lbl {
    font-size: 0.76rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-top: 2px;
}

.telemetry-sep {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .telemetry-sep { display: none; }
    .telemetry-ribbon { justify-content: flex-start; gap: 20px; }
}

/* ─── 2026 Asymmetrical Bento Grid ───────────────────────────────────── */
.bento-grid-2026 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.bento-tile {
    background: rgba(14, 18, 30, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bento-tile:hover {
    border-color: rgba(45, 217, 224, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(45, 217, 224, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

/* Bento Tile 1: Dual-SDK IDE Playground (Col Span 7) */
.bento-tile-ide {
    grid-column: span 7;
}

.bento-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
    gap: 10px;
}

.ide-tabs-nav {
    display: flex;
    gap: 6px;
    background: rgba(6, 8, 14, 0.6);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ide-tab {
    background: transparent;
    border: none;
    color: #94A3B8;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.ide-tab.active {
    background: rgba(45, 217, 224, 0.16);
    color: #2DD9E0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-copy-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-copy-code:hover {
    background: rgba(45, 217, 224, 0.12);
    border-color: #2DD9E0;
    color: #2DD9E0;
}

.ide-body {
    background: #06080E;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    flex: 1;
    overflow-x: auto;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.86rem;
    line-height: 1.6;
}

.ide-code-block {
    margin: 0;
    white-space: pre;
}

/* Syntax Highlighting */
.c-kw { color: #F472B6; font-weight: 600; }
.c-fn { color: #60A5FA; }
.c-str { color: #34D399; }
.c-type { color: #FBBF24; }
.c-dec { color: #A78BFA; }
.c-dim { color: #64748B; font-style: italic; }
.c-num { color: #38BDF8; }

.ide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 0.78rem;
    flex-wrap: wrap;
    gap: 10px;
}

.ide-status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94A3B8;
}

.status-dot.green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.ide-starter-link {
    color: #2DD9E0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.ide-starter-link:hover {
    text-decoration: underline;
    color: #67e8f9;
}

/* Bento Tile 2: AegisMesh Security Radar (Col Span 5) */
.bento-tile-radar {
    grid-column: span 5;
    background: linear-gradient(180deg, rgba(14, 18, 30, 0.8) 0%, rgba(8, 11, 20, 0.95) 100%);
}

.radar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.radar-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #2DD9E0;
    letter-spacing: 0.08em;
}

.radar-badge-live {
    font-size: 0.68rem;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 9999px;
}

.radar-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
}

.radar-avionics-display {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px solid rgba(45, 217, 224, 0.3);
    position: relative;
    background: radial-gradient(circle, rgba(45, 217, 224, 0.06) 0%, rgba(6, 8, 14, 0.8) 75%);
    box-shadow: 0 0 30px rgba(45, 217, 224, 0.12), inset 0 0 20px rgba(45, 217, 224, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(45, 217, 224, 0.2);
}

.circle-1 { width: 120px; height: 120px; }
.circle-2 { width: 70px; height: 70px; }
.circle-3 { width: 30px; height: 30px; }

.radar-crosshair-h {
    position: absolute;
    width: 100%;
    height: 1px;
    background: rgba(45, 217, 224, 0.15);
}

.radar-crosshair-v {
    position: absolute;
    height: 100%;
    width: 1px;
    background: rgba(45, 217, 224, 0.15);
}

@keyframes radar-sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.radar-sweep-beam {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 0;
    right: 0;
    transform-origin: bottom left;
    background: linear-gradient(45deg, rgba(45, 217, 224, 0.35) 0%, transparent 60%);
    animation: radar-sweep 3s linear infinite;
    border-radius: 100% 0 0 0;
    pointer-events: none;
}

.radar-blip {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

.blip-1 { top: 35px; right: 45px; }
.blip-2 { bottom: 40px; left: 35px; background: #2DD9E0; box-shadow: 0 0 8px #2DD9E0; }
.blip-3 { top: 75px; left: 40px; }

.radar-center-score {
    position: relative;
    z-index: 5;
    text-align: center;
    background: rgba(6, 8, 14, 0.85);
    border: 1px solid rgba(45, 217, 224, 0.35);
    padding: 6px 12px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.radar-center-score .score-num {
    display: block;
    font-size: 1.25rem;
    font-weight: 900;
    color: #2DD9E0;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
}

.radar-center-score .score-lbl {
    font-size: 0.6rem;
    color: #94A3B8;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.radar-info {
    margin: 12px 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radar-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #94A3B8;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.radar-metric-row strong {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
}

.text-green { color: #10B981; }
.text-cyan { color: #2DD9E0; }
.text-purple { color: #A78BFA; }

.radar-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(45, 217, 224, 0.1);
    border: 1px solid rgba(45, 217, 224, 0.3);
    color: #2DD9E0;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    transition: all 0.2s;
    margin-top: auto;
}

.radar-action-btn:hover {
    background: #2DD9E0;
    color: #000;
    box-shadow: 0 0 20px rgba(45, 217, 224, 0.4);
}

/* Bento Tile 3: Featured MCP Server (Col Span 5) */
.bento-tile-featured {
    grid-column: span 5;
    background: linear-gradient(135deg, rgba(45, 217, 224, 0.08) 0%, rgba(14, 18, 30, 0.9) 100%);
    border-color: rgba(45, 217, 224, 0.25);
}

.featured-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.featured-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #2DD9E0;
    letter-spacing: 0.06em;
}

.featured-verified {
    font-size: 0.68rem;
    font-weight: 700;
    color: #10B981;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 9999px;
}

.featured-content {
    flex: 1;
}

.featured-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.featured-tagline {
    font-size: 0.84rem;
    color: #94A3B8;
    line-height: 1.5;
    margin-bottom: 16px;
}

.featured-sparkline-box {
    background: rgba(6, 8, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
}

.sparkline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.76rem;
    color: #64748B;
    margin-bottom: 8px;
    font-weight: 600;
}

.sparkline-header .star-count {
    color: #FBBF24;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

.sparkline-svg {
    width: 100%;
    height: 40px;
    display: block;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.featured-view-link {
    color: #94A3B8;
    font-size: 0.8rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.featured-view-link:hover {
    color: #2DD9E0;
}

.featured-sponsor-btn {
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(45, 217, 224, 0.3);
    transition: all 0.2s;
}

.featured-sponsor-btn:hover {
    background: #67e8f9;
    box-shadow: 0 0 24px rgba(45, 217, 224, 0.5);
    transform: translateY(-1px);
}

/* Bento Tile 4: Protodex UI Studio Showcase (Col Span 7) */
.bento-tile-studio {
    grid-column: span 7;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(14, 18, 30, 0.9) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.studio-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    height: 100%;
}

.studio-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.studio-preview-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.studio-media:hover .studio-preview-img {
    transform: scale(1.04);
}

.studio-media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 6, 9, 0.95) 100%);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.style-tag {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tag-swiss { background: #FFFFFF; color: #000; }
.tag-crt { background: #10B981; color: #000; }
.tag-quant { background: #F59E0B; color: #000; }
.tag-aurora { background: #8B5CF6; color: #FFF; }

.studio-details {
    display: flex;
    flex-direction: column;
}

.studio-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.badge-studio-new {
    font-size: 0.68rem;
    font-weight: 800;
    color: #F472B6;
    background: rgba(244, 114, 182, 0.15);
    border: 1px solid rgba(244, 114, 182, 0.35);
    padding: 2px 8px;
    border-radius: 9999px;
}

.badge-studio-skill {
    font-size: 0.68rem;
    font-weight: 700;
    color: #2DD9E0;
    background: rgba(45, 217, 224, 0.12);
    border: 1px solid rgba(45, 217, 224, 0.3);
    padding: 2px 8px;
    border-radius: 9999px;
}

.studio-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 8px;
    line-height: 1.3;
}

.studio-desc {
    font-size: 0.8rem;
    color: #94A3B8;
    line-height: 1.5;
    margin-bottom: 12px;
}

.studio-perks-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
}

.perk-item {
    font-size: 0.74rem;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.perk-item span {
    color: #2DD9E0;
    font-weight: 700;
}

.studio-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-studio-explore {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-studio-explore:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: #2DD9E0;
    color: #2DD9E0;
}

.btn-studio-buy {
    background: linear-gradient(135deg, #7B61FF 0%, #2DD9E0 100%);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(123, 97, 255, 0.35);
    transition: all 0.2s;
}

.btn-studio-buy:hover {
    box-shadow: 0 6px 22px rgba(123, 97, 255, 0.55);
    transform: translateY(-1px);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .bento-tile-ide { grid-column: span 12; }
    .bento-tile-radar { grid-column: span 12; }
    .bento-tile-featured { grid-column: span 12; }
    .bento-tile-studio { grid-column: span 12; }
    .studio-split { grid-template-columns: 1fr; }
}


/* ─── Compact Header (Zero Wrap Guaranteed) ─────────────────────────── */
header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
}

nav {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

nav a {
    color: var(--text-muted) !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    padding: 6px 10px !important;
    border-radius: var(--radius-sm) !important;
    transition: all 0.2s var(--spring-curve) !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

nav a.nav-cta {
    background: linear-gradient(135deg, #2DD9E0 0%, #1FC2C9 100%) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 0 16px rgba(45, 217, 224, 0.35) !important;
    padding: 6px 13px !important;
    font-size: 0.8rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    margin-left: 6px !important;
}

/* ─── Compact 2026 Hero & Raycast HUD ────────────────────────────────── */
.aurora-hero-section {
    position: relative;
    padding: 22px 0 14px 0 !important;
    overflow: hidden;
}

.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 18, 30, 0.75);
    border: 1px solid rgba(45, 217, 224, 0.25);
    padding: 4px 12px !important;
    border-radius: 9999px;
    font-size: 0.75rem !important;
    color: #E2E8F0;
    margin-bottom: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.aurora-hero-title {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem) !important;
    font-weight: 900;
    line-height: 1.15 !important;
    letter-spacing: -0.03em;
    color: #FFFFFF;
    margin-bottom: 8px !important;
    max-width: 950px;
}

.aurora-hero-subtitle {
    font-size: 0.94rem !important;
    color: #94A3B8;
    line-height: 1.48 !important;
    max-width: 760px;
    margin-bottom: 20px !important;
}

.raycast-hud-wrapper {
    position: relative;
    max-width: 760px;
    margin-bottom: 18px !important;
}

.raycast-hud-bar {
    display: flex;
    align-items: center;
    background: rgba(14, 18, 30, 0.85);
    border: 1px solid rgba(45, 217, 224, 0.35);
    border-radius: 12px !important;
    padding: 6px 12px 6px 16px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(45, 217, 224, 0.15);
    backdrop-filter: blur(20px);
}

.raycast-search-input {
    font-size: 0.98rem !important;
}

.hud-intent-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px !important;
    margin-top: 10px !important;
}

.intent-chip {
    padding: 3px 9px !important;
    font-size: 0.76rem !important;
    gap: 5px !important;
}

/* Compact Telemetry Ribbon */
.telemetry-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 14, 24, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px !important;
    padding: 8px 20px !important;
    margin-bottom: 22px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
    gap: 12px !important;
}

.telemetry-val {
    font-size: 1.25rem !important;
    font-weight: 800;
}

.telemetry-lbl {
    font-size: 0.68rem !important;
    margin-top: 1px !important;
}

.telemetry-sep {
    height: 28px !important;
}

/* ─── Compact Bento Grid (High Density) ──────────────────────────────── */
.bento-grid-2026 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px !important;
    margin-bottom: 28px !important;
}

.bento-tile {
    padding: 15px 18px !important;
    border-radius: 16px !important;
}

.bento-header {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
}

.ide-body {
    padding: 12px 14px !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    min-height: 175px !important;
    max-height: 220px !important;
    overflow-y: auto !important;
}

.ide-footer {
    margin-top: 10px !important;
    font-size: 0.75rem !important;
}

.radar-visual-container {
    padding: 8px 0 !important;
}

.radar-avionics-display {
    width: 105px !important;
    height: 105px !important;
}

.circle-1 { width: 75px !important; height: 75px !important; }
.circle-2 { width: 45px !important; height: 45px !important; }
.circle-3 { width: 20px !important; height: 20px !important; }

.radar-center-score {
    padding: 4px 8px !important;
    border-radius: 8px !important;
}

.radar-center-score .score-num {
    font-size: 1.05rem !important;
}

.radar-info {
    margin: 8px 0 10px 0 !important;
    gap: 4px !important;
}

.radar-metric-row {
    font-size: 0.74rem !important;
    padding: 2px 0 !important;
}

.radar-action-btn {
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
}

.featured-name {
    font-size: 1.12rem !important;
    margin-bottom: 3px !important;
}

.featured-tagline {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
}

.featured-sparkline-box {
    padding: 8px 12px !important;
    margin-bottom: 10px !important;
}

.sparkline-svg {
    height: 28px !important;
}

.studio-title {
    font-size: 1.05rem !important;
    margin-bottom: 4px !important;
}

.studio-desc {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

.studio-perks-list {
    margin-bottom: 10px !important;
    gap: 4px !important;
}

.perk-item {
    font-size: 0.7rem !important;
}

.studio-preview-img {
    aspect-ratio: 16/9 !important;
    max-height: 120px !important;
}

/* ─── Live Directory Spotlight & Category Pills ──────────────────────── */
.live-directory-spotlight {
    margin-bottom: 36px;
    padding-top: 6px;
}

.directory-spotlight-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.spotlight-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.spotlight-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFF;
    margin: 0 0 4px 0;
}

.spotlight-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.spotlight-view-all {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.quick-cat-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 18, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    color: #CBD5E1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-pill:hover, .cat-pill.active {
    background: rgba(45, 217, 224, 0.12);
    border-color: rgba(45, 217, 224, 0.4);
    color: #2DD9E0;
    transform: translateY(-1px);
}

.cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.live-mcp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.featured-partner-card {
    border-color: rgba(45, 217, 224, 0.35) !important;
    background: linear-gradient(180deg, rgba(45, 217, 224, 0.08) 0%, rgba(14, 18, 30, 0.85) 100%) !important;
    box-shadow: 0 8px 24px rgba(45, 217, 224, 0.08);
}

.badge-sponsored {
    background: rgba(45, 217, 224, 0.18);
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
}
