:root {
  --background: 0 0% 100%;
  --foreground: 220 25% 15%;
  --muted-foreground: 220 15% 45%;
  --primary: 217 100% 56%;
  --primary-glow: 217 100% 70%;
  --primary-soft: 217 100% 96%;
  --gradient-hero: radial-gradient(ellipse at top, hsl(217 100% 96%) 0%, hsl(0 0% 100%) 60%);
  --gradient-text: linear-gradient(135deg, hsl(217 100% 56%), hsl(220 100% 45%));
  --shadow-glow: 0 8px 24px hsl(217 100% 56% / 0.30);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 42rem;
  text-align: center;
}

.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  animation: blob 12s ease-in-out infinite;
}
.blob-1 { top: -8rem; left: -8rem; width: 24rem; height: 24rem; background: hsl(var(--primary) / 0.20); }
.blob-2 { top: 33%; right: -8rem; width: 31rem; height: 31rem; background: hsl(var(--primary-glow) / 0.20); animation-delay: 3s; }
.blob-3 { bottom: -8rem; left: 33%; width: 24rem; height: 24rem; background: hsl(var(--primary) / 0.15); animation-delay: 6s; }

.grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(hsl(var(--primary)) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary)) 1px, transparent 1px);
  background-size: 60px 60px;
}

.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}
.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.30);
  animation: pulse-ring 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.pulse-ring.delay { background: hsl(var(--primary) / 0.20); animation-delay: 1s; }
.logo-float { position: relative; animation: float 4s ease-in-out infinite; }
.logo {
  position: relative;
  height: 6rem;
  width: auto;
  filter: drop-shadow(var(--shadow-glow));
}
@media (min-width: 768px) { .logo { height: 7rem; } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(var(--primary-soft));
  border: 1px solid hsl(var(--primary) / 0.20);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
}
.dot { position: relative; display: inline-flex; height: 0.5rem; width: 0.5rem; }
.dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: hsl(var(--primary));
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot-core {
  position: relative;
  display: inline-flex;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
}

.title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.loader { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 3rem; }
.loader span {
  height: 0.75rem;
  width: 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  animation: dot-bounce 1.4s ease-in-out infinite;
}
.loader span:nth-child(2) { animation-delay: 0.16s; }
.loader span:nth-child(3) { animation-delay: 0.32s; }

.footer p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.footer .brand { color: hsl(var(--primary)); font-weight: 500; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-ring {
  0%   { transform: scale(0.95); opacity: 0.6; }
  50%  { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}
@keyframes ping { 75%,100% { transform: scale(2); opacity: 0; } }
@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(30px,-30px) scale(1.1); }
  66%     { transform: translate(-20px,20px) scale(0.95); }
}
@keyframes dot-bounce {
  0%,80%,100% { transform: scale(0.6); opacity: 0.4; }
  40%         { transform: scale(1);   opacity: 1; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fade-up 0.8s var(--ease) forwards; }

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