:root {
    --bg-base: #0a0e1f;
    --bg-elevated: #111634;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-purple: #a78bfa;
    --accent-blue: #60a5fa;
    --accent-cyan: #22d3ee;
    --border: rgba(255, 255, 255, 0.08);
}

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

html, body {
    min-height: 100vh;
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(ellipse at top, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
        var(--bg-base);
}

/* Background glow blobs */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    top: -150px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: rgba(102, 126, 234, 0.5);
    animation: float 20s ease-in-out infinite;
}

.bg-glow-2 {
    bottom: -200px;
    right: -150px;
    width: 600px;
    height: 600px;
    background: rgba(167, 139, 250, 0.4);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 30px); }
}

/* Floating particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(167, 139, 250, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.8);
    animation: rise 15s linear infinite;
}

.particles span:nth-child(1) { left: 10%;  animation-delay: 0s;  animation-duration: 18s; }
.particles span:nth-child(2) { left: 25%;  animation-delay: 3s;  animation-duration: 22s; }
.particles span:nth-child(3) { left: 40%;  animation-delay: 5s;  animation-duration: 16s; background: rgba(96, 165, 250, 0.6); box-shadow: 0 0 12px rgba(96, 165, 250, 0.8); }
.particles span:nth-child(4) { left: 55%;  animation-delay: 8s;  animation-duration: 20s; }
.particles span:nth-child(5) { left: 70%;  animation-delay: 2s;  animation-duration: 19s; background: rgba(34, 211, 238, 0.6); box-shadow: 0 0 12px rgba(34, 211, 238, 0.8); }
.particles span:nth-child(6) { left: 85%;  animation-delay: 6s;  animation-duration: 23s; }
.particles span:nth-child(7) { left: 15%;  animation-delay: 11s; animation-duration: 17s; }
.particles span:nth-child(8) { left: 60%;  animation-delay: 14s; animation-duration: 21s; background: rgba(96, 165, 250, 0.6); box-shadow: 0 0 12px rgba(96, 165, 250, 0.8); }

@keyframes rise {
    0%   { transform: translateY(100vh) scale(0.5); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* Main container */
.container {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.1s forwards;
}

.brand-logo {
    width: 36px;
    height: 36px;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-purple);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #a78bfa;
    border-radius: 50%;
    box-shadow: 0 0 12px #a78bfa;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.3); }
}

.footer-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
}

.page-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

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

/* Mobile */
@media (max-width: 640px) {
    .container        { padding: 40px 20px; }
    .brand            { margin-bottom: 32px; }
    .title            { margin-bottom: 20px; }
    .subtitle         { margin-bottom: 32px; }
    .status-pill      { margin-bottom: 40px; }
    .bg-glow          { filter: blur(80px); }
    .bg-glow-1        { width: 300px; height: 300px; }
    .bg-glow-2        { width: 400px; height: 400px; }
}

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