:root {
  --maroon: #8b1f16;
  --maroon-dark: #4f100c;
  --hot: #e51665;
  --rose: #ff4f88;
  --coral: #ff7a59;
  --gold: #ffd166;
  --mint: #16c79a;
  --violet: #6d5dfc;
  --ink: #27121e;
  --muted: #725866;
  --paper: #fff7fb;
  --cream: #fff1d8;
  --line: rgba(139, 31, 22, .16);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(229, 22, 101, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 209, 102, .35), transparent 28%),
    radial-gradient(circle at 84% 10%, rgba(255, 79, 136, .20), transparent 30%),
    linear-gradient(135deg, #fff7fb 0%, #fff1d8 48%, #fff7fb 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

.heart-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.heart-field span {
  position: absolute;
  bottom: -80px;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  background: rgba(255, 79, 136, .24);
  animation: floatHeart 14s linear infinite;
}

.heart-field span::before,
.heart-field span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: inherit;
}

.heart-field span::before { left: -9px; }
.heart-field span::after { top: -9px; }
.heart-field span:nth-child(1) { left: 8%; animation-delay: 0s; }
.heart-field span:nth-child(2) { left: 24%; animation-delay: 4s; width: 14px; height: 14px; }
.heart-field span:nth-child(3) { left: 43%; animation-delay: 8s; background: rgba(255, 209, 102, .28); }
.heart-field span:nth-child(4) { left: 62%; animation-delay: 2s; width: 22px; height: 22px; }
.heart-field span:nth-child(5) { left: 78%; animation-delay: 6s; background: rgba(109, 93, 252, .18); }
.heart-field span:nth-child(6) { left: 91%; animation-delay: 10s; width: 13px; height: 13px; }

@keyframes floatHeart {
  0% { transform: translateY(0) rotate(45deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-120vh) rotate(45deg); opacity: 0; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  z-index: 20;
}

.skip-link:focus { left: 10px; }

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(14px, 5vw, 64px);
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(255, 79, 136, .14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--hot));
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 10px 26px rgba(229, 22, 101, .22);
}

.brand strong,
.site-footer strong {
  display: block;
  color: var(--maroon-dark);
  font-size: 1.05rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .76rem;
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
}

.nav-links a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(229, 22, 101, .13), rgba(255, 209, 102, .28));
  color: var(--maroon);
  font-weight: 900;
}

.call-link {
  color: var(--maroon);
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(28px, 5vw, 64px);
  min-height: calc(88vh - 74px);
  align-items: center;
  padding: clamp(34px, 6vw, 76px) clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 79, 136, .16);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--hot);
  font-size: .78rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .08em;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  color: var(--maroon-dark);
  letter-spacing: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 6.6vw, 5.4rem);
}

h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { font-size: 1.08rem; }

.hero-text {
  margin: 22px 0 0;
  max-width: 740px;
  color: #573946;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.privacy-chip {
  display: inline-flex;
  margin: 18px 0 0;
  padding: 9px 12px;
  border: 1px solid rgba(22, 199, 154, .28);
  border-radius: 999px;
  background: rgba(22, 199, 154, .11);
  color: #126d57;
  font-size: .92rem;
  font-weight: 800;
}

.hero-actions,
.share-actions,
.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  font-size: .94rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: linear-gradient(135deg, var(--hot), var(--coral));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(229, 22, 101, .26);
}

.secondary {
  background: rgba(255, 255, 255, .86);
  color: var(--maroon);
  border-color: rgba(229, 22, 101, .20);
}

.whatsapp {
  background: linear-gradient(135deg, #18a85f, var(--mint));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(24, 168, 95, .20);
}

.full { width: 100%; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.trust-row span {
  padding: 8px 10px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 79, 136, .18);
  border-radius: 999px;
  color: var(--muted);
  font-size: .88rem;
}

.hero-visual {
  min-height: 430px;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.95), rgba(255,247,251,.64) 43%, rgba(255,79,136,.20) 44% 50%, transparent 51%),
    linear-gradient(135deg, rgba(255, 79, 136, .38), rgba(255, 209, 102, .34), rgba(109, 93, 252, .18));
}

.heart-meter {
  width: min(250px, 75%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--hot);
  box-shadow: inset 0 0 0 12px rgba(255, 79, 136, .08);
}

.heart-meter span,
.heart-meter strong {
  display: block;
  text-align: center;
}

.heart-meter strong {
  font-size: 4rem;
  line-height: 1;
}

.score-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 18px;
  background: rgba(255, 255, 255, .93);
}

.score-card span,
.score-card small {
  display: block;
  color: var(--muted);
}

.score-card strong {
  display: block;
  margin: 4px 0;
  color: var(--maroon-dark);
  font-size: 1.2rem;
}

.cluster-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 14px clamp(18px, 5vw, 64px);
}

.cluster-band a {
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border: 1px solid rgba(255, 79, 136, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  color: var(--maroon-dark);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(229, 22, 101, .08);
}

.cluster-band span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
}

.tool-section,
.features,
.links-band,
.content-section,
.faq-section {
  padding: clamp(44px, 7vw, 82px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(310px, 1.18fr);
  gap: 22px;
  align-items: start;
}

.meter-panel,
.result-panel,
.feature-grid article,
.answer-grid article,
details {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 79, 136, .16);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.meter-panel,
.result-panel {
  padding: clamp(18px, 3vw, 28px);
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.mode {
  min-height: 42px;
  border: 1px solid rgba(255, 79, 136, .18);
  border-radius: 999px;
  background: #fffafd;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.mode.is-active {
  border-color: var(--hot);
  color: var(--white);
  background: linear-gradient(135deg, var(--hot), var(--coral));
  box-shadow: 0 10px 24px rgba(229, 22, 101, .22);
}

label,
legend {
  display: block;
  margin: 0 0 14px;
  color: var(--maroon-dark);
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 79, 136, .22);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  font: inherit;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

fieldset {
  margin: 6px 0 18px;
  padding: 14px;
  border: 1px solid rgba(255, 79, 136, .16);
  border-radius: 16px;
}

.gender-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gender-field legend {
  width: 100%;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.form-actions .button {
  flex: 1 1 150px;
}

.result-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

#scorePill {
  align-self: start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(229, 22, 101, .12);
  color: var(--hot);
  font-weight: 900;
  white-space: nowrap;
}

.meter-ring {
  --score: 0;
  width: min(230px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 24px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--white) 0 58%, transparent 59%),
    conic-gradient(var(--hot) calc(var(--score) * 1%), #f5dce6 0);
  color: var(--maroon-dark);
  font-size: 3rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.56), 0 18px 36px rgba(229, 22, 101, .16);
}

.meter-ring.is-live {
  animation: pulseGlow 1.2s ease both;
}

@keyframes pulseGlow {
  0% { transform: scale(.96); }
  55% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.result-meta,
.microcopy,
.feature-grid p,
.answer-grid p,
.article p,
details p,
.privacy-note {
  color: var(--muted);
}

.privacy-note {
  margin: 0 auto 18px;
  max-width: 560px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(22, 199, 154, .10);
  border: 1px solid rgba(22, 199, 154, .22);
  font-size: .9rem;
}

.result-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.empty-card {
  display: grid;
  gap: 6px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 79, 136, .10), rgba(255, 209, 102, .16));
  border: 1px dashed rgba(229, 22, 101, .34);
  text-align: center;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insight-tile,
.list-group,
.metric-bars,
.timeline-card {
  padding: 16px;
  border: 1px solid rgba(255, 79, 136, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
}

.insight-tile {
  min-height: 112px;
  display: grid;
  align-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 241, 216, .72));
}

.insight-tile span {
  color: var(--maroon);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.insight-tile strong {
  margin-top: 6px;
  color: var(--hot);
  font-size: 1.12rem;
}

.list-group h3,
.metric-bars h3,
.timeline-card h3 {
  margin-bottom: 10px;
}

.list-group ul,
.checklist-text {
  margin: 0;
  padding-left: 22px;
}

.list-group li + li,
.checklist-text li + li {
  margin-top: 6px;
}

.metric-bars {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

.metric-row div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--maroon-dark);
  font-weight: 900;
}

.metric-row span {
  color: var(--hot);
}

meter {
  width: 100%;
  height: 14px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #f3dbe5;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: #f3dbe5;
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hot), var(--coral), var(--gold));
}

meter::-moz-meter-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hot), var(--coral), var(--gold));
}

.timeline-card {
  margin-top: 16px;
}

.timeline-card ol {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  align-items: end;
  height: 160px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.timeline-card li {
  height: 100%;
  display: grid;
  grid-template-rows: 20px 1fr 20px;
  gap: 5px;
  text-align: center;
  color: var(--muted);
  font-size: .72rem;
}

.timeline-card em {
  align-self: end;
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--gold), var(--hot));
}

.bar-h-2 { height: 20%; }
.bar-h-3 { height: 30%; }
.bar-h-4 { height: 40%; }
.bar-h-5 { height: 50%; }
.bar-h-6 { height: 60%; }
.bar-h-7 { height: 70%; }
.bar-h-8 { height: 80%; }
.bar-h-9 { height: 90%; }
.bar-h-10 { height: 100%; }

.timeline-card strong {
  color: var(--maroon-dark);
  font-size: .7rem;
}

.feature-grid,
.answer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.answer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid article,
.answer-grid article {
  padding: 20px;
}

.content-section {
  background: rgba(255, 241, 216, .54);
  border-top: 1px solid rgba(255, 79, 136, .14);
  border-bottom: 1px solid rgba(255, 79, 136, .14);
}

.article {
  max-width: 930px;
}

.article .button {
  margin-top: 24px;
}

.faq-section details {
  padding: 18px 20px;
  margin-top: 12px;
}

summary {
  cursor: pointer;
  color: var(--maroon-dark);
  font-weight: 900;
}

.site-footer {
  align-items: flex-start;
  border-top: 1px solid rgba(255, 79, 136, .14);
  border-bottom: 0;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
}

@media (max-width: 980px) {
  .hero,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .cluster-band,
  .feature-grid,
  .answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    display: grid;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-links {
    gap: 6px;
    font-size: .82rem;
  }

  .nav-links a {
    padding: 7px 8px;
  }

  .call-link {
    width: 100%;
  }

  .hero-visual {
    min-height: 330px;
  }

  .cluster-band,
  .feature-grid,
  .answer-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .mode-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .timeline-card ol {
    overflow-x: auto;
    grid-template-columns: repeat(10, minmax(42px, 1fr));
    padding-bottom: 6px;
  }

  .hero-actions .button,
  .share-actions .button {
    width: 100%;
  }
}
