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

:root {
    --red: #EB404E;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray: #333333;
    --light-gray: #f0f0f0;
}

body {
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.4;
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--black);
    z-index: 1000;
    border-bottom: 4px solid var(--red);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    padding: 20px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-left: 2px solid var(--gray);
    transition: background 0.1s;
}

.nav-links a:hover {
    background: var(--red);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 48px 80px;
    background: var(--white);
    border-bottom: 8px solid var(--black);
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: -4px;
    color: var(--black);
}

.hero h1 span {
    color: var(--red);
    display: block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    font-weight: 700;
    border-left: 8px solid var(--red);
    padding-left: 24px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 20px 40px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: inline-block;
    border: 4px solid var(--black);
    transition: all 0.1s;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--black);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

/* Brain visual - Brutalist grid */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brain-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
}

.neuron {
    background: var(--red);
    animation: blink 2s steps(1) infinite;
}

.n1 { grid-column: 2; grid-row: 1; animation-delay: 0s; }
.n2 { grid-column: 3; grid-row: 2; animation-delay: 0.2s; }
.n3 { grid-column: 2; grid-row: 3; animation-delay: 0.4s; }
.n4 { grid-column: 1; grid-row: 3; animation-delay: 0.6s; }
.n5 { grid-column: 3; grid-row: 4; animation-delay: 0.8s; }

.connection {
    position: absolute;
    background: var(--black);
}

.c1 { top: 25%; left: 35%; width: 60px; height: 4px; transform: rotate(45deg); }
.c2 { top: 35%; left: 50%; width: 4px; height: 60px; }
.c3 { top: 55%; left: 25%; width: 80px; height: 4px; }
.c4 { top: 65%; left: 55%; width: 4px; height: 50px; transform: rotate(30deg); }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Sections */
.section {
    padding: 120px 0;
    border-bottom: 8px solid var(--black);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-red {
    background: var(--red);
    color: var(--white);
}

.section h2 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.section-red h2,
.section-dark h2 {
    color: var(--white);
}

.section h2::before {
    content: "//";
    color: var(--red);
    margin-right: 16px;
}

.section-red h2::before {
    color: var(--black);
}

.section-desc {
    max-width: 700px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 64px;
    color: var(--gray);
}

.section-dark .section-desc {
    color: #888;
}

.section-red .section-desc {
    color: rgba(255,255,255,0.8);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 4px solid var(--black);
}

.stat-card {
    text-align: center;
    padding: 48px 24px;
    background: var(--white);
    border-right: 4px solid var(--black);
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    letter-spacing: -4px;
}

.stat-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 16px;
    color: var(--gray);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.feature-card {
    border: 4px solid var(--black);
    border-right: none;
    padding: 48px 32px;
    background: var(--white);
}

.feature-card:last-child {
    border-right: 4px solid var(--black);
}

.feature-card:hover {
    background: var(--red);
    color: var(--white);
}

.feature-card:hover p {
    color: var(--white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-weight: 900;
}

.feature-card p {
    color: var(--gray);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Models */
.models-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 4px solid var(--white);
}

.model-card {
    background: var(--black);
    padding: 40px;
    border-bottom: 4px solid var(--white);
    border-right: 4px solid var(--white);
    transition: background 0.1s;
}

.model-card:hover {
    background: var(--red);
}

.model-card:nth-child(2n) {
    border-right: none;
}

.model-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.model-header h3 {
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    font-weight: 900;
    color: var(--white);
}

.badge {
    background: var(--red);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.model-card p {
    color: #888;
    font-weight: 700;
    font-size: 1rem;
}

.model-card:hover p {
    color: var(--white);
}

/* Demo Chat */
.demo-box {
    max-width: 700px;
    margin: 0 auto;
}

.chat-window {
    background: var(--white);
    border: 8px solid var(--black);
}

.chat-messages {
    height: 350px;
    padding: 24px;
    overflow-y: auto;
    background: var(--light-gray);
    border-bottom: 8px solid var(--black);
}

.message {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.message-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.message-text {
    background: var(--white);
    padding: 20px 24px;
    max-width: 80%;
    color: var(--black);
    border: 4px solid var(--black);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.5;
}

.user-message .message-text {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    margin-left: auto;
}

.user-message {
    flex-direction: row-reverse;
}

.chat-input {
    display: flex;
    padding: 16px;
    background: var(--white);
    gap: 16px;
}

.chat-input input {
    flex: 1;
    padding: 16px 24px;
    border: 4px solid var(--black);
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 700;
}

.chat-input input:focus {
    background: var(--light-gray);
}

.chat-input button {
    padding: 16px 32px;
    border: 4px solid var(--black);
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    transition: all 0.1s;
}

.chat-input button:hover {
    background: var(--red);
    border-color: var(--red);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 48px 0;
    border-top: 8px solid var(--red);
}

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

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.footer p {
    color: #666;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 100px 24px 60px;
    }

    .hero h1 {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .hero-visual {
        display: none;
    }

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

    .feature-card {
        border-right: 4px solid var(--black);
        border-bottom: none;
    }

    .feature-card:last-child {
        border-bottom: 4px solid var(--black);
    }

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

    .stat-card {
        border-right: none;
        border-bottom: 4px solid var(--black);
    }

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

    .models-list {
        grid-template-columns: 1fr;
    }

    .model-card {
        border-right: none;
    }

    .section h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

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