:root {
    --bg: #030303;
    --surface: #111111;
    --surface-hover: #1A1A1A;

    --primary: #00e5ff;
    --primary-dim: rgba(0, 229, 255, 0.15);

    --text: #f8fafc;
    --text-muted: #94a3b8;

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --bg-secondary: var(--surface);
    --bg-tertiary: var(--surface);
    --bg-color: var(--bg);
    --accent-primary: var(--primary);
    --accent-hover: #00c7dd;
    --accent-glow: rgba(0, 229, 255, 0.5);
    --glass-bg: rgba(10, 10, 10, 0.7);
    --text-color: var(--text);
    --border-color: var(--border);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: transparent;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mono-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: -0.02em;
}

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

.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
    z-index: 9999;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-weight: 500;
    letter-spacing: -0.04em;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--bg);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--border-hover);
}

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

.btn-text {
    color: var(--text-muted);
}
.btn-text:hover { color: var(--text); }

.icon-sm { width: 16px; height: 16px; margin-left: 6px; }
.icon-muted { color: var(--text-muted); width: 20px; height: 20px; }
.icon-primary { color: var(--primary); width: 20px; height: 20px; }

.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-menu a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu a:hover { color: var(--text); }

.nav-actions { display: flex; gap: 16px; align-items: center; }

.btn-nav {
    padding: 0.5rem 1.1rem;
    background-color: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary) !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: var(--primary);
    color: var(--bg) !important;
    box-shadow: 0 0 15px var(--accent-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span { width: 20px; height: 2px; background: var(--text); }

.pulse-dot {
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.hero {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mono-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--primary);
    border: 1px solid var(--primary-dim);
    background: rgba(0, 229, 255, 0.05);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.hero .subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.hero-terminal {
    width: 100%;
    max-width: 800px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.terminal-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.terminal-dots {
    display: flex;
    gap: 6px;
}
.terminal-dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--border-hover);
}
.terminal-title {
    flex: 1;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    height: 240px;
    color: var(--text-muted);
    overflow-y: auto;
}

.terminal-line { margin-bottom: 8px; }
.log-time { color: #555; margin-right: 12px; }
.log-info { color: #888; }
.log-warn { color: #d4a373; }
.log-err { color: #e57373; }
.log-success { color: var(--primary); }

.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; font-size: 14px; }
.section-desc { font-size: 24px; max-width: 600px; letter-spacing: -0.02em; }

.features { padding: 100px 0; border-top: 1px solid var(--border); }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 16px;
}

.bento-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s;
    grid-column: span 4;
}

.bento-card:hover { border-color: var(--border-hover); }

.bento-large { grid-column: span 8; }
.bento-tall { grid-column: span 4; grid-row: span 2; }
.bento-wide { grid-column: span 8; }

.bento-content h3 { font-size: 18px; margin-bottom: 12px; font-weight: 500; }
.bento-content p { color: var(--text-muted); font-size: 14px; }

.icon-wrapper { margin-bottom: 24px; color: var(--text); }
.icon-wrapper svg, .icon-wrapper i { width: 24px; height: 24px; }

.viz-cipher {
    margin-top: 24px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.cipher-code { color: var(--primary); line-height: 1.8; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.cipher-code .dim { color: var(--text-muted); }

.comparison { padding: 100px 0; }

.comp-matrix {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.matrix-header, .matrix-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.matrix-header {
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}
.matrix-header .highlight { color: var(--text); }

.matrix-row:last-child { border-bottom: none; }
.matrix-row:hover { background: var(--surface); }

.matrix-row div:nth-child(2),
.matrix-row div:nth-child(3),
.matrix-header div:nth-child(2),
.matrix-header div:nth-child(3) {
    text-align: center;
}

.faq { padding: 100px 0; border-top: 1px solid var(--border); }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}
.faq-header p { font-size: 24px; margin-top: 12px; letter-spacing: -0.02em; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 500; font-size: 18px; margin-bottom: 12px; }
.faq-a { color: var(--text-muted); font-size: 15px; }

.cta { padding: 100px 0 160px; text-align: center; }
.cta-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    padding: 80px 40px;
    border-radius: 16px;
}
.cta-box h2 { font-size: 48px; margin-bottom: 16px; font-weight: 500; }
.cta-box p { color: var(--text-muted); margin-bottom: 32px; font-size: 18px; }

.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-top {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    margin-bottom: 64px;
}
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.nav-col { display: flex; flex-direction: column; gap: 12px; }
.col-title { color: var(--text); margin-bottom: 8px; font-weight: 500; }
.nav-col a { color: var(--text-muted); }
.nav-col a:hover { color: var(--text); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
}
.status-indicator { display: flex; align-items: center; gap: 8px; }

.mt-2 { margin-top: 8px; }

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }

@media (max-width: 900px) {
    .bento-large, .bento-tall, .bento-wide, .bento-card {
        grid-column: span 12;
        grid-row: auto;
    }
    .faq-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-top { grid-template-columns: 1fr; }
    .hero h1 { font-size: 42px; }
}

@media (max-width: 600px) {
    .nav-menu, .nav-actions { display: none; }
    .hamburger { display: flex; }
    .matrix-header, .matrix-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .matrix-header div:nth-child(2), .matrix-header div:nth-child(3),
    .matrix-row div:nth-child(2), .matrix-row div:nth-child(3) {
        text-align: left;
    }
}

.app-layout {
    display: flex;
    height: 100vh;
    background-color: var(--bg);
    overflow: hidden;
}

.sidebar {
    width: 280px;
    background-color: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100vh;
    flex-shrink: 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.2);
    z-index: 10;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
    letter-spacing: -0.02em;
}

.sidebar-header .sub-text {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    font-family: 'JetBrains Mono', monospace;
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sidebar-menu-section {
    margin-bottom: 1rem;
}

.sidebar-menu-title {
    padding: 0 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 14px;
    border-left: 3px solid transparent;
    margin: 2px 10px;
    border-radius: 8px;
}

.sidebar-link svg, .sidebar-link i {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sidebar-link:hover {
    color: var(--text);
    background-color: rgba(255, 255, 255, 0.03);
}

.sidebar-link:hover svg, .sidebar-link:hover i {
    transform: scale(1.1);
    color: var(--text);
}

.sidebar-link.active {
    color: white;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.15) 0%, transparent 100%);
    border-left-color: var(--primary);
    font-weight: 600;
}

.sidebar-link.active svg, .sidebar-link.active i {
    color: var(--primary);
}

.sidebar-badge {
    margin-left: auto;
    background: rgba(0, 229, 255, 0.2);
    color: var(--primary);
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.sidebar-submenu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 2.2rem;
    margin-top: 4px;
    margin-bottom: 8px;
}

.sidebar-sublink {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.sidebar-sublink:hover {
    color: var(--text);
    background: rgba(255,255,255,0.05);
}

.sidebar-sublink.active {
    color: var(--primary);
    background: rgba(0, 229, 255, 0.1);
    font-weight: bold;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.2);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.sidebar-user img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
}

.sidebar-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.sidebar-user-id {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: var(--bg);
}

.top-bar {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    gap: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a, .breadcrumb span {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb a:hover {
    color: var(--text);
}

.breadcrumb .separator {
    color: #475569;
}

.breadcrumb .current {
    color: var(--text);
    font-weight: 600;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.status-online {
    background-color: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.2);
}

.status-offline {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.version-badge {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

.update-badge {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(245, 158, 11, 0.2);
    text-decoration: none;
}

.content-wrapper {
    padding: 0 2rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.dashboard-section {
    padding: 2rem 0 4rem 0;
    min-height: 85vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text);
}

.tab-btn.active {
    background-color: rgba(0, 229, 255, 0.15);
    color: var(--primary);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.tab-content {
    display: none;
    background-color: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeIn 0.4s ease forwards;
}

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

.tab-content.active {
    display: block;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th, .data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.map-container {
    width: 100%;
    height: 600px;
    background-color: #0A0A0A;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}

.map-player-dot {
    width: 12px;
    height: 12px;
    background-color: #4ade80;
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #4ade80;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.map-player-dot:hover {
    transform: translate(-50%, -50%) scale(1.5);
}

.map-player-label {
    position: absolute;
    background: rgba(0,0,0,0.8);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    pointer-events: none;
    margin-top: 15px;
    margin-left: -50%;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.input-group input {
    flex: 1;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
}

.input-group input[readonly] {
    color: #4ade80;
    background-color: rgba(0, 0, 0, 0.2);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 255, 0.1);
    background-color: rgba(10, 10, 10, 0.85);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-icon svg, .feature-icon i {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.reviews {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.reviews-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #fff 10%, #fff 90%, transparent);
}

.marquee-content {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-card {
    display: inline-block;
    width: 350px;
    background-color: var(--bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin: 0 1rem;
    white-space: normal;
    vertical-align: top;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.review-card .stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    gap: 3px;
}

.review-content {
    color: var(--text);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.review-author {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.review-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.review-form-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.form-group {
    margin-bottom: 1.5rem;
}

.review-form input,
.review-form select,
.review-form textarea,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.review-form select option {
    background-color: var(--bg);
    color: var(--text);
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.review-form textarea,
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.review-form button {
    width: 100%;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.logged-in-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.logged-in-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.logged-in-user span {
    font-weight: 700;
    color: var(--text);
}

.btn-logout {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.btn-logout:hover {
    color: #ef4444;
}

.nav-user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.nav-user-menu img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
}

.nav-user-menu span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-dashboard {
    background-color: var(--primary);
    color: var(--bg) !important;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dashboard:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 0 12px var(--accent-glow);
}

.btn-logout-small {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
}

.btn-logout-small:hover {
    color: #ef4444;
}

.cfg-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.cfg-tab {
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}
.cfg-tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}
.cfg-tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.cfg-category {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.cfg-category-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.cfg-category-header h4 {
    color: white;
    margin: 0 0 0.2rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cfg-category-header h4 svg, .cfg-category-header h4 i {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}
.cfg-category-header span {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
}

.cfg-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    transition: background 0.2s;
    gap: 1rem;
}
.cfg-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.cfg-item-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.cfg-item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    flex-wrap: wrap;
}
.cfg-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cfg-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.cfg-badge.bg-red { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.cfg-badge.bg-blue { background: rgba(0, 229, 255, 0.15); color: var(--primary); border: 1px solid rgba(0,229,255,0.3); }
.cfg-badge.bg-yellow { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.cfg-badge.bg-gray { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.2); }
.cfg-badge.bg-green { background: rgba(34, 197, 94, 0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }

.cfg-rec {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.cfg-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.55rem 2.2rem 0.55rem 1rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23888888%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 0.65rem auto;
    min-width: 120px;
}
.cfg-select:focus {
    outline: none;
    border-color: var(--primary);
}
.cfg-select option {
    background: var(--bg);
    color: var(--text);
}

.cfg-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.03);
    width: 100%;
}

.cfg-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.cfg-input:focus {
    outline: none;
    border-color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: rgba(255,255,255,0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 3px; height: 100%;
    background-color: transparent;
}

.stat-card.blue::before { background-color: var(--primary); }
.stat-card.purple::before { background-color: #a855f7; }
.stat-card.red::before { background-color: #ef4444; }
.stat-card.green::before { background-color: #22c55e; }

.stat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.stat-header svg, .stat-header i {
    width: 16px;
    height: 16px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    align-items: baseline;
    gap: 5px;
    letter-spacing: -0.02em;
}

.stat-value.blue { color: var(--primary); }
.stat-value.purple { color: #a855f7; }
.stat-value.red { color: #ef4444; }
.stat-value.green { color: #22c55e; }

.stat-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.server-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin: 2px 10px;
    border-radius: 6px;
}

.server-list-item svg, .server-list-item i {
    width: 14px;
    height: 14px;
    font-size: 0.85rem;
}

.server-list-item:hover {
    color: var(--text);
    background-color: rgba(255, 255, 255, 0.03);
}

.server-list-item.active {
    color: var(--text);
    background-color: rgba(0, 229, 255, 0.1);
    border-left-color: var(--primary);
}

.server-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: auto;
}

.server-status-dot.online { background-color: #4ade80; box-shadow: 0 0 5px #4ade80; }
.server-status-dot.offline { background-color: #ef4444; box-shadow: 0 0 5px #ef4444; }

.modern-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modern-tab {
    padding: 0.8rem 1rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border-top: none; border-left: none; border-right: none;
}

.modern-tab:hover {
    color: var(--text);
}

.modern-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.toast {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.2rem;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toast-success .toast-icon { color: #4ade80; }
.toast-error .toast-icon { color: #ef4444; }
.toast-info .toast-icon { color: var(--primary); }
.toast-warning .toast-icon { color: #f59e0b; }

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    padding: 0;
}

.toast-close:hover {
    color: var(--text);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.server-topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

.lang-switcher a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
}

.lang-switcher a.active {
    color: var(--primary);
}

.lang-switcher a:hover {
    color: var(--text);
}

.lang-switcher .divider {
    color: var(--border);
    font-size: 0.8rem;
}

.shield-icon-large {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 30px var(--accent-glow);
}

.shield-icon-large svg, .shield-icon-large i {
    width: 64px;
    height: 64px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.nav-auth {
    margin-left: 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features {
        padding: 4rem 0;
    }

    .sidebar {
        width: 70px;
    }

    .sidebar-header > div:not(.logo-mark),
    .sidebar-menu-title,
    .sidebar-link span,
    .sidebar-user-info,
    .sidebar-link:not(.active) svg:not(:first-child) {
        display: none;
    }

    .sidebar-link {
        justify-content: center;
        padding: 0.7rem;
        margin: 2px 8px;
    }

    .sidebar-header {
        justify-content: center;
        padding: 1.5rem 0.5rem;
    }

    .content-wrapper {
        padding: 0 1rem 1rem 1rem;
    }

    .top-bar {
        padding: 1rem;
    }
}
