:root {
  --bg: #05030a;
  --bg-deep: #020106;

  --card: rgba(17, 12, 28, 0.78);
  --card-strong: rgba(28, 20, 48, 0.72);
  --card-border: rgba(205, 180, 255, 0.15);

  --text: #ffffff;
  --muted: rgba(239, 230, 255, 0.72);
  --soft: rgba(239, 230, 255, 0.46);

  --accent: #9b5cff;
  --accent-two: #c084fc;
  --accent-three: #7c3aed;
  --accent-hot: #e879f9;

  --shadow: rgba(0, 0, 0, 0.58);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 32px;
  isolation: isolate;
}

/* Background */

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -7;
  background:
    radial-gradient(circle at 50% -10%, rgba(155, 92, 255, 0.28), transparent 34%),
    radial-gradient(circle at 88% 76%, rgba(232, 121, 249, 0.13), transparent 32%),
    radial-gradient(circle at 10% 84%, rgba(124, 58, 237, 0.15), transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at center, transparent 0%, rgba(2, 1, 6, 0.46) 68%, rgba(2, 1, 6, 0.9) 100%),
    linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.background-grid {
  position: absolute;
  inset: 0;
  z-index: -6;
  background:
    linear-gradient(rgba(205, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
}

.noise {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px);
  background-size: 34px 34px, 47px 47px;
}

.blob {
  position: absolute;
  z-index: -5;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.75;
  animation: blobFloat 9s ease-in-out infinite;
}

.blob-one {
  width: 280px;
  height: 280px;
  top: 10%;
  left: 9%;
  background: rgba(155, 92, 255, 0.18);
}

.blob-two {
  width: 340px;
  height: 340px;
  right: 8%;
  bottom: 9%;
  background: rgba(192, 132, 252, 0.12);
  animation-delay: -3s;
}

.blob-three {
  width: 220px;
  height: 220px;
  left: 52%;
  bottom: 18%;
  background: rgba(232, 121, 249, 0.1);
  animation-delay: -5s;
}

/* Card */

.card {
  position: relative;
  width: min(100%, 720px);
  padding: 48px;
  border: 1px solid var(--card-border);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 50% 0%, rgba(155, 92, 255, 0.16), transparent 48%),
    var(--card);
  box-shadow:
    0 34px 110px var(--shadow),
    0 0 80px rgba(155, 92, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(24px);
  text-align: center;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(192, 132, 252, 0.45),
      transparent 26%,
      transparent 72%,
      rgba(124, 58, 237, 0.38)
    );
}

.card::after {
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 240px;
  height: 240px;
  background: rgba(192, 132, 252, 0.14);
  filter: blur(30px);
  border-radius: 999px;
  pointer-events: none;
}

/* Status */

.status-pill {
  width: max-content;
  margin: 0 auto 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(205, 180, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-two);
  box-shadow:
    0 0 14px rgba(192, 132, 252, 0.95),
    0 0 34px rgba(155, 92, 255, 0.55);
  animation: pulse 1.8s ease-in-out infinite;
}

/* Icon */

.hero-icon {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
  display: grid;
  place-items: center;
}

.halo {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(205, 180, 255, 0.13);
  box-shadow: inset 0 0 24px rgba(155, 92, 255, 0.05);
}

.halo-one {
  inset: 0;
  animation: haloDrift 6.5s ease-in-out infinite;
}

.halo-two {
  inset: 16px;
  border-color: rgba(192, 132, 252, 0.18);
  animation: haloDrift 5s ease-in-out infinite reverse;
}

.halo-three {
  inset: 31px;
  border-color: rgba(232, 121, 249, 0.14);
  animation: haloPulse 2.8s ease-in-out infinite;
}

.spark {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-two), var(--accent-hot));
  box-shadow:
    0 0 18px rgba(192, 132, 252, 0.8),
    0 0 36px rgba(155, 92, 255, 0.35);
}

.spark-one {
  top: 22px;
  right: 30px;
  animation: sparkMoveOne 4.8s ease-in-out infinite;
}

.spark-two {
  left: 20px;
  bottom: 34px;
  width: 7px;
  height: 7px;
  animation: sparkMoveTwo 5.6s ease-in-out infinite;
}

.spark-three {
  right: 18px;
  bottom: 28px;
  width: 6px;
  height: 6px;
  animation: sparkMoveThree 6.2s ease-in-out infinite;
}

.icon-core {
  position: relative;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, rgba(155, 92, 255, 0.98), rgba(124, 58, 237, 0.92));
  box-shadow:
    0 22px 50px rgba(124, 58, 237, 0.38),
    0 0 42px rgba(192, 132, 252, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  animation: coreFloat 4.2s ease-in-out infinite;
}

.icon-core::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 46%, rgba(232, 121, 249, 0.38));
  z-index: -1;
}

.icon-core svg {
  width: 58px;
  height: 58px;
  overflow: visible;
}

.icon-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 3;
  stroke-linejoin: round;
}

.icon-line-soft {
  stroke: rgba(255, 255, 255, 0.36);
  stroke-width: 2;
}

.icon-bolt {
  fill: #ffffff;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.28));
}

/* Text */

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent-two);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-wrap: balance;
}

.description {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.7;
  text-wrap: balance;
}

/* Progress */

.progress-area {
  margin: 38px auto 0;
  max-width: 520px;
  text-align: left;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.progress-bar {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(239, 230, 255, 0.08);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(205, 180, 255, 0.06);
}

.progress-fill {
  position: absolute;
  inset: 0;
  width: 68%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      var(--accent-three),
      var(--accent-two),
      var(--accent-hot),
      var(--accent-three)
    );
  background-size: 220% 100%;
  box-shadow: 0 0 28px rgba(155, 92, 255, 0.48);
  animation: progressFlow 2.8s ease-in-out infinite;
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.42),
      transparent
    );
  transform: translateX(-100%);
  animation: scan 2.4s ease-in-out infinite;
}

/* Info boxes */

.info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.info-row div {
  padding: 18px;
  border: 1px solid rgba(205, 180, 255, 0.1);
  border-radius: 21px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(255, 255, 255, 0.035);
  text-align: left;
}

.info-row strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.info-row span {
  display: block;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
}

/* Footer */

footer {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: rgba(239, 230, 255, 0.38);
  font-size: 13px;
  font-weight: 700;
}

.footer-divider {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(239, 230, 255, 0.28);
}

/* Animations */

@keyframes pulse {
  0%,
  100% {
    opacity: 0.54;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}

@keyframes blobFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(22px, -16px, 0) scale(1.07);
  }
}

@keyframes haloDrift {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.78;
  }

  50% {
    transform: rotate(10deg) scale(1.06);
    opacity: 1;
  }
}

@keyframes haloPulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.34;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.78;
  }
}

@keyframes coreFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}

@keyframes sparkMoveOne {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.82;
  }

  50% {
    transform: translate(-18px, 10px) scale(1.2);
    opacity: 1;
  }
}

@keyframes sparkMoveTwo {
  0%,
  100% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0.58;
  }

  50% {
    transform: translate(18px, -16px) scale(1.25);
    opacity: 1;
  }
}

@keyframes sparkMoveThree {
  0%,
  100% {
    transform: translate(0, 0) scale(0.85);
    opacity: 0.5;
  }

  50% {
    transform: translate(-12px, -22px) scale(1.2);
    opacity: 0.95;
  }
}

@keyframes progressFlow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 220% 50%;
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }

  60%,
  100% {
    transform: translateX(160%);
  }
}

/* Responsive */

@media (max-width: 640px) {
  .page {
    padding: 22px;
  }

  .card {
    padding: 34px 22px;
    border-radius: 28px;
  }

  .status-pill {
    margin-bottom: 28px;
    font-size: 11px;
  }

  .hero-icon {
    width: 124px;
    height: 124px;
    margin-bottom: 26px;
  }

  .icon-core {
    width: 74px;
    height: 74px;
    border-radius: 24px;
  }

  .icon-core svg {
    width: 50px;
    height: 50px;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  footer {
    position: static;
    margin-top: 28px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}