:root {
    --font-sans: 'Inter', Helvetica, sans-serif;
    --bg: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-faint: #475569;
    --accent: #0a192f;
    --border: #e2e8f0;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

canvas#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

header {
    position: absolute;
    top: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.logo {
    height: 100px;
    opacity: 1;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

main {
    position: relative;
    z-index: 2;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
}

h1 {
    font-size: 2.6rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text);
    max-width: 1000px;
    margin: 0 auto 0.75rem;
}

.upcoming {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 1.1rem;
    letter-spacing: 0.01em;
}

.upcoming a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1px;
    transition: border-color 0.2s ease;
}

.upcoming a:hover {
    border-color: var(--text-muted);
}

/* CTA buttons */
.demo-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.25rem;
    flex-wrap: wrap;
}

.demo-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-sans);
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
}

.demo-btn-primary {
    background: var(--accent);
    color: #ffffff;
    border: 1px solid var(--accent);
}

.demo-btn-primary:hover {
    background: #162d4a;
    border-color: #162d4a;
}

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

.demo-btn-secondary:hover {
    border-color: #94a3b8;
    color: var(--text);
}

.content-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    position: relative;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

footer.fade-footer {
    position: fixed;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.78rem;
    color: var(--text-faint);
    opacity: 0;
    z-index: 3;
    background: none;
    transition: opacity 1.2s ease;
    width: 100%;
    text-align: center;
    line-height: 1.4;
    padding: 0 1rem;
}

footer.fade-footer.visible {
    opacity: 1;
}

footer p {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.footer-item {
    white-space: nowrap;
}

.separator {
    display: inline-block;
    color: var(--border);
}

footer.fade-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

@media (max-width: 600px) {
    .logo {
        height: 70px;
        max-width: 80vw;
    }

    main {
        padding-top: 100px;
        padding-bottom: 3rem;
        justify-content: flex-start;
    }

    .content-section {
        margin-top: 1rem;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.4;
    }

    .upcoming {
        font-size: 0.9rem;
    }

    footer p {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.3rem;
    }

    .footer-item {
        white-space: nowrap;
    }

    .separator {
        display: none;
    }
}
