@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --purple: #8768a3;
  --yellow: #efde40;
  --magenta: #c15e91;
  --text: #ffffff;
  --glass: rgba(255, 255, 255, 0.12);
  --shadow: rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  background: linear-gradient(130deg, var(--purple), var(--magenta));
  overflow-x: hidden;
}

h1,
h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0 0 0.5rem 0;
}

p {
  margin: 0;
  line-height: 1.6;
}

.hero {
  padding: 2.5rem 8vw 2rem;
  max-width: 720px;
  position: relative;
  z-index: 2;
  animation: fadeIn 700ms ease-out both;
}

.eyebrow {
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.lead {
  color: rgba(255, 255, 255, 0.88);
}

.grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 8vw 4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  position: relative;
  z-index: 2;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px var(--shadow);
  text-decoration: none;
  color: inherit;
  transform: translateY(12px);
  opacity: 0;
  animation: riseIn 700ms ease-out forwards;
}

.card:nth-child(2) {
  animation-delay: 80ms;
}

.card:nth-child(3) {
  animation-delay: 140ms;
}

.card:nth-child(4) {
  animation-delay: 200ms;
}

.card:nth-child(5) {
  animation-delay: 260ms;
}

.card:hover {
  border-color: var(--yellow);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px) scale(1.01);
}

.card__badge {
  align-self: flex-start;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--yellow);
  color: #2b2b2b;
  font-weight: 600;
}

.card__cta {
  margin-top: auto;
  font-weight: 600;
  color: var(--yellow);
}

.footer {
  padding: 0 8vw 3rem;
  font-size: 1.05rem;
  color: #ffffff;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.footer a {
  color: var(--yellow);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.brand {
  padding: 2.5rem 8vw 0;
  position: relative;
  z-index: 2;
}

.brand img {
  display: block;
  width: min(240px, 70vw);
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.55;
  z-index: 1;
}

.bg-shape--one {
  width: 320px;
  height: 320px;
  background: var(--yellow);
  top: -80px;
  right: -120px;
}

.bg-shape--two {
  width: 420px;
  height: 420px;
  background: var(--magenta);
  bottom: -180px;
  left: -140px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 3.5rem;
  }

  .grid {
    padding-bottom: 3rem;
  }
}
