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

:root {
  --pink: #f7c5d5;
  --peach: #fddcb5;
  --mint: #c5ead8;
  --sky: #b5d9f7;
  --lavend: #d4c5f7;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Vazirmatn", sans-serif;
  background: #fdf8f4;
  overflow: hidden;
  position: relative;
}


.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 12s ease-in-out infinite alternate;
}
.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--pink);
  top: -10%;
  left: -8%;
  animation-delay: 0s;
}
.blob-2 {
  width: 360px;
  height: 360px;
  background: var(--peach);
  bottom: -5%;
  right: -6%;
  animation-delay: -3s;
}
.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--mint);
  top: 50%;
  right: 10%;
  animation-delay: -6s;
}
.blob-4 {
  width: 280px;
  height: 280px;
  background: var(--sky);
  bottom: 15%;
  left: 8%;
  animation-delay: -9s;
}
.blob-5 {
  width: 240px;
  height: 240px;
  background: var(--lavend);
  top: 10%;
  left: 40%;
  animation-delay: -4s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, 20px) scale(1.08);
  }
}


.dots {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(160, 130, 180, 0.18) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  pointer-events: none;
}


.card {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 4rem 5rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 40px rgba(200, 160, 180, 0.22),
    0 2px 8px rgba(200, 160, 180, 0.14);
  animation: floatIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


.pill {
  display: inline-block;
  padding: 0.25rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--lavend));
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #7a5c6e;
  margin-bottom: 1.6rem;
  animation: floatIn 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.35;
  color: #4a3860;
  letter-spacing: -0.01em;
  animation: floatIn 1s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* gradient text on the key word */
h1 span {
  background: linear-gradient(135deg, #e07aaa, #a07add);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p.sub {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  font-weight: 300;
  color: #7c6880;
  line-height: 1.8;
  max-width: 34ch;
  margin-inline: auto;
  animation: floatIn 1s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}


.swatches {
  margin-top: 2.2rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  animation: floatIn 1s 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: transform 0.3s;
}
.swatch:hover {
  transform: scale(1.5);
}
.s1 {
  background: var(--pink);
}
.s2 {
  background: var(--peach);
}
.s3 {
  background: var(--mint);
}
.s4 {
  background: var(--sky);
}
.s5 {
  background: var(--lavend);
}

@media (max-width: 600px) {
  .card {
    padding: 2.5rem 2rem;
  }
}
