/* ==========================================================================
   ValquiriaFit — página de inicio (landing)
   ========================================================================== */
:root {
  --brand: #5b2a86;
  --brand-2: #c32b85;
  --brand-soft: color-mix(in srgb, var(--brand) 12%, transparent);
  --bg: #ffffff;
  --bg-alt: #f6f6fb;
  --surface: #ffffff;
  --surface-2: #f2f3f8;
  --border: #e4e6ef;
  --text: #121420;
  --muted: #646b82;
  --ok: #12a06a;
  --warn: #d98a06;
  --danger: #df3f57;
  --shadow: 0 1px 2px rgba(16,20,40,.05), 0 8px 24px rgba(16,20,40,.06);
  --shadow-l: 0 30px 80px rgba(70,30,110,.18);
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d14; --bg-alt: #10131c; --surface: #161a25; --surface-2: #1d2230;
    --border: #272c3b; --text: #eef0f7; --muted: #9aa1b7;
    --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-l: 0 30px 80px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0d14; --bg-alt: #10131c; --surface: #161a25; --surface-2: #1d2230;
  --border: #272c3b; --text: #eef0f7; --muted: #9aa1b7;
  --shadow: 0 1px 2px rgba(0,0,0,.4); --shadow-l: 0 30px 80px rgba(0,0,0,.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 45%, transparent); }
.btn-ghost { border-color: var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { transform: translateY(-1px); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-mark.sm { width: 24px; height: 24px; border-radius: 7px; }
/* Logos de The Valquiria Fit (PNG con fondo blanco): en tema oscuro van sobre una placa blanca */
.brand-img { display: block; height: 38px; width: auto; }
.ph-logo { height: 26px; width: auto; border-radius: 6px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-img, :root:not([data-theme="light"]) .ph-logo { background: #fff; padding: 4px 10px; border-radius: 10px; box-sizing: content-box; } }
:root[data-theme="dark"] .brand-img, :root[data-theme="dark"] .ph-logo { background: #fff; padding: 4px 10px; border-radius: 10px; box-sizing: content-box; }
@media (max-width: 600px) { .brand-img { height: 30px; } }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav-links { display: flex; gap: 26px; margin-left: 20px; font-weight: 500; color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* Hero */
.hero { position: relative; padding: 72px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -200px -10% auto; height: 700px; background: radial-gradient(50% 50% at 30% 40%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%), radial-gradient(40% 40% at 75% 30%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%); z-index: -1; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--muted); box-shadow: var(--shadow); }
.creator-pill { padding: 4px 16px 4px 4px; color: var(--text); transition: border-color .2s; }
.creator-pill:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.creator-pill img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 30% 20%; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 900; margin: 22px auto 0; max-width: 900px; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin: 22px auto 0; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; padding: 0; margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.checks li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 6px; }
.checks.light { color: rgba(255,255,255,.85); }
.checks.light li::before { color: #fff; }

/* Mockup panel */
.shot { position: relative; margin: 56px auto 0; max-width: 980px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-l); text-align: left; }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.shot-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); }
.shot-body { display: grid; grid-template-columns: 170px 1fr; min-height: 340px; }
.shot-side { border-right: 1px solid var(--border); padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.shot-side b { height: 12px; border-radius: 6px; background: var(--surface-2); }
.shot-side b.on { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.shot-side em { height: 8px; width: 40%; border-radius: 4px; background: var(--border); margin-top: 8px; }
.shot-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi, .card { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: var(--surface); }
.kpi small, .card small { display: block; font-size: 12px; color: var(--muted); }
.kpi strong { display: block; font-size: 22px; font-weight: 800; margin: 4px 0 2px; letter-spacing: -.02em; }
.kpi span { font-size: 12px; font-weight: 600; }
.up { color: var(--ok); } .warn { color: var(--warn); }
.shot-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; flex: 1; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; margin-top: 14px; }
.bars i { flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--brand-2))); opacity: .9; }
.list p { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding: 8px 0; border-bottom: 1px solid var(--border); }
.list p:last-child { border-bottom: 0; }
.list em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.av { width: 28px; height: 28px; border-radius: 50%; background: var(--c); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.float { position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-l); font-size: 14px; animation: bob 5s ease-in-out infinite; }
.float small { display: block; color: var(--muted); font-size: 12px; }
.f1 { left: -40px; bottom: 60px; }
.f2 { right: -40px; top: 90px; animation-delay: -2.5s; }
.ok-ic, .ai-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; flex: none; }
.ok-ic { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.ai-ic { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Banner IA */
.ai-banner { display: flex; align-items: center; gap: 16px; margin: 40px auto 0; max-width: 820px; padding: 14px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 500; transition: border-color .2s; }
.ai-banner:hover { border-color: var(--brand); }
.tag { flex: none; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; font-size: 13px; font-weight: 700; }
.arrow { margin-left: auto; color: var(--brand); font-weight: 700; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; text-align: center; }
.stats strong { display: block; font-size: 42px; font-weight: 900; letter-spacing: -.03em; color: var(--brand); }
.stats span { color: var(--muted); font-size: 15px; }

/* Secciones */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-alt); }
.head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.head h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* Pestañas */
.tabs { display: flex; justify-content: center; gap: 6px; padding: 6px; margin: 0 auto 36px; width: fit-content; max-width: 100%; border-radius: 999px; background: var(--surface-2); overflow-x: auto; }
.tabs button { font: inherit; font-weight: 600; font-size: 15px; padding: 10px 22px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.panel { display: none; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 48px; border-radius: 28px; background: var(--bg-alt); border: 1px solid var(--border); }
.panel.active { display: grid; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.panel h3, .feature h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.panel p, .feature p { color: var(--muted); font-size: 17px; margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-weight: 500; }
.ticks li { display: flex; gap: 10px; }
.ticks li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 800; display: grid; place-items: center; }

/* Mini tarjetas ilustrativas */
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-l); }
.mini-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.chip.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.ex { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin-top: 8px; font-weight: 500; font-size: 15px; }
.ex em { font-style: normal; color: var(--muted); font-size: 14px; white-space: nowrap; }
.st { font-weight: 700; font-size: 12px !important; padding: 2px 10px; border-radius: 999px; }
.st.ok { color: var(--ok) !important; background: color-mix(in srgb, var(--ok) 14%, transparent); }
.st.warn { color: var(--warn) !important; background: color-mix(in srgb, var(--warn) 14%, transparent); }
.st.bad { color: var(--danger) !important; background: color-mix(in srgb, var(--danger) 14%, transparent); }
.line { width: 100%; height: 140px; display: block; }
.habits { display: flex; gap: 8px; margin-top: 16px; }
.h { flex: 1; aspect-ratio: 1; max-width: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.h.on { background: var(--brand); color: #fff; }
.habits.sm .h { max-width: 38px; font-size: 16px; }
.habits.sm .h.on { background: var(--brand-soft); }
.cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto repeat(4, 44px); gap: 8px; }
.cal-grid span { text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.cal-grid i { grid-row: calc(var(--r) + 1); grid-column: var(--c); border-radius: 10px; border-left: 4px solid; }
.cal-grid .a { background: var(--brand-soft); border-color: var(--brand); }
.cal-grid .b { background: color-mix(in srgb, var(--ok) 14%, transparent); border-color: var(--ok); }
.cal-grid .c { background: color-mix(in srgb, var(--warn) 16%, transparent); border-color: var(--warn); }

/* Bloques destacados */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 40px 0; }
.feature + .feature { margin-top: 40px; }
.feature.rev .feature-text { order: 2; }
.num { display: block; font-size: 14px; font-weight: 800; color: var(--brand); margin-bottom: 12px; }
.link { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--brand); }
.link:hover { text-decoration: underline; }
.feature-art { display: flex; justify-content: center; }
.feature-art .mini-card, .ai-box { width: 100%; max-width: 440px; }

.phone { width: 270px; padding: 12px; border-radius: 42px; background: #10121a; box-shadow: var(--shadow-l); }
.phone-in { border-radius: 32px; background: var(--bg-alt); padding: 26px 16px 22px; display: grid; gap: 12px; min-height: 470px; align-content: start; }
.ph-top { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 4px; }
.ph-card { padding: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.ph-card small { display: block; color: var(--muted); font-size: 12px; }
.ph-card b { display: block; font-size: 17px; margin-top: 2px; }
.ph-card span { font-size: 13px; }
.ph-card.brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border: 0; color: #fff; }
.ph-card.brand small, .ph-card.brand span { color: rgba(255,255,255,.85); }

.ai-box { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: var(--shadow-l); }
.ai-q { display: flex; gap: 12px; align-items: center; font-weight: 500; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.ai-a { margin-top: 18px; padding: 4px 4px 0; }
.ai-line { height: 12px; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), var(--brand-soft), var(--surface-2)); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; margin-bottom: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.ai-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ai-tags span { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--brand-soft); color: var(--brand); }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.m { padding: 16px; border-radius: 14px; background: var(--surface-2); }
.m small { display: block; color: var(--muted); font-size: 12px; }
.m b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.donut { width: 140px; aspect-ratio: 1; border-radius: 50%; margin: auto; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--surface-2) 0); display: grid; place-items: center; }
.donut span { width: 100px; aspect-ratio: 1; border-radius: 50%; background: var(--surface); display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 20px; }
.donut small { font-size: 11px; color: var(--muted); font-weight: 500; }

/* Carrusel de fotos (sección oscura) */
.showcase { margin-top: 72px; padding: 88px 0 72px; color: #fff; background: radial-gradient(60% 70% at 85% 0%, rgba(195,43,133,.28), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(91,42,134,.45), transparent 60%), #120b1d; overflow: hidden; }
.sc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.sc-head h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; max-width: 720px; }
.sc-head p { color: rgba(255,255,255,.72); font-size: 18px; margin-top: 14px; max-width: 640px; }
.eyebrow.light { color: #f0a3cf; }
.sc-nav { display: flex; gap: 10px; flex: none; }
.sc-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.sc-btn svg { width: 22px; height: 22px; }
.sc-btn:hover { background: #fff; color: #120b1d; border-color: #fff; }
.sc-btn:active { transform: scale(.94); }
/* Cinta continua: el raíl se mueve con transform (lo controla js/landing.js) */
.sc-track { overflow: hidden; padding: 6px 0 24px; outline: none; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.sc-track.dragging { cursor: grabbing; }
.sc-track:focus-visible { box-shadow: inset 0 0 0 2px #f0a3cf; }
.sc-rail { display: flex; width: max-content; padding-left: max(16px, calc((100vw - 1160px) / 2)); will-change: transform; }
.sc-card { position: relative; flex: 0 0 clamp(260px, 26vw, 330px); margin-right: 20px; aspect-ratio: 3 / 4.6; border-radius: 24px; overflow: hidden; background: #22162f; box-shadow: 0 20px 50px rgba(0,0,0,.35); isolation: isolate; }
.sc-card img { pointer-events: none; }
.sc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.sc-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,6,18,0) 38%, rgba(10,6,18,.55) 62%, rgba(10,6,18,.92) 100%); }
.sc-card:hover img { transform: scale(1.05); }
.sc-text { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.sc-tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.sc-text h3 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; line-height: 1.25; margin: 12px 0 10px; letter-spacing: -.01em; }
.sc-text b { font-size: 14px; color: #f0a3cf; font-weight: 700; }
.sc-foot { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
.sc-play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.sc-play:hover { background: rgba(255,255,255,.16); }
.sc-play svg { width: 14px; height: 14px; }
.sc-play .i-play, .sc-play.paused .i-pause { display: none; }
.sc-play.paused .i-play { display: block; }
@media (max-width: 700px) {
  .showcase { padding: 64px 0 52px; margin-top: 48px; }
  .sc-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
  .sc-nav { display: none; }
  .sc-card { flex-basis: 78vw; }
}
@media (prefers-reduced-motion: reduce) { .sc-card img { transition: none; } }

/* Quién está detrás */
.creator { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; padding: 48px; border-radius: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 8%, var(--surface)), color-mix(in srgb, var(--brand-2) 8%, var(--surface))); border: 1px solid var(--border); }
.creator-art { display: grid; place-items: center; }
.creator-art img { width: 100%; max-width: 280px; height: auto; border-radius: 24px; background: #fff; padding: 20px; box-shadow: var(--shadow-l); box-sizing: border-box; }
.creator h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.creator p { color: var(--muted); font-size: 17px; margin-top: 16px; }
@media (max-width: 900px) { .creator { grid-template-columns: 1fr; gap: 32px; padding: 28px; text-align: left; } .creator-art img { max-width: 200px; } }

/* Precios */
.billing { display: flex; gap: 6px; padding: 6px; margin: 0 auto 40px; width: fit-content; border-radius: 999px; background: var(--surface-2); }
.billing button { font: inherit; font-weight: 600; font-size: 15px; padding: 10px 22px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.billing button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.save { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.plan h3 { font-size: 22px; font-weight: 800; }
.plan-desc { color: var(--muted); margin-top: 6px; font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.price strong { font-size: 52px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-weight: 500; }
.billed { color: var(--muted); font-size: 13px; margin-top: 6px; min-height: 20px; }
.plan-btn { justify-content: center; margin-top: 22px; }
.plan .ticks { margin-top: 26px; font-size: 15px; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 24px 60px color-mix(in srgb, var(--brand) 22%, transparent); transform: translateY(-8px); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 32px; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; gap: 28px; }
  .plan.featured { transform: none; }
}

/* CTA */
.cta { margin: 110px auto; padding: 72px 32px; border-radius: 32px; text-align: center; color: #fff; background: radial-gradient(60% 80% at 20% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 30px 80px color-mix(in srgb, var(--brand) 35%, transparent); }
.cta h2 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; }
.cta p { margin: 14px auto 30px; max-width: 520px; font-size: 18px; color: rgba(255,255,255,.88); }

/* FAQ */
details { border-bottom: 1px solid var(--border); }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 22px; font-size: 16px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-in nav { display: flex; gap: 22px; color: var(--muted); font-size: 15px; flex-wrap: wrap; }
.foot-in nav a:hover { color: var(--text); }
.foot-in small { margin-left: auto; color: var(--muted); }

/* Aparición */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .ai-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1100px) {
  .f1 { left: 12px; bottom: -28px; }
  .f2 { right: 12px; top: -28px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .panel, .feature { grid-template-columns: 1fr; gap: 36px; padding: 28px; }
  .feature { padding: 24px 0; }
  .feature.rev .feature-text { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .shot-body { grid-template-columns: 1fr; }
  .shot-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .hero { padding-top: 48px; }
  .shot-row { grid-template-columns: 1fr; }
  .float { display: none; }
  .panel { padding: 22px; border-radius: 22px; }
  .ai-banner { border-radius: 20px; align-items: flex-start; flex-wrap: wrap; }
  .arrow { display: none; }
  .cta { padding: 52px 20px; margin: 72px auto; }
  .foot-in small { margin-left: 0; width: 100%; }
  .nav-cta .btn { padding: 9px 14px; font-size: 14px; }
}
