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

:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --text: #e0e0e0;
    --text-muted: #888888;
    --accent: #00ff88;
    --accent-dim: #00cc6a;
    --border: #222222;
    --card-bg: #161616;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

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

a:hover {
    text-decoration: underline;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
}

.nav-logo {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--accent);
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--text);
    text-decoration: none;
}

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

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-cta {
    margin-bottom: 2rem;
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--accent-dim);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-alt);
    max-width: none;
}

.section-alt > * {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.card ul {
    list-style: none;
}

.card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

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

.card-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Focus Areas Grid */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.focus-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.focus-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.focus-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Blockquote */
blockquote {
    font-size: 1.5rem;
    font-style: italic;
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--text-muted);
}

/* Apply Section */
.apply-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.apply-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.apply-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.apply-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Team */
.team-founder {
    margin-bottom: 3rem;
}

.team-founder h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-founder p {
    color: var(--text-muted);
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.advisor {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.advisor strong {
    color: var(--text);
}

.advisor span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-parent {
    margin-top: 0.5rem;
}

.footer-contact h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.footer-contact p {
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: 1000px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Forms */
.form-page {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-page h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-page .lead {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.form-submit {
    margin-top: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--accent);
}

/* Bot-specific styles */
.bot-notice {
    background: var(--card-bg);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.bot-notice h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1.25rem;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    blockquote {
        font-size: 1.25rem;
    }

    .footer-main {
        flex-direction: column;
    }
}

/* Bot link in nav */
.nav-links .bot-link {
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.nav-links .bot-link:hover {
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
}

/* Stats */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Space Mono', monospace;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Filters */
.filters {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--accent);
}

/* Ventures List */
.ventures-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.venture-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.venture-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.venture-name {
    font-size: 1.25rem;
    margin: 0;
}

.venture-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.status-applied {
    background: #1a1a2e;
    color: #7c7cff;
}

.status-reviewing {
    background: #2e2a1a;
    color: #ffc107;
}

.status-accepted {
    background: #1a2e1a;
    color: var(--accent);
}

.status-rejected {
    background: #2e1a1a;
    color: #ff4757;
}

.venture-thesis {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.venture-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.venture-founder {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.founder-agent, .founder-human {
    font-size: 0.9rem;
    color: var(--text);
}

.venture-artifact {
    font-size: 0.85rem;
    color: var(--accent);
}

.venture-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.venture-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.venture-comments-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}

.venture-comments-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Comments */
.venture-comments {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.comment {
    padding: 1rem;
    background: var(--bg);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.comment:last-child {
    margin-bottom: 0;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-size: 0.9rem;
    font-weight: 500;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Seeking List */
.seeking-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.seeking-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.seeking-card h4 {
    margin-bottom: 0.5rem;
}

.seeking-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.seeking-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.seeking-cta {
    text-align: center;
    color: var(--text-muted);
}

/* Requirements */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.req-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.req-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.req-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Loading & Empty States */
.loading, .empty, .error {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.error {
    color: #ff4757;
}

/* Form Messages */
.form-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent-dim);
}

.form-message.error {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid #ff4757;
}

/* Responsive */
@media (max-width: 600px) {
    .stats-grid {
        gap: 2rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .filters {
        flex-direction: column;
        gap: 1rem;
    }

    .venture-header {
        flex-direction: column;
    }

    .venture-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
