/* AlphaVibe Landing — Enterprise Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #202124;
    --bg-elevated: #1a1b1e;
    --panel: #292a2d;
    --panel-strong: #1f2125;
    --border: #3c4043;
    --text: #e8eaed;
    --muted: #9aa0a6;
    --accent: #8ab4f8;
    --accent-strong: #aecbfa;
    --success: #81c995;
    --warning: #fbbc04;
    --danger: #f28b82;
    --radius: 16px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "SF Mono", "Fira Code", monospace;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

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

.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(32, 33, 36, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
}

.logo.small {
    font-size: 16px;
}

.logo-image {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8eaed;
    padding: 4px;
}

.logo-tag {
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 4px 8px;
    border-radius: 999px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.2s ease;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: #5f6368;
}

.btn-secondary:hover {
    background: #2a2b2f;
}

.btn-nav {
    padding: 8px 18px;
}

.hero {
    padding: 160px 0 110px;
    background: radial-gradient(circle at top, rgba(138, 180, 248, 0.18), transparent 60%), var(--bg);
}

.hero-content {
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(138, 180, 248, 0.12);
    border: 1px solid rgba(138, 180, 248, 0.3);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.typewriter-text {
    display: inline-block;
    min-width: 24ch;
    text-align: center;
    white-space: nowrap;
    padding-right: 0.08em;
}

.typewriter-text::after {
    content: "|";
    display: inline-block;
    margin-left: 0.05em;
    color: var(--accent-strong);
    animation: caret-blink 1s steps(1, end) infinite;
}

@keyframes caret-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 32px;
}

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

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.metric-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    text-align: left;
}

.metric-value {
    font-size: 24px;
    font-weight: 600;
}

.metric-label {
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 96px 0;
    border-top: 1px solid rgba(60, 64, 67, 0.4);
}

.section-header {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-header.center {
    text-align: center;
    margin: 0 auto 32px;
}

.section-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--muted);
    font-size: 16px;
}

.grid-2,
.grid-3 {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.panel {
    background: var(--panel-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.panel h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.panel p {
    color: var(--muted);
    margin-bottom: 16px;
}

.panel-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.panel-list li {
    color: var(--muted);
    font-size: 14px;
    padding-left: 18px;
    position: relative;
}

.panel-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    background: rgba(32, 33, 36, 0.6);
}

.signal-box {
    background: #202124;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 12px;
    display: grid;
    gap: 10px;
}

.signal-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.signal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

.signal-dot.muted {
    background: var(--danger);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

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

.waitlist-panel {
    max-width: 640px;
    margin: 0 auto;
}

.waitlist-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.waitlist-form input {
    flex: 1 1 260px;
    padding: 14px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #1b1c20;
    color: var(--text);
    font-size: 14px;
}

.waitlist-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(138, 180, 248, 0.2);
}

.form-message {
    margin-top: 16px;
    font-size: 14px;
}

.form-message.success {
    color: var(--success);
}

.form-message.error {
    color: var(--danger);
}

.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: #1a1b1e;
}

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

.footer-note {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--text);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .nav-content {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 16px 0;
    }

    .nav-links {
        justify-content: flex-start;
    }

    .hero {
        padding: 170px 0 90px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }

    .nav-links {
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .waitlist-form {
        flex-direction: column;
    }
}

/* Thesis section */
.thesis-section {
    background: var(--bg-elevated);
}

.thesis-header {
    max-width: 720px;
    margin-bottom: 32px;
}

.thesis-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    margin-bottom: 8px;
}

.thesis-byline {
    color: var(--muted);
    font-size: 15px;
    font-style: italic;
}

.thesis-body {
    max-width: 720px;
}

.thesis-body p {
    color: var(--text);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 20px;
}

.thesis-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .thesis-body p {
        font-size: 16px;
    }
}
