/* ═══════════════════════════════════════════════════════════════
   30.WTF — BRUTALIST ELECTRIC GLASS
   Typography is the layout. Electric Blue is the only accent.
   ═══════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Cascadia Code NF';
    src: local('Cascadia Code NF'), local('CascadiaCode-Regular'), local('Cascadia Code');
    font-display: swap;
}

:root {
    /* Core Palette */
    --void-dark: #050505;
    --pure-white: #FFFFFF;
    --electric-blue: #0066FF;
    --graphite: #111318;
    --silver-mist: #C9D0DA;
    --ice-blue: #D7F1FF;
    
    /* Glass Properties */
    --glass-edge: rgba(255, 255, 255, 0.08);
    --glass-surface: rgba(255, 255, 255, 0.03);
    --electric-glow: rgba(0, 102, 255, 0.4);
    
    /* Typography Scale */
    --h1-size: clamp(3.5rem, 12vw, 9rem);
    --h2-size: clamp(1.5rem, 4vw, 2.5rem);
    --body-size: clamp(0.9rem, 1.2vw, 1.1rem);
    --meta-size: clamp(0.75rem, 1vw, 0.875rem);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--void-dark);
    color: var(--pure-white);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Grid Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(var(--glass-edge) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-edge) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.015;
    pointer-events: none;
    z-index: 0;
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.5rem, 5vw, 4rem);
    max-width: 1600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER — Domain as Identity
   ═══════════════════════════════════════════════════════════════ */

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.domain {
    font-family: 'Cascadia Code NF', 'Cascadia Code', 'Fira Code', monospace;
    font-size: var(--meta-size);
    color: var(--silver-mist);
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeSlide 0.6s ease-out 0.2s forwards;
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cascadia Code NF', 'Cascadia Code', 'Fira Code', monospace;
    font-size: var(--meta-size);
    color: var(--silver-mist);
    opacity: 0;
    animation: fadeSlide 0.6s ease-out 0.3s forwards;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--electric-blue);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   HERO — Typography as Architecture
   ═══════════════════════════════════════════════════════════════ */

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 8vh, 6rem) 0;
}

.hero {
    opacity: 0;
    animation: fadeUp 0.8s ease-out 0.4s forwards;
}

.hero h1 {
    font-size: var(--h1-size);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: clamp(1rem, 3vh, 2rem);
}

.hero h1 .line {
    display: block;
    overflow: hidden;
}

.hero h1 .line:nth-child(2) {
    color: var(--silver-mist);
    font-size: 0.85em;
}

.tagline {
    font-size: var(--h2-size);
    font-weight: 500;
    color: var(--silver-mist);
    line-height: 1.3;
    max-width: 600px;
    margin-bottom: clamp(2rem, 5vh, 4rem);
    opacity: 0;
    animation: fadeSlide 0.6s ease-out 0.6s forwards;
}

/* ═══════════════════════════════════════════════════════════════
   LIQUID GLASS CTAs
   ═══════════════════════════════════════════════════════════════ */

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
    animation: fadeSlide 0.6s ease-out 0.8s forwards;
}

.cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: var(--body-size);
    font-weight: 500;
    color: var(--pure-white);
    text-decoration: none;
    background: var(--glass-surface);
    border: 1px solid var(--glass-edge);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--electric-glow);
    border-radius: 6px;
    filter: blur(20px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta:hover {
    border-color: var(--electric-blue);
    background: rgba(0, 102, 255, 0.08);
    transform: translateY(-2px);
}

.cta:hover::before {
    opacity: 1;
}

.cta:hover::after {
    opacity: 1;
}

.cta:focus-visible {
    outline: 2px solid var(--electric-blue);
    outline-offset: 3px;
}

.cta--primary {
    background: var(--electric-blue);
    border-color: var(--electric-blue);
}

.cta--primary:hover {
    background: #0052cc;
    border-color: #0052cc;
}

.cta-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES — Minimal List
   ═══════════════════════════════════════════════════════════════ */

.services {
    margin-top: clamp(3rem, 8vh, 6rem);
    opacity: 0;
    animation: fadeSlide 0.6s ease-out 1s forwards;
}

.services-label {
    font-family: 'Cascadia Code NF', 'Cascadia Code', 'Fira Code', monospace;
    font-size: var(--meta-size);
    color: var(--silver-mist);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
}

.services-list li {
    font-size: var(--body-size);
    color: var(--pure-white);
    position: relative;
    padding-left: 1rem;
}

.services-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--electric-blue);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — Links & Meta
   ═══════════════════════════════════════════════════════════════ */

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: clamp(2rem, 5vh, 4rem);
    border-top: 1px solid var(--glass-edge);
    opacity: 0;
    animation: fadeSlide 0.6s ease-out 1.2s forwards;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.link {
    font-family: 'Cascadia Code NF', 'Cascadia Code', 'Fira Code', monospace;
    font-size: var(--meta-size);
    color: var(--silver-mist);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--electric-blue);
    transition: width 0.3s ease;
}

.link:hover {
    color: var(--electric-blue);
}

.link:hover::after {
    width: 100%;
}

.link:focus-visible {
    outline: 2px solid var(--electric-blue);
    outline-offset: 4px;
}

.copyright {
    font-family: 'Cascadia Code NF', 'Cascadia Code', 'Fira Code', monospace;
    font-size: var(--meta-size);
    color: var(--silver-mist);
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

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

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero h1 {
        letter-spacing: -0.02em;
    }
    
    .services-list {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
    }
    
    .cta {
        width: 100%;
        justify-content: center;
    }
}
