:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --card-bg: #ffffff;
    --card-text: #000000;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Chakra Petch', sans-serif;
    /* Fallback for alphalyrae */
    --font-mono: 'Geist Mono', monospace;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 100;
    mix-blend-mode: difference;
    opacity: 0;
    /* Hidden initially, shown via GSAP */
    transform: translateY(-20px);
}

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

.nav-logo {
    font-weight: 600;
    letter-spacing: -0.02em;
}



/* Hero */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-brand {
    position: absolute;
    top: 40px;
    left: 40px;
    color: white;
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 600;
    z-index: 20;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    /* Align horizontal start (left) */
    align-items: flex-end;
    /* Align vertical end (bottom) */
    padding: 40px;
    /* Add padding so it's not flush */
    pointer-events: none;
}

.hero-card {
    background: var(--card-bg);
    color: var(--card-text);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    /* Slightly smaller for corner placement */
    border-radius: 4px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
    /* Extra bottom spacing if needed */
}

.hero-header {
    margin-bottom: 10px;
}

.hero-logo {
    height: 24px;
}

.hero-title {
    font-family: var(--font-main);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.investors {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0.8;
}

.investors img {
    height: 20px;
    width: auto;
}

/* New Sections */
.content-section {
    padding: 80px 40px;
}

.content-section.intro {
    padding-top: 120px;
}

.section-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 16px;
    font-family: var(--font-main);
    color: var(--text-color);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    font-weight: 500;
}

.section-text p {
    font-size: 20px;
    line-height: 1.5;
    color: #cccccc;
    margin-bottom: 32px;
    max-width: 100%;
}

/* Contact */
.contact {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-lead {
    font-size: 20px;
    line-height: 1.5;
    color: #cccccc;
    max-width: 100%;
}

.btn-contact {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    width: fit-content;
}

.btn-contact:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    padding: 40px;
    border-top: none;
    font-family: var(--font-main);
    font-size: 12px;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.footer-email {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-email:hover {
    color: #ffffff;
}



/* ASCII canvas specific */
.canvas-container {
    width: 100%;
    height: 100%;
}

.ascii-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.video-container {
    display: none;
    /* Hide original video, we render to canvas */
}

/* Responsive */
@media (max-width: 768px) {
    .hero-overlay {
        justify-content: flex-start;
        align-items: flex-end;
        padding: 12px 16px 12px;
        /* less bottom padding so the card sits closer to the bottom-left */
    }

    .hero-card {
        width: 100%;
        max-width: none;
        margin-bottom: 0;
    }

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

    .hero-title {
        font-size: 24px;
    }

    h2 {
        font-size: 32px;
    }
}