@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ============================================================
   DESIGN TOKENS — Coinbase / Stripe / Linear palette
   ============================================================ */
:root {
  --bg: #ffffff;
  --surface: #ffffff;

  --fg: #0f172a;
  --fg-2: #1e293b;
  --muted: #64748b;

  --border: #e5e7eb;

  --logo-color: #e53e3e;

  /* Brand */
  /* --accent: #e53935; */
  --accent: #2a241f;
  /* --accent: #0cbd40; */
  --accent-hover: #1e293b;
  --accent-light: rgba(15, 23, 42, 0.06);

  /* Neutral system */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;

  /* States */
  --danger: #dc2626;
  --success: #16a34a;
  --mod-cta-reveal-visible-bg: #2563eb;
  --primary: var(--accent);

  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 44px;
  --r-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 14px 40px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.1);
}

/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img,
svg {
  display: block;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.18);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: rgba(0, 82, 255, 0.3);
  background: var(--accent-light);
  color: var(--accent);
}
.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-dark {
  background: #0a0a0a;
  color: #fff;
  border: none;
}
.btn-dark:hover {
  background: #222;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ============================================================
   NAV
   ============================================================ */
nav#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
nav#main-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 var(--border);
}
nav#main-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--logo-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-mark svg {
  width: 18px;
  height: 18px;
}
.nav-logo-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
  transition: color 0.3s;
}
nav#main-nav.scrolled .nav-logo-name {
  color: var(--fg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.nav-links a:hover {
  color: var(--fg);
}
nav#main-nav.scrolled .nav-links a {
  color: var(--muted);
}
nav#main-nav.scrolled .nav-links a:hover {
  color: var(--fg);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-cta .btn {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
}
.nav-cta .btn:hover {
  background: var(--accent-hover);
}
.nav-link-plain {
  font-size: 14px;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-link-plain:hover {
  opacity: 1;
}
/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-hamburger:hover {
  background: var(--accent-light);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu drawer */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.nav-mobile-links li a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile-links li:last-child a {
  border-bottom: none;
}
.nav-mobile-links li a:hover {
  color: var(--accent);
}
.nav-mobile-cta-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-link-plain {
    display: none;
  }
  .nav-link-plain--mobile-cta {
    display: inline;
    opacity: 0.75;
    font-size: 14px;
    font-weight: 500;
  }
  .nav-btn-desktop {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-mobile-menu {
    display: block;
  }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -5%;
  width: 55%;
  height: 100%;
  background: radial-gradient(
    ellipse at 70% 40%,
    rgba(0, 82, 255, 0.04) 0%,
    transparent 65%
  );
  pointer-events: none;
}
#hero::after {
  display: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-text {
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.hero-eyebrow::before {
  display: none;
}

h1.hero-headline {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 24px;
}

.rotate-wrap {
  display: inline-block;
  line-height: 1.08;
  width: 7em;
  height: 1em;
  overflow: hidden;
}
.rotate-word {
  color: var(--fg);
  display: block;
}
.rotate-word.out {
  animation: rotateUp 0.3s ease forwards;
}
.rotate-word.in {
  animation: rotateDown 0.3s ease forwards;
}
@keyframes rotateUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}
@keyframes rotateDown {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 44px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-available-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.hero-store-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 135px;
  height: 40px;
  transition: opacity 0.2s;
}
.store-badge-link:hover {
  opacity: 0.8;
}
.store-badge-google,
.store-badge-apple {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   HERO DASHBOARD — light card
   ============================================================ */
.hero-visual {
  position: relative;
  z-index: 2;
}
.dashboard-frame {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}
.dashboard-frame:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(0deg);
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dash-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.dash-date {
  font-size: 11px;
  color: var(--muted);
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.dash-kpi {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
}
.dash-kpi-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 8px;
}
.dash-kpi-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.dash-kpi-delta {
  font-size: 10px;
  font-weight: 500;
  margin-top: 4px;
}
.delta-up {
  color: var(--success);
}
.delta-down {
  color: var(--danger);
}
.dash-chart {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 12px;
  height: 100px;
  position: relative;
  overflow: hidden;
}
.dash-chart-label {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 10px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
}
.chart-bar {
  flex: 1;
  background: rgba(0, 82, 255, 0.1);
  border-radius: 3px 3px 0 0;
  transition: background 0.2s;
}
.chart-bar.active {
  background: var(--accent);
}
.dash-table {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.dash-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--blue-light);
}
.dash-th {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.dash-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.dash-row:last-child {
  border-bottom: none;
}
.dash-customer {
  font-size: 12px;
  color: var(--fg);
  font-weight: 500;
}
.dash-amount {
  font-size: 12px;
  color: var(--fg-2);
  font-weight: 500;
}
.dash-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
}
.badge-ok {
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
}
.badge-warn {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
}
.badge-late {
  background: rgba(229, 57, 53, 0.1);
  color: var(--danger);
}
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    display: none;
  }
  .hero-meta {
    gap: 24px;
  }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
#trust {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.trust-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.trust-icon svg {
  width: 16px;
  height: 16px;
}
.trust-icon svg circle,
.trust-icon svg path,
.trust-icon svg rect {
  stroke: var(--muted) !important;
}
.trust-icon i {
  font-size: 16px;
  color: var(--muted);
}
.trust-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
}
.trust-sub {
  font-size: 11px;
  color: var(--muted);
}
.trust-items-grid {
  display: contents;
}
@media (max-width: 768px) {
  .trust-inner {
    gap: 0;
    flex-direction: column;
    align-items: center;
  }
  .trust-label {
    margin-bottom: 20px;
  }
  .trust-divider {
    display: none;
  }
  .trust-items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}
.section-header {
  margin-bottom: 72px;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-sub {
  margin: 0 auto;
}
.section-header.center .section-eyebrow {
  justify-content: center;
}
.section-header.center .section-eyebrow::before {
  display: none;
}

/* ============================================================
   BENEFITS
   ============================================================ */
#beneficios {
  padding: 140px 0;
  background: var(--bg);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--border);
}
.benefit-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.benefit-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--fg);
}
.benefit-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */
.feature-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.feature-section.alt {
  background: #fafbfe;
}
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.feature-split.reverse .feature-text {
  order: 2;
}
.feature-split.reverse .feature-mockup {
  order: 1;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.feature-headline {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 16px;
}
.feature-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 440px;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-2);
}
.photo-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  position: relative;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.97);
  transition: transform 0.6s ease, filter 0.6s ease;
}
.photo-frame:hover img {
  transform: scale(1.03);
  filter: saturate(1) brightness(1);
}
@media (max-width: 900px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-split.reverse .feature-text {
    order: 1;
  }
  .feature-split.reverse .feature-mockup {
    order: 2;
  }
}

/* ============================================================
   MODULES SECTION
   ============================================================ */
#modulos {
  padding: 140px 0;
  background: #f7faff;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.module-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.module-preview {
  flex: 1;
}
.module-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  transition: gap 0.15s;
}
.module-link:hover {
  gap: 8px;
}
.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.module-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.module-icon i {
  font-size: 20px;
  color: var(--accent);
}
.module-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.module-preview {
  background: var(--blue-light);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(0, 82, 255, 0.06);
}
.module-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 82, 255, 0.06);
}
.module-mini-row:last-child {
  border-bottom: none;
}
.module-mini-name {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.module-mini-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
}
.module-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
  margin-bottom: 10px;
}
.module-bar {
  flex: 1;
  background: rgba(0, 82, 255, 0.1);
  border-radius: 3px 3px 0 0;
}
.module-bar.active {
  background: var(--accent);
}
.module-mini-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.module-mini-stat-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.module-mini-stat-val {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.module-mini-bar {
  height: 5px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.module-mini-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
  transition: width 0.6s ease;
}
.module-mini-map {
  height: 52px;
  background: rgba(0, 82, 255, 0.04);
  border-radius: 10px;
  position: relative;
  margin-bottom: 10px;
  overflow: hidden;
}
.module-map-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}
.module-mini-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.module-chat-bubble {
  font-size: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  max-width: 90%;
  line-height: 1.4;
}
.module-chat-out {
  background: var(--accent);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.module-chat-in {
  background: #e9eef5;
  color: var(--fg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.module-mini-doc {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.module-doc-line {
  height: 3px;
  background: rgba(0, 82, 255, 0.1);
  border-radius: 2px;
}
.module-doc-sig {
  margin-top: 4px;
  padding: 4px 0;
}
.module-doc-sig svg {
  width: 80px;
  height: 16px;
}
@media (max-width: 1100px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRODUCT SECTION — light panels on soft blue wash
   ============================================================ */
#product {
  padding: 140px 0;
  background: #f7faff;
  position: relative;
  overflow: hidden;
}
#product::before {
  display: none;
}
#product .section-headline {
  color: var(--fg);
}
#product .section-sub {
  color: var(--muted);
}
#product .section-eyebrow {
  color: var(--accent);
}
#product .section-eyebrow::before {
  background: var(--accent);
}

/* API section */
.api-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.api-text .section-sub {
  margin-top: 16px;
  margin-bottom: 0;
}
.api-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.api-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--fg);
}
.api-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.api-features li i {
  font-size: 16px;
  flex-shrink: 0;
  color: var(--accent);
}
.api-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.api-code-block {
  background: #0f1117;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.api-code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #1a1d27;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.api-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.api-code-lang {
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 8px;
}
.api-code-body {
  margin: 0;
  padding: 16px 20px;
  font-family: var(--font-mono, "Fira Code", monospace);
  font-size: 12.5px;
  line-height: 1.7;
  color: #e2e8f0;
  background: transparent;
  border: none;
  overflow: auto;
}
.api-response-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #16a34a;
  padding: 4px 20px;
  background: rgba(22, 163, 74, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.api-response {
  border-top: none;
}
.api-k {
  color: #94a3b8;
}
.api-p {
  color: #93c5fd;
}
.api-s {
  color: #86efac;
}
.api-n {
  color: #fda4af;
}
.api-integrations {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.api-int-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.api-int-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.api-int-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
}
.api-int-badge--more {
  color: var(--muted);
  font-style: italic;
}
.api-int-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .api-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .api-visual {
    min-width: 0;
    overflow: hidden;
    max-width: 100%;
  }
  .api-code-block {
    overflow: hidden;
    max-width: 100%;
  }
  .api-code-body {
    overflow-x: auto;
    font-size: 11.5px;
    max-width: 100%;
  }
  .api-text .btn {
    display: flex;
    width: 100%;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    justify-content: center;
    box-sizing: border-box;
  }
  .api-int-list {
    gap: 6px;
  }
  .api-int-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* Module builder */
.module-builder {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
.module-builder-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mb-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.mb-item.active {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm);
}
.mb-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--surface);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mb-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.mb-info {
  flex: 1;
  min-width: 0;
}
.mb-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.mb-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.mb-toggle {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: var(--border);
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s;
}
.mb-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.mb-toggle.on {
  background: var(--accent);
}
.mb-toggle.on::after {
  transform: translateX(18px);
}

/* Module builder summary */
.module-builder-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 80px;
}
.mbs-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}
.mbs-modules {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mbs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.mbs-row.active {
  color: var(--fg);
  font-weight: 500;
}
.mbs-row.inactive {
  color: var(--muted);
}
.mbs-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.mbs-row.active .mbs-check {
  background: #dcfce7;
  color: #16a34a;
  font-weight: 700;
}
.mbs-row.inactive .mbs-check {
  background: var(--surface);
  color: var(--muted);
}
.mbs-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.mbs-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.product-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.product-panel-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 20px;
}
.product-panel.featured {
  grid-column: 1 / -1;
  background: #ffffff;
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}
.mini-stat-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.mini-stat {
  flex: 1;
  background: var(--blue-light);
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--border);
}
.mini-stat-val {
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.mini-stat-key {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  font-weight: 500;
}
.mini-progress {
  margin-top: 14px;
}
.mini-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.mini-progress-bar {
  height: 5px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.mini-progress-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
}
.mini-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mini-list-item:last-child {
  border-bottom: none;
}
.mini-list-name {
  font-size: 12px;
  color: var(--fg-2);
  font-weight: 500;
}
.mini-list-val {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.route-map {
  height: 140px;
  background: var(--blue-light);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.12);
}
.route-line {
  position: absolute;
  height: 1.5px;
  background: rgba(0, 82, 255, 0.2);
  transform-origin: left center;
}
@media (max-width: 768px) {
  .product-panels {
    grid-template-columns: 1fr;
  }
  .product-panel.featured {
    grid-column: 1;
  }
  .module-builder {
    grid-template-columns: 1fr;
  }
  .module-builder-summary {
    position: static;
  }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#como-funciona {
  padding: 140px 0;
  background: var(--surface);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step {
  text-align: center;
  padding: 0 16px;
}
.step-number {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.step-num-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--blue-light);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}
.step-icon i {
  font-size: 28px;
  color: var(--accent);
}
.step-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--fg);
}
.step-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

/* ============================================================
   MOBILE SECTION
   ============================================================ */
#mobile {
  padding: 140px 0;
  background: var(--bg);
}
.mobile-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.mobile-single {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.mobile-store-badges {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.mobile-text {
  order: 2;
}
.mobile-visual {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-badges-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.store-badge {
  display: block;
  transition: opacity 0.2s, transform 0.2s;
}
.store-badge:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.store-badge svg {
  width: 200px;
  height: auto;
  display: block;
  border-radius: 10px;
}
.mobile-features {
  list-style: none;
  margin-top: 36px;
}
.mobile-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}
.mobile-features li:last-child {
  border-bottom: none;
}
.mobile-features .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.mobile-features .check svg {
  width: 12px;
  height: 12px;
}
@media (max-width: 900px) {
  .mobile-split {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .mobile-text {
    order: 1;
  }
  .mobile-visual {
    order: 2;
  }
  .mobile-phone {
    width: 220px;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonios {
  padding: 140px 0;
  background: var(--surface);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.8;
  color: var(--fg-2);
  margin-bottom: 28px;
}
.testimonial-quote::before {
  content: "\201C";
  color: var(--accent);
  font-size: 28px;
  line-height: 0;
  vertical-align: -10px;
  margin-right: 2px;
  font-weight: 600;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.testimonial-role {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CTA
   ============================================================ */
#cta {
  padding: 140px 0;
  background: var(--accent);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2563eb;
  pointer-events: none;
}
#cta .section-eyebrow {
  color: rgba(255, 255, 255, 0.6);
  justify-content: center;
  position: relative;
}
#cta .section-eyebrow::before {
  background: rgba(255, 255, 255, 0.3);
  display: none;
}
#cta .section-headline {
  color: #fff;
  position: relative;
}
#cta .section-sub {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 56px;
  text-align: center;
  position: relative;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}
#cta .btn-dark {
  background: #ffffff;
  color: var(--fg);
  border: 1.5px solid #ffffff;
}
#cta .btn-dark:hover {
  background: #ffffff;
  color: var(--fg);
  border-color: #ffffff;
}
.cta-micro {
  margin-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
}

/* ============================================================
   MODULE INTERNAL PAGES
   ============================================================ */
.mod-hero {
  padding: 140px 0 100px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--border);
}
.mod-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 48px;
  transition: color 0.15s;
}
.mod-back:hover {
  color: var(--fg);
}
.mod-back svg {
  display: inline;
}
.mod-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mod-hero-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.mod-hero-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.mod-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--fg);
}
.mod-tagline {
  font-size: 20px;
  font-weight: 500;
  color: var(--fg-2);
  letter-spacing: -0.02em;
}
.mod-desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}
/* Module mockup */
.mod-hero-visual {
  position: relative;
}
.mod-mockup {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
}
.mod-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mod-mockup-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.mod-mockup-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Internal module page — scaled-up version of the index card preview */
.mod-card-preview {
  background: var(--blue-light);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(0, 82, 255, 0.06);
}
.mod-card-preview .module-mini-row {
  padding: 10px 0;
}
.mod-card-preview .module-mini-name {
  font-size: 14px;
}
.mod-card-preview .module-mini-val {
  font-size: 14px;
}
.mod-card-preview .module-mini-chart {
  height: 64px;
  gap: 6px;
  margin-bottom: 14px;
}
.mod-card-preview .module-mini-stat-label {
  font-size: 12px;
}
.mod-card-preview .module-mini-stat-val {
  font-size: 22px;
}
.mod-card-preview .module-mini-bar {
  height: 8px;
  margin-bottom: 12px;
}
.mod-card-preview .module-chat-bubble {
  font-size: 13px;
  padding: 10px 14px;
}
.mod-card-preview .module-mini-chat {
  gap: 10px;
}
.mod-card-preview .module-doc-line {
  height: 5px;
  margin-bottom: 4px;
}
.mod-card-preview .module-doc-sig svg {
  width: 120px;
  height: 28px;
}
.mod-card-preview .module-doc-sig {
  margin-top: 8px;
}
.mod-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.mod-stat {
  background: var(--neutral-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
}
.mod-stat-val {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 4px;
}
.mod-stat-key {
  font-size: 11px;
  color: var(--muted);
}
.mod-mockup-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mod-mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.mod-mockup-row:last-child {
  border-bottom: none;
}
.mod-row-name {
  color: var(--fg-2);
}
.mod-row-val {
  font-weight: 600;
}
/* Features */
.mod-features {
  padding: 100px 0;
}
.mod-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.mod-feature-card {
  background: var(--neutral-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.mod-feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.mod-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.mod-feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.mod-feature-icon i {
  font-size: 20px;
  color: var(--accent);
}
.mod-feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.mod-feature-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
/* Steps */
.mod-how {
  padding: 100px 0;
  background: var(--neutral-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mod-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.mod-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.mod-step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}
.mod-step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.mod-step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* Module Integration */
.mod-integration {
  padding: 72px 0;
  background: var(--surface);
}
.mod-integration-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 20px;
  padding: 48px 52px;
  max-width: 820px;
  margin: 0 auto;
}
.mod-integration-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #818cf8;
  margin-bottom: 18px;
}
.mod-integration-label svg {
  stroke: #818cf8;
}
.mod-integration-headline {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 14px;
  line-height: 1.25;
}
.mod-integration-desc {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 28px;
}
.mod-integration-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mod-integration-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.55;
}
.mod-integration-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #6366f1;
}
.mod-integration-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #818cf8;
  text-decoration: none;
  border-bottom: 1px solid rgba(129, 140, 248, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.mod-integration-link:hover {
  color: #a5b4fc;
  border-color: rgba(165, 180, 252, 0.6);
}

/* Module CTA */
.mod-cta {
  padding: 120px 0;
}
.mod-cta .section-eyebrow::before {
  display: none;
}
.mod-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.mod-cta-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}
.mod-cta-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}
.mod-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-fill {
  background: var(--fg);
  color: #ffffff;
  border: 1.5px solid var(--fg);
  box-shadow: none;
}
.btn-cta-fill:hover {
  background: #1a1a2e;
  border-color: #1a1a2e;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-cta-outline {
  background: transparent;
  color: var(--fg);
  border: 1.5px solid var(--fg);
}
.btn-cta-outline:hover {
  background: var(--fg);
  color: #ffffff;
  border-color: var(--fg);
}

@media (max-width: 900px) {
  .mod-hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .mod-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mod-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mod-cta-inner {
    padding: 0 16px;
  }
}

@media (max-width: 600px) {
  .mod-hero {
    padding: 120px 0 64px;
  }
  .mod-back {
    margin-bottom: 32px;
  }
  .mod-features-grid {
    grid-template-columns: 1fr;
  }
  .mod-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .mod-stat-val {
    font-size: 16px;
  }
  .mod-features {
    padding: 64px 0;
  }
  .mod-how {
    padding: 64px 0;
  }
  .mod-cta {
    padding: 80px 0;
  }
  .mod-cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn-cta-fill,
  .btn-cta-outline {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--fg);
  padding: 80px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 72px;
}
.footer-brand .nav-logo-name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
  max-width: 280px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.25);
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   MOBILE GLOBAL IMPROVEMENTS
   ============================================================ */
@media (max-width: 768px) {
  .wrap {
    padding: 0 20px;
  }
  h1.hero-headline {
    font-size: clamp(36px, 9vw, 52px);
  }
  .rotate-wrap {
    display: block;
    width: 100%;
  }
  .section-headline {
    font-size: clamp(26px, 7vw, 40px);
  }
  .hero-meta {
    gap: 20px;
  }
  #beneficios,
  #como-funciona,
  #mobile,
  #testimonios,
  #product,
  #modulos {
    padding: 80px 0;
  }
  .feature-section {
    padding: 80px 0;
  }
  #cta {
    padding: 80px 0;
  }
  .section-header {
    margin-bottom: 48px;
  }
  .btn-lg {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-hero {
  padding: 140px 0 60px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

/* Billing toggle */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}
.toggle-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: var(--r-pill);
  padding: 2px 8px;
  letter-spacing: 0.03em;
}
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--neutral-200);
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-switch.is-on {
  background: var(--accent);
}
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}
.toggle-switch.is-on .toggle-thumb {
  transform: translateX(20px);
}

/* ── Base platform card ── */
.pricing-base-section {
  padding: 72px 0 0;
}
.pricing-base-card {
  background: var(--fg);
  border-radius: var(--r-xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.pricing-base-left .section-eyebrow {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.pricing-base-left .section-eyebrow .eyebrow-dot {
  background: rgba(255, 255, 255, 0.4);
}
.pricing-base-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 12px;
}
.pricing-base-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 420px;
}
.pricing-base-includes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.pricing-base-includes li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.pricing-base-includes .pf-check {
  color: #4ade80;
}
.pricing-base-right {
  text-align: center;
  min-width: 240px;
}
.pricing-amount-lg {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 28px;
}
.pricing-amount-lg .pricing-currency {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}
.pricing-amount-lg .pricing-price {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: #fff;
  line-height: 1;
}
.pricing-period-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 6px;
}
.pricing-period-cop {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}
.pricing-period {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}
.pricing-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
  background: #ffffff;
  color: var(--fg);
}
.pricing-btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.pricing-base-micro {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

/* ── Modules grid ── */
.pricing-modules-section {
  padding: 72px 0 60px;
}
.pricing-modules-header {
  margin-bottom: 48px;
}
.pricing-modules-header .section-headline {
  margin-bottom: 12px;
}
.pricing-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pricing-module-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-module-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pricing-module-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-module-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.pricing-module-icon i {
  font-size: 22px;
  color: var(--accent);
}
.pricing-module-info {
  flex: 1;
}
.pricing-module-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.pricing-module-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.pricing-module-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 20px;
  padding: 2px 10px;
}
.pricing-module-price-wrap {
  text-align: right;
}
.pricing-module-amount {
  display: flex;
  align-items: baseline;
  gap: 1px;
  justify-content: flex-end;
}
.pm-currency {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
}
.pricing-module-amount .pricing-price {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}
.pm-period {
  font-size: 11px;
  color: var(--muted);
  display: block;
  text-align: right;
  margin-top: 2px;
}
.pricing-price--free {
  font-size: 18px !important;
  color: var(--success) !important;
  letter-spacing: -0.02em !important;
}
.calc-module-price--free {
  color: var(--success);
  font-weight: 700;
}
.pricing-tax-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 36px;
}

/* ── Calculator ── */
.pricing-calc-section {
  padding: 0 0 80px;
}
.pricing-calc-card {
  background: var(--neutral-50);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.pricing-calc-header {
  padding: 48px 56px 40px;
  border-bottom: 1px solid var(--border);
}
.pricing-calc-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 8px;
}
.pricing-calc-sub {
  font-size: 15px;
  color: var(--muted);
}
.pricing-calc-body {
  display: grid;
  grid-template-columns: 1fr 320px;
}
.calc-modules {
  padding: 32px 56px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.calc-module-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.calc-module-row:last-child {
  border-bottom: none;
}
.calc-module-row:hover {
  background: transparent;
}
.calc-module-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
}
.calc-module-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  min-width: 80px;
  text-align: right;
}
.calc-check {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}
.calc-check-base {
  opacity: 0.5;
}
.calc-total-wrap {
  padding: 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}
.calc-total-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.calc-total-amount {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--fg);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.calc-total-amount span:first-child {
  font-size: 20px;
  color: var(--fg-2);
}
.calc-total-cop {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.calc-total-annual {
  font-size: 13px;
  color: var(--success);
  font-weight: 500;
  margin-top: 8px;
  min-height: 20px;
}
.calc-module-row--users {
  align-items: center;
}
.calc-users-count {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}
.calc-users-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
}
.calc-users-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: border-color 0.15s, background 0.15s;
}
.calc-users-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}
#calc-users-num {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  min-width: 20px;
  text-align: center;
}
.pricing-module-card--users {
  grid-column: 1 / -1;
  border-style: dashed;
}

/* ── FAQ ── */
.pricing-faq-section {
  padding: 80px 0;
  background: var(--neutral-50);
  border-top: 1px solid var(--border);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
}
.faq-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Shared helpers */
.pf-check {
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
  min-width: 16px;
}
.pf-cross {
  color: var(--neutral-300);
  font-weight: 700;
  font-size: 13px;
  min-width: 16px;
}

/* Responsive pricing */
@media (max-width: 1024px) {
  .pricing-base-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px;
  }
  .pricing-base-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .pricing-amount-lg {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .pricing-modules-grid {
    grid-template-columns: 1fr;
  }
  .pricing-calc-body {
    grid-template-columns: 1fr;
  }
  .calc-modules {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .pricing-hero {
    padding: 120px 0 48px;
  }
  .pricing-base-card {
    padding: 32px 24px;
    border-radius: var(--r-lg);
  }
  .pricing-base-includes {
    grid-template-columns: 1fr;
  }
  .pricing-calc-header {
    padding: 32px 24px 28px;
  }
  .calc-modules {
    padding: 24px;
  }
  .pricing-module-card {
    padding: 20px;
  }
  .pricing-faq-section {
    padding: 56px 0;
  }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-hero > * {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.animate-hero > *:nth-child(1) {
  animation-delay: 0.1s;
}
.animate-hero > *:nth-child(2) {
  animation-delay: 0.2s;
}
.animate-hero > *:nth-child(3) {
  animation-delay: 0.35s;
}
.animate-hero > *:nth-child(4) {
  animation-delay: 0.5s;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ── Legal pages (Términos, Privacidad, etc.) ── */
.legal-body h2 {
  font-size: 18px;
  font-weight: 650;
  color: var(--text-primary, #0f172a);
  margin: 40px 0 10px;
}
.legal-body h3 {
  font-size: 15px;
  font-weight: 650;
  color: var(--text-primary, #0f172a);
  margin: 24px 0 8px;
}
.legal-body p,
.legal-body li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary, #475569);
}
.legal-body ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}
.legal-body ul li {
  margin-bottom: 6px;
}
.legal-body a {
  color: var(--accent, #6366f1);
  text-decoration: none;
}
.legal-body a:hover {
  text-decoration: underline;
}
