:root {
    --bg: #000000;
    --accent: #00ff88;
    --border: #222222;
    --card: #080808;
    --text: #ffffff;
    --text-dim: #cccccc;
    --text-muted: #888888;
    --font-head: "Space Grotesk", sans-serif;
    --font-main: "Inter", sans-serif;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Background Horizon Glow */
.horizon-glow {
    position: fixed;
    top: -400px;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
}

.logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.2s;
    font-weight: 500;
}

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

.version {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--accent);
    border: 1px solid rgba(0, 255, 136, 0.3);
    padding: 2px 10px;
    border-radius: 4px;
    background: rgba(0, 255, 136, 0.05);
}

/* Hero */
.hero {
    padding: 8rem 0 6rem 0;
    text-align: center;
}

.announcement {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}

.announcement .new {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
}

h1 {
    font-family: var(--font-head);
    font-size: clamp(3.2rem, 9vw, 5.8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

h1 span {
    color: var(--accent);
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.3));
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 4rem auto;
    font-weight: 300;
    line-height: 1.5;
}

/* CTA */
.cta-box {
    max-width: 500px;
    margin: 0 auto;
}

form {
    display: flex;
    padding: 8px;
    background: #0c0c0c;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 18px;
    color: white;
    font-family: inherit;
    font-size: 1.1rem;
    outline: none;
}

button {
    background: white;
    color: black;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1rem;
}

button:hover { background: var(--accent); transform: translateY(-2px); }

.security-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Window/Terminal */
.preview {
    padding: 5rem 0;
}

.window {
    background: #050505;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 60px 150px -20px rgba(0,0,0,0.8);
}

.window-bar {
    background: #0f0f0f;
    padding: 16px 28px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.controls { display: flex; gap: 8px; margin-right: 28px; }
.controls span { width: 10px; height: 10px; border-radius: 50%; background: #222; }
.window-title { font-size: 0.8rem; color: var(--text-muted); font-family: monospace; font-weight: 500; }

.window-content {
    padding: 3rem;
    font-family: "Menlo", "Monaco", "Courier New", monospace;
    font-size: 0.9rem;
    line-height: 1.9;
    min-height: 550px;
}

.code-line { margin-bottom: 18px; }
.c-blue { color: #61afef; }
.c-green { color: var(--accent); font-weight: 600; }
.spacer { height: 1.8rem; }
.user .prompt { color: var(--accent); margin-right: 14px; font-weight: 700; }
.ai { color: #e5e7eb; }
.source { color: #6b7280; font-size: 0.75rem; margin-left: 10px; font-weight: 500; }

/* Process Section */
.process {
    padding: 10rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.p-step {
    text-align: left;
}

.p-num {
    display: block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.p-step h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.p-step p {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Integrations Section */
.integrations {
    padding: 8rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.integrations h2 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 600;
}

.int-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
}

.int-item {
    background: #080808;
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    transition: 0.3s;
}

.int-item:hover { 
    border-color: #444; 
    background: #0c0c0c;
    transform: translateY(-5px);
}

.int-icon { font-size: 1.4rem; color: var(--accent); }
.int-text strong { display: block; font-size: 1rem; color: var(--text); margin-bottom: 4px; }
.int-text span { font-size: 0.85rem; color: var(--text-dim); }

/* Hardware Scaling */
.hardware {
    padding: 10rem 0;
    text-align: center;
}

.hardware h2 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    margin-bottom: 5rem;
    letter-spacing: -1px;
}

.h-table {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: #030303;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.h-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
    text-align: left;
}

.h-row.head {
    background: #0f0f0f;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.h-row:last-child { border-bottom: none; }
.c-accent { color: var(--accent); font-weight: 700; }

/* Footer */
footer {
    padding: 8rem 0 5rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    font-weight: 500;
}

.divider { width: 6px; height: 6px; background: #222; border-radius: 50%; }
.footer-content a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.footer-content a:hover { color: var(--text); }

@media (max-width: 768px) {
    .nav-links { display: none; }
    h1 { font-size: 3.5rem; }
    .process-grid { grid-template-columns: 1fr; gap: 3rem; }
    .h-row { grid-template-columns: 1fr; gap: 15px; font-size: 0.9rem; }
    .h-row.head { display: none; }
}
