:root {
  --navy: #273b8b;
  --navy-deep: #1b2c6b;
  --red: #ed2224;
  --ink: #10193f;
  --paper: #f4f6fc;
  --card: #ffffff;
  --muted: #5b6486;
  --line: rgba(39, 59, 139, 0.12);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(237, 34, 36, 0.08), transparent 60%),
    radial-gradient(1000px 700px at -10% 110%, rgba(39, 59, 139, 0.12), transparent 55%),
    var(--paper);
  min-height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  overflow-x: hidden;
  padding: 24px;
}

/* Subtle blueprint grid, fitting an "under construction" theme */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px 48px 40px;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 30px 60px -25px rgba(27, 44, 107, 0.35),
    0 12px 24px -18px rgba(16, 25, 63, 0.25);
  position: relative;
  overflow: hidden;
}

/* Accent bar echoing the brand colors */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 62%, var(--red) 62%, var(--red) 100%);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(39, 59, 139, 0.07);
  border: 1px solid rgba(39, 59, 139, 0.15);
  padding: 7px 14px;
  border-radius: 999px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(237, 34, 36, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(237, 34, 36, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(237, 34, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(237, 34, 36, 0); }
}

.logo-wrap {
  margin: 34px 0 28px;
}

.logo {
  width: 100%;
  max-width: 340px;
  height: auto;
}

.headline {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}

.headline .accent {
  color: var(--red);
}

.subhead {
  margin: 18px auto 0;
  max-width: 440px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.progress {
  margin: 34px auto 0;
  max-width: 360px;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(39, 59, 139, 0.1);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), var(--red));
  animation: fill 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fill {
  to { width: 72%; }
}

.progress-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.footer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 480px) {
  .card {
    padding: 44px 24px 32px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge-dot,
  .progress-fill {
    animation: none;
  }
  .progress-fill {
    width: 72%;
  }
}
