:root {
    /* Neutral Theme Color Palette */
    --bg-dark: #111111;
    --bg-panel: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --accent: #e5e5e5;
    --accent-glow: rgba(255, 255, 255, 0.1);
    --border: #333333;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor for custom one */
}

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

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.custom-cursor.active {
    width: 40px;
    height: 40px;
    background-color: var(--accent-glow);
}

/* Typography */
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: 5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 3rem; margin-bottom: 15px; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.logo { font-weight: 700; font-size: 1.25rem; letter-spacing: 2px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; margin-left: 32px; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--text-primary); }

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px; border-radius: 4px; font-weight: 500; font-size: 0.9rem;
    transition: all 0.3s; border: 1px solid transparent;
}
.btn-primary { background: var(--text-primary); color: var(--bg-dark); }
.btn-primary:hover { background: var(--text-secondary); }
.btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--border); }
.btn-secondary:hover { background: var(--accent-glow); border-color: var(--text-primary); }

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
#neural-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.6; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 20px; }
.hero-subtitle { color: var(--text-secondary); font-size: 1.25rem; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); text-align: center; font-size: 0.75rem; letter-spacing: 2px; color: var(--text-secondary); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--text-secondary), transparent); margin: 10px auto 0; }

/* Ticker */
.ticker-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 30px 0; overflow: hidden; background: var(--bg-panel); }
.ticker-wrap { width: 100%; overflow: hidden; white-space: nowrap; }
.ticker { display: inline-block; white-space: nowrap; padding-right: 100%; animation: ticker 20s linear infinite; }
.ticker-item { display: inline-block; padding: 0 40px; font-size: 1.5rem; font-weight: 700; color: #333; transition: color 0.3s; }
.ticker:hover { animation-play-state: paused; }
.ticker-item:hover { color: var(--text-primary); }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* Sections */
section.platform, section.demo, section.metrics { padding: 120px 5%; max-width: 1400px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--bg-panel); border: 1px solid var(--border); padding: 40px; border-radius: 8px; transition: transform 0.4s ease; transform-style: preserve-3d; }
.feature-card:hover { transform: translateY(-10px) translateX(5px); border-color: #555; }
.icon-3d { width: 60px; height: 60px; background: #333; margin-bottom: 20px; border-radius: 4px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 15px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Terminal */
.terminal-container { max-width: 800px; margin: 0 auto; background: var(--bg-panel); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; font-family: var(--font-mono); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.terminal-header { padding: 12px 20px; background: #222; display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.close { background: #ff5f56; } .minimize { background: #ffbd2e; } .expand { background: #27c93f; }
.terminal-title { margin-left: 15px; font-size: 0.85rem; color: var(--text-secondary); }
.terminal-body { padding: 20px; height: 300px; overflow-y: auto; color: var(--text-primary); font-size: 0.9rem; }
.terminal-input-wrapper { display: flex; padding: 0 20px 20px; align-items: center; }
.prompt { color: #888; margin-right: 10px; }
#terminal-input { background: transparent; border: none; color: var(--text-primary); font-family: var(--font-mono); font-size: 0.9rem; flex-grow: 1; outline: none; }

/* Metrics */
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.metric-card h3 { font-size: 4rem; display: inline-block; font-family: var(--font-mono); font-weight: 300; }
.metric-card span.suffix { font-size: 2rem; color: var(--text-secondary); }
.metric-card p { color: var(--text-secondary); letter-spacing: 1px; font-size: 0.9rem; text-transform: uppercase; margin-top: 10px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 80px 5% 40px; background: var(--bg-panel); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; max-width: 1400px; margin: 0 auto 60px; }
.footer-col h4 { margin-bottom: 20px; color: var(--text-primary); font-size: 1rem; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom { text-align: center; color: #555; font-size: 0.85rem; }

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
