/* ────────────────────────────────────────────────────────────
   GRUPO GEN · landing · dark "Operations Console" branded
   Powered by AGRCloud — verde canónico #9FE870
   ──────────────────────────────────────────────────────────── */
:root {
  --bg: #0B0D10;
  --panel: #13161B;
  --panel2: #191D24;
  --line: #262B33;
  --line-soft: #1c2027;
  --ink: #F2EFEA;
  --body: #c4cbd5;
  --muted: #7E8590;
  --accent: #9FE870;
  --accent2: #69B1FF;
  --accent-soft: rgba(159, 232, 112, 0.12);
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(circle at 12% -10%, var(--accent-soft), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(105,177,255,0.05), transparent 35%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 56px;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-left { display: flex; align-items: center; gap: 36px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.nav-brand img { width: 28px; height: 28px; border-radius: 6px; }
.nav-meta { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links { display: flex; gap: 26px; font-size: 13.5px; color: var(--body); }
.nav-links a { cursor: pointer; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: var(--sans);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-primary:hover { background: #b3f088; border-color: #b3f088; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-mono { background: transparent; color: var(--ink); border-color: var(--line); font-family: var(--mono); font-weight: 500; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ── Container ──────────────────────────────────────────── */
.section { max-width: 1280px; margin: 0 auto; padding: 100px 56px 40px; }
.section-tag {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.18em;
  text-transform: uppercase; margin: 0 0 14px;
}
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  margin-bottom: 48px; align-items: start;
}
h2.title {
  font-size: 44px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.05; margin: 0;
}
.section-sub { font-size: 16px; color: var(--body); line-height: 1.65; margin: 0; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 56px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent-soft);
  margin: 0 0 24px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 {
  font-size: 68px; font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.02; margin: 0 0 24px;
}
.hero h1 .acc { color: var(--accent); }
.hero-lede {
  font-size: 18px; color: var(--body); line-height: 1.55;
  max-width: 520px; margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mech {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-mech > div {
  padding: 18px 20px 18px 0;
  border-right: 1px solid var(--line);
}
.hero-mech > div:last-child { border-right: none; padding-right: 0; padding-left: 20px; }
.hero-mech > div:not(:first-child) { padding-left: 20px; }
.hero-mech .k { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.hero-mech .v { font-size: 16px; font-weight: 600; color: var(--ink); }
.hero-mech .v small { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }

.hero-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, var(--accent-soft), transparent 60%),
    var(--panel);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 56px;
}
.hero-visual img {
  width: auto;
  max-width: 70%;
  max-height: 70%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5);
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,13,16,0.5) 100%);
  pointer-events: none;
}
.hero-visual-caption {
  position: absolute; left: 16px; bottom: 14px;
  font-family: var(--mono); font-size: 10px;
  color: var(--ink); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(11,13,16,0.7);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ── Cómo funciona ──────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
}
.step-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.step-h { font-size: 18px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.step-d { font-size: 14px; color: var(--body); line-height: 1.55; margin: 0; }
.step-bar {
  width: 24px; height: 1.5px; background: var(--accent);
  position: absolute; top: 28px; right: 24px; opacity: 0.4;
}

/* ── Dónde ─────────────────────────────────────────────── */
.where-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 48px 40px;
  background:
    linear-gradient(135deg, var(--accent-soft) 0%, transparent 60%),
    var(--panel);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px;
  align-items: center;
}
.where-h {
  font-size: 32px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.1; margin: 0 0 16px;
}
.where-d { font-size: 16px; color: var(--body); line-height: 1.6; margin: 0 0 24px; }
.where-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.where-meta { display: grid; gap: 10px; }
.where-meta-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.where-meta-row:first-child { border-top: none; }
.where-meta-row .k { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.where-meta-row .v { font-size: 15px; color: var(--ink); font-weight: 500; }

/* ── Descargar app ─────────────────────────────────────── */
.app-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 56px 48px;
  background: var(--panel);
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}
.app-h {
  font-size: 38px; font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.05; margin: 0 0 18px;
}
.app-d { font-size: 16px; color: var(--body); line-height: 1.6; margin: 0 0 28px; }
.app-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.store-btn:hover { border-color: var(--accent); }
.store-btn .store-icon {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: var(--accent);
}
.store-btn .store-text { display: grid; line-height: 1.2; }
.store-btn .store-text small { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.store-btn .store-text strong { font-size: 14px; font-weight: 600; }

.app-visual {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel2);
}
.app-visual img { width: 100%; height: auto; display: block; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 56px 56px 32px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer-brand-name { font-size: 16px; font-weight: 600; }
.footer-meta { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; line-height: 1.7; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--body); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 56px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em;
}
.footer-bottom .powered {
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-bottom .powered .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1023px) {
  .nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 40px; }
  .hero h1 { font-size: 48px; }
  .section { padding: 64px 24px 32px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  h2.title { font-size: 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .where-panel, .app-panel { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .where-h, .app-h { font-size: 26px; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 40px 24px 24px; gap: 32px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 38px; }
  .hero-mech { grid-template-columns: 1fr; }
  .hero-mech > div { border-right: none; border-bottom: 1px solid var(--line); padding: 14px 0 !important; }
  .hero-mech > div:last-child { border-bottom: none; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
