:root {
  --purple: #8443d4;
  --lime: #c8e86d;
  --dark: #110f14;
  --grey: #a8a8a8;
  --light-grey: #d9d9d9;
  --pure: #fff;

  --lighter-purple: #a86ff0;

  --gradient-primary: linear-gradient(75deg, var(--pure) 20%, var(--lime) 60%);

  --font-primary: "Inter", sans-serif;
  --font-secondary: "Outfit", sans-serif;
  --font-size: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  background-color: var(--dark);
  color: var(--pure);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* --- 01 - Hero --- */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    var(--lighter-purple) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  opacity: 0.2;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.circle-1 {
  width: 600px;
  height: 600px;
  top: -5%;
  left: -15%;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.05;
  animation: drift1 14s ease-in-out infinite;
}

.circle-2 {
  width: 500px;
  height: 500px;
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  filter: blur(60px);
  opacity: 0.35;
  animation: drift2 18s ease-in-out infinite;
  animation-delay: -7s;
}

@keyframes drift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  33% {
    transform: translate(50px, -40px) scale(1.08);
    opacity: 0.4;
  }
  66% {
    transform: translate(-25px, 30px) scale(0.95);
    opacity: 0.2;
  }
}
@keyframes drift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  40% {
    transform: translate(-40px, 25px) scale(0.92);
    opacity: 0.28;
  }
  70% {
    transform: translate(30px, -35px) scale(1.1);
    opacity: 0.45;
  }
}

/* --- 02 - Dot Grid --- */
.dot-grid {
  position: absolute;
  inset: -30px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 1;
}

@keyframes gridDrift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(28px, 28px);
  }
}
.scan-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.scan-lines span {
  position: absolute;
  display: block;
  height: 1px;
  width: 120%;
  left: -10%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  opacity: 0;
  animation: scanAppear var(--duration) ease-in-out var(--delay) infinite;
}

@keyframes scanAppear {
  0% {
    opacity: 0;
  }
  10%,
  15% {
    opacity: 1;
  }
  20%,
  80% {
    opacity: 0;
  }
  85%,
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
  }
}

/* --- 03 - Geometric Shapes --- */

.shape {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 15%;
  animation: floatShapeDown 6s ease-in-out infinite;
}

.shape-2 {
  width: 100px;
  height: 100px;
  top: 20%;
  right: 15%;
  animation: floatShapeUp 10s ease-in-out infinite;
}

.octagon {
  border: none;
}

.octagon-1 {
  animation: floatOctagonRight 8s ease-in-out infinite;
  width: 75px;
  height: 75px;
}

.octagon-2 {
  animation: floatOctagonLeft 10s ease-in-out infinite;
  width: 200px;
  height: 200px;
}

.octagon svg {
  width: 100%;
  height: 100%;
}

@keyframes floatShapeDown {
  0%,
  100% {
    transform: rotate(45deg) translateY(30px);
    opacity: 0.7;
  }
  50% {
    transform: rotate(45deg) translateY(0px);
    opacity: 1;
  }
}

@keyframes floatShapeUp {
  0%,
  100% {
    transform: rotate(280deg) translateY(0px);
    opacity: 0.7;
  }
  50% {
    transform: rotate(280deg) translateY(-30px);
    opacity: 1;
  }
}

@keyframes floatOctagonRight {
  0%,
  100% {
    transform: rotate(180deg) translateY(0px);
    opacity: 0.7;
  }
  50% {
    transform: rotate(360deg) translateY(0);
    opacity: 0.7;
  }
}

@keyframes floatOctagonLeft {
  0%,
  100% {
    transform: rotate(0deg) translateY(0px);
    opacity: 0.7;
  }
  50% {
    transform: rotate(-180deg) translateY(0);
    opacity: 0.7;
  }
}

/* --- 04 - Badges --- */
.badge {
  align-self: flex-start;
  flex: 0 0 auto;
  font-family: var(--font-secondary);
  font-weight: 400;
  padding: 0.5em 1em;
  border-radius: 9999px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.badge--lime {
  background-color: var(--lime);
  color: var(--dark);
}

.badge--purple {
  background-color: var(--purple);
  color: var(--pure);
}

/* --- 05 - Hero Content --- */
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  left: 30%;
  z-index: 3;
  text-align: left;
}

.logo {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 4.5rem;
  margin-top: 0.25em;
  line-height: 0.9;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content .status {
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.05em;
}

.hero-content p {
  margin-top: 2em;
  color: var(--grey);
}

@media screen and (max-width: 768px) {
  .hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    left: 5%;
    max-width: 90%;
  }
  .badge {
    align-self: center;
  }
  .circle-1,
  .circle-2 {
    display: none;
  }
  .logo {
    font-size: 3.5rem;
  }
}
