/* ========== Base ========== */
:root {
  --medical: #123858;
  --medical-dark: #0b2438;
  --blue: #a8b2b0;
  --ink: #102f4a;
  --muted: #667085;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(18, 56, 88, 0.16);
  --shadow: 0 24px 70px rgba(18, 56, 88, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 12% 16%, rgba(168, 178, 176, 0.16), transparent 30%), radial-gradient(circle at 84% 14%, rgba(18, 56, 88, 0.20), transparent 32%), linear-gradient(135deg, #f8fafc 0%, #f1f4f5 52%, #ffffff 100%);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(18,56,88,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18,56,88,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  animation: gridDrift 18s linear infinite;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

/* ========== Layout ========== */
.page { position: relative; display: grid; min-height: 100vh; padding: 32px clamp(16px, 4vw, 56px); }
.shell { display: grid; width: min(1180px, 100%); min-height: calc(100vh - 64px); margin: auto; grid-template-rows: auto 1fr auto; gap: 24px; }
.topbar, .hero, .footer { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 16px; border-radius: 18px; animation: fadeInDown 700ms ease both; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.site-logo { display: block; width: clamp(150px, 18vw, 235px); height: auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(18,56,88,.10)); }
.brand-mark { display: grid; place-items: center; color: var(--medical); }
.brand-wordmark { width: auto; min-width: 178px; height: 62px; padding: 8px 14px; border-radius: 18px; background: rgba(255,255,255,.62); box-shadow: 0 14px 28px rgba(18,56,88,.12); }
.brand-word-main { display: block; color: #123858; font-size: 1.6rem; font-weight: 900; line-height: 1; letter-spacing: 0; }
.brand-word-sub { display: block; margin-top: 5px; color: #a8b2b0; font-size: .78rem; font-weight: 800; line-height: 1; }
.brand-text { display: grid; gap: 3px; }
.brand-name { font-size: 1rem; font-weight: 800; line-height: 1.2; }
.brand-subtitle { color: var(--muted); font-size: .82rem; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(18,56,88,.18); border-radius: 999px; color: var(--medical-dark); background: rgba(240,253,250,.86); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #a8b2b0; box-shadow: 0 0 0 0 rgba(16,185,129,.42); animation: pulse 1.8s infinite; }
.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(300px, .94fr); align-items: center; gap: clamp(24px, 5vw, 68px); padding: clamp(24px, 5vw, 64px); border-radius: var(--radius); overflow: hidden; animation: fadeInUp 850ms 90ms ease both; }
.content { display: grid; gap: 24px; }
.eyebrow { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(168,178,176,.16); border-radius: 999px; color: #123858; background: rgba(239,246,255,.82); font-size: .9rem; font-weight: 700; }
h1 { max-width: 760px; margin: 0; font-size: clamp(2.4rem, 7vw, 5.4rem); line-height: 1.05; letter-spacing: 0; color: var(--ink); }
.lead { max-width: 700px; margin: 0; color: #40566a; font-size: clamp(1.02rem, 2vw, 1.26rem); line-height: 1.95; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 0; border-radius: 16px; cursor: pointer; font-weight: 800; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--medical), var(--medical-dark)); box-shadow: 0 16px 34px rgba(18,56,88,.24); }
.button-secondary { color: var(--medical-dark); border: 1px solid rgba(18,56,88,.18); background: rgba(255,255,255,.68); }
.button:hover, .social-link:hover { transform: translateY(-3px); }
.button-primary:hover { box-shadow: 0 20px 44px rgba(18,56,88,.30); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(74px, 1fr)); gap: 12px; max-width: 620px; }
.time-box { min-height: 94px; padding: 14px 10px; border: 1px solid rgba(255,255,255,.74); border-radius: 18px; background: var(--surface-strong); box-shadow: 0 14px 28px rgba(15,23,42,.08); text-align: center; }
.time-value { display: block; color: var(--medical-dark); font-size: clamp(1.55rem, 4vw, 2.3rem); font-weight: 900; line-height: 1.1; }
.time-label { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; font-weight: 700; }
.visual { position: relative; display: grid; min-height: 470px; place-items: center; }
.visual-card { position: relative; width: min(410px, 100%); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.72); border-radius: 32px; background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(240,253,250,.58)), radial-gradient(circle at 24% 18%, rgba(168,178,176,.18), transparent 32%); box-shadow: 0 28px 80px rgba(18,56,88,.20); overflow: hidden; animation: float 5.5s ease-in-out infinite; }
.tool-icon { position: absolute; inset: 21% 18% auto auto; width: 58%; color: var(--medical-dark); fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 18px 26px rgba(18,56,88,.18)); }
.building-icon { inset: 18% 19% auto auto; width: 62%; stroke-width: 6; }
.health-badge, .build-badge { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid rgba(18,56,88,.16); border-radius: 16px; color: var(--medical-dark); background: rgba(255,255,255,.82); box-shadow: 0 14px 30px rgba(15,23,42,.10); font-size: .9rem; font-weight: 800; }
.health-badge { top: 38px; left: 26px; }
.build-badge { right: 24px; bottom: 34px; }
.orbit { position: absolute; inset: 15%; border: 1px dashed rgba(18,56,88,.24); border-radius: 50%; animation: rotate 18s linear infinite; }
.orbit::after { content: ""; position: absolute; top: -5px; right: 42%; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px rgba(168,178,176,.45); }
.notify { display: grid; max-width: 620px; gap: 12px; }
.notify-title { margin: 0; color: var(--ink); font-size: 1rem; font-weight: 900; }
.notify-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 8px; border: 1px solid rgba(18,56,88,.15); border-radius: 20px; background: rgba(255,255,255,.70); }
.notify-form input { width: 100%; min-height: 48px; border: 0; outline: 0; padding: 0 14px; color: var(--ink); background: transparent; }
.notify-form input::placeholder { color: #8492a6; }
.form-message { min-height: 22px; margin: 0; color: var(--medical-dark); font-size: .9rem; font-weight: 700; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.social-link { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(18,56,88,.15); border-radius: 15px; color: var(--medical-dark); background: rgba(255,255,255,.72); font-weight: 900; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.social-link:hover { color: #fff; background: var(--medical); }
.footer { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 14px; border-radius: 16px; color: var(--muted); font-size: .92rem; animation: fadeInUp 850ms 180ms ease both; }

/* ========== Icons ========== */
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.social-icon { width: 20px; height: 20px; fill: currentColor; }

/* ========== Animations ========== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(16,185,129,0); } 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes gridDrift { to { background-position: 46px 46px; } }

/* ========== Responsive ========== */
@media (max-width: 920px) {
  .page { padding: 18px; }
  .shell { min-height: calc(100vh - 36px); }
  .hero { grid-template-columns: 1fr; }
  .visual { min-height: 360px; order: -1; }
  .visual-card { width: min(340px, 100%); }
}
@media (max-width: 640px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .hero { padding: 22px; border-radius: 20px; }
  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notify-form { grid-template-columns: 1fr; }
  .notify-form .button, .actions .button { width: 100%; }
  .visual { min-height: 310px; }
  .health-badge, .build-badge { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}