:root {
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);
  --glow-sky: rgba(56, 189, 248, 0.4);
  --glow-violet: rgba(167, 139, 250, 0.35);
}

body {
  background: radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.15), transparent 25%),
              radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.2), transparent 30%),
              linear-gradient(145deg, #020617 0%, #0b1224 40%, #020617 100%);
  color: #e5e7eb;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.8), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  filter: blur(120px);
  opacity: 0.5;
  border-radius: 9999px;
  mix-blend-mode: screen;
  animation: floaty 16s ease-in-out infinite;
  z-index: 0;
}

.orb-1 {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 60%);
  top: -60px;
  left: -80px;
  animation-delay: -3s;
}

.orb-2 {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35), transparent 60%);
  bottom: -120px;
  right: -40px;
  animation-delay: 2s;
}

.breathing-shell {
  border-radius: 36px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 20px 80px rgba(15, 23, 42, 0.65),
    0 0 120px var(--glow-sky),
    0 0 140px var(--glow-violet);
  animation: breatheGlow 7s ease-in-out infinite, aurora 16s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.breathing-shell::before,
.breathing-shell::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 36px;
  border: 1px solid rgba(56, 189, 248, 0.14);
  pointer-events: none;
  animation: hueShift 12s linear infinite;
}

.breathing-shell::after {
  border: 1px solid rgba(167, 139, 250, 0.12);
  filter: blur(6px);
}

.section-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 15px 60px rgba(15, 23, 42, 0.5);
  position: relative;
  z-index: 1;
}

.section-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 26px;
  border: 1px solid rgba(56, 189, 248, 0.08);
  pointer-events: none;
}

.lift-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.4);
}

.lift-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow:
    0 15px 60px rgba(56, 189, 248, 0.2),
    0 20px 70px rgba(15, 23, 42, 0.6);
}

.glow-btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(56, 189, 248, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.glow-btn::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-60%);
  animation: sweep 3.4s ease-in-out infinite;
}

.glow-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 50px rgba(56, 189, 248, 0.45);
}

.shimmer {
  background: linear-gradient(90deg, #7dd3fc, #c084fc, #38bdf8);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmer 8s ease-in-out infinite;
  position: relative;
}

.hero-scan {
  position: relative;
  height: 3px;
  margin: 18px auto 0;
  max-width: 260px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), rgba(168, 85, 247, 0.8), transparent);
  overflow: hidden;
}

.hero-scan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  width: 60px;
  animation: scan 3s linear infinite;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #e0f2fe;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #22d3ee;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6);
  animation: pulseDot 1.6s ease-out infinite;
}

@keyframes breatheGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.04),
      0 20px 80px rgba(15, 23, 42, 0.65),
      0 0 110px var(--glow-sky),
      0 0 140px var(--glow-violet);
    transform: scale(0.995);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 24px 100px rgba(15, 23, 42, 0.75),
      0 0 160px var(--glow-sky),
      0 0 180px var(--glow-violet);
    transform: scale(1.005);
  }
}

@keyframes aurora {
  0% { background-position: 0% 30%; }
  50% { background-position: 50% 70%; }
  100% { background-position: 100% 40%; }
}

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

@keyframes floaty {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-30px) scale(1.05); opacity: 0.8; }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

@keyframes hueShift {
  0% { border-color: rgba(56, 189, 248, 0.16); }
  50% { border-color: rgba(167, 139, 250, 0.16); }
  100% { border-color: rgba(56, 189, 248, 0.16); }
}

@keyframes sweep {
  0% { transform: translateX(-60%) rotate(10deg); }
  50% { transform: translateX(80%) rotate(10deg); }
  100% { transform: translateX(-60%) rotate(10deg); }
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
