/* ===================================================================
   SeArma — landing (v2, "con onda" deportiva)
   Paleta del logo: negro-cancha + verde lima + blanco.
   Sin dependencias. Tokens editables abajo.
=================================================================== */

:root {
  --bg: #070907;
  --bg-2: #0d130c;
  --card: #141b13;
  --card-2: #1b2419;
  --lime: #9be000;
  --lime-bright: #b6ff1a;
  --lime-dark: #6fa800;
  --text: #f4f7f1;
  --text-dim: #93a08b;
  --border: #283324;
  --error: #ff5d5d;

  --radius: 18px;
  --radius-sm: 11px;
  --maxw: 1180px;
  --space: 22px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  --ring: 0 0 0 3px rgba(155, 224, 0, 0.25);

  /* Foto de hero opcional: poné assets/hero.jpg y se usa sola.
     Si no existe, queda el degradé verde y se ve igual de bien. */
  --hero-img: url("assets/hero.jpg");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }

/* ---------- Marca / tipografía ---------- */
.brand { font-family: 'Anton', Impact, sans-serif; font-size: 1.55rem; letter-spacing: 1px; color: #fff; line-height: 1; }
.brand-accent, .accent { color: var(--lime); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--lime); margin-bottom: 16px;
}
.eyebrow.center { display: block; text-align: center; }

.section-title {
  font-family: 'Anton', Impact, sans-serif; font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3rem);
  text-transform: uppercase; letter-spacing: 0.5px; text-align: center;
  margin-bottom: 44px; line-height: 1.05;
}
.section-title.left { text-align: left; margin-bottom: 20px; }

/* ---------- Animación de aparición (solo si hay JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* corte diagonal abajo */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), 0 100%);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 75%);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: var(--hero-img) center/cover no-repeat;
}
.hero-bg::after { /* oscurece la foto; si no hay foto, igual queda lindo */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,7,0.72), rgba(7,9,7,0.95));
}
.hero-glow {
  position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(155, 224, 0, 0.22), transparent 60%),
    radial-gradient(760px 420px at 0% 15%, rgba(155, 224, 0, 0.08), transparent 55%);
}

.nav {
  position: relative; z-index: 3;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 18px var(--space);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo {
  height: 140px; width: auto; display: block;
  transition: transform 0.15s ease;
}
.nav-logo:hover { transform: scale(1.05); }
.nav-fallback { display: none; }
.nav-cta {
  text-decoration: none; font-weight: 800; font-size: 0.95rem;
  color: var(--lime); border: 1.5px solid var(--lime-dark);
  padding: 9px 20px; border-radius: 999px; transition: all 0.18s ease;
}
.nav-cta:hover { background: var(--lime); color: #07120a; }

.hero-content {
  position: relative; z-index: 2;
  flex: 1;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 30px var(--space) 70px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center;
}

.hero-eyebrow { margin-bottom: 18px; }
.headline {
  font-family: 'Anton', Impact, sans-serif; font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.98; letter-spacing: 0.5px; text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.subhead { margin-top: 22px; font-size: 1.18rem; color: var(--text-dim); max-width: 540px; }
.subhead strong { color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Badges de tiendas (próximamente) */
.stores { margin-top: 28px; }
.stores-label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 18px; border: 1.5px solid var(--lime-dark);
  border-radius: 13px; background: rgba(155, 224, 0, 0.06);
}
.store-badge .ic { width: 24px; height: 24px; fill: var(--lime); }
.store-meta { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-small { font-size: 0.62rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.store-name { font-weight: 800; font-size: 0.98rem; color: var(--text); }
.chip {
  font-size: 0.9rem; font-weight: 700; color: var(--text);
  background: rgba(155, 224, 0, 0.08);
  border: 1px solid var(--border);
  padding: 9px 15px; border-radius: 999px;
}

/* Scroll cue */
.scroll-cue {
  position: relative; z-index: 2;
  align-self: center; margin-bottom: 18px;
  text-decoration: none; color: var(--lime);
  font-size: 1.4rem; opacity: 0.8;
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ===================== FORMULARIO ===================== */
.form-wrap { position: relative; }
.form, .form-success {
  background: linear-gradient(180deg, rgba(27,36,25,0.92), rgba(20,27,19,0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}
.form { padding: 32px; }
.form-title { font-weight: 900; font-size: 1.4rem; }
.form-sub { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 20px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dim); }
.optional { color: var(--text-dim); font-weight: 400; }
.field input, .field select {
  width: 100%; padding: 13px 14px;
  background: rgba(7,9,7,0.6); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  font-size: 1rem; font-family: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: #5e6b58; }
.field input:focus, .field select:focus { outline: none; border-color: var(--lime); box-shadow: var(--ring); }
.field input.invalid { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; background: var(--lime); color: #07120a;
  border: none; border-radius: var(--radius-sm);
  font-size: 1.05rem; font-weight: 900; cursor: pointer; text-decoration: none;
  transition: transform 0.08s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn-block { width: 100%; margin-top: 10px; }
.btn:hover { background: var(--lime-bright); box-shadow: 0 12px 30px rgba(155, 224, 0, 0.3); }
.btn:active { transform: scale(0.99); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:disabled { opacity: 0.7; cursor: not-allowed; }

.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(7,18,10,0.3); border-top-color: #07120a; border-radius: 50%; display: none; animation: spin 0.7s linear infinite; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-msg { margin-top: 12px; font-size: 0.95rem; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--lime); }
.form-msg.err { color: var(--error); }
.form-disclaimer { margin-top: 12px; font-size: 0.8rem; color: var(--text-dim); }

.form-success { padding: 42px 32px; text-align: center; border-color: var(--lime-dark); }
.success-check { width: 66px; height: 66px; margin: 0 auto 18px; display: grid; place-items: center; background: var(--lime); color: #07120a; font-size: 2rem; font-weight: 800; border-radius: 50%; }
.form-success h2 { font-size: 1.6rem; margin-bottom: 8px; }
.form-success p { color: var(--text-dim); margin-bottom: 16px; }
.success-share { font-size: 0.9rem; margin-top: 8px; }

/* ===================== STATS ===================== */
.stats { background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 16px var(--space) 54px; }
.stats-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 18px 14px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-num { display: block; font-family: 'Anton', Impact, sans-serif; font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1; }
.stat-num small { font-size: 1.1rem; color: var(--lime); margin-left: 3px; }
.stat-num.accent { color: var(--lime); }
.stat-label { display: block; margin-top: 10px; color: var(--text-dim); font-size: 0.9rem; font-weight: 600; }

/* ===================== PROBLEMA + CHAT ===================== */
.problem-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 50px; align-items: center; }
.problem-text p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 12px; }
.problem-hl { color: var(--text) !important; font-size: 1.2rem !important; font-weight: 600; }
.problem-hl strong { color: var(--lime); }

.chat {
  background: #0b140d; border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); max-width: 380px; margin: 0 auto; width: 100%;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #11351f; border-bottom: 1px solid var(--border); }
.chat-avatar { width: 40px; height: 40px; display: grid; place-items: center; background: #1c4d2e; border-radius: 50%; font-size: 1.2rem; }
.chat-head strong { display: block; font-size: 0.98rem; }
.chat-status { font-size: 0.78rem; color: var(--lime); }
.chat-body {
  padding: 18px 14px; display: flex; flex-direction: column; gap: 10px;
  background:
    radial-gradient(circle at 20% 10%, rgba(155,224,0,0.05), transparent 40%),
    #0b140d;
}
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 0.92rem; line-height: 1.4; position: relative; }
.bubble.in { align-self: flex-start; background: #1c2a1e; border-top-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: #1f3b29; border-top-right-radius: 4px; }
.bubble.alert { background: #3a1e1e; color: #ffd5d5; }
.bubble.sys { align-self: center; text-align: center; background: rgba(155,224,0,0.12); color: var(--lime); font-weight: 700; font-size: 0.86rem; border: 1px solid var(--lime-dark); max-width: 95%; }
.bubble-time { display: block; font-size: 0.68rem; color: var(--text-dim); margin-top: 4px; text-align: right; }

/* ===================== CÓMO FUNCIONA ===================== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 84px var(--space); }
.how { border-top: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--lime-dark); box-shadow: 0 18px 40px rgba(0,0,0,0.4); }
.step-num { display: inline-grid; place-items: center; width: 50px; height: 50px; background: var(--lime); color: #07120a; font-family: 'Anton', sans-serif; font-size: 1.4rem; border-radius: 14px; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); }

/* ===================== PRÓXIMAMENTE ===================== */
.soon { border-top: 1px solid var(--border); }
.soon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.soon-item { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; font-weight: 600; transition: border-color 0.15s ease; }
.soon-item:hover { border-color: var(--lime-dark); }
.soon-ico { font-size: 1.35rem; }
.tag { margin-left: auto; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; color: #07120a; background: var(--lime); border-radius: 999px; padding: 3px 9px; }

/* ===================== CTA ===================== */
.cta-band {
  text-align: center; padding: 90px var(--space);
  background: radial-gradient(800px 340px at 50% 0%, rgba(155, 224, 0, 0.16), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--border);
  clip-path: polygon(0 46px, 100% 0, 100% 100%, 0 100%);
}
.cta-band h2 { font-family: 'Anton', Impact, sans-serif; font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: 0.5px; }
.cta-band p { color: var(--text-dim); margin: 12px 0 28px; font-size: 1.1rem; }

/* ===================== CANCHAS (B2B) ===================== */
.owner-strip {
  max-width: calc(var(--maxw) - 80px); margin: -36px auto 60px;
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 34px;
  background: linear-gradient(120deg, var(--card-2), var(--card));
  border: 1px solid var(--lime-dark); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.owner-strip p { font-size: 1.05rem; }
.owner-strip strong { color: var(--lime); }
.btn-outline {
  flex-shrink: 0;
  background: transparent; color: var(--lime); border: 2px solid var(--lime);
}
.btn-outline:hover { background: var(--lime); color: #07120a; }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--border); background: #050705; text-align: center; padding: 56px var(--space); }
.footer-logo { height: 110px; width: auto; margin-bottom: 14px; }
.footer-tag { color: var(--text-dim); margin: 8px 0 18px; }
.socials { display: flex; gap: 18px; justify-content: center; }
.socials a {
  color: var(--lime); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(155, 224, 0, 0.06);
  transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.socials a:hover { color: var(--lime-bright); border-color: var(--lime); transform: translateY(-3px); }
.ic { width: 22px; height: 22px; fill: currentColor; display: block; }
.footer-zone { color: var(--text-dim); font-size: 0.9rem; margin-top: 14px; }
.footer-legal { color: var(--text-dim); font-size: 0.8rem; margin-top: 6px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
  .hero-content { grid-template-columns: 1fr; gap: 38px; padding-bottom: 50px; }
  .hero-left { text-align: center; }
  .chips { justify-content: center; }
  .store-badges { justify-content: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; gap: 36px; }
  .problem-text { text-align: center; }
  .section-title.left { text-align: center; }
  .steps, .soon-grid { grid-template-columns: 1fr; }
  .cta-band { clip-path: polygon(0 28px, 100% 0, 100% 100%, 0 100%); }
  .owner-strip { flex-direction: column; text-align: center; margin: -36px 16px 50px; }
}

/* ===================== ACCESIBILIDAD ===================== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
