/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --ink:        #0e0f0c;
  --green:      #9fe870;
  --green-dark: #163300;
  --green-mint: #e2f6d5;
  --gray:       #868685;
  --warm-dark:  #454745;
  --surface:    #ffffff;
  --off-white:  #f7f9f5;
  --border:     rgba(14,15,12,0.12);
  --font:       'Inter', Helvetica, Arial, sans-serif;
}

html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--surface); font-feature-settings: "calt"; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Utility ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: var(--font);
  font-size: 18px; font-weight: 600; line-height: 1;
  font-feature-settings: "calt";
  letter-spacing: -0.108px;
  border: none; cursor: pointer;
  transition: transform 0.15s ease;
  white-space: nowrap;
}
.btn:hover  { transform: scale(1.05); }
.btn:active { transform: scale(0.95); }

.btn-primary { background: var(--green); color: var(--green-dark); }
.btn-secondary {
  background: rgba(22,51,0,0.08);
  color: var(--ink);
  padding: 12px 20px;
}
.btn-dark { background: var(--ink); color: var(--green); }
.btn-lg { font-size: 22px; padding: 18px 36px; }

/* ── Nav ───────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 900; color: var(--ink);
  font-feature-settings: "calt";
}

.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: var(--green-dark);
}

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-link {
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 15px; font-weight: 600;
  color: var(--warm-dark);
  transition: background 0.15s;
}
.nav-link:hover { background: rgba(211,242,192,0.4); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  background: var(--surface);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--green-mint);
  border-radius: 9999px;
  font-size: 14px; font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-dark);
}

.hero-title {
  font-size: clamp(52px, 6vw, 96px);
  font-weight: 900;
  line-height: 0.85;
  color: var(--ink);
  font-feature-settings: "calt";
  margin-bottom: 28px;
}

.hero-title em {
  font-style: normal;
  color: var(--green-dark);
  background: var(--green);
  padding: 0 8px;
  border-radius: 8px;
}

.hero-sub {
  font-size: 18px; font-weight: 400;
  line-height: 1.55; letter-spacing: 0.18px;
  color: var(--warm-dark);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-social {
  margin-top: 48px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--gray);
}

.hero-avatars {
  display: flex;
}

.hero-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--green-dark);
  margin-left: -8px;
}
.hero-avatar:first-child { margin-left: 0; }

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-mockup {
  background: var(--off-white);
  border-radius: 30px;
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}

.mockup-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}

.mockup-title { font-size: 13px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; }

.mockup-badge {
  padding: 4px 12px;
  background: var(--green);
  color: var(--green-dark);
  border-radius: 9999px;
  font-size: 12px; font-weight: 600;
}

.mockup-remito {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 16px;
}

.mockup-remito-num {
  font-size: 11px; font-weight: 600; color: var(--gray);
  font-family: monospace;
  margin-bottom: 8px;
}

.mockup-remito-empresa {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 4px;
}

.mockup-remito-items { margin: 16px 0; }

.mockup-item {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--warm-dark);
}
.mockup-item:last-child { border-bottom: none; }

.mockup-firma-area {
  margin-top: 16px;
  border: 1.5px dashed rgba(159,232,112,0.6);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: rgba(159,232,112,0.05);
}

.mockup-firma-label { font-size: 12px; color: var(--gray); margin-bottom: 8px; }

.mockup-firma-svg {
  width: 100%; height: 48px;
}

/* Floating notif */
.mockup-notif {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--ink);
  color: white;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}

.notif-icon {
  width: 28px; height: 28px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Problema ──────────────────────────────────────────────── */
.problema {
  padding: 100px 0;
  background: var(--ink);
}

.problema-label {
  font-size: 14px; font-weight: 600;
  color: var(--green);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.problema-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900; line-height: 0.85;
  color: white;
  font-feature-settings: "calt";
  margin-bottom: 32px;
  max-width: 800px;
}

.problema-title span { color: var(--green); }

.problema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.problema-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  padding: 32px;
}

.problema-card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.problema-card-title {
  font-size: 20px; font-weight: 700;
  color: white; margin-bottom: 8px;
  line-height: 1.2;
}

.problema-card-desc {
  font-size: 15px; color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ── Video placeholder ─────────────────────────────────────── */
.video-section { padding: 100px 0; background: var(--off-white); }

.section-label {
  font-size: 14px; font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 4vw, 64px);
  font-weight: 900; line-height: 0.85;
  color: var(--ink);
  font-feature-settings: "calt";
  margin-bottom: 24px;
}

.video-placeholder {
  margin-top: 48px;
  background: var(--ink);
  border-radius: 30px;
  aspect-ratio: 16/9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(159,232,112,0.15) 0%, transparent 70%);
}

.play-btn {
  width: 72px; height: 72px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: transform 0.15s;
  cursor: pointer;
}
.play-btn:hover { transform: scale(1.1); }

.play-btn svg { margin-left: 4px; }

.video-caption {
  font-size: 16px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  position: relative; z-index: 1;
}

/* ── Features ──────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--surface); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 32px;
  transition: box-shadow 0.2s;
}
.feature-card:hover {
  box-shadow: rgba(14,15,12,0.12) 0px 0px 0px 1px;
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--green-mint);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 22px; font-weight: 600;
  line-height: 1.25; letter-spacing: -0.396px;
  color: var(--ink);
  margin-bottom: 10px;
  font-feature-settings: "calt";
}

.feature-desc {
  font-size: 16px; font-weight: 400;
  line-height: 1.55; color: var(--warm-dark);
}

/* ── Flujo ─────────────────────────────────────────────────── */
.flujo { padding: 100px 0; background: var(--off-white); }

.flujo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.flujo-step {
  display: flex; flex-direction: column; gap: 16px;
}

.flujo-num {
  width: 40px; height: 40px;
  background: var(--green);
  border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900;
  color: var(--green-dark);
}

.flujo-step-title {
  font-size: 20px; font-weight: 700;
  color: var(--ink); line-height: 1.2;
}

.flujo-step-desc {
  font-size: 15px; color: var(--warm-dark);
  line-height: 1.6;
}

/* ── Precios ───────────────────────────────────────────────── */
.precios { padding: 100px 0; background: var(--surface); }

.precios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.precio-card {
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 40px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}

.precio-card.destacado {
  background: var(--ink);
  border-color: var(--ink);
}

.precio-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--green-dark);
  padding: 4px 16px; border-radius: 9999px;
  font-size: 12px; font-weight: 700;
  white-space: nowrap;
}

.precio-plan {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.precio-card.destacado .precio-plan { color: rgba(255,255,255,0.5); }
.precio-card:not(.destacado) .precio-plan { color: var(--gray); }

.precio-monto {
  font-size: 52px; font-weight: 900; line-height: 1;
  font-feature-settings: "calt";
}
.precio-card.destacado .precio-monto { color: white; }
.precio-card:not(.destacado) .precio-monto { color: var(--ink); }

.precio-per {
  font-size: 16px; font-weight: 400;
}
.precio-card.destacado .precio-per { color: rgba(255,255,255,0.4); }
.precio-card:not(.destacado) .precio-per { color: var(--gray); }

.precio-features { display: flex; flex-direction: column; gap: 12px; }

.precio-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600;
}
.precio-card.destacado .precio-feature { color: rgba(255,255,255,0.8); }
.precio-card:not(.destacado) .precio-feature { color: var(--warm-dark); }

.precio-check {
  width: 20px; height: 20px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--green-dark); font-weight: 700;
  flex-shrink: 0;
}

.precio-trial {
  font-size: 13px; color: var(--gray);
  text-align: center;
}
.precio-card.destacado .precio-trial { color: rgba(255,255,255,0.3); }

/* ── CTA final ─────────────────────────────────────────────── */
.cta-final {
  padding: 100px 0;
  background: var(--ink);
  text-align: center;
}

.cta-final-title {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 900; line-height: 0.85;
  color: white;
  font-feature-settings: "calt";
  margin-bottom: 24px;
}

.cta-final-title span { color: var(--green); }

.cta-final-sub {
  font-size: 18px; color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
  max-width: 480px; margin-left: auto; margin-right: auto;
  line-height: 1.55;
}

.cta-final-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}

.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; color: white;
}

.footer-copy {
  font-size: 13px; color: rgba(255,255,255,0.3);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .problema-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .flujo-steps { grid-template-columns: 1fr 1fr; }
  .precios-grid { grid-template-columns: 1fr; max-width: 480px; }
  .nav-links .nav-link { display: none; }
}

@media (max-width: 576px) {
  .features-grid { grid-template-columns: 1fr; }
  .flujo-steps { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-final-actions { flex-direction: column; align-items: center; }
}
