@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg-deep: #020308;
    --bg-primary: #020308;
    --bg-surface: #0a0b14;
    --bg-secondary: rgba(10, 15, 30, 0.45);
    --bg-panel: rgba(15, 20, 40, 0.35);
    --bg-card: rgba(20, 25, 50, 0.3);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.07);

    --text-primary: #ffffff;
    --text-secondary: #00a3ff;
    --text-muted: rgba(150, 180, 220, 0.5);
    --accent-primary: #00d1ff;
    --accent-secondary: #0084ff;
    --accent-blue: #00a3ff;
    --accent-glow: rgba(0, 163, 255, 0.3);
    --accent-gradient: linear-gradient(135deg, #0084ff, #00d1ff);
    --accent-gradient-text: linear-gradient(180deg, #ffffff 0%, #00d1ff 100%);

    --hud-border: rgba(0, 163, 255, 0.15);
    --hud-border-bright: rgba(0, 163, 255, 0.3);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --shadow-glow: 0 0 30px rgba(0, 163, 255, 0.1);
    --glass-blur: blur(20px);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
    --transition-normal: 0.4s cubic-bezier(0.2, 0, 0, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-premium: 0.4s cubic-bezier(0.2, 0, 0, 1);
    
    --ease-hud: cubic-bezier(0.2, 0, 0, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    
    --dot-color: rgba(0, 163, 255, 0.1);
    --scanline: rgba(0, 163, 255, 0.03);
}


.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-column { flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-16 { margin-top: 16px; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.hidden { display: none !important; }


*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: 0.01em;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 10%, rgba(0, 132, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 210, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(800px 420px at 18% 18%, rgba(0, 132, 255, 0.12), transparent 60%),
        radial-gradient(700px 360px at 85% 35%, rgba(0, 210, 255, 0.10), transparent 60%),
        radial-gradient(720px 420px at 55% 92%, rgba(0, 132, 255, 0.08), transparent 62%),
        repeating-linear-gradient(
            to bottom,
            transparent 0px,
            transparent 10px,
            var(--scanline) 11px,
            transparent 12px
        );
    opacity: 1;
    transform: translateZ(0);
    animation: auroraShift 16s var(--ease-out) infinite alternate;
}

.bg-dots {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
    animation: dotsDrift 20s linear infinite;
}

.particles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(1px);
    animation: drift linear infinite;
}

@keyframes drift {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100vh);
    }
}

@keyframes auroraShift {
    0% { filter: hue-rotate(0deg) saturate(110%); transform: translate3d(0, 0, 0) scale(1); }
    50% { filter: hue-rotate(8deg) saturate(130%); transform: translate3d(0, -10px, 0) scale(1.02); }
    100% { filter: hue-rotate(-6deg) saturate(120%); transform: translate3d(0, 10px, 0) scale(1.01); }
}

@keyframes dotsDrift {
    0% { background-position: 0px 0px; }
    100% { background-position: 120px -160px; }
}

a {
    transition: all var(--transition-fast);
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}


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

a:hover {
    color: var(--accent-primary);
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px) saturate(150%);
    border-bottom: 1px solid var(--hud-border);
    transition: all var(--transition-normal);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand .logo-circle {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand .logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.auth-logo .logo-circle-lg {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.auth-logo .logo-circle-lg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-links a,
.navbar-links button {
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.navbar-links a:hover,
.navbar-links button:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    border-radius: var(--radius-round);
    padding: 10px 28px;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #e6f7ff;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-round);
    padding: 10px 28px;
}

.btn-secondary:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--text-secondary);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
    color: #ffffff;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-round);
}

.btn-danger:hover {
    background: #ef4444;
    color: white;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.btn-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-round);
}

.btn-success:hover {
    background: #22c55e;
    color: black;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--accent-secondary);
    background: rgba(124, 106, 247, 0.08);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-sm);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

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

.auth-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

.auth-box {
    width: 100%;
    max-width: 440px;
    background: var(--bg-panel);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(0, 210, 255, 0.02);
    animation: fadeInUp 0.8s var(--ease-hud);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo-circle {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header .subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-error {
    background: var(--danger-bg);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 13px;
    text-align: center;
    display: none;
}

.auth-error.show { display: block; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.oauth-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.oauth-btn svg {
    width: 20px;
    height: 20px;
}


.dashboard {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(40px);
    border-right: 1px solid var(--hud-border);
    padding: 120px 20px 40px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 900;
    transition: transform var(--transition-normal);
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 100px 20px 40px;
    }

    .navbar {
        padding: 0 20px;
    }
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.sidebar-item:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.sidebar-item.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sidebar-item .icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.sidebar-section {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.sidebar-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0 16px;
    margin-bottom: 8px;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 120px 60px 60px;
    animation: fadeInUp 0.8s var(--ease-hud) both;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.page-header h1 {
    font-size: 28px;
}

.page-header .page-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: var(--glass-blur);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(225deg, var(--hud-border-bright) 1px, transparent 1px);
    pointer-events: none;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.db-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.db-card {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    backdrop-filter: var(--glass-blur);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.db-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(315deg, var(--hud-border-bright) 1px, transparent 1px);
    pointer-events: none;
}

.db-card:hover {
    transform: translateY(-8px);
    border-color: var(--hud-border-bright);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 255, 0.1);
}

.db-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.db-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(0, 210, 255, 0.05);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 1px solid var(--hud-border);
}

.db-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.db-card .db-desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.db-card-stats {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.db-card-stat {
    font-size: 12px;
    color: var(--text-secondary);
}

.db-card-stat span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.table-container {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
}

.table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 30px;
    border-bottom: 1px solid var(--hud-border);
}

.table-header h3 {
    font-size: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
    background: var(--bg-glass);
}

td {
    padding: 14px 24px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
}

tr:hover td {
    background: var(--bg-glass);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-round);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}

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

.badge-info {
    background: rgba(0, 210, 255, 0.1);
    color: var(--text-secondary);
    border-color: var(--hud-border);
}

.badge-admin {
    background: rgba(0, 132, 255, 0.1);
    color: var(--accent-blue);
    border-color: rgba(0, 132, 255, 0.2);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 14, 26, 0.6);
    backdrop-filter: var(--glass-blur);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border-bright);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    padding: 48px;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(0, 210, 255, 0.02);
    animation: fadeInUp 0.5s var(--ease-hud);
    position: relative;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--hud-border-bright) 1px, transparent 1px);
}

.modal h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.modal .modal-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.doc-viewer {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.doc-viewer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-glass);
}

.doc-item {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.doc-item:hover {
    background: var(--bg-glass-hover);
}

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

.json-viewer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    background: rgba(13, 14, 30, 0.6);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    line-height: 1.8;
}

.json-key {
    color: var(--accent-secondary);
}

.json-string {
    color: var(--success);
}

.json-number {
    color: var(--warning);
}

.json-boolean {
    color: var(--info);
}

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

.api-key-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(13, 14, 30, 0.5);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.api-key-box code {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--accent-secondary);
    user-select: all;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto 24px;
}

.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.toast.success {
    border-left: 3px solid var(--success);
}

.toast.error {
    border-left: 3px solid var(--danger);
}

.toast.info {
    border-left: 3px solid var(--info);
}

.toast .toast-icon {
    font-size: 18px;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease;
}

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

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}
.hero h1 .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 30px;
    animation: fadeInUp 1s var(--ease-hud) both;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 48px;
    animation: fadeInUp 1s var(--ease-hud) 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s var(--ease-hud) 0.4s both;
}

.features {
    padding: 100px 40px;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--hud-border-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 210, 255, 0.1);
}

.feature-card .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 16px;
}

.panel-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    min-height: 500px;
}

.collection-list {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.collection-list-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.collection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.collection-item:hover {
    background: var(--bg-glass-hover);
}

.collection-item.active {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.collection-item .col-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.collection-item .col-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-glass);
    padding: 2px 8px;
    border-radius: 10px;
}

.fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px var(--accent-glow);
    transition: all var(--transition-fast);
    z-index: 100;
}

.fab:hover {
    transform: scale(1.1);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease both;
}

.stagger-1 {
    animation-delay: 0.05s;
}

.stagger-2 {
    animation-delay: 0.1s;
}

.stagger-3 {
    animation-delay: 0.15s;
}

.stagger-4 {
    animation-delay: 0.2s;
}

.stagger-5 {
    animation-delay: 0.25s;
}

.stagger-6 {
    animation-delay: 0.3s;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-normal);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-circle {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    overflow: hidden;
}

.logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

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

.avatar-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
}


.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 2100;
    transition: all 0.3s var(--transition-premium);
    padding: 0;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    transition: 0.3s var(--transition-premium);
}

.mobile-menu-toggle .icon-open {
    display: block;
}

.mobile-menu-toggle .icon-close {
    display: none;
}

.mobile-menu-toggle.active .icon-open {
    display: none;
}

.mobile-menu-toggle.active .icon-close {
    display: block;
}

@media (min-width: 1025px) {
    
    .premium-nav .mobile-menu-toggle {
        display: none;
    }
}


.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.hero-visual {
    position: relative;
}

.code-window {
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    transform: rotate3d(1, -1, 0, 15deg);
    transition: transform var(--transition-slow);
}

.code-window:hover {
    transform: rotate3d(1, -1, 0, 5deg);
}

.code-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.code-header .dots {
    display: flex;
    gap: 6px;
}

.code-header .dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}

.code-header span {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.code-body {
    padding: 24px;
}

.code-body pre {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
}

.token-keyword { color: #8b5cf6; }
.token-function { color: #3b82f6; }
.token-string { color: #10b981; }
.token-comment { color: #52525b; font-style: italic; }
.token-property { color: #06b6d4; }

.features {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.icon-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-purple { background: rgba(37, 99, 235, 0.1); color: #60a5fa; }
.icon-cyan { background: rgba(94, 234, 212, 0.1); color: #2dd4bf; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #ffffff;
    color: #3b82f6;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
    background: #f8fafc;
    color: #2563eb;
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }

.footer {
    border-top: 1px solid var(--border);
    padding: 80px 24px 40px;
    background: var(--bg-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-group h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-group a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-group a:hover { color: var(--text-primary); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content { text-align: center; }
    .hero-content p { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }

    .hero-visual { display: none; }

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

    .navbar-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
    }

    .navbar-links.active { transform: translateY(0); }

    .mobile-menu-toggle { display: flex; }
    
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:after { content: ''; position: absolute; width: 24px; height: 2px; background: var(--text-primary); transform: rotate(-45deg) translate(5px, -5px); }
}


.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.avatar-sm {
    width: 28px;
    height: 28px;
    font-size: 11px;
}

.avatar-lg {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 24px;
}

.tab {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    background: none;
    font-family: inherit;
}

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

.tab.active {
    background: #ffffff;
    color: #3b82f6;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.search-box {
    position: relative;
}

.search-box input {
    padding-left: 40px;
}

.search-box .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-snippet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}

.code-snippet pre {
    padding: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
    color: var(--text-primary);
}

.otp-container {
    display: none;
    text-align: center;
}

.otp-container.show {
    display: block;
    animation: fadeInUp 0.6s var(--ease-out);
}

.otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 32px 0;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.otp-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
    background: var(--bg-secondary);
}

.email-sent-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.resend-timer {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

.resend-timer strong {
    color: var(--text-primary);
}

.resend-timer a {
    color: var(--accent-primary);
    font-weight: 600;
    cursor: pointer;
}

.w-full { width: 100%; }
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

.animate-in {
    animation: fadeInUp 0.6s var(--ease-out) both;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }


.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

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

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 13px;
}

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

.w-full {
    width: 100%;
}

.footer {
    padding: 60px 20px;
    background: rgba(13, 14, 30, 0.92);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(16px);
    text-align: center;
    position: relative;
    z-index: 1;
}

.dev-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dev-section h4 {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.dev-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dev-role {
    font-size: 13px;
    color: var(--accent-secondary);
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.contact-link:hover {
    background: var(--bg-glass-hover);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 106, 247, 0.2);
}

.contact-link.wa-channel:hover {
    border-color: var(--success);
    box-shadow: 0 4px 15px rgba(0, 206, 201, 0.2);
}

.contact-link.wa-direct:hover {
    border-color: var(--success);
    box-shadow: 0 4px 15px rgba(0, 206, 201, 0.2);
}

@media (max-width: 768px) {
    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}


.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 2000;
    transition: all 0.3s var(--transition-premium);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }
}


.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}




body.landing-page {
    background: var(--bg-deep);
}

.hero-premium {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 60px 80px;
    gap: 80px;
}

.hero-premium h1 {
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.05;
    margin-bottom: 30px;
}

.hero-premium p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

.platform-metrics {
    padding: 120px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: var(--glass-blur);
    transition: all 0.5s var(--transition-premium);
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-10px);
    background: var(--bg-secondary);
    border-color: var(--hud-border-bright);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.metric-card .metric-icon {
    font-size: 28px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-card .value {
    font-size: 48px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    display: block;
    margin: 10px 0;
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-card .trend {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.metric-card .trend.positive { color: #00ff88; }


.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 60px;
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.bar.active {
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

.circular-chart {
    width: 80px;
    height: 80px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.8;
}

.circle {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 2.8;
    stroke-linecap: round;
}

.rating-stars {
    font-size: 20px;
    color: #ffd700;
    letter-spacing: 5px;
}

.rating-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 15px;
}

.rating-line .fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-glow);
}


.premium-hud-box {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.hud-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 30px;
    display: flex;
    gap: 25px;
    border-bottom: 1px solid var(--hud-border);
}

.hud-tab {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.hud-tab.active {
    color: var(--accent-primary);
}

.hud-body {
    padding: 40px;
}


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

.animate-in { animation: fadeInUp 0.8s var(--transition-premium) both; }
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }


@media (max-width: 1024px) {
    .hero-premium { grid-template-columns: 1fr; text-align: center; }
    .hero-premium p { margin: 0 auto 40px; }
    .hero-visual { display: none; }
    .metrics-grid { grid-template-columns: 1fr; }
}




.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--bg-deep);
}

.sidebar-premium {
    width: 280px;
    background: rgba(10, 15, 30, 0.4);
    backdrop-filter: blur(40px);
    border-right: 1px solid var(--hud-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
}

.sidebar-brand {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    border-bottom: 1px solid var(--hud-border);
}

.sidebar-brand img {
    width: 24px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.sidebar-scroll {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-group.bottom {
    margin-top: auto;
    border-top: 1px solid var(--hud-border);
    padding-top: 20px;
}

.group-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0 15px 10px;
    letter-spacing: 0.15em;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: inherit;
}

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

.sidebar-btn.active {
    background: rgba(0, 163, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid var(--hud-border-bright);
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.05);
}

.sidebar-btn .icon {
    font-size: 18px;
}

.main-content-premium {
    flex: 1;
    margin-left: 280px;
    padding: 120px 60px 60px;
    background: radial-gradient(circle at 10% 10%, rgba(0, 132, 255, 0.03), transparent 50%);
}

.premium-navbar {
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    z-index: 900;
    padding: 20px 40px;
    background: rgba(2, 4, 10, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hud-border);
    display: flex;
    align-items: center;
}

.search-premium {
    position: relative;
    width: 400px;
}

.search-premium input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--hud-border);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 14px;
}

.search-premium .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.navbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.user-profile-premium {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-premium {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: 2px solid var(--hud-border-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
}




.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
    padding: 10px 15px;
}

.status-indicator .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.status-indicator .dot.pulse {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.badge-admin {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--hud-border-bright);
    color: var(--text-primary);
    padding: 4px 12px;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.nav-icon {
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.nav-icon:hover { opacity: 1; }

.nav-icon.notification {
    position: relative;
}

.nav-icon.notification .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    border: 2px solid var(--bg-deep);
}




.premium-footer-dashboard {
    margin-left: 280px;
    padding: 30px 60px;
    background: rgba(10, 15, 30, 0.4);
    border-top: 1px solid var(--hud-border);
    backdrop-filter: blur(20px);
}

.footer-core {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-info .version {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: 0.1em;
}

.footer-info .copyright {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links-premium {
    display: flex;
    gap: 30px;
}

.footer-links-premium a {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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


.main-content-premium {
    width: calc(100% - 280px);
}

@media (max-width: 1024px) {
    .sidebar-premium {
        transform: translateX(-100%);
    }
    .sidebar-premium.active {
        transform: translateX(0);
    }
    .main-content-premium {
        margin-left: 0;
        width: 100%;
        padding: 100px 20px 40px;
    }
    .premium-navbar {
        left: 0;
    }
    .premium-footer-dashboard {
        margin-left: 0;
    }
}




.features-premium {
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
    background: radial-gradient(circle at 90% 10%, rgba(0, 163, 255, 0.05), transparent 40%);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: 1fr;
    }
}

.feat-card h3 {
    font-size: 24px;
    font-weight: 700;
}


.feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all 0.4s var(--transition-premium);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feat-card:hover {
    background: var(--bg-secondary);
    border-color: var(--hud-border-bright);
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.feat-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon.blue { color: var(--accent-primary); border: 1px solid rgba(0, 209, 255, 0.2); }
.feat-icon.purple { color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.2); }
.feat-icon.cyan { color: #22d3ee; border: 1px solid rgba(34, 211, 238, 0.2); }

.premium-footer {
    padding: 80px 60px 40px;
    border-top: 1px solid var(--hud-border);
    backdrop-filter: blur(20px);
    background: rgba(2, 4, 10, 0.8);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content .brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}


:root {
    --transition-fast: 0.2s cubic-bezier(0.2, 0, 0, 1);
    --transition-normal: 0.4s cubic-bezier(0.2, 0, 0, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}


.page-header h1 {
    font-size: 32px;
    font-weight: 800;
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-description {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

.stat-card {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border);
    border-top: 2px solid var(--accent-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.db-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-normal);
}

.db-card:hover {
    border-color: var(--hud-border-bright);
    background: var(--bg-secondary);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}




.metric-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-info .label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.metric-info .value {
    font-size: 42px;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    background: var(--accent-gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-info .trend {
    font-size: 13px;
    font-weight: 600;
}

.feat-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.feat-icon {
    font-size: 28px;
    transition: transform 0.3s ease;
}

.feat-card:hover .feat-icon {
    transform: scale(1.1) rotate(5deg);
}


.premium-footer .footer-content p {
    color: var(--text-muted);
    font-size: 13px;
}

.logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.2);
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}




.db-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.db-card {
    background: var(--bg-card);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    cursor: pointer;
    transition: all 0.4s var(--transition-premium);
    position: relative;
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
}

.db-card:hover {
    background: var(--bg-secondary);
    border-color: var(--hud-border-bright);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.db-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.db-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.db-badge {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.db-stats {
    display: flex;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--hud-border);
}

.db-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.db-stat-item .label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.db-stat-item .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.empty-state {
    padding: 80px 40px;
    text-align: center;
    background: var(--bg-panel);
    border: 1px dashed var(--hud-border);
    border-radius: var(--radius-lg);
    margin-top: 30px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 25px;
}




.card {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
    backdrop-filter: var(--glass-blur);
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.code-snippet {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-snippet-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--hud-border);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.code-snippet pre {
    padding: 20px;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--accent-primary);
    overflow-x: auto;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.badge-info { background: rgba(0, 163, 255, 0.1); color: var(--accent-primary); border: 1px solid rgba(0, 163, 255, 0.2); }
.badge-success { background: rgba(0, 255, 136, 0.1); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.2); }
.badge-danger { background: rgba(255, 77, 77, 0.1); color: #ff4d4d; border: 1px solid rgba(255, 77, 77, 0.2); }




.table-container {
    background: var(--bg-panel);
    border: 1px solid var(--hud-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: var(--glass-blur);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th {
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--hud-border);
}

td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--hud-border);
    font-size: 14px;
    color: var(--text-primary);
}

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

tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}









@media (max-width: 1024px) {
    
    .navbar, .premium-navbar {
        height: 80px;
        padding: 0 20px;
    }

    .navbar-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    
    .mobile-menu-toggle {
        display: flex;
    }


    .navbar-left .mobile-menu-toggle {
        margin-left: 0;
        margin-right: 15px;
    }


    
    .navbar-links {
        display: none;
        position: fixed;
        inset: 70px 0 0 0;
        background: rgba(2, 4, 10, 0.98);
        backdrop-filter: blur(40px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s var(--transition-premium);
        pointer-events: none;
    }

    .navbar-links.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    
    .sidebar-premium, .sidebar {
        transform: translateX(-100%);
        width: 280px;
        z-index: 1100;
        transition: transform 0.4s var(--transition-premium);
    }

    .sidebar-premium.active, .sidebar.active {
        transform: translateX(0);
        box-shadow: 40px 0 100px rgba(0, 0, 0, 0.8);
    }

    
    .main-content, .main-content-premium {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 100px 20px 40px !important;
    }

    .hero-premium {
        padding: 120px 24px 60px;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual { display: none; }
    .hero-actions { flex-direction: column; width: 100%; gap: 15px; }
    
    .metrics-grid, .features-container, .db-grid {
        grid-template-columns: 1fr;
    }

    .search-premium { display: none; }
}

@media (max-width: 600px) {
    .auth-box { padding: 40px 24px; }
    .metric-card .value { font-size: 32px; }
    .footer-content { flex-direction: column; gap: 20px; }
}


