/* ==========================================================
   Nexalogic Techno — Coming Soon Design System
   Modern Dark Glassmorphism with Cosmic Mesh Gradients
   ========================================================== */

:root {
  --bg-dark: #07090e;
  --card-bg: rgba(15, 23, 42, 0.55);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-glow: rgba(99, 102, 241, 0.25);
  
  --primary-glow: #6366f1;
  --secondary-glow: #06b6d4;
  --accent-glow: #a855f7;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-dark);
  font-family: var(--font-heading);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ==========================================================
   Background Particle Canvas
   ========================================================== */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================
   Ambient Glow Spheres
   ========================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatAmbient 12s ease-in-out infinite alternate;
}

.glow-1 {
  width: 450px;
  height: 450px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--primary-glow), transparent 70%);
}

.glow-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--secondary-glow), transparent 70%);
  animation-delay: -4s;
}

.glow-3 {
  width: 350px;
  height: 350px;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  opacity: 0.25;
  animation-delay: -8s;
}

@keyframes floatAmbient {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(30px) scale(1.08); }
  100% { transform: translateY(-20px) scale(0.95); }
}

/* ==========================================================
   Main Layout Wrapper
   ========================================================== */
.main-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 820px;
  min-height: 100vh;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

/* ==========================================================
   Brand Header
   ========================================================== */
.brand-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.logo-container:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 25px rgba(99, 102, 241, 0.25);
  transform: translateY(-2px);
}

.logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-main);
}

.brand-accent {
  color: var(--secondary-glow);
  font-weight: 400;
}

/* ==========================================================
   Hero Card (Glassmorphic)
   ========================================================== */
.hero-card {
  width: 100%;
  padding: 56px 44px;
  border-radius: 28px;
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  animation: cardFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-glow), var(--secondary-glow), transparent);
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Badge */
.badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 999px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #a5b4fc;
}

/* Typography */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 580px;
}

/* Status Progress Bar */
.status-indicator {
  width: 100%;
  max-width: 440px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.progress-bar {
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  border-radius: 999px;
  position: relative;
}

.progress-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: #ffffff;
  opacity: 0.75;
  filter: blur(2px);
  box-shadow: 0 0 10px #ffffff;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.progress-percent {
  color: var(--secondary-glow);
  font-weight: 600;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer-wrapper {
  width: 100%;
  text-align: center;
}

.copyright-text {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.copyright-text strong {
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================
   Responsive Design
   ========================================================== */
@media (max-width: 640px) {
  .main-wrapper {
    padding: 28px 16px;
    gap: 24px;
  }

  .hero-card {
    padding: 40px 20px;
    border-radius: 20px;
    gap: 18px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .status-indicator {
    max-width: 100%;
  }
}
