* {
  box-sizing: border-box;
}

:root {
  --pink: #ee7fa1;
  --pink-dark: #d95f86;
  --pink-soft: #fff0f5;
  --lavender: #9c8bc4;
  --lavender-dark: #74659b;
  --cream: #fffaf7;
  --text: #51485c;
  --muted: #807689;
  --white: #ffffff;
  --border: #f0dfe7;
  --shadow: 0 18px 50px rgba(125, 83, 112, .12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Nunito", sans-serif;
  line-height: 1.7;
}

h1, h2, h3, .brand, .btn {
  font-family: "Baloo 2", cursive;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 247, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 223, 231, .8);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lavender-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-heart {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  background: var(--pink);
  box-shadow: 0 8px 20px rgba(238, 127, 161, .28);
}

.nav-button {
  padding: 10px 19px;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(238, 127, 161, .22);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 25%, rgba(236, 213, 238, .7), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(255, 221, 231, .8), transparent 35%),
    linear-gradient(145deg, #fffaf7, #fff1f5 65%, #f7f1fb);
}

.hero:before,
.hero:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
}

.hero:before {
  width: 300px;
  height: 130px;
  left: -100px;
  top: 80px;
  filter: blur(3px);
}

.hero:after {
  width: 350px;
  height: 160px;
  right: -120px;
  bottom: 40px;
  filter: blur(3px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 60px;
  padding: 75px 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  color: var(--pink-dark);
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.hero h1 {
  margin: 10px 0 15px;
  max-width: 650px;
  color: var(--lavender-dark);
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.04em;
}

.hero h1 span {
  color: var(--pink);
  display: inline-block;
}

.hero-text {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 23px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: .2s ease;
}

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

.btn-primary {
  color: white;
  background: var(--pink);
  box-shadow: 0 12px 25px rgba(238, 127, 161, .25);
}

.btn-light {
  color: var(--lavender-dark);
  background: white;
  border: 1px solid var(--border);
}

.mini-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.hero-visual {
  min-height: 510px;
  display: grid;
  place-items: center;
  position: relative;
}

.baby-card {
  position: relative;
  width: min(100%, 450px);
  padding: 28px 24px 18px;
  border: 10px solid rgba(255,255,255,.8);
  border-radius: 42px;
  background: linear-gradient(160deg, #fff, #fff4f7);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.baby-svg {
  display: block;
  width: 100%;
  height: auto;
}

.baby-label {
  text-align: center;
  color: var(--lavender-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}

.baby-label strong {
  color: var(--pink);
}

.sparkle {
  position: absolute;
  color: #e8b75d;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.s1 { left: 8%; top: 18%; }
.s2 { right: 8%; top: 10%; animation-delay: .6s; color: #a695ca; }
.s3 { right: 2%; bottom: 18%; animation-delay: 1.2s; color: var(--pink); }

@keyframes float {
  50% { transform: translateY(-8px) rotate(8deg); }
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 999px;
  opacity: .72;
}

.cloud:before,
.cloud:after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud-1 {
  width: 150px;
  height: 42px;
  right: 2%;
  top: 4%;
}
.cloud-1:before { width: 58px; height: 58px; left: 22px; bottom: 12px; }
.cloud-1:after { width: 70px; height: 70px; right: 25px; bottom: 8px; }

.cloud-2 {
  width: 130px;
  height: 36px;
  left: 3%;
  bottom: 9%;
}
.cloud-2:before { width: 50px; height: 50px; left: 20px; bottom: 10px; }
.cloud-2:after { width: 56px; height: 56px; right: 22px; bottom: 7px; }

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 48px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.help-copy h2,
.pix-left h2,
.closing-card h2 {
  margin: 8px 0 12px;
  color: var(--lavender-dark);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-heading p,
.help-copy p,
.pix-left p,
.closing-card p {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.story-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 10px 35px rgba(125,83,112,.06);
}

.story-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 1.7rem;
}

.story-number {
  color: var(--pink);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.story-card h3 {
  margin: 2px 0 8px;
  color: var(--lavender-dark);
  font-size: 1.45rem;
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.help-section {
  background: linear-gradient(180deg, #fff7fa, #f8f3fb);
}

.help-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
  padding: 55px;
  background: white;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.highlight {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 18px;
  background: var(--pink-soft);
  color: var(--pink-dark) !important;
  font-weight: 800;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.cost-item {
  min-height: 155px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff9fb;
  border: 1px solid var(--border);
  border-radius: 24px;
}

.cost-item span {
  font-size: 1.7rem;
}

.cost-item strong {
  color: var(--lavender-dark);
  font-family: "Baloo 2", cursive;
  font-size: 1.25rem;
}

.cost-item small {
  color: var(--muted);
}

.pix-section {
  background: #fff;
}

.pix-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 45px;
  padding: 55px;
  border-radius: 40px;
  background: linear-gradient(135deg, #f4eefa, #fff0f5);
  border: 1px solid #eadff0;
  box-shadow: var(--shadow);
}

.pix-data {
  margin-top: 25px;
  display: grid;
  gap: 10px;
}

.data-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.data-row span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
}

.data-row strong {
  overflow-wrap: anywhere;
  color: var(--lavender-dark);
  font-size: .92rem;
}

.copy-btn {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: white;
  background: var(--pink);
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.copy-feedback {
  min-height: 25px;
  margin: 8px 0 0 !important;
  color: var(--pink-dark) !important;
  font-weight: 800;
}

.qr-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-frame {
  width: min(100%, 300px);
  aspect-ratio: 1;
  padding: 15px;
  background: white;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(125,83,112,.10);
}

.qr-placeholder,
.qr-image {
  width: 100%;
  height: 100%;
  border-radius: 18px;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  text-align: center;
  border: 2px dashed #dfc4d3;
  color: var(--lavender-dark);
}

.qr-symbol {
  font-size: 4.5rem;
  line-height: 1;
  color: var(--pink);
}

.qr-placeholder strong {
  margin-top: 12px;
}

.qr-placeholder small {
  margin-top: 5px;
  color: var(--muted);
}

.qr-image {
  display: block;
  object-fit: contain;
}

.hidden {
  display: none !important;
}

.qr-caption {
  margin-top: 15px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.photos {
  background: linear-gradient(180deg, #fff, #fff7fa);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: linear-gradient(145deg, #fff0f5, #f3eef9);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(125,83,112,.07);
}

.photo-large {
  grid-row: 1 / 3;
}

.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: var(--lavender-dark);
  padding: 25px;
}

.photo-placeholder.visible {
  display: flex;
}

.photo-placeholder span {
  font-size: 2.7rem;
}

.photo-placeholder strong {
  font-family: "Baloo 2", cursive;
  font-size: 1.25rem;
}

.photo-placeholder small {
  color: var(--muted);
}

.photo-card figcaption {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  color: var(--lavender-dark);
  font-weight: 800;
}

.closing {
  padding-top: 30px;
  padding-bottom: 100px;
}

.closing-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 850px;
  margin: auto;
  padding: 65px 45px;
  border-radius: 40px;
  background: linear-gradient(135deg, #f3eafa, #ffeef4);
}

.closing-card:before,
.closing-card:after {
  content: "♥";
  position: absolute;
  color: rgba(238,127,161,.13);
  font-size: 8rem;
}

.closing-card:before {
  left: -20px;
  top: -20px;
}

.closing-card:after {
  right: -20px;
  bottom: -35px;
}

.closing-heart {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: white;
  color: var(--pink);
  font-size: 1.8rem;
}

.closing-card strong {
  display: block;
  margin: 25px 0;
  color: var(--pink-dark);
  font-family: "Baloo 2", cursive;
  font-size: 1.45rem;
}

footer {
  background: #5d526c;
  color: #fff;
}

.footer-content {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: .9rem;
}

.footer-content a {
  color: #ffe5ed;
  font-weight: 800;
}

@media (max-width: 850px) {
  .hero-grid,
  .help-box,
  .pix-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero-visual {
    min-height: auto;
  }

  .baby-card {
    width: min(100%, 410px);
  }

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

  .help-box,
  .pix-card {
    padding: 35px 25px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 260px 260px;
  }

  .photo-large {
    grid-column: 1 / 3;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, 1120px);
  }

  .nav {
    min-height: 64px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .nav-button {
    padding: 8px 14px;
    font-size: .9rem;
  }

  .hero-grid {
    padding: 55px 0 65px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .closing-card .btn {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

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

  .cost-item {
    min-height: 135px;
    padding: 16px;
  }

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

  .copy-btn {
    width: 100%;
  }

  .photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 270px);
  }

  .photo-large {
    grid-column: auto;
  }

  .footer-content {
    padding: 18px 0;
    flex-direction: column;
    justify-content: center;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
