:root {
    --void: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f4f4f5;
    --concrete: #e4e4e7;
    --cement: #52525b; 
    --paper: #000000; 
    --text-muted: #71717a;
    --signal: #000000;
    --accent-cyan: #000000;
    --accent-emerald: #000000;
    --accent-rose: #000000;
    --accent-glow: transparent;
    
    --border-subtle: #e4e4e7;
    --border-default: #000000;
    --border-active: #000000;
    
    --glass: #ffffff;
    --glass-hover: #fafafa;
    
    --font-sans: Arial, Helvetica, sans-serif;
    --font-display: Arial, Helvetica, sans-serif;
    --font-mono: "Courier New", Courier, monospace;
}

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

body {
    background-color: var(--void);
    color: var(--paper);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--concrete); }
::-webkit-scrollbar-thumb:hover { background: var(--paper); }

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

.mono {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
}

.text-signal, .gradient-text {
    color: var(--paper);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-cyan { color: var(--cement); font-weight: bold; }
.text-cement { color: var(--cement); }
.text-muted { color: var(--text-muted); }

.glow-btn, .cta-button {
    background: var(--paper);
    color: var(--void) !important;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.85rem;
    border: 2px solid var(--paper);
    border-radius: 0;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 4px 4px 0px var(--border-subtle);
    cursor: pointer;
}
.glow-btn:hover, .cta-button:hover {
    background: var(--void);
    color: var(--paper) !important;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--cement);
}

.glass-card {
    background: var(--void);
    border: 2px solid var(--border-default);
    border-radius: 0;
    transition: all 0.2s ease;
}
.glass-card:hover {
    border-color: var(--border-default);
    box-shadow: 8px 8px 0px var(--border-subtle);
    transform: translate(-4px, -4px);
}

header {
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--border-default);
    background: var(--void);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon {
    width: 38px; height: 38px;
    border: 2px solid var(--border-default);
    display: flex; align-items: center; justify-content: center;
    background: var(--void);
}
.logo-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--paper); }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    color: var(--cement); text-decoration: none; font-size: 0.875rem;
    font-weight: bold; transition: color 0.2s ease; text-transform: uppercase;
}
.nav-links a:hover { color: var(--paper); }

.input-field {
    background: var(--void);
    border: 2px solid var(--border-default);
    border-radius: 0;
    color: var(--paper);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    width: 100%;
}
.input-field:focus {
    box-shadow: 4px 4px 0px var(--border-subtle);
}

.hero { padding: 7rem 0 9rem; position: relative; overflow: hidden; }
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-meta { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }

.status-dot {
    width: 10px; height: 10px;
    background-color: var(--paper);
    animation: blink 1.5s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }

h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 7vw, 4.5rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 2rem; }
.hero-description { font-size: 1.15rem; color: var(--cement); line-height: 1.6; margin-bottom: 3.5rem; }
.hero-actions { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.secondary-action { color: var(--cement); text-decoration: none; font-size: 0.9rem; font-weight: bold; border-bottom: 2px solid var(--border-subtle); padding-bottom: 2px; transition: all 0.2s ease; }
.secondary-action:hover { color: var(--paper); border-color: var(--paper); }

.hero .container { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 4rem; }

.section-heading { margin-bottom: 5rem; }
.section-label { margin-bottom: 0.5rem; font-weight: bold; }
h2 { font-family: var(--font-display); font-size: 2.5rem; text-transform: uppercase; letter-spacing: -0.02em; }

.problem-solution { padding: 8rem 0; border-top: 2px solid var(--border-default); }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.problem-card, .solution-card { padding: 3rem 2rem; border-top: 4px solid var(--border-default); }

.protocol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; }
.protocol-step { padding: 2.5rem 2rem; border: 2px solid var(--border-default); }
.step-number { font-size: 2.5rem; font-family: var(--font-mono); font-weight: bold; line-height: 1; margin-bottom: 1rem; color: var(--border-subtle); }

.features { padding: 8rem 0; background-color: var(--bg-secondary); border-top: 2px solid var(--border-default); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.feature-card { padding: 3.5rem 2.5rem; }
.feature-icon {
    width: 48px; height: 48px;
    border: 2px solid var(--border-default);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 2rem; color: var(--paper); font-weight: bold;
}

.agents-section { padding: 8rem 0; border-top: 2px solid var(--border-default); }
.agents-layout { display: grid; grid-template-columns: 1fr 1.8fr; gap: 4rem; margin-top: 4rem; }
.agent-showcase-box { padding: 3.5rem; border: 2px solid var(--border-default); }
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.agent-card { padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.agent-card h4 { font-size: 1rem; font-weight: bold; margin-bottom: 0.5rem; }

.roadmap-section { padding: 8rem 0; background-color: var(--bg-secondary); border-top: 2px solid var(--border-default); }
.roadmap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; }
.roadmap-item { border-top: 4px solid var(--border-subtle); padding-top: 2rem; transition: all 0.3s ease; }
.roadmap-item:hover { border-top-color: var(--border-default); transform: translateY(-4px); }
.roadmap-item.active { border-top-color: var(--border-default); }
.roadmap-phase { font-family: var(--font-mono); font-size: 0.8rem; font-weight: bold; color: var(--cement); }

.comparison-section { padding: 8rem 0; border-top: 2px solid var(--border-default); }
.table-wrapper { overflow-x: auto; margin-top: 4rem; border: 2px solid var(--border-default); border-radius: 0; }
table { width: 100%; min-width: 650px; border-collapse: collapse; text-align: left; }
th, td { padding: 1.25rem 1.5rem; border-bottom: 2px solid var(--border-default); border-right: 2px solid var(--border-default); }
th:last-child, td:last-child { border-right: none; }
th { font-weight: bold; font-size: 0.95rem; color: var(--paper); font-family: var(--font-mono); text-transform: uppercase; background: var(--bg-secondary); }
td { color: var(--cement); font-size: 0.9rem; }
tr:hover td { background: var(--bg-tertiary); }
.check-icon { color: var(--paper); font-weight: bold; }
.cross-icon { color: var(--cement); text-decoration: line-through; }

.faq-section { padding: 8rem 0; background-color: var(--bg-secondary); border-top: 2px solid var(--border-default); }
.faq-list { max-width: 800px; margin: 4rem auto 0; display: flex; flex-direction: column; gap: 0; border: 2px solid var(--border-default); }
.faq-item { border-bottom: 2px solid var(--border-default); padding: 1.5rem 2rem; background: var(--void); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    background: none; border: none; color: var(--paper); font-size: 1.05rem;
    font-weight: bold; text-align: left; cursor: pointer;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--cement); font-size: 0.95rem; }
.faq-item.active .faq-answer { max-height: 500px; margin-top: 1rem; }

.waitlist-section { padding: 10rem 0; text-align: center; border-top: 2px solid var(--border-default); }
.waitlist-container { max-width: 600px; margin: 0 auto; }
.waitlist-form { display: flex; gap: 1rem; margin-top: 3rem; }
.waitlist-message { margin-top: 1rem; font-size: 0.9rem; min-height: 24px; font-weight: bold; }

footer { padding: 6rem 0; border-top: 2px solid var(--border-default); background-color: var(--void); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; gap: 5rem; }
.footer-col { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-col a { color: var(--cement); text-decoration: none; font-size: 0.85rem; font-weight: bold; }
.footer-col a:hover { color: var(--paper); }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Mobile Menu Backdrop */
.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--paper);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

/* Active Hamburger Animation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(1px, -1px);
}
.menu-toggle.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(1px, 1px);
}

@media (max-width: 968px) {
    .hero .container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-meta, .hero-actions { justify-content: center; }
    .cards-grid-3, .protocol-grid, .feature-grid, .roadmap-grid, .agents-layout { grid-template-columns: 1fr; }
    .agent-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { flex-direction: column; gap: 3rem; text-align: center; align-items: center; }
    .footer-links { gap: 3rem; flex-wrap: wrap; justify-content: center; }
    .waitlist-form { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--void);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 2px solid var(--border-default);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .hero { padding: 4rem 0 5rem; }
    .problem-solution, .features, .agents-section, .roadmap-section, .comparison-section, .faq-section { padding: 4rem 0; }
    .waitlist-section { padding: 5rem 0; }
    
    .section-heading { margin-bottom: 2.5rem; }
    
    h2 { font-size: clamp(1.8rem, 5vw, 2.2rem); }
    .waitlist-section h2 { font-size: clamp(2rem, 6vw, 2.5rem); }
    
    .hero .container { gap: 2.5rem; }
    .hero-visual { display: flex; justify-content: center; }
    
    .agent-showcase-box { padding: 2rem; }
}

@media (max-width: 576px) {
    .header-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .agent-grid { grid-template-columns: 1fr; }
    
    .hero-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
    .hero-actions .cta-button, .hero-actions .secondary-action { text-align: center; justify-content: center; width: 100%; }
    .secondary-action { border-bottom: none; background: var(--bg-secondary); border: 2px solid var(--border-default); padding: 0.75rem 1.5rem; }
    .secondary-action:hover { background: var(--concrete); }
}
