/* Ortobahn Landing Page — Dark theme, zero dependencies */

:root {
    --bg: #0a0a0f;
    --bg-alt: #12121a;
    --surface: #1a1a26;
    --border: #2a2a3a;
    --text: #e4e4ef;
    --text-muted: #8888a0;
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --primary-glow: rgba(99, 102, 241, 0.15);
    --success: #22c55e;
    --error: #ef4444;
    --radius: 8px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
}

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

html { scroll-behavior: smooth; }

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }

img, svg { max-width: 100%; height: auto; }

/* Container */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.logo:hover { color: var(--text); }
.logo svg { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    padding: 6px 14px;
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-sm { padding: 6px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, var(--primary-glow) 0%, transparent 60%);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

/* Sections */
section {
    padding: 100px 0;
}

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

section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 16px;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

/* Pipeline */
.pipeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 16px;
}

.pipeline-step {
    flex: 1;
    min-width: 180px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pipeline-step:hover {
    border-color: var(--primary);
    box-shadow: 0 0 24px var(--primary-glow);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.pipeline-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.pipeline-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pipeline-arrow {
    display: flex;
    align-items: center;
    padding: 0 4px;
    flex-shrink: 0;
    align-self: center;
}
.pipeline-arrow::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    background: var(--border);
    position: relative;
}
.pipeline-arrow::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--border);
    position: relative;
    left: 28px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.feature:hover {
    border-color: var(--primary);
    box-shadow: 0 0 24px var(--primary-glow);
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Live Proof */
.proof-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
}

.proof-header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.proof-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.proof-handle {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
}

.proof-quote {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Business Grid */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.business-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.business-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Access Form */
.access-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.form-full { grid-column: 1 / -1; }

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: var(--font);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: border-color 0.2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.access-form .btn { width: 100%; }

.form-status {
    margin-top: 16px;
    text-align: center;
    font-size: 0.95rem;
    min-height: 1.5em;
}
.form-status.success { color: var(--success); }
.form-status.error { color: var(--error); }

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    background: var(--bg);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 300px;
}
.footer-brand strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}
.footer-parent {
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 60px;
}
.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }

    .pipeline {
        flex-direction: column;
        align-items: stretch;
    }
    .pipeline-arrow {
        transform: rotate(90deg);
        justify-content: center;
        padding: 8px 0;
    }

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

    .footer-links {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero { padding: 120px 0 60px; }
    section { padding: 60px 0; }
}
