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

:root {
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    --terminal-bg: #1E293B;
    --terminal-header: #334155;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --accent-blue: #4A90E2;
    --accent-green: #10B981;
    --accent-cyan: #06B6D4;
    --accent-purple: #8B5CF6;
    --accent-yellow: #F59E0B;
    --border-color: #1E293B;
    --code-bg: #0F172A;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Search Box */
.search-box {
    position: relative;
    margin-left: auto;
    margin-right: 30px;
}

.search-input {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 40px 10px 16px;
    color: var(--text-primary);
    width: 300px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--terminal-header);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Layout */
.layout {
    display: flex;
    margin-top: 80px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--bg-darker);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    padding: 30px 20px;
}

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

.sidebar::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.sidebar-link {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.sidebar-link:hover {
    background: var(--terminal-bg);
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-link.active {
    background: var(--terminal-bg);
    color: var(--accent-blue);
    border-left: 3px solid var(--accent-blue);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 40px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
    background: var(--terminal-bg);
    border-radius: 16px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #F8FAFC 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Command Sections */
.command-section {
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.section-icon {
    font-size: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.section-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.125rem;
}

/* Command Groups */
.command-group {
    margin-bottom: 40px;
}

.group-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Terminal Windows */
.terminal {
    background: var(--terminal-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.terminal:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

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

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2D; }
.dot-green { background: #28CA42; }

.terminal-title {
    color: var(--text-muted);
    font-size: 13px;
}

.copy-button {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-button:hover {
    background: var(--accent-blue);
    color: white;
}

.terminal-body {
    padding: 20px;
    font-family: 'JetBrains Mono', 'SF Mono', 'Monaco', monospace;
}

.command-line {
    margin-bottom: 15px;
}

.prompt {
    color: var(--accent-green);
    user-select: none;
}

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

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

.output {
    color: var(--accent-cyan);
    margin-left: 20px;
    margin-top: 5px;
    display: block;
}

/* Command Cards */
.command-card {
    background: var(--code-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.command-card:hover {
    border-color: var(--accent-blue);
    background: var(--terminal-bg);
}

.command-syntax {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.command-desc {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.command-example {
    background: var(--bg-darker);
    padding: 12px;
    border-radius: 6px;
    margin-top: 10px;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 14px;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid var(--accent-blue);
    border-radius: 4px;
    font-size: 12px;
    color: var(--accent-blue);
    margin-right: 8px;
}

.tag.new {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.tag.beta {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

/* Quick Start */
.quick-start {
    background: var(--terminal-bg);
    border: 2px solid var(--accent-green);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
}

.quick-start h3 {
    color: var(--accent-green);
    margin-bottom: 20px;
}

/* Tips */
.tip {
    background: rgba(74, 144, 226, 0.1);
    border-left: 4px solid var(--accent-blue);
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.tip-title {
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .search-box {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .comment {
        display: none;
    }
    
    .command-syntax {
        font-size: 14px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--accent-blue);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.back-to-top.visible {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6);
}

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

:root {
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    --terminal-bg: #1E293B;
    --terminal-header: #334155;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --accent-blue: #4A90E2;
    --accent-green: #10B981;
    --accent-cyan: #06B6D4;
    --accent-purple: #8B5CF6;
    --border-color: #1E293B;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--accent-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #3D7FDB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--accent-blue);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #F8FAFC 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #3D7FDB;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 16px 32px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--terminal-bg);
    border-color: var(--text-muted);
}

/* Terminal Demo */
.terminal-demo {
    max-width: 800px;
    margin: 0 auto 100px;
    background: var(--terminal-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.terminal-header {
    background: var(--terminal-header);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2D; }
.dot-green { background: #28CA42; }

.terminal-title {
    flex: 1;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.terminal-body {
    padding: 30px;
    font-family: 'JetBrains Mono', 'SF Mono', 'Monaco', monospace;
    font-size: 16px;
    line-height: 1.8;
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.1s; }
.terminal-line:nth-child(2) { animation-delay: 0.3s; }
.terminal-line:nth-child(3) { animation-delay: 0.5s; }
.terminal-line:nth-child(4) { animation-delay: 0.7s; }
.terminal-line:nth-child(5) { animation-delay: 0.9s; }
.terminal-line:nth-child(6) { animation-delay: 1.1s; }

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

.prompt { color: var(--accent-green); }
.command { color: var(--text-primary); }
.comment { color: var(--text-muted); }
.output { color: var(--accent-cyan); }
.success { color: var(--accent-green); }

.cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background: var(--text-primary);
    margin-left: 5px;
    animation: blink 1s infinite;
}

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

/* Features Grid */
.features {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-list {
    margin-top: 20px;
    list-style: none;
}

.feature-list li {
    color: var(--text-muted);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-green);
}

/* Platform Showcase */
.platforms {
    padding: 100px 0;
    text-align: center;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.platform-item {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    background: rgba(74, 144, 226, 0.1);
}

.platform-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.platform-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--bg-darker);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 40px;
    background: var(--terminal-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Installation Section */
.installation {
    padding: 100px 0;
    text-align: center;
}

.install-box {
    max-width: 600px;
    margin: 60px auto;
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    position: relative;
}

.install-command {
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copy-btn {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--accent-blue);
    color: white;
}

/* Footer */
footer {
    padding: 60px 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

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

.footer-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

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

/* Social Card */
.social-card {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 60px;
    max-width: 600px;
    margin: 60px auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.social-card h3 {
    font-size: 2rem;
    margin: 30px 0 20px;
}

.social-card p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

.logout-btn {
    background: var(--accent-red);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #DC2626;
    transform: translateY(-1px);
}

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 40px 20px; 
}

.header { 
    background: var(--terminal-bg); 
    padding: 40px; 
    border-radius: 16px; 
    margin-bottom: 40px; 
    border: 1px solid var(--border-color);
    text-align: center;
}

.header h1 { 
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #F8FAFC 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.stat-card { 
    background: var(--terminal-bg); 
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.stat-card:hover::before {
    transform: translateX(0);
}

.stat-number { 
    font-size: 2.5em; 
    font-weight: 800; 
    color: var(--accent-cyan); 
    margin-bottom: 10px; 
}

.stat-label { 
    color: var(--text-secondary); 
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.charts-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    margin-bottom: 40px; 
}

.chart-card { 
    background: var(--terminal-bg); 
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.chart-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.chart-card h3 { 
    margin-bottom: 20px; 
    color: var(--text-primary);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
}

.data-card { 
    background: var(--terminal-bg); 
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.data-card h3 { 
    margin-bottom: 20px; 
    color: var(--text-primary);
    font-size: 1.25rem;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

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

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

.table th { 
    background: var(--chart-bg); 
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
}

.table td {
    color: var(--text-primary);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 0.9em;
}

.table tr:hover {
    background: rgba(74, 144, 226, 0.05);
}

.refresh-info { 
    text-align: center; 
    color: var(--text-muted); 
    margin-top: 40px; 
    font-size: 0.9em;
    padding: 20px;
    background: var(--terminal-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.badge { 
    display: inline-block; 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 0.75em; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success { 
    background: rgba(16, 185, 129, 0.1); 
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.badge-info { 
    background: rgba(6, 182, 212, 0.1); 
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.badge-warning { 
    background: rgba(245, 158, 11, 0.1); 
    color: var(--accent-yellow);
    border: 1px solid var(--accent-yellow);
}

.badge-error { 
    background: rgba(239, 68, 68, 0.1); 
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

/* Chart.js customization */
canvas {
    max-height: 300px;
}

/* Terminal effect for data cards */
.terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2D; }
.dot-green { background: #28CA42; }

/* Loading animation */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 1024px) {
    .charts-grid, .data-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2em;
    }
}
/* Animated background */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.grid-line {
    position: absolute;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    animation: move 20s linear infinite;
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

@keyframes move {
    0% { transform: translate(-100%, 0); }
    100% { transform: translate(100%, 0); }
}

/* Auth container */
.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    z-index: 1;
}

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease;
}

.logo {
    display: inline-block;
    margin-bottom: 20px;
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Terminal window */
.terminal-window {
    background: var(--terminal-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease;
}

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

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2D; }
.dot-green { background: #28CA42; }

.terminal-title {
    color: var(--text-muted);
    font-size: 14px;
}

.terminal-body {
    padding: 40px;
}

/* Form styling */
.auth-form h2 {
    font-size: 1.875rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: var(--bg-darker);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

/* Terminal-style input */
.terminal-input {
    position: relative;
}

.terminal-prompt {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-green);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    font-size: 16px;
    pointer-events: none;
}

.terminal-input .form-input {
    padding-left: 40px;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #3D7FDB;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Error message */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    animation: shake 0.5s ease;
}

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

/* Remember me */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-blue);
}

.checkbox-group label {
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.forgot-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--accent-cyan);
}

/* Loading state */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-left: 10px;
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-footer a {
    color: var(--accent-blue);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .terminal-body {
        padding: 30px 20px;
    }
    
    .auth-form h2 {
        font-size: 1.5rem;
    }
}