:root {
  --brand-primary: #3f3e79;
  --white: #ffffff;
  --brand-secondary: #514f9b;
  --brand-deep: #2d2d57;
  --gray-soft: #e6e6e6;
  --brand-accent: #6b6ab3;

  --text-main: #ffffff;
  --text-muted: #e6e6e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 5% 10%, rgba(107, 106, 179, 0.45), transparent 35%),
    radial-gradient(circle at 80% 20%, rgba(81, 79, 155, 0.35), transparent 30%),
    linear-gradient(145deg, var(--brand-deep), var(--brand-primary));
  overflow-x: hidden;
}

.background-shape {
  position: fixed;
  border: 1px solid rgba(230, 230, 230, 0.25);
  pointer-events: none;
  z-index: 0;
}

.shape-one {
  width: min(48vw, 520px);
  aspect-ratio: 1;
  border-radius: 42% 58% 65% 35% / 35% 40% 60% 65%;
  top: -120px;
  right: -160px;
  background: rgba(81, 79, 155, 0.28);
  animation: floatIn 13s ease-in-out infinite;
}

.shape-two {
  width: min(34vw, 360px);
  aspect-ratio: 1;
  border-radius: 55% 45% 40% 60% / 58% 42% 58% 42%;
  bottom: -120px;
  left: -90px;
  background: rgba(63, 62, 121, 0.38);
  animation: floatIn 11s ease-in-out infinite reverse;
}

.hero,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1080px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  padding: 96px 0 52px;
  animation: revealUp 0.7s ease-out both;
}

.hero-kicker {
  margin: 0 0 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gray-soft);
}

h1,
h2 {
  font-family: "Sora", sans-serif;
}

h1 {
  margin: 0;
  max-width: 16ch;
  line-height: 1.06;
  font-size: clamp(2.2rem, 5.8vw, 4.4rem);
}

.hero-subtitle {
  margin-top: 18px;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
}

.hero-cta {
  display: inline-block;
  margin-top: 26px;
  text-decoration: none;
  color: var(--brand-deep);
  background: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0 36px;
}

.feature-card {
  background: linear-gradient(
    160deg,
    rgba(45, 45, 87, 0.84),
    rgba(81, 79, 155, 0.55)
  );
  border: 1px solid rgba(230, 230, 230, 0.2);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(4px);
  animation: revealUp 0.8s ease-out both;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: var(--gray-soft);
  line-height: 1.6;
}

.summary {
  margin-top: 8px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(230, 230, 230, 0.2);
  background: rgba(45, 45, 87, 0.62);
  animation: revealUp 0.9s ease-out both;
}

.summary h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.summary p {
  margin: 0;
  color: var(--gray-soft);
  line-height: 1.7;
}

.site-footer {
  padding: 32px 0 40px;
  color: var(--gray-soft);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-underline-offset: 3px;
}

.site-footer a:hover {
  text-decoration-color: var(--white);
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(18px) rotate(6deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@media (max-width: 920px) {
  .hero {
    padding-top: 76px;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero,
  main,
  .site-footer {
    width: min(1080px, 90vw);
  }

  .hero {
    padding-top: 64px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .summary {
    padding: 18px;
  }
}
