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

/* ===== Base ===== */
body {
  background: #0a0a0f;
  color: #fff;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ===== Coming Soon ===== */
.container {
  text-align: center;
  position: relative;
  z-index: 1;
}

.title {
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(to left, #40EBE3, #4A51FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: heartbeat 4s ease-in-out infinite;
  transform-origin: center center;
}

.subtitle {
  font-size: 1.5rem;
  color: #888;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1.5rem;
  animation: fadeInUp 1.5s ease-out 0.5s both;
}

.glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64,235,227,0.15), rgba(74,81,255,0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: glowBeat 4s ease-in-out infinite;
}

/* ===== ECG Line ===== */
.ecg-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 0;
  opacity: 0.4;
}

.ecg-line svg {
  width: 100%;
  height: 60px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.ecg-line svg path {
  stroke: url(#ecgGradient);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: ecgDraw 4s ease-in-out infinite;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== Animations ===== */
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes glowBeat {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes ecgDraw {
  0%   { stroke-dashoffset: 600; opacity: 0; }
  8%   { opacity: 0.4; }
  40%  { stroke-dashoffset: 0; opacity: 0.5; }
  80%  { opacity: 0.2; }
  100% { stroke-dashoffset: -600; opacity: 0; }
}

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