:root {
  --bg: #0b0f19;
  --card: #12182b;
  --primary: #5b8cff;
  --text: #e6e9f2;
  --muted: #9aa3b2;
  --accent: #00e0b8;
  --alert: #ff5e5e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, #1a245c22, transparent),
    radial-gradient(800px 400px at 90% 110%, #00e0b822, transparent), var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.intro-logo {
  position: relative;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
  animation: logoIntro 2.2s ease-in-out forwards;
}

@keyframes logoIntro {
  0% {
    transform: scale(5);
  }

  60% {
    transform: scale(4);
  }

  75% {
    transform: scale(3);
  }

  100% {
    transform: scale(1) translateY(0px);
  }
}

.logo {
  svg {
    width: 84px;
    height: 84px;
  }
}

.content {
  opacity: 0;
  transform: translateY(12px);
  animation: revealContent 0.8s ease-out forwards;
  animation-delay: 1.9s; /* after logo animation */
  text-align: center;
  margin-top: 24px;
}

@keyframes revealContent {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto 28px;
  max-width: 520px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff0d;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--alert);
  box-shadow: 0 0 12px var(--alert);
  animation: heartbeat 1.4s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
    box-shadow: 0 0 6px var(--alert);
    opacity: 0.7;
  }
  20% {
    transform: scale(1.1);
    box-shadow: 0 0 14px var(--alert);
    opacity: 1;
  }
  40% {
    transform: scale(1);
    box-shadow: 0 0 8px var(--alert);
    opacity: 0.9;
  }
  60% {
    transform: scale(1.05);
    box-shadow: 0 0 16px var(--alert);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 6px var(--alert);
    opacity: 0.7;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #0b0f19;
  box-shadow: 0 10px 30px rgba(91, 140, 255, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: #ffffff1f;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

footer {
  margin-top: 36px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 480px) {
  .container {
    padding: 36px 24px;
  }
}
/* ///////////////////////////////////////// */
path {
  opacity: 0;
  fill-opacity: 0;
  stroke: black;
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transform-origin: center;
  transform-box: fill-box;
  animation-fill-mode: forwards;
}

.path1 {
  animation: bounceIn 1.5s ease-out forwards;
}
.path2 {
  animation: fadeScale 1.25s ease-in-out forwards 0.75s;
}
.path3 {
  animation: attachedThenRelease 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.path4 {
  animation: slideLeft 0.75s forwards 0.5s;
}
.path5 {
  animation: rotateIn 0.9s forwards 1s;
}
.path6 {
  animation: fillColor 1.25s forwards 1.25s;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  30% {
    transform: scale(1.05);
    opacity: 1;
  }
  50% {
    transform: scale(0.9);
  }
  60% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    fill-opacity: 1;
  }
}

@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0);
    fill-opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
    fill-opacity: 1;
  }
}

@keyframes attachedThenRelease {
  0% {
    transform: translateX(-125px) scale(0.1);
    opacity: 0;
  }

  30% {
    transform: translateX(-125px) scale(1.05);
    opacity: 0;
  }

  50% {
    transform: translateX(-125px) scale(0.9);
  }

  60% {
    transform: translateX(-125px) scale(1);
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
    fill-opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
    fill-opacity: 1;
  }
}

@keyframes rotateIn {
  0% {
    transform: rotate(-180deg);
    opacity: 0;
  }
  100% {
    transform: rotate(0deg);
    opacity: 1;
    fill-opacity: 1;
  }
}

@keyframes fillColor {
  0% {
    opacity: 0;
    fill-opacity: 0;
  }
  100% {
    opacity: 1;
    fill-opacity: 1;
  }
}
