/* ==========================================================================
   KALIDROID - CSS STYLING SYSTEM
   Aesthetics: Cyberpunk monospaced HUD, Brushed Metals, frosted-glass filters,
   and glowing cyan/purple indicators. High-end materials theme.
   ========================================================================== */

/* --- Local Fonts Integration --- */
@import url('fonts/local-fonts.css');

/* --- Design Tokens & CSS Variables --- */
:root {
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', Courier, monospace;

    /* Color Palette */
    --bg-primary: #030407;
    --bg-secondary: #07090d;
    --bg-card: rgba(13, 17, 24, 0.65);
    --bg-card-hover: rgba(18, 24, 35, 0.8);
    --bg-terminal: #04060a;
    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-hover: rgba(0, 242, 254, 0.25);
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #475569;
    
    /* Neon Accents */
    --accent-cyan: #00f0ff;
    --accent-cyan-rgb: 0, 240, 255;
    --accent-purple: #8b5cf6;
    --accent-purple-rgb: 139, 92, 246;
    --accent-green: #10b981;
    --accent-green-rgb: 16, 185, 129;
    --accent-red: #ef4444;
    --accent-red-rgb: 239, 68, 68;
    --accent-orange: #f59e0b;
    --accent-orange-rgb: 245, 158, 11;

    /* Animations & Shadows */
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glow-cyan: 0 0 20px rgba(var(--accent-cyan-rgb), 0.25);
    --glow-purple: 0 0 20px rgba(var(--accent-purple-rgb), 0.2);
    --glow-green: 0 0 20px rgba(var(--accent-green-rgb), 0.2);
    --glow-red: 0 0 20px rgba(var(--accent-red-rgb), 0.2);
    --shadow-main: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
    --glass-bg: rgba(8, 11, 18, 0.65);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* --- Base Styles & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(var(--accent-purple-rgb), 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(var(--accent-cyan-rgb), 0.05) 0%, transparent 45%);
}

/* Technical Matrix Grid Overlay */
@keyframes grid-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 40px; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-scroll 3s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* CRT Scanlines Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.35;
}

/* --- Monospaced Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* --- Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mono {
    font-family: var(--font-mono);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--accent-cyan); }
.text-purple { color: var(--accent-purple); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-orange { color: var(--accent-orange); }

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid currentColor;
    font-family: var(--font-mono);
}
.badge-cyan { background: rgba(var(--accent-cyan-rgb), 0.08); color: var(--accent-cyan); }
.badge-purple { background: rgba(var(--accent-purple-rgb), 0.08); color: var(--accent-purple); }
.badge-green { background: rgba(var(--accent-green-rgb), 0.08); color: var(--accent-green); }
.badge-red { background: rgba(var(--accent-red-rgb), 0.08); color: var(--accent-red); }

#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition-normal), border-color var(--transition-normal);
}

#site-header.scrolled {
    background: rgba(3, 4, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo svg {
    filter: drop-shadow(var(--glow-cyan));
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    border: none;
    position: relative;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    color: #04060a;
    filter: drop-shadow(0 4px 15px rgba(var(--accent-cyan-rgb), 0.2));
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
    filter: drop-shadow(0 0 15px rgba(var(--accent-cyan-rgb), 0.6)) drop-shadow(0 0 10px rgba(var(--accent-purple-rgb), 0.4));
    transform: translateY(-2px) scale(1.02);
    color: #fff;
}

.btn-secondary {
    background: rgba(var(--accent-cyan-rgb), 0.08);
    color: var(--accent-cyan);
    backdrop-filter: blur(8px);
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.btn-secondary:hover {
    background: rgba(var(--accent-cyan-rgb), 0.2);
    filter: drop-shadow(0 0 15px rgba(var(--accent-cyan-rgb), 0.4));
    transform: translateY(-2px) scale(1.02);
    color: #fff;
}

.btn-icon {
    padding: 8px;
    border-radius: 4px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-icon:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(var(--accent-cyan-rgb), 0.15);
}

/* --- Hero Section --- */
.hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

@keyframes cursor-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-text h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-text h1::after {
    content: '_';
    color: var(--accent-cyan);
    animation: cursor-blink 1s infinite;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* --- Responsive Smartphone Frame Simulator --- */
.phone-simulator-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.phone-frame {
    width: 330px;
    height: 660px;
    background: linear-gradient(135deg, #2a313d 0%, #11141a 50%, #222831 100%);
    border-radius: 42px;
    padding: 12px;
    border: 5px solid #2e3846;
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.95),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 15px 30px -10px rgba(255, 255, 255, 0.1),
        0 0 20px rgba(var(--accent-purple-rgb), 0.15);
    position: relative;
    transition: var(--transition-normal);
    transform-style: preserve-3d;
}

.phone-frame:hover {
    transform: translateY(-6px) rotateY(-6deg) rotateX(4deg);
    border-color: #425266;
    box-shadow: 
        0 40px 80px -20px rgba(0, 0, 0, 0.98),
        inset 0 0 0 1px rgba(var(--accent-cyan-rgb), 0.3),
        inset 0 15px 30px -10px rgba(var(--accent-cyan-rgb), 0.15),
        0 0 30px rgba(var(--accent-cyan-rgb), 0.2);
}

.phone-frame.booting {
    border-color: rgba(var(--accent-orange-rgb), 0.35);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.95),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 15px 30px -10px rgba(255, 255, 255, 0.1),
        0 0 25px rgba(var(--accent-orange-rgb), 0.4);
}

.phone-frame.online {
    border-color: rgba(var(--accent-cyan-rgb), 0.3);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.95),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 15px 30px -10px rgba(255, 255, 255, 0.1),
        0 0 25px rgba(var(--accent-cyan-rgb), 0.4);
}

/* Phone Screen Notch */
.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 24px;
    background: #000;
    border-radius: 0 0 16px 16px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-notch::before {
    content: '';
    width: 45px;
    height: 4px;
    background: #222;
    border-radius: 2px;
    margin-bottom: 4px;
}

.phone-notch::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #111;
    border-radius: 50%;
    position: absolute;
    right: 25px;
    top: 8px;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.8);
}

/* Phone Screen Container */
.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

/* Simulated Android System Bar */
.phone-status-bar {
    height: 32px;
    background: #000;
    padding: 10px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    user-select: none;
    z-index: 99;
}

.phone-status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* App Bar inside Simulator */
.sim-app-bar {
    height: 48px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 90;
}

.sim-menu-title {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.sim-menu-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.sim-menu-btn:hover {
    background: rgba(255,255,255,0.05);
}

/* Side Navigation Drawer in Simulator */
.sim-drawer {
    position: absolute;
    top: 80px; /* status + app bar */
    left: -240px;
    width: 230px;
    height: calc(100% - 80px);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    z-index: 95;
    transition: transform var(--transition-normal);
    display: flex;
    flex-direction: column;
    padding: 16px 8px;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

.sim-drawer.open {
    transform: translateX(240px);
}

.sim-drawer-section {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 8px 12px;
}

.sim-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sim-drawer-item:hover, .sim-drawer-item.active {
    background: rgba(var(--accent-cyan-rgb), 0.08);
    color: var(--accent-cyan);
}

.sim-drawer-item svg {
    width: 16px;
    height: 16px;
}

/* Screen Content Area */
.sim-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Simulator Booting Animation Overlay */
.sim-boot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-terminal);
    z-index: 98;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    line-height: 1.4;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.sim-boot-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.boot-terminal-log {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 12px;
}

/* Dashboard VM Info Panel */
.sim-hero-card {
    background: linear-gradient(135deg, rgba(var(--accent-purple-rgb), 0.05), rgba(var(--accent-cyan-rgb), 0.02));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.sim-hero-card.online {
    border-color: rgba(var(--accent-green-rgb), 0.3);
}

.sim-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
}

.status-pill.online {
    background: rgba(var(--accent-green-rgb), 0.1);
    color: var(--accent-green);
    box-shadow: 0 0 10px rgba(var(--accent-green-rgb), 0.1);
}

.status-pill.online .dot {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.status-pill.booting {
    background: rgba(var(--accent-orange-rgb), 0.1);
    color: var(--accent-orange);
}

.status-pill.booting .dot {
    background: var(--accent-orange);
    animation: blink 1s infinite alternate;
}

.status-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.sim-dials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.sim-dial {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sim-dial-val {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
}

.sim-dial-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* Service Manager Screen */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-row {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.service-row:hover {
    border-color: var(--border-color-hover);
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-name {
    font-size: 0.8rem;
    font-weight: 600;
}

.service-desc {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Toggle Switch Styling */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .3s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-green);
}

input:checked + .slider:before {
    transform: translateX(16px);
    background-color: #000;
}

/* Netstack Panel Screen */
.netstack-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-table-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.flow-table-header {
    background: rgba(255,255,255,0.02);
    padding: 8px 12px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.flow-rows {
    height: 110px;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.55rem;
}

.flow-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.flow-item:last-child {
    border-bottom: none;
}

/* Wardriving Radar Panel */
.radar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.radar-scope {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-green-rgb), 0.2);
    position: relative;
    margin-bottom: 12px;
    background: radial-gradient(circle, rgba(var(--accent-green-rgb), 0.05) 0%, transparent 70%);
}

.radar-scope::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--accent-green-rgb), 0.2) 0%, transparent 50%);
    border-radius: 50%;
    animation: rotate-radar 3s linear infinite;
    transform-origin: center;
}

.gps-info {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-secondary);
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Cracking & Terminal simulator */
.sim-terminal {
    background: var(--bg-terminal);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.sim-term-output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 280px;
}

.sim-term-input-line {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sim-term-prompt {
    color: var(--accent-cyan);
}

.sim-term-input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    outline: none;
    flex: 1;
}

/* X11 Desktop Simulator Screen */
.xfce-desktop {
    width: 100%;
    height: 220px;
    background: #1e2530 url('kali_wallpaper.jpg') no-repeat center;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    background-size: cover;
}

.xfce-topbar {
    height: 18px;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    font-size: 0.55rem;
    color: var(--text-secondary);
}

.xfce-menu-items {
    display: flex;
    gap: 8px;
}

.xfce-icons-grid {
    padding: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.xfce-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 0.55rem;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.xfce-icon svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.xfce-window {
    position: absolute;
    top: 30px;
    left: 20px;
    width: calc(100% - 40px);
    height: 160px;
    background: #0f1115;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    display: none;
    flex-direction: column;
}

.xfce-win-header {
    height: 20px;
    background: #222;
    padding: 0 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.55rem;
    font-weight: 600;
    color: #ccc;
    cursor: move;
}

.xfce-win-close {
    cursor: pointer;
    color: var(--accent-red);
}

.xfce-win-body {
    flex: 1;
    padding: 8px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-secondary);
    overflow-y: auto;
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card::after {
    content: '[ SYS_FUNC ]';
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    opacity: 0.4;
    transition: var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-cyan-rgb), 0.25);
    background: var(--bg-card-hover);
    box-shadow: 
        var(--shadow-main),
        inset 0 0 15px rgba(var(--accent-cyan-rgb), 0.03);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    color: var(--accent-cyan);
    opacity: 0.8;
}

.feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: rgba(var(--accent-cyan-rgb), 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    border: 1px solid rgba(var(--accent-cyan-rgb), 0.15);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background: rgba(var(--accent-cyan-rgb), 0.12);
    box-shadow: var(--glow-cyan);
    border-color: var(--accent-cyan);
}

.feature-card:nth-child(even) .feature-icon-wrapper {
    background: rgba(var(--accent-purple-rgb), 0.05);
    color: var(--accent-purple);
    border-color: rgba(var(--accent-purple-rgb), 0.15);
}

.feature-card:nth-child(even):hover .feature-icon-wrapper {
    background: rgba(var(--accent-purple-rgb), 0.12);
    box-shadow: var(--glow-purple);
    border-color: var(--accent-purple);
}

.feature-card:nth-child(even):hover {
    border-color: rgba(var(--accent-purple-rgb), 0.25);
}

.feature-card:nth-child(even)::after {
    content: '[ SYS_CORE ]';
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    font-family: var(--font-sans);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Web CLI Hacking Playground --- */
.playground {
    padding: 100px 0;
    position: relative;
}

.playground-shell {
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 
        var(--shadow-main),
        inset 0 0 40px rgba(var(--accent-cyan-rgb), 0.02);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.playground-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-cyan-rgb), 0.2), transparent);
}

.shell-header {
    height: 42px;
    background: #090c12;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shell-dots {
    display: flex;
    gap: 8px;
}

.shell-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}
.shell-dot.red { background: var(--accent-red); box-shadow: 0 0 6px rgba(var(--accent-red-rgb), 0.4); }
.shell-dot.yellow { background: var(--accent-orange); box-shadow: 0 0 6px rgba(var(--accent-orange-rgb), 0.4); }
.shell-dot.green { background: var(--accent-green); box-shadow: 0 0 6px rgba(var(--accent-green-rgb), 0.4); }

.shell-title {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.shell-body {
    padding: 28px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e2e8f0;
    min-height: 380px;
    max-height: 480px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-shadow: 0 0 2px rgba(226, 232, 240, 0.1);
}

.shell-preset-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* --- Documentation & Guide Accordion --- */
.docs {
    padding: 100px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: rgba(14, 19, 28, 0.45);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.accordion-item.active {
    border-color: rgba(var(--accent-cyan-rgb), 0.2);
    box-shadow: inset 0 0 20px rgba(var(--accent-cyan-rgb), 0.02);
}

.accordion-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: var(--text-primary);
}

.accordion-header:hover {
    color: var(--accent-cyan);
}

.accordion-icon {
    font-size: 1rem;
    transition: transform var(--transition-normal);
    color: var(--text-muted);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
    padding: 0 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid transparent;
}

.accordion-item.active .accordion-content {
    max-height: 600px;
    padding: 20px 24px;
    border-top-color: var(--border-color);
}

/* Code block inside documentation */
.code-block-container {
    background: #04060b;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px 20px;
    margin: 14px 0;
    position: relative;
}

.code-block-container pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    overflow-x: auto;
    color: #cbd5e1;
}

.btn-copy {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 3px 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-copy:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.08);
}

/* --- Footer --- */
footer {
    padding: 60px 0 30px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.02);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Keyframes & Animations --- */
@keyframes blink {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

@keyframes rotate-radar {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Media Queries --- */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .nav-links {
        display: none;
    }
}

/* ==========================================================================
   X11 FULL-SCREEN GUI DESKTOP MODAL STYLING
   ========================================================================== */

.x11-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030407;
    z-index: 1800;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: var(--font-sans);
    user-select: none;
}

/* XFCE Style Top Panel */
.x11-panel {
    height: 30px;
    background: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    color: var(--text-primary);
    font-size: 0.72rem;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.x11-panel-left,
.x11-panel-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.x11-panel-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.x11-panel-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.x11-panel-btn.active {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
}

.x11-panel-btn svg {
    display: block;
}

/* Dropdown Menu styling */
.x11-menu-dropdown {
    position: absolute;
    top: 32px;
    background: rgba(9, 11, 16, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    width: 220px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 240, 255, 0.03);
    display: none;
    flex-direction: column;
    padding: 6px 0;
    z-index: 10005;
    animation: dropdownFade 0.15s ease-out;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.x11-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.72rem;
    transition: all 0.2s ease;
}

.x11-menu-item:hover {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.12), rgba(139, 92, 246, 0.04));
    color: #fff;
    padding-left: 20px;
}

.x11-menu-item svg {
    flex-shrink: 0;
}

.x11-menu-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 4px 0;
}

/* Taskbar icons inside panel */
.x11-taskbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.65rem;
    color: var(--text-secondary);
    cursor: pointer;
    height: 22px;
    transition: all 0.2s;
}

.x11-taskbar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.x11-taskbar-item.active {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.25);
    color: var(--accent-cyan);
}

/* Desktop Workspace area */
.x11-desktop {
    flex: 1;
    background: #0d0f14 url('kali_wallpaper.jpg') no-repeat center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* Shortcuts container */
.x11-shortcuts {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 50;
}

.x11-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    text-align: center;
    color: #e2e8f0;
    font-size: 0.68rem;
    cursor: pointer;
    border-radius: 6px;
    padding: 6px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.x11-shortcut:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.x11-shortcut svg {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.x11-shortcut span {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
    word-break: break-word;
    line-height: 1.25;
}

/* GUI Windows */
.x11-window {
    position: absolute;
    background: rgba(8, 10, 15, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75), 0 0 15px rgba(0, 240, 255, 0.02);
    display: none;
    flex-direction: column;
    overflow: hidden;
    min-width: 300px;
    min-height: 180px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.x11-window.active-window {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.12);
}

.x11-window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
}

.x11-win-header {
    height: 32px;
    background: rgba(18, 22, 30, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-primary);
}

.x11-win-title {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.x11-win-title svg {
    flex-shrink: 0;
}

.x11-win-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.x11-win-btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.6rem;
    color: #fff;
    font-weight: bold;
    transition: filter 0.2s;
}

.x11-win-btn:hover {
    filter: brightness(1.2);
}

.x11-win-btn.btn-close {
    background: var(--accent-red);
}

.x11-win-btn.btn-max {
    background: var(--accent-orange);
}

.x11-win-btn.btn-min {
    background: var(--accent-green);
}

.x11-win-body {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Browser custom link styling */
.x11-browser-link {
    transition: all 0.2s;
}
.x11-browser-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
}

/* Process rows in taskmanager */
.x11-proc-row {
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: background-color 0.2s;
}
.x11-proc-row:hover {
    background: rgba(255,255,255,0.02);
}

/* Terminal Screen scrollbar styling */
.x11-terminal-screen::-webkit-scrollbar,
.x11-win-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.x11-terminal-screen::-webkit-scrollbar-track,
.x11-win-body::-webkit-scrollbar-track {
    background: transparent;
}

.x11-terminal-screen::-webkit-scrollbar-thumb,
.x11-win-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.x11-terminal-screen::-webkit-scrollbar-thumb:hover,
.x11-win-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 240, 255, 0.25);
}

/* Toast slides in */
@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.term-suggest-popover {
    position: absolute;
    bottom: 34px;
    left: 10px;
    background: rgba(6, 8, 12, 0.98);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 240, 255, 0.22);
    border-radius: 4px;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 240, 255, 0.05);
    padding: 4px 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    width: max-content;
    min-width: 140px;
    max-width: 250px;
    max-height: 200px;
    overflow-y: auto;
    animation: popoverFade 0.15s ease-out;
}

@keyframes popoverFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.term-suggest-item {
    padding: 5px 12px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.term-suggest-item:hover,
.term-suggest-item.active {
    background: rgba(0, 240, 255, 0.1);
    color: #fff;
    padding-left: 16px;
}

/* --- Scroll to Top Button --- */
.scroll-to-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: rgba(13, 17, 24, 0.85);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.scroll-to-top-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background: rgba(var(--accent-cyan-rgb), 0.05);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Simulator Card layouts */
.sim-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sim-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
    margin-bottom: 4px;
}
.sim-card-header svg {
    width: 14px;
    height: 14px;
}
.sim-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    padding: 4px 0;
}
.sim-card-row.border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sim-card-row-label {
    color: var(--text-secondary);
}
.sim-card-row-value {
    font-family: var(--font-mono);
    color: #fff;
}
.sim-card-row-desc {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: -4px;
    margin-bottom: 4px;
}
.sim-danger-border {
    border-color: rgba(239, 68, 68, 0.3) !important;
}
.sim-danger-text {
    color: var(--accent-red) !important;
}

/* Tabs */
.sim-tabs-row {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}
.sim-tab-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 6px 12px;
    cursor: pointer;
    font-family: var(--font-sans);
}
.sim-tab-btn.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
}


