@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ffff00;
    --nav-bg: #111111;
    --font-family: 'JetBrains Mono', monospace;
    --letter-spacing: -0.089em;
    --line-height: 1.4;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    letter-spacing: var(--letter-spacing);
    line-height: var(--line-height);
    overflow: hidden; /* Handle scrolling inside app-container */
    margin: 0;
    padding: 0;
}

/* SPA Container */
.app-container {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.swipe-indicator {
    display: none;
}
.app-container::-webkit-scrollbar {
    display: none;
}

.page-section {
    width: 100vw;
    height: 100vh;
    flex: 0 0 100vw;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 80px; /* Space for fixed nav */
    padding-bottom: 80px; /* Equal spacing at bottom */
    overflow-y: auto;
}

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

/* Nav */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: var(--nav-bg);
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.nav-track {
    display: flex;
    justify-content: center;
    gap: 4rem;
    width: 100%;
    /* Transition is kept minimal/robotic - mostly managed by JS on mobile */
    transition: transform 0.05s linear;
}

.nav-item {
    color: var(--text-color);
    font-size: 1.5rem;
}

.nav-item.active {
    color: var(--accent-color);
}

/* Split Layout */
.container {
    display: flex;
    flex: 1;
    width: 100%;
}

.left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #ffffff;
    padding: 2rem;
}

.right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Home */
.text-block {
    text-align: center;
    font-size: 1.4rem;
    max-width: 500px;
}

.brand-name {
    font-weight: 700;
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.yellow-italic {
    color: var(--accent-color);
    font-style: italic;
    display: block;
    margin-top: 2rem;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    max-width: 300px;
    margin-bottom: 2rem;
}

.logo-text {
    font-weight: 700;
    font-size: 3rem;
}

/* Why Page */
.headline {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.body-text {
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.why-yellow {
    color: var(--accent-color);
    font-style: italic;
    font-size: 1.4rem;
    text-align: center;
}

.graphic-img {
    max-width: 90%;
    height: auto;
}

/* When Page (Roadmap) */
.roadmap-container {
    padding: 2rem 4rem;
    flex: 1;
}

.roadmap-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.roadmap-header img {
    height: 50px;
}

.roadmap-title {
    font-size: 1.8rem;
    line-height: 1.2;
}

.roadmap-title span {
    color: var(--accent-color);
    font-weight: 700;
    display: block;
}

.phase-title {
    color: var(--accent-color);
    font-weight: 700;
    text-align: center;
    font-size: 2.2rem;
    margin: 2rem 0 1rem;
}

.phase-box {
    border: 3px solid #ffffff;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phase-step {
    text-align: center;
    flex: 1;
}

.step-title {
    color: var(--accent-color);
    font-style: italic;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: #ffffff;
    font-size: 1.2rem;
}

.step-arrow {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: 700;
    padding: 0 1rem;
}

/* Utilities */
.text-bold {
    font-weight: 700;
}
.text-yellow {
    color: var(--accent-color);
}

/* Who Page Right Side */
.avatar-img {
    width: 100%;
    max-width: 350px;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-style: italic;
    gap: 0.5rem;
}

.social-link img {
    height: 70px;
    width: auto;
}

/* Mobile Media Query */
@media (max-width: 768px) {
    .app-container {
        scroll-snap-type: x mandatory;
    }
    .container {
        flex-direction: column;
        padding-top: 0;
    }
    .left {
        border-right: none;
        border-bottom: 1px solid #ffffff;
        padding: 1rem;
        flex: 1;
        min-height: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .right {
        padding: 1rem;
        flex: 1;
        min-height: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .text-block, .body-text, .why-yellow, .step-desc {
        font-size: 0.9rem;
    }
    .headline, .phase-title {
        font-size: 1.4rem;
    }
    .logo-container img, .avatar-img {
        max-width: 120px;
        max-height: calc(40vh - 80px);
        margin-bottom: 1rem;
        object-fit: contain;
    }
    .graphic-img {
        max-height: calc(40vh - 80px);
        max-width: 85%;
        width: auto;
        object-fit: contain;
    }
    .logo-text {
        font-size: 2rem;
    }
    .nav-track {
        justify-content: flex-start;
        gap: 0;
    }
    .nav-item {
        padding: 0 2.5rem;
        opacity: 0.3;
        /* Robotic, non-silly snap transition for active state color */
        transition: opacity 0.1s step-end, color 0.1s step-end;
    }
    .nav-item.active {
        opacity: 1;
    }
    
    .swipe-indicator {
        display: block;
        position: absolute;
        bottom: 20px;
        right: 20px;
        color: var(--accent-color);
        font-size: 1rem;
        font-style: italic;
        /* Robotic blink */
        animation: blink 1s step-end infinite;
        z-index: 50;
        transition: opacity 0.2s linear;
    }
    
    .phase-box {
        flex-direction: column;
        align-items: flex-start;
        border: none;
        padding: 0;
        gap: 0.5rem;
    }
    .phase-step {
        text-align: left;
        display: flex;
        flex-direction: column;
    }
    .step-arrow {
        display: none;
    }
    .step-title::before {
        content: "> ";
    }
    .step-title {
        margin-bottom: 0;
    }
    .step-desc {
        padding-left: 1.5rem;
        opacity: 0.8;
    }
    .roadmap-container {
        padding: 1rem;
        padding-top: 0;
        overflow-y: hidden;
    }
}

@keyframes blink {
    50% { opacity: 0; }
}
