/* =========================================================
   Build N Byte
   Landing Page - v0.1
   ========================================================= */


/* ---------- Base / Reset ---------- */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #050805;
    color: #d8e4d8;
    font-family: "Courier New", Courier, monospace;
}


/* ---------- Hero ---------- */

.hero {
    position: relative;
    height: 48vh;
    min-height: 400px;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #020402;
}


/* Binary canvas sits behind everything */

#binary-rain {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;
}


/* Dark overlay keeps the binary from becoming too busy */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.55) 55%,
            rgba(0, 0, 0, 0.9) 100%
        );

    z-index: 1;
}


/* ---------- Hero Content ---------- */

.hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, 90%);
    text-align: center;
}

.terminal-line {
    margin-bottom: 22px;

    color: #54b86a;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
}

.hero h1 {
    color: #b7ffc5;

    font-size: clamp(2.8rem, 8vw, 6.5rem);
    font-weight: 700;

    letter-spacing: 0.08em;

    text-shadow:
        0 0 8px rgba(74, 255, 110, 0.45),
        0 0 22px rgba(74, 255, 110, 0.20);
}


/* Blinking terminal cursor */

.cursor {
    display: inline-block;

    margin-left: 8px;

    color: #9affaa;

    font-size: 1.4em;
    font-weight: 700;

    text-shadow:
        0 0 6px rgba(114, 255, 140, 0.9),
        0 0 14px rgba(114, 255, 140, 0.6);

    animation: blink 0.9s steps(1) infinite;
}

@keyframes blink {

    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }
}


/* ---------- Tagline ---------- */

.tagline {
    margin-top: 10px;

    color: #c5d4c7;

    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.7;

    letter-spacing: 0.08em;
}

.status {
    margin-top: 18px;

    color: #54b86a;

    font-size: 0.85rem;
    letter-spacing: 0.08em;
}


/* ---------- Coming Soon ---------- */

.coming-soon {
    width: min(760px, 88%);

    margin: 0 auto;
    padding: 70px 0 100px;

    text-align: center;
}

.prompt {
    margin-bottom: 18px;

    color: #54b86a;
    font-size: 1.3rem;
}

.coming-soon h2 {
    margin-bottom: 20px;

    color: #e2ebe3;

    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 400;

    letter-spacing: 0.04em;
}

.coming-soon > p:not(.prompt) {
    color: #879889;

    font-size: 1rem;
    line-height: 1.8;
}


/* ---------- Status Box ---------- */

.status-line {
    display: inline-block;

    margin-top: 40px;
    padding: 12px 20px;

    border: 1px solid #244b2b;

    background: rgba(14, 30, 17, 0.35);

    color: #6d8c72;

    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.status-line strong {
    color: #72ff8c;
    font-weight: normal;
}


/* ---------- Mobile ---------- */

@media (max-width: 600px) {

    .hero {
        height: 55vh;
        min-height: 360px;
    }

    .hero h1 {
        letter-spacing: 0.03em;
    }

    .terminal-line {
        font-size: 0.75rem;
    }

    .coming-soon {
        padding-top: 55px;
    }

}