* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #252047;
  background: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0 5%;
  background: #160d2f;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 21px;
  white-space: nowrap;
}
.brand > span:last-child > span {
  font-weight: 400;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-image: url('assets/affinityLogo.png');
  background-size: cover;
  background-position: center;
}
.nav {
  display: flex;
  gap: 30px;
  margin: auto;
  font-size: 13px;
}
.nav a {
  opacity: 0.9;
  padding: 27px 0;
}
.nav .active {
  color: #ff4b86;
  border-bottom: 2px solid #ff4b86;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.login {
  border: 1px solid #a98bb8;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 28px;
  padding: 14px 25px;
  background: linear-gradient(90deg, #ff6b47, #ff2c86);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(255, 45, 120, 0.25);
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn b {
  font-size: 24px;
  line-height: 0;
}
.btn-small {
  padding: 10px 18px;
  font-size: 12px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 24px;
}
.hero {
  min-height: max(620px, calc(100vh - 72px));
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: url("assets/affinitydatings-hero.png") center 35% / cover
    no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18, 5, 25, 0.08),
    rgba(104, 10, 100, 0.28),
    rgba(18, 5, 25, 0.08)
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(205, 23, 109, 0.88),
    rgba(100, 28, 142, 0.78)
  );
  clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%);
  padding: 40px 115px 48px;
  min-width: 390px;
  transform: translateY(-26px);
}
.hero-logo-mark {
  margin: 0 auto 14px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.hero-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero h1 {
  font-size: 38px;
  margin: 0 0 4px;
}
.hero h1 span {
  font-weight: 400;
}
.hero p {
  font-size: 17px;
  margin: 0 0 14px;
}
.hero .hero-subcopy {
  margin: 0 auto 16px;
  font-size: 14px;
}
.hero .trust-badges {
  margin-top: 14px;
  gap: 6px 14px;
  font-size: 12px;
}
.hero-btn {
  background: #ff4a83;
}
.hero-content small {
  display: block;
  margin-top: 10px;
}
.match {
  position: absolute;
  z-index: 3;
  background: #fff;
  color: #30274b;
  border-radius: 15px;
  padding: 12px 44px 12px 16px;
  box-shadow: 0 8px 25px #0004;
  min-width: 160px;
  font-size: 12px;
}
.match span {
  display: block;
  color: #48a968;
  font-size: 10px;
  margin-top: 4px;
}
.match b {
  position: absolute;
  right: 12px;
  top: 22px;
  color: #ff3f82;
  font-size: 19px;
}
.match-left {
  left: 18%;
  bottom: 28px;
}
.match-right {
  right: 18%;
  bottom: 28px;
}
.heart-line {
  position: absolute;
  z-index: 3;
  bottom: 22%;
  left: 50%;
  font-size: 35px;
  color: #fff;
  filter: drop-shadow(0 5px 10px #f35);
  transform: translateX(-50%);
}
.section {
  padding: 75px 8%;
}

/* --- ESTILOS MEJORADOS PARA LA SECCIÓN WHY --- */
.why {
  text-align: center;
}
.section-header {
  margin-bottom: 42px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ec3d83;
  margin-bottom: 12px;
  margin-top: 0;
}
.why h2,
.placeholder h2 {
  font-size: 34px;
  margin: 0 0 14px;
}
.why h2 span,
.cta h2 span {
  color: #e62c87;
}
.lead {
  max-width: 650px;
  margin: 0 auto;
  color: #666;
  line-height: 1.7;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
.feature-card {
  padding: 35px 25px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(230, 44, 135, 0.08);
  border-color: #fde4f0;
}
.icon {
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fde4f0;
  color: #e62c87;
  display: grid;
  place-items: center;
  font-size: 36px;
  transition: transform 0.3s ease;
}
.feature-card:hover .icon {
  transform: scale(1.1) rotate(5deg);
}
.feature-grid h3 {
  margin: 22px 0 10px;
  color: #252047;
  font-size: 18px;
}
.feature-grid p {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
  margin: 0;
}
/* --- FIN ESTILOS MEJORADOS --- */

.how {
  background: linear-gradient(115deg, #2d1251, #5d135d, #a41962);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  align-items: center;
  gap: 50px;
}
.how h2 {
  font-size: 48px;
  margin: 5px 0;
}
.how h3 {
  font-size: 20px;
}
.how-copy p {
  color: #e4d9ea;
  line-height: 1.6;
  max-width: 380px;
}
.eyebrow.light {
  color: #ff5a91;
}
.phone {
  width: 220px;
  height: 430px;
  border: 7px solid #fff;
  border-radius: 34px;
  background: #f3c0cf;
  padding: 10px;
  margin: auto;
  box-shadow: 0 20px 50px #0006;
}
.phone-screen {
  height: 100%;
  border-radius: 25px;
  background: linear-gradient(#ffc1cf, #7d236f);
  position: relative;
  padding: 150px 12px 0;
}
.mini-avatar {
  height: 190px;
  border-radius: 20px;
  background: url("assets/affinitydatings-hero.png") 67% 36% / 240% auto;
}
.mini-card {
  background: #fff;
  color: #292040;
  border-radius: 12px;
  padding: 12px;
  margin-top: -5px;
  position: relative;
}
.mini-card span {
  display: block;
  color: #43a665;
  font-size: 10px;
}
.phone-actions {
  display: flex;
  justify-content: space-around;
  margin-top: 18px;
  font-size: 32px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: flex;
  gap: 18px;
  margin: 28px 0;
}
.steps b {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4b77, #ff267e);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.steps strong {
  font-size: 17px;
}
.steps p {
  margin: 5px 0;
  color: #e5dce9;
  font-size: 13px;
  line-height: 1.5;
}
.stories {
  padding: 0;
  min-height: 300px;
}
.story-image {
  background: url("assets/affinitydatings-hero.png") center 72% / cover
    no-repeat;
}
.quote {
  padding: 55px 45px;
}
.quote-mark {
  font-size: 60px;
  color: #ff3d88;
  height: 45px;
}
.quote blockquote {
  font-size: 20px;
  line-height: 1.5;
  font-style: italic;
  margin: 0 0 24px;
}
.person {
  display: flex;
  gap: 12px;
  align-items: center;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e4b5cb;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.person span {
  display: block;
  font-size: 11px;
  color: #777;
  margin-top: 3px;
}
.story-tag {
  background: #fff;
  display: grid;
  place-items: center;
  align-content: center;
  color: #c62689;
  font-family: Pacifico, cursive;
  font-size: 28px;
  text-align: center;
}
.story-tag span {
  font-size: 38px;
}
.cta {
  text-align: center;
  background: linear-gradient(110deg, #351052, #7b145e);
  color: #fff;
}
.cta h2 {
  font-size: 44px;
  margin: 10px 0;
}
.cta p {
  color: #ddd;
  margin-bottom: 28px;
}
.placeholder {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 25px;
  align-items: center;
}
.placeholder p {
  color: #666;
  line-height: 1.6;
}
.price-card {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 40px #2e174115;
  border: 1px solid #eee;
  display: grid;
  gap: 8px;
}
.price-card span {
  color: #777;
}
.price-card b {
  font-size: 32px;
  margin: 8px 0;
}
.price-card.featured {
  border: 2px solid #ef3f86;
}
.price-card .btn {
  justify-self: start;
}
footer {
  background: #120d2b;
  color: #fff;
  padding: 45px 6% 20px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
}
.footer-brand p {
  color: #aaa;
  font-size: 12px;
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 12px;
}
.socials {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #403550;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  color: #8e879b;
  font-size: 10px;
}
@media (max-width: 900px) {
  .nav,
  .header-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .site-header {
    height: 64px;
  }
  .hero {
    min-height: 660px;
  }
  .hero-content {
    min-width: 330px;
    padding: 40px 75px 46px;
    transform: translateY(-42px);
  }
  .match-left {
    left: 5%;
    bottom: 22px;
  }
  .match-right {
    right: 5%;
    bottom: 22px;
  }
  .how {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .how-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .steps {
    text-align: left;
  }
  .stories {
    grid-template-columns: 1fr;
  }
  .story-image {
    min-height: 280px;
  }
  .story-tag {
    padding: 45px;
  }
  .placeholder {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin: 8px 0;
  }
}
@media (max-width: 560px) {
  .hero {
    min-height: 720px;
  }
  .hero-content {
    transform: translateY(-52px);
    padding: 36px 55px 44px;
    min-width: 300px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-logo-mark {
    width: 72px;
    height: 72px;
    border-radius: 18px;
  }
  .match {
    transform: scale(0.86);
  }
  .match-left {
    left: 2%;
    bottom: 18px;
  }
  .match-right {
    right: 2%;
    bottom: 18px;
  }
  .heart-line {
    bottom: 17%;
  }
  .section {
    padding: 55px 6%;
  }
  .why h2,
  .placeholder h2 {
    font-size: 28px;
  }
  .cta h2 {
    font-size: 34px;
  }
  .footer-links {
    gap: 14px;
  }
}