:root {
    --color-navy-dark: #1a365d;
    --color-navy-light: #2c5282;
    --color-navy-accent: #2563eb;
    --color-onyx-dark: #0d1117;
    --color-white: #ffffff;
    --color-gray: #8b949e;
    --font-system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-system);
    color: var(--color-white);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 50%, var(--color-navy-dark) 0%, var(--color-onyx-dark) 70%);
}

.wave-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    text-align: center;
}

.title {
    font-size: clamp(3rem, 12vw, 9rem);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--color-white);
    display: inline-flex;
    align-items: baseline;
    transform: skewX(-5deg);
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

.pulse-dot {
    position: relative;
    display: inline-block;
    width: 0.12em;
    height: 0.12em;
    margin-left: 0;
    margin-right: 0.08em;
    background: var(--color-navy-accent);
    border-radius: 50%;
    align-self: flex-end;
    margin-bottom: 0.08em;
    box-shadow: 0 0 8px var(--color-navy-accent), 0 0 16px rgba(37, 99, 235, 0.5);
}

.pulse-dot.pulse {
    animation: dotPulse 0.6s ease-out;
}

.divider {
    width: 6rem;
    height: 1px;
    margin: var(--spacing-lg) auto var(--spacing-md);
    background: linear-gradient(90deg, transparent, var(--color-gray), transparent);
    border: none;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-gray);
    letter-spacing: 0.03em;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.6s forwards;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-gray);
    letter-spacing: 0.05em;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.9s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 8px var(--color-navy-accent), 0 0 16px rgba(37, 99, 235, 0.5);
    }
    50% {
        transform: scale(1.8);
        box-shadow: 0 0 20px var(--color-navy-accent), 0 0 40px rgba(37, 99, 235, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 8px var(--color-navy-accent), 0 0 16px rgba(37, 99, 235, 0.5);
    }
}

:focus-visible {
    outline: 2px solid var(--color-navy-accent);
    outline-offset: 2px;
}

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

@media print {
    .background, .wave-canvas { display: none; }
    body { background: white; color: black; }
    .pulse-dot { background: black; box-shadow: none; }
}
