/* ResQVoice — coming-soon page. Standalone brand, deliberately NOT Argos/IA
   palette (deep clinical navy + a focused emergency-red accent + warm off-white —
   reads as "trustworthy medical infrastructure," not a startup landing page). */

:root {
  --navy-950: #0a1220;
  --navy-900: #0f1b30;
  --navy-800: #16274a;
  --navy-700: #1f3564;
  --ink-100: #eef2f8;
  --ink-300: #b7c2d6;
  --ink-500: #7c8aa6;
  --red-500: #e0473e;
  --red-400: #ef6259;
  --white: #ffffff;
  --radius-lg: 20px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--navy-950);
  color: var(--ink-100);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Background ---------- */
.bg-field {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 700px at 18% -10%, rgba(31,53,100,.55), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(224,71,62,.14), transparent 55%),
    var(--navy-950);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1000px 600px at 50% 20%, black, transparent 75%);
}

/* ---------- Nav ---------- */
.nav { padding: 28px 0; }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--red-500), var(--navy-700)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-mark svg { width: 18px; height: 18px; }
.nav-status { font-size: 13px; color: var(--ink-500); display: flex; align-items: center; gap: 8px; }
.nav-status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-400); box-shadow: 0 0 0 4px rgba(224,71,62,.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 70px; text-align: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224,71,62,.12); border: 1px solid rgba(224,71,62,.35);
  color: var(--red-400); font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 7px 16px; border-radius: 999px; margin-bottom: 28px;
  opacity: 0; animation: fadeUp .8s var(--ease) .1s forwards;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -.03em; margin: 0 0 22px; color: var(--white);
  opacity: 0; animation: fadeUp .9s var(--ease) .22s forwards;
}
.hero h1 .accent { color: var(--red-400); }
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-300); max-width: 640px;
  margin: 0 auto 40px; line-height: 1.6;
  opacity: 0; animation: fadeUp .9s var(--ease) .34s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.hero-cta {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s var(--ease) .46s forwards;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 28px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; transition: all .2s var(--ease); border: 1px solid transparent;
}
.btn--primary { background: var(--red-500); color: var(--white); box-shadow: 0 10px 30px -8px rgba(224,71,62,.55); }
.btn--primary:hover { background: var(--red-400); transform: translateY(-1px); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--ink-100); border-color: rgba(255,255,255,.14); }
.btn--ghost:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.07); }

/* ---------- Pillars ---------- */
.pillars { padding: 40px 0 100px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg);
  padding: 30px 26px; opacity: 0; animation: fadeUp .8s var(--ease) forwards;
}
.pillar:nth-child(1) { animation-delay: .55s; }
.pillar:nth-child(2) { animation-delay: .64s; }
.pillar:nth-child(3) { animation-delay: .73s; }
.pillar-icon {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(224,71,62,.14);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.pillar-icon svg { width: 22px; height: 22px; stroke: var(--red-400); }
.pillar h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--white); }
.pillar p { margin: 0; font-size: 14.5px; color: var(--ink-500); line-height: 1.6; }

/* ---------- Notify ---------- */
.notify { padding: 20px 0 110px; text-align: center; }
.notify-card {
  max-width: 560px; margin: 0 auto; background: linear-gradient(155deg, rgba(31,53,100,.4), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 44px 36px;
}
.notify-card h2 { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--white); }
.notify-card p { margin: 0 0 26px; color: var(--ink-300); font-size: 14.5px; }
.notify-email {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 22px;
  color: var(--white); font-weight: 700; font-size: 15.5px; text-decoration: none; transition: all .2s var(--ease);
}
.notify-email:hover { border-color: var(--red-400); background: rgba(224,71,62,.08); }
.notify-email svg { width: 18px; height: 18px; stroke: var(--red-400); flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { padding: 30px 0 50px; text-align: center; border-top: 1px solid rgba(255,255,255,.06); }
.footer p { margin: 0; font-size: 13px; color: var(--ink-500); }

@media (max-width: 820px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
}
