/* Base Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #e6e6f0;
    background: radial-gradient(1200px 800px at 20% 10%, rgba(99, 102, 241, 0.18), transparent 60%),
                radial-gradient(900px 600px at 80% 20%, rgba(147, 51, 234, 0.16), transparent 60%),
                linear-gradient(180deg, #0b1020 0%, #070b16 60%, #05070f 100%);
    overflow: hidden;
}

/* Subtle animated gradient overlay */
body::before {
    content: "";
    position: fixed;
    inset: -25% -25% -25% -25%;
    background: conic-gradient(from 180deg at 50% 50%, rgba(56, 189, 248, 0.06), rgba(59, 130, 246, 0.06), rgba(147, 51, 234, 0.08), rgba(236, 72, 153, 0.06), rgba(56, 189, 248, 0.06));
    filter: blur(60px) saturate(140%);
    animation: rotate 60s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Layout */
.hero {
    position: relative;
    z-index: 2;
    height: 100dvh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
}

.title {
    margin: 0 0 14px 0;
    font-family: 'Audiowide', 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(42px, 8vw, 96px);
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #c7d2fe 0%, #a78bfa 40%, #60a5fa 70%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.25), 0 0 40px rgba(147, 51, 234, 0.15);
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(99,102,241,0.2)); }
    50% { transform: scale(1.04); filter: drop-shadow(0 0 14px rgba(147,51,234,0.35)); }
}

.tagline {
    max-width: 900px;
    margin: 0 auto 24px auto;
    font-size: clamp(14px, 2.4vw, 20px);
    line-height: 1.6;
    color: #c9c9d6;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 1s ease-out 0.4s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.cta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-decoration: none;
    background: #6366f1; /* solid indigo */
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.0), 0 10px 30px rgba(2, 6, 23, 0.6), inset 0 0 18px rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    transition: transform 200ms ease, box-shadow 300ms ease, filter 300ms ease;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 1s ease-out 0.8s forwards;
}

.cta::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(80% 80% at 50% 50%, rgba(255,255,255,0.35), transparent 60%);
    filter: blur(12px);
    opacity: 0.6;
    pointer-events: none;
}

.cta:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); }
.cta:active { transform: translateY(0) scale(0.99); }

/* Background canvas layering */
#bg-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Accessibility prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    body::before, .title { animation: none; }
}

/* Small devices adjustments */
@media (max-width: 480px) {
    .cta { width: 100%; max-width: 320px; }
}


