/* Landing page — dark minimalist with animated graphic */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    background: #0a0a0f;
    color: #e4e4e7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.landing__graphic {
    position: absolute;
    z-index: 0;
    width: min(520px, 92vw);
    height: min(520px, 92vw);
    opacity: 0.8;
    pointer-events: none;
}

.landing__graphic svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.orb-pulse,
.orb-spin,
.orb-dash {
    transform-box: fill-box;
    transform-origin: center;
}

.orb-pulse {
    animation: pulse 4s ease-in-out infinite;
}

.orb-spin--outer {
    animation: spin 24s linear infinite;
}

.orb-spin--wide {
    animation: spin 36s linear infinite reverse;
}

.orb-dash circle {
    stroke-dasharray: 90 740;
    animation: orbit-dash 5s linear infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 1; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit-dash {
    to { stroke-dashoffset: -830; }
}

.landing__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2.5rem 3rem;
    max-width: 36rem;
}

.landing__content::before {
    content: '';
    position: absolute;
    inset: -1.5rem -2.5rem;
    background: radial-gradient(
        ellipse at center,
        rgba(10, 10, 15, 0.92) 0%,
        rgba(10, 10, 15, 0.65) 45%,
        transparent 72%
    );
    z-index: -1;
    pointer-events: none;
}

.landing__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #f4f4f5;
    text-shadow:
        0 0 40px rgba(139, 92, 246, 0.35),
        0 2px 24px rgba(0, 0, 0, 0.9);
    margin-bottom: 0.75rem;
}

.landing__tagline {
    font-size: 0.8125rem;
    color: #d4d4d8;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

.landing__line {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    margin: 0 auto 1.75rem;
    opacity: 0.9;
}

.landing__hint {
    font-size: 1rem;
    color: #b4b4bc;
    font-style: italic;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
}

@media (prefers-reduced-motion: reduce) {
    .orb-pulse,
    .orb-spin--outer,
    .orb-spin--wide,
    .orb-dash circle {
        animation: none;
    }
}
