/* Portada de SportyFuel. Las páginas de texto siguen usando styles.css. */
:root {
  --orange: #FE5502;
  --orange-deep: #D63E00;
  --orange-soft: #FFE7D9;
  --ink: #1B110C;
  --bg: #FFF8F3;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;
  --text: #1B110C;
  --muted: #6E625B;
  --line: #F0E4DC;
  --chip: #FFF1E8;
  --shadow: 0 30px 60px -20px rgba(120, 40, 0, .28), 0 10px 24px -10px rgba(60, 20, 0, .18);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: light dark;
}
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #150F0C;
    --bg-alt: #1D1612;
    --card: #241B16;
    --text: #F7EFEA;
    --muted: #B6A79E;
    --line: #362A23;
    --chip: #33241B;
    --orange-soft: #3A2215;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 10px 24px -10px rgba(0, 0, 0, .5);
  }
  .t-dark { border: 1px solid var(--line) !important; background: #0E0907 !important; }
  .logo-light { display: none !important; }
  .logo-dark { display: block !important; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; }
h2 em { color: var(--orange); }
.lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--muted); max-width: 640px; }

/* Cabecera flotante */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 16px; }
.nav .bar {
  max-width: 1100px; margin: 0 auto; height: 60px; padding: 0 10px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: color-mix(in srgb, var(--bg-alt) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 30px -12px rgba(80, 30, 0, .18);
}
.nav .logo { flex-shrink: 0; }
.nav .logo img { height: 24px; width: auto; max-width: none; }
.nav .links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav .links a { text-decoration: none; color: var(--muted); }
.nav .links a:hover { color: var(--text); }
.nav .right { display: flex; align-items: center; gap: 8px; }
.lang { font-size: 14px; font-weight: 700; text-decoration: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.lang:hover { color: var(--text); }
.btn-nav { font-size: 14px; font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-nav { background: var(--orange); } }

/* Botón App Store */
.store {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: #000; color: #fff; padding: 11px 22px 11px 18px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18); transition: transform .2s;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store span { display: flex; flex-direction: column; line-height: 1.1; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.store small { font-size: 11px; font-weight: 500; letter-spacing: 0; opacity: .85; }

/* Portada */
.hero {
  position: relative; padding: 128px 0 40px; text-align: center; overflow: hidden;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(254, 85, 2, .16), transparent 60%),
    radial-gradient(800px 500px at 90% 30%, rgba(255, 170, 60, .18), transparent 60%),
    var(--bg);
}
.hero h1 { font-size: clamp(54px, 6.6vw, 104px); font-weight: 800; letter-spacing: -0.055em; }
@media (min-width: 768px) { .hero h1 br { display: none; } }
.hero h1 em { display: inline-block; color: var(--orange); padding-right: .06em; }
.hero .lead { margin: 26px auto 34px; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; }
.hero .more { font-weight: 600; color: var(--muted); text-decoration: none; }
.hero .more:hover { color: var(--text); }
.hero .note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.phone {
  position: absolute; width: 290px; aspect-ratio: 1206 / 2622; padding: 9px;
  background: linear-gradient(145deg, #3a3a3c, #0c0c0d 40%, #2a2a2c); border-radius: 50px; box-shadow: var(--shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 42px; }
/* Abanico de móviles: misma disposición y movimiento que crushscore.app.
   --w es el ancho del móvil central; los demás se colocan en proporción. */
.fan {
  --w: min(51vw, 300px); --ix: .34; --iy: .04; --ir: 6deg; --is: .82; --ox: .66; --oy: .1; --or: 12deg; --os: .68;
  position: relative; height: calc(var(--w) * 2.2); margin: 56px auto 0;
}
@media (min-width: 768px) {
  .fan { --w: min(27vw, 340px, 40svh); --ix: .66; --iy: .05; --ir: 7deg; --is: .88; --ox: 1.22; --oy: .14; --or: 13deg; --os: .76; margin-top: 40px; }
}
.slot {
  position: absolute; left: 50%; top: 0; width: var(--w); transform-origin: 50% 100%;
  transform: translateX(-50%) translate(var(--tx, 0px), var(--ty, 0px)) rotate(var(--rot, 0deg)) scale(var(--sc, 1));
}
.slot[data-pos="0"] { --tx: calc(var(--w) * var(--ox) * -1); --ty: calc(var(--w) * var(--oy)); --rot: calc(var(--or) * -1); --sc: var(--os); z-index: 1; }
.slot[data-pos="1"] { --tx: calc(var(--w) * var(--ix) * -1); --ty: calc(var(--w) * var(--iy)); --rot: calc(var(--ir) * -1); --sc: var(--is); z-index: 2; }
.slot[data-pos="2"] { z-index: 3; }
.slot[data-pos="3"] { --tx: calc(var(--w) * var(--ix)); --ty: calc(var(--w) * var(--iy)); --rot: var(--ir); --sc: var(--is); z-index: 2; }
.slot[data-pos="4"] { --tx: calc(var(--w) * var(--ox)); --ty: calc(var(--w) * var(--oy)); --rot: var(--or); --sc: var(--os); z-index: 1; }
.fan .phone {
  position: relative; width: 100%; padding: calc(var(--w) * .03); border-radius: calc(var(--w) * .165);
  box-shadow: 0 28px 36px -8px rgba(90, 30, 0, .28), 0 6px 10px rgba(90, 30, 0, .14);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.fan .phone img { border-radius: calc(var(--w) * .138); }
.enter { animation: phone-in 1.1s cubic-bezier(.22, 1, .36, 1) both; }
.slot[data-pos="2"] .enter { animation-delay: .18s; }
.slot[data-pos="1"] .enter, .slot[data-pos="3"] .enter { animation-delay: .38s; }
.slot[data-pos="0"] .enter, .slot[data-pos="4"] .enter { animation-delay: .55s; }
@keyframes phone-in { from { opacity: 0; transform: translateY(120px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 768px) and (hover: hover) {
  .float { will-change: transform; animation: phone-float 7s ease-in-out infinite; }
  .slot[data-pos="1"] .float, .slot[data-pos="3"] .float { animation-duration: 8.5s; animation-delay: -2s; }
  .slot[data-pos="0"] .float, .slot[data-pos="4"] .float { animation-duration: 9.5s; animation-delay: -4s; }
  .slot:hover .phone { transform: translateY(-14px); }
}


/* Banda de frases */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 22px 0; position: relative; z-index: 4; }
.marquee .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee ul { display: flex; align-items: center; gap: 36px; margin: 0; padding: 0 18px; list-style: none; font-size: 24px; font-weight: 600; white-space: nowrap; }
.marquee li:nth-child(odd) { font-family: var(--serif); font-style: italic; font-weight: 400; color: #FFD2B8; }
.marquee li.sep { color: var(--orange); font-size: 18px; font-family: var(--sans); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ¿Te suena? */
.pains { padding: 130px 0 60px; background: var(--bg-alt); }
.pains header { max-width: 760px; margin-bottom: 70px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.row .num { font-size: 15px; font-weight: 700; color: var(--orange); margin-bottom: 14px; }
.row h3 { font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; }
.row h3 em { color: var(--orange); }
.row p { color: var(--muted); font-size: 18px; margin: 18px 0 0; max-width: 470px; }
.row:nth-child(even) .copy { order: 2; }

.mock { background: var(--bg); border: 1px solid var(--line); border-radius: 30px; padding: 26px; box-shadow: var(--shadow); max-width: 500px; width: 100%; justify-self: center; }
.mock .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); background: var(--chip); padding: 5px 11px; border-radius: 999px; }
.mock .title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 18px; margin: 14px 0 12px; }
.mock .count { font-size: 14px; color: var(--orange); background: var(--chip); padding: 2px 10px; border-radius: 999px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px dashed var(--line); }
.tl b { font-variant-numeric: tabular-nums; }
.tl small { display: block; color: var(--muted); font-size: 13px; }
.pill { font-size: 13px; font-weight: 700; color: var(--orange); background: var(--chip); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big div { background: linear-gradient(150deg, var(--orange), var(--orange-deep)); color: #fff; border-radius: 20px; padding: 18px; }
.big strong { display: block; font-size: 38px; letter-spacing: -0.03em; line-height: 1.05; }
.big span { font-size: 14px; opacity: .9; }
.warn { margin-top: 14px; border-left: 4px solid #F5A623; background: var(--card); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 600; }
.chips span.on { background: var(--orange); border-color: var(--orange); color: #fff; }
.station { margin-top: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.station .km { font-size: 13px; color: var(--muted); }
.station .go { margin-top: 10px; font-weight: 700; color: var(--orange); }
.wa { background: #E7FFDB; color: #10210A; border-radius: 18px 18px 18px 4px; padding: 14px 16px; font-size: 15px; line-height: 1.5; max-width: 340px; }
.wa .meta { text-align: right; font-size: 12px; color: #5f7a55; }
.offline { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 14px; }

/* Bento */
.bento { padding: 60px 0 120px; background: var(--bg-alt); }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: 34px; padding: 40px; min-height: 420px; background: var(--bg); border: 1px solid var(--line); }
.tile h3 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; }
.tile p { color: var(--muted); margin: 14px 0 0; max-width: 420px; }
.tile .phone { width: 250px; }
.t-dark { grid-column: span 6; background: var(--ink); color: #fff; border: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; min-height: 560px; }
.t-dark p { color: #D9CCC4; }
.t-dark h3 em { color: #FF8A4C; }
.t-dark .phones { position: relative; }
.t-dark .phone { bottom: -150px; }
.t-dark .phone.a { left: 4%; transform: rotate(-6deg); }
.t-dark .phone.b { right: 4%; transform: rotate(6deg); bottom: -110px; }
.stats { display: flex; flex-direction: column; gap: 16px; margin-top: 34px; max-width: 420px; }
.stat { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #FF8A4C, var(--orange)); }
.t-half { grid-column: span 3; }
.t-half .phone { left: 50%; bottom: -230px; transform: translateX(-50%) rotate(-4deg); }
.t-half { min-height: 560px; }
.t-orange { background: linear-gradient(150deg, #FF7A2E, var(--orange) 45%, var(--orange-deep)); color: #fff; border: 0; }
.t-orange p { color: rgba(255, 255, 255, .9); }
.t-orange h3 em { color: #fff; }
.t-thirds { grid-column: span 2; min-height: 0; }
.t-thirds .ico { font-size: 34px; margin-bottom: 18px; }
.t-thirds h3 { font-size: 26px; letter-spacing: -0.02em; }
.t-thirds p { font-size: 16px; }

/* Ciencia */
.science { padding: 0 12px 20px; background: var(--bg-alt); }
.science .card {
  max-width: 1240px; margin: 0 auto; border-radius: 44px; padding: 80px 60px; color: #fff;
  background: radial-gradient(700px 400px at 85% 15%, rgba(255, 200, 120, .45), transparent 60%), linear-gradient(135deg, #FF8A3D, var(--orange) 50%, #C9330A);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; overflow: hidden;
}
.science .phone { position: relative; width: 300px; margin: 0 auto -200px; transform: rotate(-4deg); }
.science .kicker { color: #FFE0CC; }
.science h2 em { color: #fff; }
.science .lead { color: rgba(255, 255, 255, .92); }
.facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 12px; }
.facts li { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 18px; padding: 14px 18px; font-weight: 600; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.facts li b { font-weight: 800; }
.disclaimer { margin: 22px 0 0; font-size: 14px; color: rgba(255, 255, 255, .85); }

/* Privacidad */
.privacy { padding: 120px 0; background: var(--bg-alt); text-align: center; }
.privacy .lead { margin: 22px auto 0; }
.privacy .chips { justify-content: center; margin-top: 30px; }
.privacy a.inline { color: var(--orange); font-weight: 600; }

/* Precios */
.prices { padding: 110px 0; }
.prices header { text-align: center; margin-bottom: 50px; }
.prices header .lead { margin: 16px auto 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 32px; }
.plan h3 { font-size: 20px; letter-spacing: -0.01em; }
.plan .amount { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; margin: 10px 0 4px; }
.plan .amount small { font-size: 17px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 15px; }
.plan li::before { content: "✓"; color: var(--orange); font-weight: 800; margin-right: 10px; }
.plan.featured { background: var(--ink); color: #fff; border: 0; box-shadow: var(--shadow); transform: translateY(-12px); }
.plan.featured ul, .plan.featured .amount small { color: #D9CCC4; }
.plan .badge { display: inline-block; background: var(--orange); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.fine { max-width: 800px; margin: 36px auto 0; text-align: center; font-size: 13px; color: var(--muted); }

/* Cierre */
.final { padding: 0 12px 12px; }
.final .card {
  border-radius: 44px; padding: 110px 24px; text-align: center; color: #fff; overflow: hidden; position: relative;
  background: radial-gradient(600px 400px at 20% 0%, rgba(255, 210, 150, .5), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(150, 20, 0, .5), transparent 60%), linear-gradient(135deg, #FF8A3D, var(--orange) 55%, #D63E00);
}
.final .icon { width: 110px; height: 110px; border-radius: 26px; margin: 0 auto 34px; box-shadow: 0 20px 40px -10px rgba(80, 20, 0, .5); }
.final h2 { font-size: clamp(46px, 8vw, 104px); letter-spacing: -0.05em; }
.final h2 em { color: #fff; display: block; }
.final p { font-size: 19px; opacity: .95; margin: 24px auto 34px; max-width: 520px; }
.final .small { font-size: 14px; opacity: .85; margin: 24px auto 0; }

footer.foot { padding: 40px 0 50px; color: var(--muted); font-size: 15px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
footer.foot img { height: 22px; width: auto; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer.foot a { text-decoration: none; }
footer.foot a:hover { color: var(--text); }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
  .enter, .float { animation: none; }
  .fan .phone { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Tableta y móvil */
@media (max-width: 1000px) {
  .nav .links { display: none; }
  .row { grid-template-columns: 1fr; gap: 36px; }
  .row:nth-child(even) .copy { order: 0; }
  .t-dark { grid-template-columns: 1fr; }
  .t-dark .phones { min-height: 380px; }
  .t-half { grid-column: span 6; }
  .t-thirds { grid-column: span 6; }
  .science .card { grid-template-columns: 1fr; padding: 60px 28px 0; }
  .science .phone { order: 2; margin: 0 auto -120px; width: 260px; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { transform: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav { top: 10px; padding: 0 10px; }
  .nav .bar { height: 54px; padding: 0 6px 0 16px; }
  .nav .logo img { height: 20px; }
  .btn-nav { padding: 9px 14px; }
  .hero { padding-top: 120px; }
  .marquee ul { font-size: 19px; gap: 26px; }
  .pains { padding: 90px 0 30px; }
  .pains header { margin-bottom: 30px; }
  .row { padding: 44px 0; }
  .mock { padding: 20px; border-radius: 24px; }
  .big strong { font-size: 30px; }
  .tile { padding: 28px; border-radius: 28px; }
  .t-dark .phone { width: 190px; }
  .t-dark .phone.a { left: 0; }
  .t-dark .phone.b { right: 0; }
  .t-half { min-height: 520px; }
  .t-half .phone { width: 220px; bottom: -200px; }
  .science .card, .final .card { border-radius: 32px; }
  .privacy, .prices { padding: 80px 0; }
  .final .card { padding: 80px 20px; }
}
@media (max-width: 380px) {
  .nav .logo img { height: 18px; }
  .lang { padding: 8px 10px; }
  .btn-nav { padding: 9px 12px; font-size: 13px; }
}

/* Páginas legales (privacidad y términos): mismo formato que las de CrushScore */
.legal { padding: 128px 0 80px; }
.legal .wrap { max-width: 768px; }
.legal h1 { font-size: clamp(38px, 7vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: .95; }
.legal .updated { color: var(--muted); margin-top: 16px; }
.legal .todo { background: #fff3cd; color: #5c4400; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.legal .doc { margin-top: 40px; background: var(--card); border-radius: 32px; padding: 40px; box-shadow: 0 0 0 1px rgba(254, 85, 2, .1), 0 30px 60px -30px rgba(60, 20, 0, .2); }
.legal .doc section + section { margin-top: 32px; }
.legal .doc h2 { font-size: 24px; line-height: 32px; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px; }
.legal .doc p { color: var(--muted); font-size: 16px; line-height: 26px; margin: 12px 0; }
.legal .doc h2 + p { margin-top: 0; }
@media (max-width: 640px) {
  .legal .doc { padding: 24px; }
}
