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

:root {
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --magenta: #e879f9;
  --violet: #7c3aed;
  --navy: #060818;
  --glass: rgba(8, 12, 32, 0.45);
  --glass-border: rgba(34, 211, 238, 0.18);
  --orb-c1: #22d3ee;
  --orb-c2: #3b82f6;
  --orb-c3: #7c3aed;
}

@property --orb-c1 {
  syntax: "<color>";
  inherits: false;
  initial-value: #22d3ee;
}

@property --orb-c2 {
  syntax: "<color>";
  inherits: false;
  initial-value: #3b82f6;
}

@property --orb-c3 {
  syntax: "<color>";
  inherits: false;
  initial-value: #7c3aed;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--navy);
  color: #fff;
}

.landing {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.bg {
  position: absolute;
  inset: -4%;
  z-index: 0;
  animation: ken-burns 28s ease-in-out infinite alternate;
}

.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      ellipse 80% 60% at 70% 40%,
      rgba(124, 58, 237, 0.22),
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 40% at 15% 80%,
      rgba(34, 211, 238, 0.12),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      rgba(6, 8, 24, 0.15) 0%,
      rgba(6, 8, 24, 0.55) 55%,
      rgba(6, 8, 24, 0.92) 100%
    ),
    linear-gradient(
      90deg,
      rgba(6, 8, 24, 0.75) 0%,
      rgba(6, 8, 24, 0.1) 38%,
      rgba(6, 8, 24, 0.35) 100%
    );
  pointer-events: none;
}

.grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
  background-image: linear-gradient(
      rgba(34, 211, 238, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    #000 20%,
    transparent 75%
  );
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
  animation: pulse-glow 6s ease-in-out infinite;
}

.glow--left {
  width: 420px;
  height: 420px;
  left: -8%;
  bottom: 10%;
  background: rgba(34, 211, 238, 0.28);
  animation-delay: 0s;
}

.glow--right {
  width: 520px;
  height: 520px;
  right: -6%;
  top: 8%;
  background: rgba(232, 121, 249, 0.22);
  animation-delay: -3s;
}

.content {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.hero {
  position: relative;
  width: min(44vw, 560px);
  min-width: 280px;
  margin-left: clamp(0rem, 4vw, 3rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(34, 211, 238, 0.08);
  animation: float-panel 7s ease-in-out infinite;
  transition: border-color 0.8s ease, box-shadow 0.8s ease;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.55),
    rgba(232, 121, 249, 0.15) 40%,
    rgba(59, 130, 246, 0.35) 70%,
    transparent
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  transition: filter 0.8s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(
    120deg,
    rgba(34, 211, 238, 0.14),
    rgba(124, 58, 237, 0.18),
    rgba(232, 121, 249, 0.16),
    rgba(59, 130, 246, 0.14),
    rgba(34, 211, 238, 0.14)
  );
  background-size: 300% 300%;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero:hover {
  border-color: rgba(232, 121, 249, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 80px rgba(0, 0, 0, 0.45), 0 0 70px rgba(232, 121, 249, 0.22),
    0 0 40px rgba(124, 58, 237, 0.18);
  animation-play-state: paused;
}

.hero:hover::before {
  animation: hero-border-shift 5s ease infinite;
}

.hero:hover::after {
  opacity: 1;
  animation: hero-glow-shift 5s ease infinite;
}

.hero:hover .hero__accent {
  animation: hero-accent-hue 5s ease infinite;
}

.hero:hover .hero__badge {
  color: var(--magenta);
  background: rgba(232, 121, 249, 0.12);
  border-color: rgba(232, 121, 249, 0.35);
  box-shadow: 0 0 24px rgba(232, 121, 249, 0.2);
}

.hero > :not(.orb):not(.ring) {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
  transition: color 0.8s ease, background 0.8s ease, border-color 0.8s ease,
    box-shadow 0.8s ease;
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__domain {
  font-size: 0.55em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0;
}

.hero__lead {
  max-width: 38ch;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.75rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__tags span {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__tags span:nth-child(2) {
  border-color: rgba(232, 121, 249, 0.2);
  color: rgba(232, 121, 249, 0.85);
}

.hero .orb {
  right: -10%;
  top: -8%;
  z-index: 3;
}

.hero .ring {
  left: auto;
  right: calc(-10% - 16px);
  top: calc(-8% - 16px);
  bottom: auto;
  z-index: 2;
}

.orb {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  isolation: isolate;
  cursor: pointer;
  pointer-events: auto;
  --orb-c1: #22d3ee;
  --orb-c2: #3b82f6;
  --orb-c3: #7c3aed;
  background-color: var(--orb-c2);
  background-image: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.95),
    var(--orb-c1) 35%,
    var(--orb-c2) 70%,
    var(--orb-c3) 100%
  );
  box-shadow: 0 0 40px color-mix(in srgb, var(--orb-c1) 55%, transparent),
    0 0 80px color-mix(in srgb, var(--orb-c3) 35%, transparent);
  transition: --orb-c1 0.9s ease, --orb-c2 0.9s ease, --orb-c3 0.9s ease,
    box-shadow 0.9s ease;
  animation: float-orb 5s ease-in-out infinite;
}

.orb::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--orb-c1) 25%, transparent);
  transition: border-color 0.9s ease;
  animation: ripple 3s ease-out infinite;
}

.ring {
  position: absolute;
  left: -14%;
  bottom: 12%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(232, 121, 249, 0.3);
  animation: spin-slow 18s linear infinite;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px dashed rgba(34, 211, 238, 0.25);
}

.particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  opacity: 0;
  animation: drift linear infinite;
}

.accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--cyan),
    var(--magenta),
    var(--blue),
    transparent
  );
  opacity: 0.85;
}

.scanline {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

@keyframes ken-burns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.07) translate(-1.2%, -0.8%);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes float-panel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes hero-glow-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes hero-border-shift {
  0% {
    filter: hue-rotate(0deg) saturate(1);
  }

  50% {
    filter: hue-rotate(60deg) saturate(1.3);
  }

  100% {
    filter: hue-rotate(0deg) saturate(1);
  }
}

@keyframes hero-accent-hue {
  0% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(55deg);
  }

  100% {
    filter: hue-rotate(0deg);
  }
}

@keyframes float-orb {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-14px) scale(1.04);
  }
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.85);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.4;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0;
    padding-top: 2.25rem;
  }

  .content {
    justify-content: flex-start;
    align-items: center;
    padding: clamp(1.5rem, 10vh, 4rem) max(1.25rem, env(safe-area-inset-right))
      max(1.25rem, env(safe-area-inset-bottom))
      max(1.25rem, env(safe-area-inset-left));
  }

  .hero .orb {
    right: 1rem;
    top: -1.25rem;
    width: 72px;
    height: 72px;
  }

  .hero .ring {
    left: auto;
    right: calc(1rem - 12px);
    top: calc(-1.25rem - 12px);
    bottom: auto;
    width: 96px;
    height: 96px;
  }

  .bg img {
    object-position: 62% center;
  }

  .glow--left {
    width: 260px;
    height: 260px;
  }

  .glow--right {
    width: 300px;
    height: 300px;
  }
}

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

  .hero:hover::before,
  .hero:hover::after,
  .hero:hover .hero__accent {
    animation: none !important;
  }
}
