/* ==========================================================================
   HealX Magazine — Coming Soon page styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-page);
  background-image: var(--gradient-brand);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* ---- Decorative animated background blobs ---- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
  animation: drift 18s var(--ease-out) infinite alternate;
}

.bg-orb--green {
  width: 42vmax;
  height: 42vmax;
  background: var(--green-700);
  top: -14vmax;
  right: -12vmax;
}

.bg-orb--navy {
  width: 38vmax;
  height: 38vmax;
  background: var(--navy-500);
  bottom: -16vmax;
  left: -14vmax;
  animation-duration: 24s;
  animation-delay: -6s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vmax, -3vmax, 0) scale(1.15); }
}

/* ---- Main card ---- */
.card {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  text-align: center;
  background: rgba(0, 22, 48, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 5vw, 3.5rem);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  animation: rise 0.9s var(--ease-out) both;
}

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

/* ---- Logo ---- */
.logo {
  width: min(360px, 78%);
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  animation: fade-in 1s var(--ease-out) 0.15s both;
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(21, 157, 124, 0.14);
  border: 1px solid rgba(21, 157, 124, 0.4);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  animation: fade-in 1s var(--ease-out) 0.3s both;
}

/* ---- Headline ---- */
.headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  animation: fade-in 1s var(--ease-out) 0.4s both;
}

.headline .accent {
  color: var(--green-300);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtext {
  font-size: clamp(0.95rem, 2.4vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 46ch;
  margin: 0 auto 2.25rem;
  animation: fade-in 1s var(--ease-out) 0.5s both;
}

/* ---- Divider dot row ---- */
.pulse-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  animation: fade-in 1s var(--ease-out) 0.25s both;
}

.pulse-row span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse 1.4s ease-in-out infinite;
}

.pulse-row span:nth-child(2) { animation-delay: 0.2s; }
.pulse-row span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50%      { transform: scale(1);   opacity: 1; }
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  animation: fade-in 1s var(--ease-out) 0.9s both;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer a:hover { color: var(--green-300); }

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