:root {
  --pink: #f472b6;
  --pink-light: #fbcfe8;
  --pink-soft: #fdf2f8;
  --lilac: #c084fc;
  --text-dark: #4b2563;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #f8f4ff;
  color: var(--text-dark);
  overflow-x: hidden;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5fb 0%, #f0f7ff 60%, #fff0fb 100%);
}

.bg-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  animation: scrollUp 20s linear infinite;
}

@keyframes scrollUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.bg-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 18px 0;
}

.bg-row.offset {
  transform: translateX(70px);
}

.ic {
  display: inline-block;
  width: 36px;
  height: 36px;
  opacity: 0.18;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}

.ic.gift {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='18' height='13' rx='2'/%3E%3Cpath d='M3 9h18M12 9V22M12 9c0-2.5-3-4-3-4s1 3 3 4zm0 0c0-2.5 3-4 3-4s-1 3-3 4z'/%3E%3Cpath d='M9 5a3 3 0 0 0 3 4 3 3 0 0 0 3-4'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='9' width='18' height='13' rx='2'/%3E%3Cpath d='M3 9h18M12 9V22M12 9c0-2.5-3-4-3-4s1 3 3 4zm0 0c0-2.5 3-4 3-4s-1 3-3 4z'/%3E%3Cpath d='M9 5a3 3 0 0 0 3 4 3 3 0 0 0 3-4'/%3E%3C/svg%3E")
    no-repeat center / contain;
  background-color: #93c5fd;
}

.ic.star {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E")
    no-repeat center / contain;
  background-color: #c4b5fd;
}

.ic.heart {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E")
    no-repeat center / contain;
  background-color: #f9a8d4;
}

.ic.balloon {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='9' rx='7' ry='9'/%3E%3Cpath d='M12 18 L12 22'/%3E%3Cpath d='M10 22 Q12 20 14 22'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='9' rx='7' ry='9'/%3E%3Cpath d='M12 18 L12 22'/%3E%3Cpath d='M10 22 Q12 20 14 22'/%3E%3C/svg%3E")
    no-repeat center / contain;
  background-color: #6ee7b7;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px 36px;
  text-align: center;
}

.logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
  animation: logoReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.logo .kado {
  background: linear-gradient(135deg, #f9a8d4 0%, #f472b6 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo .kita {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--pink);
  border-radius: 50%;
  margin: 0 3px 8px;
  vertical-align: middle;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: #9d6bb5;
  margin: 22px 0 48px;
  max-width: 500px;
  line-height: 1.6;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cards-section {
  padding: 0 24px 60px;
  animation: fadeUp 0.8s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}

.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(244, 114, 182, 0.18);
  border-radius: 24px;
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s,
    border-color 0.3s;
  box-shadow: 0 4px 20px rgba(244, 114, 182, 0.08);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(251, 207, 232, 0.3) 0%,
    rgba(237, 233, 254, 0.2) 100%
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover::before {
  opacity: 0;
}

.card:hover {
  transform: none;
  box-shadow: 0 20px 48px rgba(244, 114, 182, 0.2);
  border-color: rgba(244, 114, 182, 0.35);
}

.card:active {
  box-shadow:
    0 0 0 3px rgba(244, 114, 182, 0.5),
    0 10px 30px rgba(244, 114, 182, 0.18);
}

.card-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-icon-wrap {
  transform: rotate(-8deg) scale(1.1);
}

.card-icon-wrap svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.8;
  fill: none;
}

.card:nth-child(1) .card-icon-wrap {
  background: linear-gradient(135deg, #fde8f6, #fbcfe8);
}
.card:nth-child(1) .card-icon-wrap svg {
  stroke: #ec4899;
}

.card:nth-child(2) .card-icon-wrap {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}
.card:nth-child(2) .card-icon-wrap svg {
  stroke: #8b5cf6;
}

.card:nth-child(3) .card-icon-wrap {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}
.card:nth-child(3) .card-icon-wrap svg {
  stroke: #3b82f6;
}

.card-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.card-desc {
  font-size: 0.88rem;
  color: #9d6bb5;
  text-align: center;
  line-height: 1.6;
}

.card-btn {
  text-decoration: none;
  margin-top: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.card:nth-child(1) .card-btn {
  background: linear-gradient(135deg, #f9a8d4, #f472b6);
  color: #fff;
}
.card:nth-child(2) .card-btn {
  background: linear-gradient(135deg, #c4b5fd, #a855f7);
  color: #fff;
}
.card:nth-child(3) .card-btn {
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
  color: #fff;
}

.card-btn:hover {
  transform: scale(1.06);
  opacity: 0.9;
}

.card::before {
  pointer-events: none;
}

.card > * {
  position: relative;
  z-index: 1;
}

footer {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-top: 1.5px solid rgba(244, 114, 182, 0.15);
  padding: 40px 40px 28px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-logo {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
}

.footer-logo .kado {
  background: linear-gradient(135deg, #f9a8d4, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-logo .kita {
  background: linear-gradient(135deg, #c084fc, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.82rem;
  color: #a78bfa;
  margin-top: 6px;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c084fc;
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: #9d6bb5;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #f472b6;
}

.footer-col a svg {
  display: inline-block;
  vertical-align: middle;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.footer-bottom {
  max-width: 900px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 114, 182, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #c4b5fd;
  flex-wrap: wrap;
  gap: 8px;
}
