/* VerzaTrade — pre-landing «Dos fuerzas. Un mercado.»
   Identidad oscura de la casa: negro profundo, verde alcista, rojo bajista. */

:root {
  --bg: #07090c;
  --bg-alt: #0b0e12;
  --panel: #10141a;
  --panel-2: #141a21;
  --line: #222b35;
  --text: #eef3f0;
  --muted: #9daba4;
  --green: #53d769;
  --green-deep: #2ea44f;
  --red: #ff5a52;
  --radius: 16px;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #63e07c, var(--green-deep));
  color: #04140a;
  box-shadow: 0 8px 28px rgba(83, 215, 105, .28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(83, 215, 105, .38); }
.btn-ghost {
  background: rgba(10, 14, 18, .55); color: var(--text);
  border-color: rgba(238, 243, 240, .35); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-large { padding: 17px 36px; font-size: 1.1rem; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(18px, 4vw, 44px);
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 9, 12, .88);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; font-weight: 700; font-size: 1.18rem; letter-spacing: .2px;
  margin-right: auto;
}
.brand img { border-radius: 8px; }
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--text); }

/* ---------- Héroe ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: #000; }
.hero-media video, .hero-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
}
.hero-fallback { z-index: 0; }
.hero-media video { z-index: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(4, 6, 8, .55) 0%, rgba(4, 6, 8, 0) 26%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 9, 12, .55) 18%, rgba(7, 9, 12, 0) 46%),
    linear-gradient(90deg, rgba(4, 6, 8, .62) 0%, rgba(4, 6, 8, .18) 55%, rgba(4, 6, 8, 0) 78%);
}
.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 120px clamp(20px, 4vw, 44px) 86px;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em;
  font-size: .78rem; font-weight: 700; color: var(--green);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.4rem);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.015em;
  text-shadow: 0 4px 34px rgba(0, 0, 0, .65);
  margin-bottom: 20px;
}
.h1-accent {
  background: linear-gradient(92deg, #eafff0 10%, var(--green) 55%, #b8ffd0 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 600px; font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: #d7e2dc; text-shadow: 0 2px 16px rgba(0, 0, 0, .8);
  margin-bottom: 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-note { color: var(--muted); font-size: .92rem; }

.hero-pause {
  position: absolute; right: 20px; bottom: 20px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(10, 14, 18, .55); color: #dfe8e2;
  border: 1px solid rgba(238, 243, 240, .25); cursor: pointer;
  backdrop-filter: blur(6px); transition: border-color .15s ease, color .15s ease;
}
.hero-pause:hover { border-color: var(--green); color: var(--green); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 4; width: 26px; height: 42px; border-radius: 14px;
  border: 1.5px solid rgba(238, 243, 240, .35);
  display: none;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 7px; width: 4px; height: 9px;
  margin-left: -2px; border-radius: 3px; background: var(--green);
  animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  55% { transform: translateY(14px); opacity: 0; }
}
@media (min-height: 700px) { .hero-scroll { display: block; } }

/* ---------- Secciones ---------- */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(76px, 10vw, 128px) clamp(20px, 4vw, 44px);
}
.section-alt {
  max-width: none; background: var(--bg-alt);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800;
  letter-spacing: -0.01em; line-height: 1.08; margin-bottom: 14px;
}
.section-lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.13rem); }

/* ---------- Capturas de la plataforma ---------- */
.shot-sequence { display: grid; gap: clamp(44px, 6vw, 72px); }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 760px) { .shot-pair { grid-template-columns: 1fr; } }
.shot { display: grid; gap: 18px; margin: 0; }
.browser-frame {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--panel);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 4px 18px rgba(0, 0, 0, .45);
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px; background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #2b3540; }
.browser-bar .dot:first-child { background: #3d4a58; }
.browser-url {
  margin-left: 10px; padding: 4px 14px; border-radius: 999px;
  background: #0b0f14; color: var(--muted);
  font-size: .78rem; letter-spacing: .02em;
}
.browser-frame img { width: 100%; height: auto; }
.shot figcaption { display: flex; gap: 18px; align-items: baseline; max-width: 760px; }
.shot .step {
  flex: none; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; padding-top: 3px;
}
.shot figcaption p { color: var(--muted); }

/* ---------- Tarjetas de familias ---------- */
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 28px 30px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(83, 215, 105, .45); transform: translateY(-3px); }
.card h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 4px; }
.card-tag {
  color: var(--green); font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px;
}
.card p:last-child { color: var(--muted); }

/* ---------- El cerebro ---------- */
.principles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.principle {
  display: flex; gap: 18px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.principle-mark {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(83, 215, 105, .12); color: var(--green);
  border: 1px solid rgba(83, 215, 105, .3);
}
.principle h3 { font-size: 1.12rem; margin-bottom: 6px; }
.principle p { color: var(--muted); font-size: .97rem; }

/* ---------- Planes ---------- */
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; flex-direction: column;
}
.plan-total {
  border-color: rgba(83, 215, 105, .55);
  box-shadow: 0 18px 50px rgba(46, 164, 79, .14);
}
.plan h3 {
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--muted); margin-bottom: 10px;
}
.plan-price { font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 20px; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin-bottom: 28px; display: grid; gap: 10px; }
.plan li { color: var(--muted); padding-left: 22px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); opacity: .85;
}
.plan li strong { color: var(--text); }
.plan .btn { margin-top: auto; }

/* ---------- Cierre ---------- */
.closing {
  text-align: center;
  padding: clamp(84px, 11vw, 140px) 20px;
  background:
    radial-gradient(560px 300px at 50% 108%, rgba(83, 215, 105, .13), transparent 70%),
    var(--bg);
}
.closing-logo {
  width: 118px; height: auto; margin: 0 auto 26px;
  border-radius: 26px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(0, 0, 0, .55), 0 0 64px rgba(83, 215, 105, .16);
}
.closing h2 {
  font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.closing p { color: var(--muted); font-size: 1.12rem; margin-bottom: 32px; }

/* ---------- Pie ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: #05070a;
  padding: 56px clamp(20px, 4vw, 44px) 34px;
}
.footer-cols {
  max-width: var(--max); margin: 0 auto 40px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 34px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 340px; font-size: .95rem; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav h4 {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--text); margin-bottom: 4px;
}
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: var(--green); }
.footer-legal {
  max-width: var(--max); margin: 0 auto;
  border-top: 1px solid var(--line); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between;
  color: #6d7a73; font-size: .85rem;
}
.footer-legal .risk { max-width: 560px; }

/* ---------- Aparición suave ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards, .principles { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-header .btn { padding: 8px 14px; font-size: .84rem; white-space: nowrap; }
  .hero-inner { padding-bottom: 104px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .shot figcaption { flex-direction: column; gap: 6px; }
  .hero-pause { bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scroll span { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
