/* ==========================================================================
   PathoPlus Laboratories — Coming Soon Page
   Palette: deep clinical navy + diagnostic teal + amber accent
   Font: Poppins (Google Fonts)
   ========================================================================== */

:root {
  /* Color tokens */
  --navy-950: #061426;
  --navy-900: #0a1f38;
  --navy-800: #123356;
  --teal-500: #14b8a6;
  --teal-300: #5eead4;
  --amber-400: #fbbf24;
  --white-90: rgba(255, 255, 255, 0.92);
  --white-70: rgba(255, 255, 255, 0.72);
  --white-45: rgba(255, 255, 255, 0.45);
  --glass-fill: rgba(255, 255, 255, 0.06);
  --glass-fill-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.14);

  /* Layout tokens */
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--white-90);
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, #0d3b4f 78%, #0f4a4a 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Ambient background layers ---------- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.bg-glow--one {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -140px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.35) 0%, rgba(20, 184, 166, 0) 70%);
  animation: drift-one 14s ease-in-out infinite;
}

.bg-glow--two {
  width: 620px;
  height: 620px;
  bottom: -220px;
  right: -160px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.14) 0%, rgba(251, 191, 36, 0) 70%);
  animation: drift-two 18s ease-in-out infinite;
}

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

@keyframes drift-one {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, 30px); }
}

@keyframes drift-two {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -40px); }
}

/* ---------- Page layout ---------- */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 24px;
  gap: 28px;
}

/* ---------- Glass card ---------- */
.card {
  width: 100%;
  max-width: 620px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 52px 44px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--teal-300), var(--teal-500));
  box-shadow: 0 8px 20px -6px rgba(20, 184, 166, 0.6);
}

.brand__name {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-70);
}

.brand__name strong {
  color: var(--white-90);
  font-weight: 600;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--amber-400);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  margin-bottom: 26px;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.6);
  animation: pulse-dot 1.8s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

/* ---------- Headline & subhead ---------- */
.headline {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #ffffff, var(--teal-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  font-size: clamp(14.5px, 2vw, 16.5px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--white-70);
  max-width: 440px;
  margin-bottom: 30px;
}

/* ---------- Signature element: diagnostic pulse line ---------- */
.pulse {
  width: 100%;
  max-width: 420px;
  height: 56px;
  margin-bottom: 34px;
  opacity: 0.9;
}

.pulse__svg {
  width: 100%;
  height: 100%;
}

.pulse__path {
  stroke: var(--teal-300);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.55));
  animation: pulse-draw 3.2s ease-in-out infinite;
}

@keyframes pulse-draw {
  0% { stroke-dashoffset: 900; opacity: 0.2; }
  35% { stroke-dashoffset: 0; opacity: 1; }
  60% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -900; opacity: 0.2; }
}

/* ---------- Notify form ---------- */
.notify {
  width: 100%;
  max-width: 420px;
  margin-bottom: 34px;
}

.notify__label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--white-45);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.notify__row {
  display: flex;
  gap: 10px;
}

.notify__input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--white-90);
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.notify__input::placeholder {
  color: var(--white-45);
}

.notify__input:focus {
  border-color: var(--teal-300);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.15);
}

.notify__button {
  flex-shrink: 0;
  padding: 14px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--teal-300), var(--teal-500));
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.notify__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(20, 184, 166, 0.55);
  filter: brightness(1.06);
}

.notify__button:active {
  transform: translateY(0);
}

/* ---------- Social icons ---------- */
.socials {
  display: flex;
  gap: 14px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-border);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social svg {
  width: 17px;
  height: 17px;
  fill: var(--white-70);
  transition: fill 0.25s ease;
}

.social:hover {
  transform: translateY(-3px);
  background: rgba(20, 184, 166, 0.16);
  border-color: rgba(94, 234, 212, 0.45);
}

.social:hover svg {
  fill: var(--teal-300);
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.3px;
  color: var(--white-45);
  text-align: center;
}

/* ---------- Responsive: tablets ---------- */
@media (max-width: 768px) {
  .card {
    padding: 44px 30px 36px;
    border-radius: var(--radius-md);
  }

  .brand__name {
    font-size: 12.5px;
  }
}

/* ---------- Responsive: mobile ---------- */
@media (max-width: 480px) {
  .page {
    padding: 24px 14px 18px;
    gap: 20px;
  }

  .card {
    padding: 36px 22px 30px;
  }

  .brand {
    margin-bottom: 22px;
  }

  .badge {
    font-size: 11.5px;
    padding: 8px 16px;
    margin-bottom: 20px;
  }

  .headline {
    margin-bottom: 12px;
  }

  .subhead {
    margin-bottom: 24px;
  }

  .pulse {
    margin-bottom: 26px;
    height: 44px;
  }

  .notify__row {
    flex-direction: column;
  }

  .notify__button {
    width: 100%;
  }

  .socials {
    gap: 10px;
  }

  .social {
    width: 38px;
    height: 38px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .bg-glow,
  .badge__dot,
  .pulse__path,
  .card {
    animation: none !important;
  }
}
