:root {
    --bg-color: #050511;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #00f0ff; /* Cyan Neon */
    --secondary: #7000ff; /* Deep Purple */
    --accent: #ff0055; /* Pink Accent */
    --text-main: #ffffff;
    --text-muted: #a0a0c0;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --gradient-main: linear-gradient(90deg, #00f0ff 0%, #7000ff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Canvas Background */
#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.accent {
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 17, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--card-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    font-family: var(--font-mono);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-outline {
    border: 1px solid var(--card-border);
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-tagline {
    margin-bottom: 1.5rem;
}

.badge {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    margin-right: 0.5rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.badge.secondary {
    background: rgba(112, 0, 255, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(112, 0, 255, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtext {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.stats-bar {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-item span:first-child {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-divider {
    width: 1px;
    background: var(--card-border);
    margin: 0 1rem;
    height: 40px;
}

/* Cards Grid */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box.primary { background: rgba(0, 240, 255, 0.1); color: var(--primary); }
.icon-box.secondary { background: rgba(112, 0, 255, 0.1); color: var(--secondary); }
.icon-box.accent { background: rgba(255, 0, 85, 0.1); color: var(--accent); }

.glass-card h3 {
    margin-bottom: 1rem;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tech-list {
    list-style: none;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.8;
}

.tech-list li::before {
    content: "> ";
    color: var(--secondary);
}

/* Split Layout (Code) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
}

.feature-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-row i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.2rem;
}

.code-window {
    background: #0d0e24;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.window-header {
    background: rgba(255,255,255,0.05);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--card-border);
}

.dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.filename {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.window-body pre {
    padding: 1.5rem;
    color: #e0e0e0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
}

.window-body code .keyword { color: #c792ea; } /* syntax highlighting fake */
.window-body code .function { color: #82aaff; }
.window-body code .string { color: #c3e88d; }

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 4rem 0 2rem;
    background: rgba(5, 5, 17, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.socials a { color: var(--text-muted); font-size: 1.2rem; margin-right: 1rem; }
.socials a:hover { color: var(--text-main); }

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.border-top { border-top: 1px solid var(--card-border); }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.py-4 { padding: 2rem 0; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .mobile-hidden { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .split-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-wrap: wrap; }
    .stat-divider { display: none; }
    .hero-actions { flex-direction: column; }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glitch-wrapper {
    position: relative;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}