/* IncAgent — Dark theme landing page */

:root {
    --bg: #0a0a0f;
    --bg2: #12121a;
    --text: #e0e0e8;
    --text-dim: #8888a0;
    --accent: #00e5ff;
    --accent2: #7c4dff;
    --border: #222233;
    --code-bg: #0d0d18;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
}

/* Nav */
nav {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    text-align: center;
    padding: 6rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

.subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: #33eaff;
    transform: translateY(-1px);
}

.install-cmd {
    background: var(--code-bg);
    border: 1px solid var(--border);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: var(--mono);
    font-size: 0.95rem;
    color: var(--accent);
}

/* Code demo */
.code-demo {
    max-width: 700px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.code-demo pre {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    overflow-x: auto;
    font-family: var(--mono);
    font-size: 0.85rem;
    line-height: 1.8;
}

.kw { color: var(--accent2); }
.st { color: #4caf50; }
.cm { color: #555566; }
.nu { color: #ff9800; }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.feature {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: border-color 0.2s;
}

.feature:hover {
    border-color: var(--accent);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

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

/* Architecture */
.architecture {
    text-align: center;
    margin: 0 auto 5rem;
    padding: 0 2rem;
    max-width: 800px;
}

.architecture h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.arch-diagram {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    font-family: var(--mono);
    font-size: 0.8rem;
    color: var(--accent);
    text-align: left;
    display: inline-block;
    line-height: 1.4;
}

/* Modes */
.modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.mode {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.mode h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.mode p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mode code {
    font-family: var(--mono);
    font-size: 0.85rem;
    color: var(--accent);
    background: var(--code-bg);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

/* Live Feed */
.live-feed {
    max-width: 700px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
    text-align: center;
}

.live-feed h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feed-subtitle {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.feed-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feed-loading {
    color: var(--text-dim);
    font-family: var(--mono);
    font-size: 0.85rem;
    padding: 2rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.feed-item {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: left;
    transition: opacity 0.4s, transform 0.4s;
}

.feed-item-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.feed-item:hover {
    border-color: var(--accent);
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.feed-emoji {
    font-size: 1.1rem;
}

.feed-time {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.feed-status {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-left: auto;
}

.status-agreed {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.status-failed {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.feed-agents {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.feed-arrow {
    color: var(--accent);
    margin: 0 0.3rem;
}

.feed-product {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.feed-details {
    display: flex;
    gap: 1rem;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.feed-total {
    color: var(--accent);
    font-weight: 600;
}

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

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-inner a {
    color: var(--accent);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .features { grid-template-columns: 1fr; }
    .modes { grid-template-columns: 1fr; }
    .cta-row { flex-direction: column; }
}
