/* ============================================================
   NAUGHTY BOY × MFM STORE — Landing CRO
   Mobile first · Dark premium · Un solo objetivo: WhatsApp
   ============================================================ */

:root {
  --black: #0b0b0d;
  --panel: #131317;
  --panel-2: #1a1a20;
  --white: #ffffff;
  --gray: #a7a7b0;
  --mint: #4bf0a7;      /* verde del ticker de la marca */
  --red: #f13b57;       /* rojo de acción de la marca */
  --blue: #2f8fe6;
  --purple: #a259e6;
  --wa: #25d366;        /* verde oficial WhatsApp */
  --wa-dark: #128c4a;

  --font: "Archivo", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --container: 1180px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 760px; }

/* ---------- Tipografía display ---------- */
.hero__title, .finale__title, .section__title {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.section { padding: 64px 0; }
.section__title { font-size: clamp(1.9rem, 5.5vw, 3rem); margin-bottom: 12px; }
.section__lead { color: var(--gray); font-size: 1.05rem; max-width: 46ch; margin-bottom: 36px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--mint);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--white); opacity: .85; }

.micro { font-size: .8rem; color: var(--gray); margin-top: 10px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem;
  padding: 14px 26px;
  border: 0; border-radius: 999px;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:active { transform: scale(.97); }

.btn--wa { background: var(--wa); color: #04150b; box-shadow: 0 8px 28px rgba(37, 211, 102, .32); }
.btn--wa:hover { background: #2fe374; transform: translateY(-2px); }

.btn--red { background: var(--red); color: var(--white); box-shadow: 0 8px 24px rgba(241, 59, 87, .3); }
.btn--red:hover { filter: brightness(1.08); transform: translateY(-2px); }

.btn--xl { font-size: 1.08rem; padding: 17px 32px; }

/* ============================================================
   1 · TICKER SUPERIOR (todo el ancho es un enlace a WhatsApp)
   ============================================================ */
.ticker {
  position: sticky; top: 0; z-index: 60;
  display: block; overflow: hidden;
  background: var(--mint); color: #05130c;
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: .8rem; letter-spacing: .06em;
  padding: 9px 0;
  white-space: nowrap;
}
.ticker__track { display: inline-flex; animation: marquee 22s linear infinite; will-change: transform; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Variante Instagram (no fija, dentro del flujo) */
.ticker--ig {
  position: static;
  background: linear-gradient(90deg, #7b2ff7 0%, #d62976 45%, #fa7e1e 100%);
  color: var(--white);
}

/* ============================================================
   2 · HEADER MÍNIMO
   ============================================================ */
.header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px;
  background: var(--black);
}
.header__brand { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .01em; }
.header__brand em { font-style: normal; font-size: .6em; vertical-align: super; }
.header__by { font-weight: 500; font-style: normal; text-transform: none; color: var(--gray); font-size: .78rem; letter-spacing: 0; }
.header__back { font-size: .8rem; color: var(--gray); transition: color .15s; }
.header__back:hover { color: var(--white); }

/* ============================================================
   3 · HERO (imagen de fondo, contenido sobre el área libre)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: max(560px, 86svh);
  background: #4a0510;
}
.hero__banner {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 76% center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 4, 6, .86) 0%, rgba(12, 4, 6, .58) 46%, rgba(12, 4, 6, .12) 78%, transparent 100%);
}
.hero__content { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 64px; text-align: left; }
.hero__title { font-size: clamp(2.3rem, 8.5vw, 4.4rem); margin-bottom: 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero__sub { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 46ch; margin: 0 0 22px; }
.hero__sub strong { color: var(--white); }

.trust {
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 10px;
  margin-bottom: 28px;
}
.trust li {
  font-size: .8rem; font-weight: 600;
  color: var(--mint);
  background: rgba(5, 19, 12, .55);
  border: 1px solid rgba(75, 240, 167, .35);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ============================================================
   4 · CÓMO COMPRAR
   ============================================================ */
.steps { background: var(--panel); }
.steps__grid { display: grid; gap: 18px; counter-reset: step; }
.step {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step__num {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  background: var(--wa); color: #04150b;
  font-weight: 900; font-style: italic; font-size: 1.25rem;
  border-radius: 12px;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--gray); font-size: .95rem; }

/* ============================================================
   5 · ¿POR QUÉ NAUGHTY BOY?
   ============================================================ */
.why__grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.why__card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 24px 18px;
  transition: transform .2s var(--ease), border-color .2s;
}
.why__card:hover { transform: translateY(-4px); border-color: rgba(75, 240, 167, .4); }
.why__ico { color: var(--mint); margin-bottom: 14px; }
.why__card h3 { font-size: 1rem; font-weight: 800; font-style: italic; text-transform: uppercase; margin-bottom: 6px; }
.why__card p { color: var(--gray); font-size: .88rem; }

/* ============================================================
   6 · BENEFICIOS CLAVE
   ============================================================ */
.benefits { background: var(--panel); }
.benefits__grid { display: grid; gap: 18px; }
.benefit {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.benefit__ico {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  color: var(--mint);
  background: rgba(75, 240, 167, .08);
  border: 1px solid rgba(75, 240, 167, .22);
  margin-bottom: 16px;
}
.benefit h3 { font-size: 1.2rem; font-weight: 900; font-style: italic; text-transform: uppercase; margin-bottom: 8px; }
.benefit p { color: var(--gray); font-size: .95rem; max-width: 34ch; margin: 0 auto 14px; }
.benefit__tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--white);
  background: rgba(255, 255, 255, .07);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ============================================================
   7 · PRODUCTOS
   ============================================================ */
.products__grid { display: grid; gap: 18px; }

.card {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-6px); }

.card[data-accent="mint"]   { --accent: var(--mint); }
.card[data-accent="blue"]   { --accent: var(--blue); }
.card[data-accent="purple"] { --accent: var(--purple); }
.card[data-accent="red"]    { --accent: var(--red); }
.card:hover { border-color: var(--accent); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }

.card__media {
  background:
    radial-gradient(80% 90% at 50% 100%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
    linear-gradient(180deg, #f4f4f6, #e6e6ea);
  padding: 22px;
}
.card__media img { margin-inline: auto; max-height: 300px; width: auto; transition: transform .25s var(--ease); }
.card:hover .card__media img { transform: scale(1.04) rotate(-1deg); }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.card__name { font-size: 1.12rem; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.15; }
.card__price { color: var(--accent); font-weight: 800; font-size: 1.15rem; margin: 6px 0 10px; }
.card__price--ask { font-size: .95rem; }
.card__desc { color: var(--gray); font-size: .9rem; flex: 1; }

.card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.card__chips li {
  font-size: .72rem; font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, .07);
  border-radius: 999px;
  padding: 4px 10px;
}

.card__cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .95rem;
  color: #04150b; background: var(--wa);
  border-radius: 999px;
  padding: 12px 18px;
  transition: background .18s;
}
.card:hover .card__cta { background: #2fe374; }

/* ============================================================
   8 · SOCIAL PROOF
   ============================================================ */
.proof { background: var(--panel); }
.proof__grid { display: grid; gap: 16px; }
.quote {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 24px;
}
.quote__stars { color: var(--mint); letter-spacing: 3px; margin-bottom: 10px; }
.quote blockquote { color: var(--gray); font-size: .95rem; font-style: italic; margin-bottom: 12px; }
.quote figcaption { font-size: .85rem; color: var(--white); }

/* ============================================================
   9 · FAQ
   ============================================================ */
.faq__item {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: var(--panel);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 18px 48px 18px 20px;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--mint); font-size: 1.4rem; font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--gray); font-size: .93rem; padding: 0 20px 18px; }
.faq__link { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.faq__link:hover { color: var(--white); }

/* ============================================================
   10 · BANNER FINAL
   ============================================================ */
.finale { position: relative; overflow: hidden; background: #180b02; }
.finale__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.finale::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 5, 0, .82) 0%, rgba(10, 5, 0, .55) 45%, rgba(10, 5, 0, .1) 100%);
}
.finale__content { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.finale__title { font-size: clamp(2.6rem, 9vw, 5rem); margin-bottom: 12px; }
.finale__sub { font-size: 1.1rem; font-weight: 600; color: rgba(255, 255, 255, .88); margin-bottom: 26px; }

/* ============================================================
   11 · EMAIL
   ============================================================ */
.email { position: relative; padding: 0; background-size: cover; background-position: center; }
.email__overlay { background: rgba(8, 8, 10, .88); padding: 64px 0; }
.email .section__lead { margin-bottom: 24px; }
.email__form { display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.email__form input {
  font: inherit;
  padding: 15px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.email__form input::placeholder { color: rgba(255, 255, 255, .45); }
.email__form input:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(75, 240, 167, .18); }
.email__status { margin-top: 12px; font-size: .9rem; min-height: 1.4em; }
.email__status.ok { color: var(--mint); }
.email__status.err { color: var(--red); }

/* ============================================================
   12 · FOOTER
   ============================================================ */
.footer { background: #08080a; border-top: 1px solid rgba(255, 255, 255, .06); padding: 44px 0; }
.footer__grid { display: grid; gap: 28px; }
.footer__col { display: grid; gap: 10px; }
.footer__col a { color: var(--gray); font-size: .92rem; transition: color .15s; }
.footer__col a:hover { color: var(--white); }
.footer__legal { color: #62626b; font-size: .78rem; line-height: 1.7; }

/* ============================================================
   FAB WHATSAPP
   ============================================================ */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  background: var(--wa); color: #04150b;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .18s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ============================================================
   ANIMACIONES DE ENTRADA (scroll reveal)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  .fab::before { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* ============================================================
   BREAKPOINTS (mobile first)
   ============================================================ */
@media (min-width: 640px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .email__form { flex-direction: row; }
  .email__form input { flex: 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__legal { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .section { padding: 96px 0; }
  .ticker { font-size: .85rem; }
  .steps__grid { grid-template-columns: repeat(3, 1fr); }
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .proof__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1.4fr; align-items: start; }
  .footer__legal { grid-column: auto; text-align: right; }

  .hero__content { padding-top: 56px; padding-bottom: 88px; }

  .finale__content { padding-top: 120px; padding-bottom: 120px; max-width: var(--container); }
  .finale__title br { display: inline; }
}

@media (min-width: 1200px) {
  .products__grid { grid-template-columns: repeat(5, 1fr); }
  .card__media img { max-height: 220px; }
  .card__name { font-size: .98rem; }
  .card__desc { font-size: .84rem; }
}
