/* Reset and base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #0d0d0d;
    --border-color: #222222;
    --border-light: #333333;
    --text-primary: #e5e5e5;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #4ade80;
    --accent-dim: #22c55e;
    --accent-glow: rgba(74, 222, 128, 0.15);
    --red: #ef4444;
    --yellow: #eab308;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.nav-cta {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    border-bottom: 1px solid var(--border-color);
}

.terminal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
}

.prompt {
    color: var(--accent);
}

h1 {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 64px;
}

/* Principles */
.principles {
    display: grid;
    gap: 24px;
}

.principle {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.principle-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

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

.principle-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.principle p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Product Section */
.product {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.divider-text {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

h2 {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

/* Problem/Solution */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 64px;
}

.problem, .solution {
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.problem {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.solution {
    background: var(--accent-glow);
    border-color: rgba(74, 222, 128, 0.3);
}

.block-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.problem .block-header {
    color: var(--red);
}

.solution .block-header {
    color: var(--accent);
}

.block-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.problem .block-icon {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red);
}

.solution .block-icon {
    background: rgba(74, 222, 128, 0.2);
    color: var(--accent);
}

.problem p, .solution p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.problem-lead {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.problem-list {
    list-style: none;
    margin-bottom: 16px;
}

.problem-list li {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.problem-list li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 600;
    font-size: 12px;
}

.problem-list li strong {
    color: var(--text-primary);
}

.problem-kicker {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
    padding-top: 12px;
    border-top: 1px solid rgba(239, 68, 68, 0.15);
}

.arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.arrow svg {
    width: 24px;
    height: 24px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.feature-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.feature-icon {
    margin-bottom: 16px;
}

.feature-icon pre {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Demo Block */
.demo-block {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.demo-dot.red { background: #ff5f56; }
.demo-dot.yellow { background: #ffbd2e; }
.demo-dot.green { background: #27c93f; }

.demo-title {
    margin-left: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.demo-content {
    padding: 24px;
    overflow-x: auto;
}

.demo-content code {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    white-space: pre;
    color: var(--text-secondary);
}

.demo-content .prompt {
    color: var(--accent);
}

.demo-content .output {
    color: var(--text-muted);
}

.demo-content .success {
    color: var(--accent);
}

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

.waitlist h2 {
    margin-bottom: 16px;
}

.waitlist-desc {
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 15px;
}

.waitlist-form {
    max-width: 480px;
    margin: 0 auto 64px;
}

.input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.waitlist-form input {
    flex: 1;
    padding: 14px 18px;
    font-family: var(--font-mono);
    font-size: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.waitlist-form input:focus {
    border-color: var(--accent);
}

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

.waitlist-form button {
    padding: 14px 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.waitlist-form button:hover {
    background: var(--accent-dim);
}

.waitlist-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    font-size: 12px;
    color: var(--text-muted);
}

.form-success {
    font-size: 14px;
    color: var(--accent);
    margin-top: 16px;
}

.form-error {
    font-size: 14px;
    color: var(--red);
    margin-top: 16px;
}

/* Setup Offer */
.setup-offer {
    max-width: 520px;
    margin: 0 auto;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-align: left;
}

.offer-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.setup-offer h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.setup-offer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.offer-cta {
    display: inline-block;
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.offer-cta:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

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

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

.footer-brand {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-copyright {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .product {
        padding: 80px 0;
    }

    .waitlist {
        padding: 80px 0;
    }

    .problem-solution {
        grid-template-columns: 1fr;
    }

    .arrow {
        justify-content: center;
        transform: rotate(90deg);
    }

    .features {
        grid-template-columns: 1fr;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .waitlist-form button {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 16px;
    }

    nav {
        padding: 12px 16px;
    }

    .nav-cta {
        font-size: 12px;
        padding: 6px 12px;
    }

    .principle {
        padding: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .demo-content {
        padding: 16px;
    }

    .demo-content code {
        font-size: 11px;
    }

    .setup-offer {
        padding: 24px;
    }
}
