*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  background: #1a0a2e;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 85% 40%, rgba(167, 139, 250, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(91, 33, 182, 0.4) 0%, transparent 50%),
    linear-gradient(145deg, #1a0a2e 0%, #5b21b6 45%, #6d28d9 70%, #8b5cf6 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 5.5rem 2rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  display: block;
  width: min(100%, 17.5rem);
  height: auto;
  margin-bottom: 1.75rem;
  mix-blend-mode: screen;
  animation: hero-fade-up 0.6s ease both;
}

.hero__title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin-bottom: 1.4rem;
  animation: hero-fade-up 0.6s ease 0.1s both;
}

.hero__desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
  max-width: 42ch;
  margin-bottom: 1.85rem;
  animation: hero-fade-up 0.6s ease 0.16s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  animation: hero-fade-up 0.6s ease 0.22s both;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.65rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}

.hero__cta:hover {
  transform: translateY(-1px);
}

.hero__cta--primary {
  background: #fff;
  color: #6d28d9;
}

.hero__cta--primary:hover {
  background: #f5f3ff;
}

.hero__cta--secondary {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  background: transparent;
}

.hero__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
}

.hero__points {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  justify-items: center;
  animation: hero-fade-up 0.6s ease 0.28s both;
}

.hero__points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 0.98rem;
  color: rgba(226, 232, 240, 0.88);
  text-align: center;
}

.hero__points svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: #c4b5fd;
}

.hero__foot {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.55);
  animation: hero-fade-up 0.6s ease 0.34s both;
}

/* ---- Floating icons (scattered) ---- */

.orbit {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: #ede9fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  transform: rotate(var(--r));
  animation:
    orb-in 0.75s ease var(--d) both,
    float var(--a) ease-in-out calc(var(--d) + 0.75s) infinite;
}

.orb svg {
  width: 42%;
  height: 42%;
}

.orb--faint {
  opacity: 0.45;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orb-in {
  from {
    opacity: 0;
    transform: rotate(var(--r)) scale(0.55) translateY(18px);
  }
  to {
    opacity: 1;
    transform: rotate(var(--r)) scale(1) translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: rotate(var(--r)) translateY(0);
  }
  50% {
    transform: rotate(calc(var(--r) + 6deg)) translateY(var(--dy));
  }
}

@media (min-width: 980px) {
  .orbit {
    display: block;
  }
}

@media (max-width: 560px) {
  .hero__inner {
    padding: 4.5rem 1.35rem 3rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta {
    width: 100%;
    text-align: center;
  }

  .hero__title {
    max-width: none;
  }

  .hero__desc {
    max-width: none;
  }
}
