.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--nav-height));
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(120deg, rgba(108, 99, 255, 0.16), rgba(0, 200, 150, 0.08), rgba(139, 133, 255, 0.13)),
    var(--bg-primary);
  background-size: 200% 200%;
  animation: blobMove 18s ease-in-out infinite alternate;
}

.hero-blob {
  position: absolute;
  z-index: -2;
  width: clamp(220px, 34vw, 520px);
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.58;
  animation: blobMove 20s ease-in-out infinite alternate;
}

.hero-blob-one {
  left: -8%;
  top: 12%;
  background: rgba(108, 99, 255, 0.42);
}

.hero-blob-two {
  right: -10%;
  top: 18%;
  background: rgba(0, 200, 150, 0.28);
  animation-delay: -7s;
}

.hero-blob-three {
  left: 42%;
  bottom: -18%;
  background: rgba(255, 215, 0, 0.12);
  animation-delay: -12s;
}

.hero-content {
  max-width: 820px;
  padding: 88px 0 118px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(3.1rem, 8.2vw, 7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.floating-coins {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(58px, 8vw, 88px);
  aspect-ratio: 1;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 24%),
    rgba(19, 19, 31, 0.82);
  color: var(--text-primary);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 800;
  box-shadow: 0 18px 70px rgba(108, 99, 255, 0.18);
  animation: float 6s ease-in-out infinite;
}

.coin-btc {
  right: 16%;
  top: 23%;
  color: var(--yellow);
}

.coin-eth {
  right: 28%;
  bottom: 22%;
  color: var(--accent-bright);
  animation-delay: -2s;
}

.coin-sol {
  right: 7%;
  bottom: 32%;
  color: var(--green);
  animation-delay: -4s;
}

.steps-grid,
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step-card {
  min-height: 252px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)), var(--bg-card);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: 0 24px 70px var(--accent-glow);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  margin-bottom: 24px;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  background: var(--accent-glow);
  font-size: 1.55rem;
  box-shadow: 0 0 40px var(--accent-glow);
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.step-card p {
  margin: 0;
  color: var(--text-secondary);
}

.disclaimer-banner {
  padding: 22px 0;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.16), rgba(255, 215, 0, 0.08));
  border-block: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--yellow);
}

.disclaimer-banner strong {
  display: block;
  font-size: 0.98rem;
}

.preview-section {
  background: rgba(15, 15, 26, 0.38);
}

.preview-card {
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.preview-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.preview-dot {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  background: var(--accent-glow);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 900;
}

.preview-symbol-btc {
  border-color: rgba(255, 215, 0, 0.28);
  color: var(--yellow);
}

.preview-symbol-eth {
  color: var(--accent-bright);
}

.preview-symbol-sol {
  border-color: rgba(0, 200, 150, 0.28);
  color: var(--green);
}

.preview-line {
  height: 12px;
  border-radius: 999px;
}

.preview-line.short {
  width: 86px;
}

.preview-line.medium {
  width: 48%;
}

.preview-line.long {
  width: 100%;
}

.preview-stack {
  display: grid;
  gap: 14px;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

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

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

@keyframes blobMove {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    background-position: 0% 50%;
  }

  100% {
    transform: translate3d(22px, -18px, 0) scale(1.08);
    background-position: 100% 50%;
  }
}

@media (max-width: 900px) {
  .steps-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .coin-btc {
    right: 8%;
    top: 18%;
  }

  .coin-eth {
    right: 14%;
    bottom: 14%;
  }

  .coin-sol {
    display: none;
  }
}

@media (max-width: 620px) {
  .hero-content {
    padding: 68px 0 96px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .coin {
    opacity: 0.68;
  }
}
