/* ========================================
   ARROWDAN Coming Soon - Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: hsl(217, 91%, 45%);
    --primary-light: hsl(217, 91%, 55%);
    --accent: hsl(200, 80%, 55%);
    --background: hsl(222, 47%, 6%);
    --foreground: hsl(210, 40%, 98%);
    --muted: hsl(217, 19%, 35%);
    --secondary: hsl(217, 33%, 12%);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Gradient Overlays */
.gradient-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--background) 70%);
    pointer-events: none;
    z-index: 2;
}

.gradient-bottom {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 60%, rgba(9, 13, 25, 0.8) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    text-align: center;
}

/* Logo Section */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.logo-wrapper {
    position: relative;
}

.logo-glow {
    position: absolute;
    inset: 0;
    background: var(--primary);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(30px);
    transition: opacity 0.5s ease;
}

.logo-wrapper:hover .logo-glow {
    opacity: 0.4;
}

.logo {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
}

.logo-wrapper:hover .logo {
    transform: scale(1.05);
}

.brand-name {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    animation: gradient-shift 3s ease infinite;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    margin-bottom: 2rem;
}

.pulse-dot {
    position: relative;
    display: flex;
    width: 8px;
    height: 8px;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

.pulse-core {
    position: relative;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.status-text {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Main Heading */
.main-heading {
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
    animation: gradient-shift 3s ease infinite;
}

.white-text {
    color: var(--foreground);
}

/* Tagline */
.tagline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--muted);
    max-width: 500px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Progress Section */
.progress-section {
    width: 100%;
    max-width: 400px;
    margin-bottom: 3rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.progress-label {
    font-size: 0.65rem;
    color: var(--muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.progress-value {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 600;
}

.progress-bar {
    height: 6px;
    background: var(--secondary);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 9999px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transition: width 0.5s ease;
    animation: glow-pulse 2s ease-in-out infinite;
}

.progress-stages {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(148, 163, 184, 0.5);
}

/* Stay Tuned */
.stay-tuned {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(148, 163, 184, 0.4);
}

.stay-tuned .line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3));
}

.stay-tuned .line:last-child {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), transparent);
}

.stay-tuned span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* Corner Glows */
.corner-glow {
    position: fixed;
    pointer-events: none;
    z-index: 1;
}

.corner-glow.top-left {
    top: 0;
    left: 0;
    width: 256px;
    height: 256px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    filter: blur(60px);
}

.corner-glow.bottom-right {
    bottom: 0;
    right: 0;
    width: 384px;
    height: 384px;
    background: linear-gradient(315deg, rgba(56, 189, 248, 0.1), transparent);
    filter: blur(60px);
}

/* Grid Pattern */
.grid-pattern {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.02;
    background-image: 
        linear-gradient(var(--foreground) 1px, transparent 1px),
        linear-gradient(90deg, var(--foreground) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

/* Animations */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Classes */
.fade-in {
    opacity: 0;
    animation: fade-in 0.8s ease forwards;
}

.fade-in-delay-1 {
    opacity: 0;
    animation: fade-in 0.8s ease 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fade-in 0.8s ease 0.4s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fade-in 0.8s ease 0.6s forwards;
}

/* Responsive */
@media (min-width: 768px) {
    .logo {
        width: 128px;
        height: 128px;
    }
    
    .brand-name {
        font-size: 1.875rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1.5rem 1rem;
    }
    
    .progress-stages {
        font-size: 0.55rem;
    }
    
    .stay-tuned .line {
        width: 32px;
    }
}
