:root {
  --purple-100: #f7effd;
  --purple-200: #eedbfd;
  --purple-300: #d4bff9;
  --purple-400: #c39bf5;
  --purple-500: #a678f0;
  --lavender: #f5f0ff;
  --text-dark: #331f4d;
  --text-muted: #6c5c83;
  --text-soft: #8d7faa;
  --accent: #f6c8ff;
  --accent-light: rgba(198, 143, 255, 0.25);
  --white: #ffffff;
  --shadow: rgba(68, 45, 109, 0.15);
  --gradient-start: #f9f2ff;
  --gradient-end: #f5ebff;
  --card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(245, 238, 255, 0.9));
  --cta-gradient: linear-gradient(120deg, #a56df5, #c384f6);
  --cta-glow: rgba(204, 157, 255, 0.35);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--gradient-end);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  position: relative;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-gradient {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px clamp(24px, 6vw, 72px) 128px;
  position: relative;
  z-index: 2;
}

.background-blur {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.75;
  z-index: 1;
}

.background-blur--left {
  top: 10%;
  left: -120px;
  background: rgba(176, 119, 255, 0.45);
}

.background-blur--right {
  bottom: -60px;
  right: -140px;
  background: rgba(255, 174, 229, 0.45);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(72px, 12vh, 140px);
  min-height: 100vh;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: -20% -10% -30% -10%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.particle {
  position: absolute;
  display: block;
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1;
  filter: blur(0px);
  opacity: 0.85;
  animation: floatUp 24s linear infinite;
}

.particle::before {
  display: inline-block;
  transform: scale(1);
}

.particle--star::before {
  content: "✦";
  color: rgba(244, 225, 255, 0.85);
}

.particle--heart::before {
  content: "❤";
  color: rgba(255, 206, 236, 0.75);
}

.hero__background .particle:nth-child(1) {
  top: 10%;
  left: 12%;
  animation-delay: -3s;
  animation-duration: 22s;
}

.hero__background .particle:nth-child(2) {
  top: 22%;
  right: 18%;
  animation-delay: -12s;
}

.hero__background .particle:nth-child(3) {
  bottom: 18%;
  left: 24%;
  animation-delay: -6s;
  animation-duration: 26s;
}

.hero__background .particle:nth-child(4) {
  top: 45%;
  right: 32%;
  animation-delay: -16s;
  animation-duration: 28s;
}

.hero__background .particle:nth-child(5) {
  bottom: 26%;
  right: 12%;
  animation-delay: -10s;
  animation-duration: 24s;
}

.hero__background .particle:nth-child(6) {
  bottom: 12%;
  left: 8%;
  animation-delay: -4s;
  animation-duration: 20s;
}

.hero__background .particle:nth-child(7) {
  top: 32%;
  left: 40%;
  animation-delay: -8s;
  animation-duration: 25s;
}

.hero__background .particle:nth-child(8) {
  bottom: 8%;
  right: 32%;
  animation-delay: -18s;
  animation-duration: 30s;
}

.hero__background .particle:nth-child(9) {
  top: 12%;
  right: 42%;
  animation-delay: -20s;
  animation-duration: 27s;
}

.hero__background .particle:nth-child(10) {
  bottom: 30%;
  left: 58%;
  animation-delay: -14s;
  animation-duration: 29s;
}

@keyframes floatUp {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    transform: translate3d(-12px, -40px, 0) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate3d(18px, -140px, 0) scale(0.92);
    opacity: 0;
  }
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(3.4rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text-dark);
}

.hero__moon {
  display: inline-flex;
  margin-left: 8px;
  font-size: 0.95em;
  transform: translateY(6px);
}

.hero__tagline {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(64, 43, 105, 0.82);
}

.hero__subtitle {
  margin: 0 0 32px;
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 460px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--cta-gradient);
  color: var(--white);
  box-shadow: 0 15px 30px rgba(164, 106, 245, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(164, 106, 245, 0.3);
}

.btn--primary .btn__icon {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-muted);
  box-shadow: 0 12px 28px rgba(153, 123, 220, 0.15);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn--soft-outline {
  background: rgba(255, 255, 255, 0.82);
  color: var(--purple-500);
  border: 1.5px solid rgba(165, 109, 245, 0.4);
  box-shadow: 0 10px 24px rgba(141, 104, 214, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn--soft-outline:hover {
  transform: translateY(-2px);
  border-color: rgba(165, 109, 245, 0.65);
  box-shadow: 0 14px 28px rgba(141, 104, 214, 0.18);
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
}

.btn__icon--play {
  background: rgba(165, 109, 245, 0.14);
  color: var(--purple-500);
}

.btn__icon--play svg {
  width: 11px;
  height: 11px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-shell {
  position: relative;
  width: min(320px, 90%);
  max-width: 360px;
  aspect-ratio: 9 / 19.5;
  padding: 18px;
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(233, 215, 255, 0.95));
  box-shadow: 0 40px 80px rgba(118, 83, 182, 0.22);
  overflow: hidden;
}

.phone-shell__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.phone-shell__glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.7;
  pointer-events: none;
}

.phone-shell__glow--top {
  top: -40px;
  right: -60px;
  background: rgba(241, 186, 255, 0.6);
}

.phone-shell__glow--bottom {
  bottom: -50px;
  left: -40px;
  background: rgba(172, 119, 255, 0.55);
}

.metrics {
  margin: 0 auto 140px;
  padding: 24px clamp(26px, 7.5vw, 76px);
  border-radius: 28px;
  background: var(--card-gradient);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(18px, 5vw, 48px);
  flex-wrap: wrap;
  box-shadow: 0 30px 70px rgba(122, 77, 189, 0.12);
}

.metric {
  text-align: center;
  min-width: 120px;
  flex: 1 1 180px;
}

.metric__value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.metric__label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.divider {
  width: 1px;
  height: 48px;
  background: rgba(162, 137, 210, 0.25);
  flex: 0 0 1px;
}

.how-it-works {
  margin-bottom: 130px;
  text-align: center;
}

.how-it-works h2 {
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  margin-bottom: 48px;
}

.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  align-items: start;
}

.step-card {
  background: transparent;
  border-radius: 24px;
  padding: 0 18px;
  box-shadow: none;
  text-align: center;
}

.step-card__number {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #c9a7ff 0%, #9f74f6 60%, #8a63e6 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 30px rgba(126, 90, 204, 0.35);
  margin: 0 auto 24px;
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0 auto;
  color: var(--text-soft);
  max-width: 260px;
}

.features {
  margin-bottom: 140px;
  text-align: center;
}

.features h2 {
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 28px 32px;
  justify-content: center;
}

.feature-card {
  padding: 26px 32px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(124, 88, 188, 0.12);
  border: 1px solid rgba(198, 167, 250, 0.18);
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: var(--white);
  flex: 0 0 64px;
  box-shadow: 0 16px 28px rgba(126, 90, 204, 0.22);
}

.feature-card__icon span {
  font-size: 30px;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
}

.feature-card__icon--sunrise {
  background: radial-gradient(circle at 30% 20%, #ffe7a4 0%, #ffb87b 100%);
}

.feature-card__icon--evening {
  background: radial-gradient(circle at 30% 20%, #e3c8ff 0%, #a072f6 100%);
}

.feature-card__icon--mood {
  background: radial-gradient(circle at 30% 20%, #d8f5ff 0%, #70d6ff 100%);
}

.feature-card__icon--gratitude {
  background: radial-gradient(circle at 30% 20%, #ffe0f0 0%, #ff8fab 100%);
}

.feature-card__icon--lock {
  background: radial-gradient(circle at 30% 20%, #defbf4 0%, #6ddccf 100%);
}

.feature-card__icon--insights {
  background: radial-gradient(circle at 30% 20%, #f6e7ff 0%, #f9a6ff 100%);
}

.testimonials {
  margin-bottom: 140px;
  text-align: center;
}

.testimonials h2 {
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.testimonial-card {
  position: relative;
  padding: 38px 32px;
  border-radius: 28px;
  background: var(--card-gradient);
  box-shadow: 0 25px 60px rgba(130, 92, 199, 0.16);
  text-align: left;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(195, 149, 255, 0.22);
  filter: blur(80px);
}

.testimonial-card__quote {
  font-size: 72px;
  font-weight: 700;
  color: rgba(164, 106, 245, 0.2);
  line-height: 1;
  margin-bottom: -16px;
}

.testimonial-card p {
  margin: 0 0 32px;
  color: var(--text-soft);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(164, 106, 245, 0.18);
  color: var(--purple-500);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.author__name {
  font-weight: 600;
  color: var(--text-dark);
}

.author__role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta {
  margin-bottom: 130px;
  border-radius: 32px;
  background: var(--cta-gradient);
  color: var(--white);
  padding: clamp(40px, 8vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(142, 99, 217, 0.35);
}

.cta::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--cta-glow);
  filter: blur(70px);
}

.cta__content h2 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4vw, 2.6rem);
}

.cta__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn--light {
  background: var(--white);
  color: var(--purple-500);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.16);
}

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

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(152, 123, 210, 0.6);
  display: inline-block;
}

.footer a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--purple-500);
}

.contact {
  margin-bottom: 140px;
}

.contact__card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 60px);
  padding: clamp(32px, 6vw, 48px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 226, 255, 0.92));
  box-shadow: 0 28px 70px rgba(124, 86, 190, 0.18);
  backdrop-filter: blur(16px);
}

.contact__content span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(164, 106, 245, 0.12);
  color: var(--purple-500);
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.contact__content h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.4rem);
}

.contact__content p {
  margin: 0;
  color: var(--text-soft);
  max-width: 360px;
}

.contact__form {
  display: grid;
  gap: 16px;
}

.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(168, 120, 240, 0.18);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: rgba(108, 92, 131, 0.65);
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: rgba(165, 109, 245, 0.7);
  box-shadow: 0 0 0 4px rgba(165, 109, 245, 0.15);
}

.contact__submit {
  justify-self: start;
  padding-inline: 32px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__spacer {
  height: clamp(24px, 4vh, 48px);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__tagline,
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero--split {
    justify-items: center;
  }

  .hero--split .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }
}

@media (max-width: 840px) {
  .metrics {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    padding: 10px 0;
    border-top: 1px solid rgba(162, 137, 210, 0.32);
    flex: none;
    min-width: unset;
  }

  .metric:first-of-type {
    border-top: none;
  }

  .divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .page-gradient {
    padding: 68px 24px 104px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding-bottom: 96px;
  }

  .hero__visual {
    order: 2;
    margin-top: 52px;
  }

  .hero__spacer {
    height: clamp(48px, 10vh, 72px);
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .contact__card {
    grid-template-columns: 1fr;
  }

  .contact__submit {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .page-gradient {
    padding: 92px 24px 116px;
  }

  .hero {
    padding-bottom: 120px;
  }

  .phone-shell {
    width: min(280px, 100%);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta__actions {
    width: 100%;
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cta__actions .btn {
    flex: none;
    width: 100%;
    padding-block: 16px;
  }

  .contact__card {
    padding: 28px 24px;
  }

  .contact__content p {
    max-width: none;
  }

  .hero__visual {
    order: 2;
    margin-top: 32px;
  }

  .metrics {
    margin-top: 36px;
    margin-bottom: 112px;
    padding: 14px 20px;
  }

  .metric {
    padding: 6px 0;
  }
}

