/* ==========================================================================
   aprilai.in — Ultra-Minimalist White & Black Landing Page
   ========================================================================== */

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --font-primary: 'Space Grotesk', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

/* Main Heading */
.heading {
    font-size: clamp(3rem, 9vw, 7.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--text-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3em;
    user-select: none;
}

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(35px) scale(0.96);
    filter: blur(10px);
    animation: text-appear 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.word:nth-child(1) { animation-delay: 0.1s; }
.word:nth-child(2) { animation-delay: 0.22s; }
.word:nth-child(3) { animation-delay: 0.34s; }
.word:nth-child(4) { animation-delay: 0.46s; }
.word:nth-child(5) { animation-delay: 0.58s; }

@keyframes text-appear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.dot {
    display: inline-block;
    color: #000000;
    animation: dot-pulse 2s infinite ease-in-out;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.25; transform: scale(0.85); }
}
