:root {
  --bg: #0f172a;
  --bg-light: #111827;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --card-bg: rgba(15, 23, 42, 0.75);
  --border: rgba(148, 163, 184, 0.2);
  --shadow: 0 24px 65px rgba(15, 23, 42, 0.55);
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.22), transparent 55%), var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.hero {
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle at 18% 22%, rgba(59, 130, 246, 0.25), transparent 45%),
    radial-gradient(circle at 82% 18%, rgba(236, 72, 153, 0.2), transparent 35%);
  z-index: -2;
}

.hero::after {
  background: url("data:image/svg+xml,%3Csvg width='345' height='500' viewBox='0 0 345 600' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle opacity='0.06' cx='300' cy='40' r='300' fill='%23ffffff'/%3E%3C/svg%3E")
    no-repeat right top;
  mix-blend-mode: lighten;
  opacity: 0.7;
  z-index: -1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-button {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 32px rgba(99, 102, 241, 0.35);
}

.cta-button:hover {
  transform: translateY(-2px);
}

.cta-button--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero__content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  width: min(100%, 480px);
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .hero__content {
    justify-content: center;
  }

  .hero {
    padding-bottom: 4rem;
  }

  .hero__card {
    justify-self: center;
    width: min(100%, 420px);
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2rem 1.5rem 3.5rem;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 8vw, 3rem);
  }

  .card__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
