:root {
  --bg-top: #1f1352;
  --bg-bottom: #091226;
  --panel: rgba(12, 18, 42, 0.76);
  --panel-stroke: rgba(255, 213, 86, 0.22);
  --text: #f7fbff;
  --muted: rgba(247, 251, 255, 0.78);
  --yellow: #ffd856;
  --blue: #77d0ff;
  --shadow: rgba(3, 7, 18, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 216, 86, 0.18), transparent 20%),
    radial-gradient(circle at 85% 18%, rgba(119, 208, 255, 0.16), transparent 24%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

main {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.hero,
.showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.hero {
  min-height: 72vh;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  max-width: 10ch;
}

.lead,
.showcase p,
.footer-cta p,
.panel p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.hero-art img,
.preview-card img {
  display: block;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 28px 70px var(--shadow);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.primary {
  color: #102347;
  background: linear-gradient(180deg, #ffe37d, #ffc941);
  box-shadow: 0 14px 30px rgba(255, 201, 65, 0.28);
}

.secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0 56px;
}

.panel,
.preview-card {
  background: var(--panel);
  border: 1px solid var(--panel-stroke);
  border-radius: 26px;
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 44px var(--shadow);
}

.panel h2,
.showcase h2,
.footer-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.panel h2 {
  color: var(--blue);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.showcase {
  margin: 48px 0 60px;
}

.showcase p {
  margin: 16px 0 0;
  max-width: 54ch;
}

ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-cta {
  text-align: center;
  padding: 36px 24px 0;
}

.footer-cta p {
  max-width: 620px;
  margin: 14px auto 22px;
}

@media (max-width: 900px) {
  main {
    width: calc(100vw - 24px);
    padding-top: 18px;
  }

  .hero,
  .showcase,
  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 18px;
  }

  h1 {
    max-width: none;
  }
}
