/* Premium experience layer — lightweight, mobile-first and progressive */
:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.22, 1, .36, 1);
  --glass: rgba(255, 250, 246, .72);
  --soft-glow: 0 18px 50px rgba(104, 28, 67, .14);
}

html {
  scroll-padding-top: 92px;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(200, 100, 134, .07), transparent 22rem),
    radial-gradient(circle at 92% 26%, rgba(104, 28, 67, .05), transparent 28rem),
    var(--cream);
}

::selection {
  color: #fff;
  background: var(--wine);
}

h1,
h2,
blockquote {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button,
a,
summary,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(200, 100, 134, .4);
  outline-offset: 3px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 140;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--rose), var(--wine), #f1b8cb);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.header {
  transition:
    padding .35s var(--ease-out),
    background .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.header.is-scrolled {
  padding-top: 11px;
  padding-bottom: 11px;
  background: rgba(255, 250, 246, .82);
  border-color: rgba(104, 28, 67, .12);
  box-shadow: 0 14px 45px rgba(63, 16, 40, .08);
}

.brand-mark {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 7px 18px rgba(104, 28, 67, .18);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,.42) 50%, transparent 66%);
  transform: translateX(-100%) rotate(8deg);
  animation: brandShine 6s ease-in-out infinite;
}

.header-cta,
.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.header-cta::after,
.button-primary::after,
.button-light::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.24) 50%, transparent 75%);
  transform: translateX(-135%);
  transition: transform .65s var(--ease-out);
}

.header-cta:hover::after,
.button-primary:hover::after,
.button-light:hover::after {
  transform: translateX(135%);
}

.hero {
  position: relative;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.hero::before {
  top: 9%;
  left: -5rem;
  width: 15rem;
  height: 15rem;
  background: radial-gradient(circle, rgba(200, 100, 134, .18), rgba(200, 100, 134, 0) 70%);
  animation: ambientFloat 10s ease-in-out infinite;
}

.hero::after {
  right: 1%;
  bottom: 7%;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(104, 28, 67, .12), rgba(104, 28, 67, 0) 70%);
  animation: ambientFloat 13s ease-in-out -4s infinite reverse;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  padding: 8px 12px;
  background: rgba(104, 28, 67, .06);
  border: 1px solid rgba(104, 28, 67, .09);
  border-radius: 999px;
}

h1 em {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, var(--wine) 12%, var(--rose) 55%, var(--wine-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 em::after {
  content: "";
  position: absolute;
  right: .04em;
  bottom: -.07em;
  left: .04em;
  height: .09em;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(200, 100, 134, .72), transparent);
  transform: rotate(-1deg);
}

.hero-visual {
  isolation: isolate;
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: inherit;
}

.hero-visual > img {
  transition: transform 1.1s var(--ease-out), filter .6s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hero-visual:hover {
    transform: rotate(.4deg) translateY(-7px);
    box-shadow: 0 34px 95px rgba(52, 13, 34, .3);
  }

  .hero-visual:hover > img {
    transform: scale(1.035);
  }
}

.music-pill {
  z-index: 5;
  box-shadow: 0 12px 34px rgba(37, 16, 25, .18);
  animation: pillFloat 5s ease-in-out infinite;
}

.audio-preview {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  width: min(245px, calc(100% - 48px));
  padding: 14px 16px 13px;
  color: #fff;
  background: rgba(45, 14, 29, .62);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 19px;
  box-shadow: 0 18px 46px rgba(37, 16, 25, .18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.audio-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.audio-preview-copy {
  min-width: 0;
}

.audio-preview-copy span,
.audio-preview-copy strong {
  display: block;
}

.audio-preview-copy span {
  color: var(--rose-light);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.audio-preview-copy strong {
  margin-top: 2px;
  overflow: hidden;
  font-size: .76rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.audio-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f5bfd2;
  box-shadow: 0 0 0 6px rgba(245,191,210,.11);
  animation: audioPulse 1.8s ease-out infinite;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.waveform i {
  flex: 1;
  min-width: 2px;
  height: calc(var(--wave, .5) * 100%);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #e9a9bf);
  transform-origin: 50% 100%;
  animation: waveMove 1.25s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -70ms);
  opacity: .9;
}

.reaction-card {
  z-index: 4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 20px 50px rgba(37,16,25,.18);
}

.occasion-strip {
  position: relative;
  scroll-snap-type: x proximity;
  background: linear-gradient(100deg, var(--wine-dark), var(--wine) 48%, #842753);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 -1px 0 rgba(0,0,0,.08);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.occasion-strip span {
  scroll-snap-align: center;
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(8px);
  transition: background .25s ease, transform .25s ease;
}

.occasion-strip span:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

.section,
.final-cta {
  position: relative;
}

@supports (content-visibility: auto) {
  .section:not(.emotional-section) {
    content-visibility: auto;
    contain-intrinsic-size: 850px;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity .75s var(--ease-out) var(--delay, 0ms),
    transform .75s var(--ease-out) var(--delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal="scale"] {
  transform: translate3d(0, 18px, 0) scale(.975);
}

[data-reveal="left"] {
  transform: translate3d(-24px, 0, 0);
}

[data-reveal="right"] {
  transform: translate3d(24px, 0, 0);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.emotion-grid,
.steps,
.pricing-grid {
  margin-right: auto;
  margin-left: auto;
}

.emotion-card,
.step-card,
.price-card,
.comparison-box {
  transition:
    transform .45s var(--ease-out),
    box-shadow .45s var(--ease-out),
    border-color .3s ease;
}

.emotion-card,
.step-card {
  position: relative;
  overflow: hidden;
}

.emotion-card::after,
.step-card::after {
  content: "";
  position: absolute;
  top: -70%;
  right: -35%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,100,134,.11), transparent 68%);
  transition: transform .5s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .emotion-card:hover,
  .step-card:hover,
  .price-card:hover,
  .comparison-box:hover {
    transform: translateY(-7px);
    border-color: rgba(104, 28, 67, .18);
    box-shadow: 0 26px 70px rgba(76, 24, 52, .12);
  }

  .emotion-card:hover::after,
  .step-card:hover::after {
    transform: translate(-18px, 28px) scale(1.15);
  }
}

.emotion-icon {
  box-shadow: 0 12px 26px rgba(104,28,67,.18);
  transform: rotate(-3deg);
}

.steps {
  position: relative;
}

@media (min-width: 821px) {
  .steps::before {
    content: "";
    position: absolute;
    top: 47px;
    right: 14%;
    left: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(104,28,67,.17), transparent);
  }

  .step-card {
    z-index: 1;
  }

  .step-number {
    display: inline-grid;
    place-items: center;
    min-width: 70px;
    height: 54px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid rgba(104,28,67,.08);
    border-radius: 999px;
  }
}

.birthday-photo img {
  transition: transform 1s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .birthday-photo:hover img {
    transform: scale(1.035);
  }
}

.price-card.featured {
  overflow: visible;
  border-color: rgba(255,255,255,.12);
}

.price-card.featured::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px;
  border-radius: 38px;
  background: radial-gradient(circle at 50% 0%, rgba(200,100,134,.35), transparent 60%);
  filter: blur(14px);
  opacity: .7;
}

.popular-badge {
  box-shadow: 0 8px 26px rgba(104,28,67,.13);
}

.promise-card {
  position: relative;
  overflow: hidden;
}

.promise-card::before,
.promise-card::after {
  content: "♪";
  position: absolute;
  color: rgba(255,255,255,.07);
  font-family: "Playfair Display", serif;
  line-height: 1;
  pointer-events: none;
}

.promise-card::before {
  top: -24px;
  left: 3%;
  font-size: 9rem;
  transform: rotate(-12deg);
}

.promise-card::after {
  right: 3%;
  bottom: -38px;
  font-size: 12rem;
  transform: rotate(14deg);
}

.faq-list details {
  transition: background .25s ease, padding .25s ease, border-color .25s ease;
}

.faq-list details[open] {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255,255,255,.62);
  border-color: rgba(104,28,67,.09);
  border-radius: 18px;
}

.faq-list summary {
  position: relative;
  padding-right: 42px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  color: var(--wine);
  background: var(--rose-soft);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform .3s var(--ease-out), background .3s ease;
}

.faq-list details[open] summary::after {
  background: #f3d8e3;
  transform: rotate(45deg);
}

.final-cta {
  overflow: hidden;
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.final-cta::before {
  top: -12rem;
  left: -8rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
}

.final-cta::after {
  right: -8rem;
  bottom: -12rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(200,100,134,.22), transparent 68%);
}

.final-cta > * {
  position: relative;
  z-index: 1;
}

.floating-whatsapp {
  transition: transform .35s var(--ease-out), opacity .25s ease, box-shadow .3s ease;
}

.floating-whatsapp.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.modal-card {
  scrollbar-width: thin;
  scrollbar-color: rgba(104,28,67,.24) transparent;
}

.modal-card::before {
  content: "";
  display: none;
}

@keyframes brandShine {
  0%, 65%, 100% { transform: translateX(-110%) rotate(8deg); }
  78% { transform: translateX(110%) rotate(8deg); }
}

@keyframes ambientFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(24px,-18px,0) scale(1.06); }
}

@keyframes pillFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes audioPulse {
  0% { box-shadow: 0 0 0 0 rgba(245,191,210,.28); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(245,191,210,0); }
}

@keyframes waveMove {
  from { transform: scaleY(.58); opacity: .58; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1040px) {
  .audio-preview {
    width: 230px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .announcement {
    padding: 8px 14px;
    line-height: 1.35;
  }

  .announcement strong {
    font-weight: 700;
  }

  .header {
    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);
  }

  .header.is-scrolled {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .hero {
    gap: 34px;
    padding-right: 16px;
    padding-bottom: 54px;
    padding-left: 16px;
  }

  .hero::before {
    top: 6rem;
    left: -7rem;
    width: 14rem;
    height: 14rem;
  }

  .hero::after {
    right: -8rem;
    bottom: 0;
    width: 16rem;
    height: 16rem;
  }

  .hero-copy .eyebrow {
    margin-bottom: 14px;
    padding: 7px 10px;
    font-size: .65rem;
    line-height: 1.35;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(2.75rem, 13.4vw, 4.1rem);
    line-height: 1.01;
    letter-spacing: -.05em;
  }

  .hero-lead {
    font-size: 1.04rem;
    line-height: 1.55;
  }

  .hero-support {
    font-size: .91rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 55px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .trust-row span {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 7px 10px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(104,28,67,.08);
    border-radius: 12px;
    font-size: .74rem;
  }

  .trust-row span:last-child {
    grid-column: 1 / -1;
  }

  .hero-visual {
    width: calc(100% + 2px);
    border-radius: 30px;
    box-shadow: 0 24px 65px rgba(52,13,34,.22);
  }

  .music-pill {
    top: 14px;
    left: 14px;
    padding: 8px 11px;
    font-size: .7rem;
  }

  .audio-preview {
    top: 62px;
    right: 14px;
    left: 14px;
    width: auto;
    padding: 10px 12px;
    border-radius: 15px;
  }

  .audio-preview-top {
    margin-bottom: 7px;
  }

  .waveform {
    height: 21px;
  }

  .reaction-card {
    border-radius: 18px;
  }

  .occasion-strip {
    padding-right: 26px;
    padding-left: 26px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  .section {
    padding-right: 17px;
    padding-left: 17px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .comparison-copy h2,
  .birthday-copy h2,
  .final-cta h2 {
    font-size: clamp(2.05rem, 9.7vw, 3.15rem);
    line-height: 1.05;
  }

  .emotion-card,
  .step-card,
  .comparison-box,
  .price-card {
    border-radius: 22px;
  }

  .emotion-card,
  .step-card {
    padding: 23px;
  }

  .birthday-photo {
    border-radius: 26px;
  }

  .birthday-copy .button {
    width: 100%;
  }

  .price-card {
    padding: 27px 23px;
  }

  .price-card.featured::before {
    inset: -6px;
    border-radius: 28px;
  }

  .price-card h3 {
    font-size: 1.8rem;
  }

  .price {
    margin-top: 10px;
    margin-bottom: 22px;
  }

  .plan-description {
    min-height: 0;
  }

  .promise-card {
    padding: 48px 24px;
  }

  .promise-card blockquote {
    font-size: clamp(2rem, 9.7vw, 3.1rem);
  }

  .faq-list details[open] {
    padding-right: 12px;
    padding-left: 12px;
  }

  .faq-list summary {
    font-size: 1rem;
    line-height: 1.4;
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal.is-open {
    display: grid;
    place-items: end center;
  }

  .modal-card {
    width: 100%;
    max-height: min(92dvh, 860px);
    padding: 34px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    transform-origin: 50% 100%;
    animation: sheetIn .42s var(--ease-out) both;
  }

  .modal-card::before {
    content: "";
    display: block;
    width: 46px;
    height: 5px;
    margin: -18px auto 20px;
    background: rgba(104,28,67,.18);
    border-radius: 999px;
  }

  .modal-card h2 {
    padding-right: 36px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }

  input,
  select {
    min-height: 52px;
  }

  textarea {
    min-height: 145px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    min-height: 58px;
    padding: 0 20px;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 16px 42px rgba(23,143,73,.34);
    font-size: .84rem;
  }

  .floating-whatsapp::before {
    content: "♥";
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 9px;
    color: var(--green);
    background: #fff;
    border-radius: 50%;
  }
}

@media (max-width: 430px) {
  .brand > span:last-child {
    max-width: 106px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .header-cta {
    max-width: 122px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .hero-visual,
  .hero-visual > img {
    min-height: 470px;
    height: 470px;
  }

  .reaction-card p {
    display: none;
  }

  .reaction-card strong {
    margin-bottom: 0;
    font-size: 1.13rem;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .trust-row span:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark::after,
  .hero::before,
  .hero::after,
  .music-pill,
  .audio-dot,
  .waveform i {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@keyframes sheetIn {
  from { opacity: .2; transform: translateY(36px) scale(.985); }
  to { opacity: 1; transform: none; }
}
