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

:root {
    --bg-dark: #050505;
    --bg-panel: #111111;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-main: #ffffff;
    --text-muted: #888888;
    
    --accent: #10b981; /* Emerald Green */
    --accent-glow: rgba(16, 185, 129, 0.3);
    --accent-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 80vw; height: 80vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 60%);
    z-index: -2;
    pointer-events: none;
    filter: blur(80px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: #34d399;
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--accent-glow);
}

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

.btn-ghost:hover {
    background: var(--bg-glass);
    border-color: var(--text-main);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-box {
    width: 32px; height: 32px;
    background: var(--accent);
    color: #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.nav-actions { display: flex; gap: 1rem; align-items: center; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.mobile-toggle span {
    width: 24px; height: 2px; background: var(--text-main);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.users {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatars { display: flex; }
.avatars span {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    background: #333;
    margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; background: #555; }
.avatars span:nth-child(2) { background: #777; }
.avatars span:nth-child(3) { background: #999; }

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

.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.stat-item { display: flex; flex-direction: column; }
.stat-val { font-size: 1.5rem; font-weight: 700; color: var(--text-main); }
.stat-lbl { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.divider { width: 1px; height: 40px; background: var(--border-glass); }

.hero-visual {
    position: relative;
}

.code-window {
    background: var(--bg-panel);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.main-window { width: 100%; max-width: 500px; position: relative; z-index: 2; }

.window-header {
    background: rgba(255,255,255,0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.file-name { margin-left: auto; font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }

.window-body { padding: 1.5rem; overflow-x: auto; }

code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.7;
    display: block;
}

.c-keyword { color: #c678dd; }
.c-func { color: #61afef; }
.c-str { color: #98c379; }
.c-comment { color: #5c6370; font-style: italic; }
.c-num { color: #d19a66; }

.cursor { display: inline-block; width: 8px; height: 15px; background: var(--accent); animation: blink 1s infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }

.sub-window {
    position: absolute;
    bottom: -30px; right: -20px;
    width: 200px;
    z-index: 3;
    background: #1a1a1a;
}
.window-header-mini { padding: 0.5rem 1rem; font-size: 0.7rem; color: var(--text-muted); border-bottom: 1px solid var(--border-glass); }
.mini-content { padding: 0.75rem; font-size: 0.8rem; }
.status-row { display: flex; justify-content: space-between; margin-bottom: 5px; }
.status-row:last-child { margin-bottom: 0; }
.success { color: var(--accent); }

.section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-head h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-head p { color: var(--text-muted); }

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

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 2rem;
    border-radius: 16px;
    transition: 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    color: var(--accent);
}

.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

.split-section { background: #080808; }

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-text h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.split-text .lead { font-size: 1.2rem; color: var(--text-main); margin-bottom: 1rem; }
.split-text p { color: var(--text-muted); margin-bottom: 2rem; }

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    height: 300px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    position: relative;
}

.chart-bar {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}

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

.chart-label {
    position: absolute;
    top: 2rem; left: 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.mini-container { max-width: 800px; }

.faq-list { display: flex; flex-direction: column; gap: 1rem; }

details {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
}

details summary {
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-muted);
}

details[open] summary::after { content: '-'; color: var(--accent); }

details p {
    margin-top: 1rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

.footer {
    border-top: 1px solid var(--border-glass);
    padding: 3rem 0;
    text-align: center;
}

.footer-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer p { color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-main); }

@media (max-width: 968px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero h1 { font-size: 3rem; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .sub-window { display: none; }
    
    .split-container { grid-template-columns: 1fr; }
    .split-visual { display: none; }
    
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #111;
        padding: 2rem;
        border-bottom: 1px solid var(--border-glass);
    }
    .mobile-toggle { display: flex; }
    .nav-actions { display: none; }
}