:root {
  --yellow: #ffd91f;
  --red: #ff2b1f;
  --dark-red: #86110e;
  --blue: #0d4f99;
  --bg: #02040a;
  --text: #f8fafc;
  --muted: #a6b3c6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;
  color: var(--text);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(28, 93, 170, 0.22), transparent 28rem),
    radial-gradient(circle at 80% 80%, rgba(196, 30, 24, 0.14), transparent 30rem),
    radial-gradient(circle at 15% 75%, rgba(255, 217, 31, 0.08), transparent 24rem),
    linear-gradient(135deg, #000 0%, #030712 45%, #000 100%);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.scanner {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 48%,
    rgba(58, 163, 255, 0.10) 50%,
    transparent 52%,
    transparent 100%
  );
  background-size: 100% 220px;
  animation: scan 6s linear infinite;
  opacity: 0.55;
}

@keyframes scan {
  from { background-position-y: -220px; }
  to { background-position-y: 100vh; }
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
  position: relative;
  z-index: 1;
}

.card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.84), rgba(0, 0, 0, 0.72));
  box-shadow:
    0 32px 100px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  padding: clamp(28px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 180deg,
    transparent,
    rgba(255, 217, 31, 0.2),
    rgba(255, 43, 31, 0.2),
    rgba(40, 130, 220, 0.22),
    transparent
  );
  filter: blur(26px);
  opacity: 0.4;
  z-index: -1;
  animation: rotateGlow 12s linear infinite;
}

@keyframes rotateGlow {
  to { transform: rotate(360deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 217, 31, 0.26);
  border-radius: 999px;
  background: rgba(255, 217, 31, 0.08);
  color: #ffe875;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 43, 31, 0.65);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(255, 43, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 43, 31, 0); }
}

.logo-shell {
  width: min(740px, 92vw);
  margin: 0 auto 22px;
  position: relative;
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.72));
}

.logo-shell::after {
  content: "";
  position: absolute;
  inset: 4% 2%;
  border-radius: 28px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 34%,
    rgba(255, 255, 255, 0.86) 43%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 58%,
    transparent 100%
  );
  mix-blend-mode: screen;
  transform: translateX(-130%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  animation: shimmer 4.2s ease-in-out infinite;
}

.logo {
  width: 100%;
  display: block;
  user-select: none;
  transform: translateZ(0);
}

@keyframes shimmer {
  0%, 20% {
    transform: translateX(-130%) skewX(-18deg);
    opacity: 0;
  }
  32% {
    opacity: 0.8;
  }
  52% {
    transform: translateX(130%) skewX(-18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(130%) skewX(-18deg);
    opacity: 0;
  }
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6.25rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.headline-gradient {
  background: linear-gradient(90deg, #fff 0%, #cfd4db 45%, #fff 62%, #ff3b2f 66%, #8f110d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.tagline {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.tagline strong {
  color: white;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.36);
}

.button.primary {
  background: linear-gradient(135deg, var(--yellow), #ffb800 42%, var(--red));
  color: #120c04;
  border: 0;
  box-shadow: 0 18px 34px rgba(255, 43, 31, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
}

.intel-bar {
  width: min(760px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.intel {
  padding: 16px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intel b {
  display: block;
  color: white;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.intel span {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-note {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.9rem;
}

.typing {
  color: #ffe875;
  font-weight: 800;
}

@media (max-width: 720px) {
  .card {
    border-radius: 24px;
  }

  .intel-bar {
    grid-template-columns: 1fr;
  }

  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

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