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

:root {
    --bg-color: #050505;
    --brand-cyan: #02C5F6;
    --text-color: rgba(255, 255, 255, 0.9);
    --secondary-text: rgba(255, 255, 255, 0.5);
    --glow-color: rgba(0, 140, 255, 0.3);
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
    padding-top: 2rem;
}

/* Background effects */
body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

/* Floor depth reflection */
body::after {
    content: '';
    position: absolute;
    bottom: 4rem;
    left: 50%;
    margin-left: -1000px;
    width: 2000px;
    height: 1000px;
    background-image: url('keyboard_bg.png');
    background-size: 1000px auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    transform: perspective(600px) rotateX(60deg);
    transform-origin: bottom center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

.container {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: auto;
    transform: translateY(-5vh);
}

.logo-wrapper {
    background-color: transparent;
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: none;
    position: relative;
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: transform 0.4s ease;
}

.logo-wrapper:hover {
    transform: scale(1.02);
}

.logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    opacity: 0.85;
    filter: brightness(0.9);
}

.tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary-text);
    opacity: 0;
    animation: fadeInTranslate 1s ease 1s forwards;
    margin-top: -1.5rem;
}

.contact-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--text-color);
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    z-index: 1;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInTranslate {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body::after {
        background-size: 750px auto;
        bottom: 3.5rem;
    }
}

@media (max-width: 480px) {
    body::after {
        background-size: 120vw auto;
        bottom: 3.5rem;
    }
    .logo-wrapper, .logo {
        max-width: 240px;
    }
    .tagline {
        font-size: 0.45rem;
        letter-spacing: 0.12em;
        margin-top: -1rem;
        max-width: 240px;
    }
    .footer, .contact-link {
        font-size: 0.55rem;
    }
}
