/* ========================================
   AgentPulse - Brutalist Version
   ======================================== */

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #666666;
    --gray-dark: #333333;
    --gray-light: #999999;
    --border: #222222;
    --green: #00ff00;
    --yellow: #ffaa00;
    --blue: #00aaff;
    --red: #ff4444;

    --font: 'Inter', -apple-system, system-ui, sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

    --max-width: 1000px;
}

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

html {
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background: var(--black);
}

a {
    color: var(--gray-light);
    text-decoration: none;
}

a:hover {
    color: var(--white);
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-size: 14px;
    color: var(--gray);
}

/* Main */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 60px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-phone {
    display: flex;
    justify-content: center;
}

/* Buttons */
.cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 600;
    border: none;
}

.btn-primary svg {
    flex-shrink: 0;
}

.btn-primary:hover {
    background: var(--gray-light);
    color: var(--black);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--gray-light);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
}

.btn-secondary svg {
    flex-shrink: 0;
}

.btn-secondary:hover {
    border-color: var(--gray);
    color: var(--white);
}

/* Sections */
.section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.section h2 {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    background: var(--gray-dark);
    border-radius: 40px;
    padding: 10px;
}

.phone-screen {
    background: var(--black);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

.phone-notch {
    width: 100px;
    height: 28px;
    background: var(--gray-dark);
    border-radius: 14px;
}

.phone-status {
    font-size: 13px;
    color: var(--gray-light);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.app-title {
    font-weight: 600;
    font-size: 17px;
}

.agents-count {
    font-size: 13px;
    color: var(--green);
}

.agent-list {
    padding: 12px;
}

.agent-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-bottom: 1px solid var(--border);
}

.agent-card:last-child {
    border-bottom: none;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-ready {
    background: var(--green);
}

.status-working {
    background: var(--yellow);
}

.agent-info {
    flex: 1;
    min-width: 0;
}

.agent-name {
    display: block;
    font-size: 15px;
    font-family: var(--mono);
    color: var(--white);
}

.agent-desc {
    display: block;
    font-size: 13px;
    color: var(--gray);
    margin-top: 3px;
}

.agent-time {
    font-size: 13px;
    color: var(--gray);
}

/* Terminal */

.terminal {
    background: var(--black);
    border: 1px solid var(--border);
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.7;
}

.terminal-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.terminal-title {
    color: var(--gray);
    font-size: 12px;
}

.terminal-body {
    padding: 20px;
}

.terminal-body pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Terminal colors */
.g { color: var(--green); }
.y { color: var(--yellow); }
.b { color: var(--blue); }
.r { color: var(--red); }
.w { color: var(--white); }
.dim { color: var(--gray); }
.input { color: var(--gray-dark); }

/* Two column */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Feature list */
.feature-list {
    list-style: none;
    font-size: 16px;
    line-height: 2.2;
}

.feature-list li {
    color: var(--gray-light);
}

.feature-list .g {
    margin-right: 12px;
}

/* Phone screens */
.phone-screens {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.phone {
    max-width: 280px;
}

.phone .terminal-body {
    min-height: 240px;
}

/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-q {
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-a {
    color: var(--gray-light);
    font-size: 15px;
}

/* Final CTA */
.final-cta {
    text-align: center;
    padding: 80px 0;
}

.final-cta .big {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.final-cta .cta {
    justify-content: center;
}

.source-link {
    margin-top: 24px;
    font-size: 14px;
    color: var(--gray);
}

.source-link a {
    color: var(--gray-light);
}

/* Footer */
footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p {
    font-size: 14px;
    color: var(--gray);
}

footer a {
    color: var(--gray);
}

footer a:hover {
    color: var(--white);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 16px;
    }

    .subtitle br {
        display: none;
    }

    .cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }

    .hero-phone {
        order: -1;
    }

    .phone-mockup {
        width: 280px;
    }

    .section {
        padding: 40px 0;
    }

    .two-col,
    .phone-screens {
        grid-template-columns: 1fr;
    }

    .phone {
        max-width: 100%;
    }

    .terminal {
        font-size: 13px;
    }

    .terminal-body {
        padding: 16px;
        overflow-x: auto;
    }

    .final-cta .big {
        font-size: 24px;
    }

    .feature-list {
        font-size: 15px;
    }
}

/* No animations, no transitions except subtle hover */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
