/* ── Reset & Base ────────────────────────────────────── */

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

:root {
    --bg: #0a0a0f;
    --bg-surface: #111118;
    --text: #e0e0e6;
    --text-dim: #6a6a7a;
    --accent-blue: #00d4ff;
    --accent-green: #00ff88;
    --glow-blue: rgba(0, 212, 255, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Canvas Background ──────────────────────────────── */

#grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Layout ─────────────────────────────────────────── */

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Hero ───────────────────────────────────────────── */

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
}

.brand {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.brand-name {
    color: var(--text);
    text-shadow:
        0 0 40px var(--glow-blue),
        0 0 80px rgba(0, 212, 255, 0.08);
    animation: brand-glow 4s ease-in-out infinite;
}

.brand-dot {
    color: var(--accent-blue);
    text-shadow:
        0 0 20px var(--glow-blue),
        0 0 60px rgba(0, 212, 255, 0.12);
}

@keyframes brand-glow {
    0%, 100% {
        text-shadow:
            0 0 40px var(--glow-blue),
            0 0 80px rgba(0, 212, 255, 0.08);
    }
    50% {
        text-shadow:
            0 0 60px rgba(0, 212, 255, 0.25),
            0 0 120px rgba(0, 212, 255, 0.12);
    }
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    font-weight: 300;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── About ──────────────────────────────────────────── */

.about {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: var(--text-dim);
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}

/* ── Footer ─────────────────────────────────────────── */

.footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.contact-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent-blue);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.contact-link:hover {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}

.copyright {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.04em;
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 600px) {
    .brand {
        letter-spacing: 0.06em;
        margin-bottom: 16px;
    }

    .tagline {
        letter-spacing: 0.04em;
        padding: 0 12px;
    }

    .about {
        padding: 80px 0;
    }

    .about-text {
        line-height: 1.7;
    }
}
