:root {
  color-scheme: dark;
  --bg: #03050c;
  --gradient-one: rgba(35, 108, 255, 0.45);
  --gradient-two: rgba(255, 117, 156, 0.6);
  --text: #f6f7fb;
  --muted: rgba(246, 247, 251, 0.65);
  --border: rgba(255, 255, 255, 0.08);
  font-family: "Inter", "SF Pro Display", -apple-system, system-ui, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 25%, rgba(31, 77, 195, 0.35), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255, 99, 163, 0.32), transparent 55%),
    var(--bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
}

.hero {
  position: relative;
  width: min(840px, 100%);
  min-height: 70vh;
  border-radius: 48px;
  border: 1px solid var(--border);
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(30px);
  padding: clamp(2rem, 6vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__frame {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
}

.hero__badge {
  align-self: center;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--muted);
}

[data-display-text] {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 600;
  background: linear-gradient(110deg, #fefefe, #80b9ff 50%, #ff95c6);
  -webkit-background-clip: text;
  color: transparent;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 1rem 0;
}

.cta-button {
  border-radius: 999px;
  padding: 1rem 1.6rem;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform 0.22s ease, box-shadow 0.3s ease, border-color 0.25s ease,
    background 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.cta-button svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cta-button.primary {
  border: none;
  color: #041029;
  background-image: linear-gradient(130deg, #2c7aff 0%, #65f4ff 45%, #64ffe4 100%);
  background-size: 140% 140%;
  box-shadow: 0 18px 35px rgba(60, 132, 255, 0.45);
}

.cta-button.primary:hover {
  background-position: 100% 0;
}

.cta-button.secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.cta-button.ghost {
  border-color: rgba(255, 255, 255, 0.15);
  background: transparent;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
}

.hero__glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: 0.75;
  z-index: 0;
}

.hero__glow--one {
  background: var(--gradient-one);
  top: -120px;
  left: -120px;
}

.hero__glow--two {
  background: var(--gradient-two);
  bottom: -140px;
  right: -80px;
}

.hero__grid {
  position: absolute;
  inset: 2px;
  border-radius: 46px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  z-index: 0;
}

.hero__frame > * {
  z-index: 1;
}

@media (max-width: 640px) {
  body {
    padding: 1.5rem;
  }

  .hero {
    min-height: auto;
    border-radius: 32px;
    padding: 2rem;
  }

  .hero__grid {
    border-radius: 30px;
  }

  .button-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  [data-display-text] {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero__badge {
    letter-spacing: 0.25em;
  }
}

@media (max-width: 420px) {
  body {
    padding: 1rem;
  }

  .hero {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .hero__grid {
    border-radius: 22px;
    background-size: 24px 24px;
  }

  .button-grid {
    grid-template-columns: 1fr;
  }

  .cta-button {
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  .hero__badge {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }

  [data-display-text] {
    font-size: 1.9rem;
  }
}
