:root {
  --nb-ink: #0f2233;
  --nb-soft: #345064;
  --nb-muted: #667986;
  --nb-line: #dfe9e4;
  --nb-paper: #f7fbf8;
  --nb-white: #ffffff;
  --nb-green: #34c759;
  --nb-green-dark: #1f9b45;
  --nb-green-deep: #137333;
  --nb-teal: #409e99;
  --nb-amber: #f2a93b;
  --nb-red: #e54848;
  --nb-shadow-sm: 0 4px 14px rgba(15,34,51,.06);
  --nb-shadow-md: 0 16px 42px rgba(15,34,51,.10);
  --nb-shadow-lg: 0 28px 80px rgba(15,34,51,.14);
  --nb-radius: 22px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, #fff 0%, #f6fbf8 48%, #fff 100%);
  color: var(--nb-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background floating money */
.money-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.money-bg span {
  position: absolute;
  color: rgba(52, 199, 89, 0.08);
  font-weight: 900;
  font-size: clamp(38px, 6vw, 92px);
  line-height: 1;
  filter: blur(0.1px);
  animation: moneyFloat 18s ease-in-out infinite alternate;
}

.money-bg span:nth-child(1) { left: 4%; top: 12%; animation-delay: -2s; }
.money-bg span:nth-child(2) { left: 18%; top: 42%; font-size: 78px; animation-delay: -8s; }
.money-bg span:nth-child(3) { left: 80%; top: 10%; font-size: 110px; animation-delay: -4s; }
.money-bg span:nth-child(4) { left: 70%; top: 48%; font-size: 64px; animation-delay: -12s; }
.money-bg span:nth-child(5) { left: 8%; top: 76%; font-size: 96px; animation-delay: -16s; }

@keyframes moneyFloat {
  0% { transform: translate3d(0,0,0) rotate(-8deg); opacity: 0.35; }
  100% { transform: translate3d(18px,-28px,0) rotate(8deg); opacity: 0.9; }
}

body > nav, body > main, body > footer {
  position: relative;
  z-index: 1;
}

/* StickyNavbar */
.nb-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(170%);
  border-bottom: 1px solid rgba(223, 233, 228, 0.86);
}

.nb-nav__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nb-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nb-brand img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(52, 199, 89, 0.18));
}

.nb-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nb-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--nb-soft);
  transition: color 0.2s;
}

.nb-links a:hover {
  color: var(--nb-green-deep);
}

.nb-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.18s, box-shadow 0.22s, background 0.22s, color 0.22s, border-color 0.22s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--nb-green) 0%, var(--nb-green-dark) 100%);
  color: #fff;
  box-shadow: 0 16px 28px -14px rgba(31, 155, 69, 0.70), 0 0 0 1px rgba(31, 155, 69, 0.16) inset;
}

.btn-primary:hover {
  box-shadow: 0 22px 38px -14px rgba(31, 155, 69, 0.82), 0 0 0 1px rgba(31, 155, 69, 0.22) inset;
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--nb-ink);
  border-color: var(--nb-line);
  box-shadow: var(--nb-shadow-sm);
}

.btn-ghost:hover {
  background: #f0faf3;
  border-color: rgba(52, 199, 89, 0.34);
  color: var(--nb-green-deep);
}

.btn-xl {
  padding: 16px 28px;
  font-size: 16px;
}

.nb-cta-short {
  display: none;
}

/* Sections Global */
.section {
  padding: 80px 0;
}

.bg-alt {
  background-color: rgba(247, 251, 248, 0.75);
  border-top: 1px solid rgba(223, 233, 228, 0.72);
  border-bottom: 1px solid rgba(223, 233, 228, 0.72);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nb-green-deep);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--nb-ink);
}

.section-head p {
  font-size: 17px;
  color: var(--nb-soft);
}

/* 2. HeroSection */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 55% at 50% 0%, rgba(52, 199, 89, 0.14), transparent 62%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--nb-line);
  box-shadow: var(--nb-shadow-sm);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--nb-soft);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.eyebrow i {
  color: var(--nb-green-dark);
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 950;
  margin-bottom: 20px;
  color: var(--nb-ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--nb-green-dark);
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 10px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.22);
  z-index: -1;
}

.hero-lead {
  font-size: 19px;
  color: var(--nb-soft);
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--nb-muted);
  font-size: 13.5px;
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-row i {
  color: var(--nb-green-dark);
}

.hero-card {
  position: relative;
}

.hero-visual-container {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(223, 233, 228, 0.9);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--nb-shadow-lg);
  backdrop-filter: blur(16px);
}

.hero-visual-container img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--nb-line);
}

.hero-visual-container .visual-desktop {
  display: block;
}

.hero-visual-container .visual-mobile {
  position: absolute;
  width: 38%;
  bottom: -20px;
  left: -20px;
  box-shadow: var(--nb-shadow-lg);
  z-index: 10;
  border-radius: 20px;
  border: 4px solid #fff;
}

.floating-proof {
  position: absolute;
  right: -10px;
  bottom: 10px;
  background: #0f2233;
  color: #fff;
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: var(--nb-shadow-md);
  max-width: 220px;
  z-index: 11;
}

.floating-proof small {
  color: rgba(255, 255, 255, 0.70);
  display: block;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
}

.floating-proof b {
  font-size: 18px;
  display: block;
  margin-top: 2px;
}

/* 3. ProblemSection */
.pain-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-item {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--nb-line);
  padding: 20px 24px;
  border-radius: 18px;
  box-shadow: var(--nb-shadow-sm);
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.pain-item:hover {
  transform: translateX(4px);
}

.pain-item i {
  color: var(--nb-red);
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-item strong {
  display: block;
  font-size: 16px;
  color: var(--nb-ink);
  margin-bottom: 4px;
  font-weight: 750;
}

.pain-item p {
  color: var(--nb-soft);
  font-size: 14.5px;
}

/* 4. ProductDemoSection */
.demo-tabs-container {
  max-width: 920px;
  margin: 0 auto;
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: rgba(15, 34, 51, 0.05);
  padding: 6px;
  border-radius: 999px;
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.demo-tab {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 800;
  color: var(--nb-soft);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.demo-tab.is-active {
  background: #fff;
  color: var(--nb-green-deep);
  box-shadow: var(--nb-shadow-sm);
}

.demo-panel {
  display: none;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--nb-shadow-md);
  padding: 24px;
  align-items: center;
}

.demo-panel.is-active {
  display: grid;
}

.demo-visual {
  background: #0f2233;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--nb-line);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.demo-caption {
  padding: 12px;
}

.cap-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eaf8ee;
  color: var(--nb-green-deep);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.demo-caption h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  font-weight: 850;
}

.demo-caption p {
  color: var(--nb-soft);
  font-size: 15px;
}

/* 5. FeaturesSection */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feat-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--nb-shadow-sm);
  transition: transform 0.22s, box-shadow 0.22s;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nb-shadow-md);
  border-color: rgba(52, 199, 89, 0.35);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf8ee;
  color: var(--nb-green-deep);
  font-size: 22px;
  margin-bottom: 20px;
}

.feat-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.feat-card p {
  color: var(--nb-soft);
  font-size: 14.5px;
}

.accordion-section-title {
  font-size: 20px;
  text-align: center;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--nb-ink);
}

.accordion-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 14px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 15px;
  color: var(--nb-ink);
  text-align: left;
  transition: background 0.2s;
}

.accordion-trigger:hover {
  background: var(--nb-paper);
}

.accordion-trigger i {
  transition: transform 0.2s;
}

.accordion-trigger[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.accordion-content p {
  padding: 0 20px 16px 20px;
  color: var(--nb-soft);
  font-size: 14px;
}

/* 6. OnboardingStepsSection */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--nb-shadow-sm);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nb-green);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--nb-soft);
  font-size: 13.5px;
}

/* 7. NicheCasesSection */
.niche-container {
  max-width: 920px;
  margin: 0 auto;
}

.niche-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.niche-tab {
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--nb-soft);
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 999px;
  transition: all 0.2s;
  box-shadow: var(--nb-shadow-sm);
}

.niche-tab.is-active {
  background: var(--nb-green-deep);
  color: #fff;
  border-color: var(--nb-green-deep);
}

.niche-panels {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 24px;
  padding: 32px;
  min-height: 200px;
  box-shadow: var(--nb-shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}

.niche-panel {
  display: none;
}

.niche-panel.is-active {
  display: block;
}

.niche-pane-icon {
  font-size: 40px;
  color: var(--nb-green);
  margin-bottom: 16px;
  display: inline-block;
}

.niche-panel h3 {
  font-size: 20px;
  font-weight: 850;
  margin-bottom: 8px;
}

.niche-panel p {
  color: var(--nb-soft);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

/* 8. SocialProofSection */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--nb-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--nb-amber);
  margin-bottom: 16px;
  font-size: 14px;
}

.quote {
  font-size: 16px;
  color: var(--nb-ink);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 24px;
}

.author {
  border-top: 1px solid var(--nb-line);
  padding-top: 16px;
}

.author strong {
  display: block;
  font-size: 15px;
  color: var(--nb-ink);
}

.author span {
  display: block;
  font-size: 13px;
  color: var(--nb-muted);
  font-weight: 600;
}

/* 9. SecuritySection */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sec-bullet {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--nb-shadow-sm);
  display: flex;
  gap: 16px;
}

.sec-bullet i {
  color: var(--nb-green);
  font-size: 24px;
  flex-shrink: 0;
}

.sec-bullet h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.sec-bullet p {
  color: var(--nb-soft);
  font-size: 13.5px;
}

/* 10. PricingSection */
.price-subtitle {
  font-weight: 700;
  color: var(--nb-green-deep);
  margin-top: 6px;
}

.pricing-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.price-box {
  background: linear-gradient(135deg, #0f2233 0%, #1f9b45 100%);
  color: #fff;
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--nb-shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.price-tag {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
}

.price-tag .val {
  font-size: 52px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.price-tag .per {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.8;
  margin-left: 4px;
}

.price-micro {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
}

.price-features li i {
  color: #bff7cf;
  font-size: 18px;
}

.compare-table-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--nb-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compare-table-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 800;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th {
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--nb-muted);
  border-bottom: 2px solid var(--nb-line);
  text-transform: uppercase;
}

.compare-table td {
  padding: 14px;
  font-size: 13.5px;
  font-weight: 700;
  border-bottom: 1px solid var(--nb-line);
}

.compare-table td.before {
  color: var(--nb-soft);
}

.compare-table td.before i {
  color: var(--nb-red);
  margin-right: 6px;
}

.compare-table td.after {
  color: var(--nb-green-deep);
}

.compare-table td.after i {
  color: var(--nb-green);
  margin-right: 6px;
}

/* 11. FAQSection */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--nb-shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 15.5px;
  color: var(--nb-ink);
  text-align: left;
}

.faq-question i {
  font-size: 14px;
  color: var(--nb-muted);
  transition: transform 0.2s;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 180px; /* Suficiente para la respuesta corta */
}

.faq-answer p {
  padding: 0 20px 20px 20px;
  color: var(--nb-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

/* 12. FinalCTASection */
.section-final {
  padding: 80px 0;
}

.final-card {
  background: linear-gradient(135deg, var(--nb-green-dark) 0%, var(--nb-green) 100%);
  color: #fff;
  border-radius: 32px;
  padding: 56px 40px;
  box-shadow: var(--nb-shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-card::before {
  content: "$";
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 200px;
  font-weight: 950;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  line-height: 1;
}

.final-card h2 {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 950;
  margin-bottom: 12px;
  line-height: 1.05;
}

.final-sub {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 10px;
}

.final-micro {
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 28px;
}

.final-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Footer */
.foot {
  background: #0f2233;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 40px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.foot-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.foot p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.foot h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.foot ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.foot ul a:hover {
  color: #fff;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive Rules (Mobile-First Override) */
@media (max-width: 980px) {
  .nb-links {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .hero h1 em::after {
    height: 8px;
  }
  
  .hero-lead {
    margin: 0 auto 28px;
  }
  
  .hero-actions, .trust-row {
    justify-content: center;
  }
  
  .hero-visual-container {
    max-width: 580px;
    margin: 0 auto;
  }
  
  .demo-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-container {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .compare-table-card {
    margin-top: 12px;
  }
  
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 16px;
  }
  
  .nb-nav__inner {
    min-height: 64px;
  }
  
  .nb-brand img {
    height: 40px;
  }
  
  .nb-actions .nb-cta-long {
    display: none;
  }
  
  .nb-actions .nb-cta-short {
    display: inline;
  }
  
  /* CTAs de alto contraste de 48-52px de altura y full-width en móvil */
  .btn {
    width: 100%;
    min-height: 48px;
    font-size: 14px;
    padding: 12px 20px;
  }
  
  .btn-xl {
    min-height: 52px;
    font-size: 16px;
    padding: 14px 28px;
  }
  
  .cta-w-full {
    width: 100%;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-visual-container .visual-mobile {
    width: 42%;
    bottom: -15px;
    left: -15px;
    border-width: 3px;
  }
  
  .floating-proof {
    position: static;
    margin: 20px auto 0;
    max-width: 280px;
    text-align: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .demo-tabs {
    justify-content: flex-start;
    padding: 4px;
  }
  
  .demo-tab {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .demo-panel {
    padding: 16px;
    border-radius: 18px;
  }
  
  .demo-caption h3 {
    font-size: 18px;
  }
  
  .features-grid, .steps-grid, .testimonials-grid, .security-grid, .foot-grid {
    grid-template-columns: 1fr;
  }
  
  .niche-panels {
    padding: 20px;
    border-radius: 18px;
  }
  
  .final-card {
    padding: 40px 20px;
    border-radius: 20px;
  }
  
  .final-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .compare-table th, .compare-table td {
    padding: 10px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Redesigned Pain Point Cards Grid */
.pain-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pain-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 24px;
  box-shadow: var(--nb-shadow-sm);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: stretch;
  padding: 0;
}

.pain-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--nb-shadow-md), 0 12px 24px -10px rgba(52, 199, 89, 0.15);
  border-color: rgba(52, 199, 89, 0.4);
}

.pain-img-header {
  background: linear-gradient(135deg, #f6fbf8 0%, #eaf8ee 100%);
  padding: 0;
  display: block;
  border-bottom: 1px solid rgba(223, 233, 228, 0.6);
  height: auto;
  overflow: hidden;
}

.pain-item img.pain-icon {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pain-item:hover img.pain-icon {
  transform: scale(1.05);
}

.pain-item-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pain-item strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--nb-ink);
  line-height: 1.35;
}

.pain-item p {
  font-size: 14px;
  color: var(--nb-soft);
  line-height: 1.5;
}

/* Split Layout for Advanced Features */
.adv-split-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.adv-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adv-feature-item {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--nb-shadow-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.adv-feature-item:hover {
  border-color: rgba(52, 199, 89, 0.4);
  background: #fdfefe;
}

.adv-feature-item.is-active {
  border-color: var(--nb-green);
  box-shadow: var(--nb-shadow-md), 0 0 0 1px rgba(52, 199, 89, 0.1) inset;
  background: #fff;
}

.adv-feature-item.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  background: var(--nb-green);
  border-radius: 0 4px 4px 0;
}

.adv-feature-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.adv-feature-header h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--nb-ink);
  transition: color 0.2s ease;
}

.adv-feature-item.is-active .adv-feature-header h4 {
  color: var(--nb-green-deep);
}

.adv-chevron {
  font-size: 14px;
  color: var(--nb-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.adv-feature-item.is-active .adv-chevron {
  transform: rotate(90deg);
  color: var(--nb-green-deep);
}

.adv-feature-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.adv-feature-item.is-active .adv-feature-body {
  max-height: 200px;
}

.adv-feature-body p {
  padding-top: 10px;
  color: var(--nb-soft);
  font-size: 14.5px;
  line-height: 1.5;
}

/* Mobile visual (hidden on desktop) */
.adv-feature-mobile-visual {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  justify-content: center;
  background: linear-gradient(135deg, #f6fbf8 0%, #eaf8ee 100%);
  border-radius: 12px;
  margin-top: 0;
}

.adv-feature-item.is-active .adv-feature-mobile-visual {
  max-height: 220px;
  padding: 16px;
  margin-top: 12px;
  border: 1px solid rgba(223, 233, 228, 0.5);
}

.adv-feature-mobile-visual img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

/* Right Visual Pane (Desktop only) */
.adv-features-visual-pane {
  position: sticky;
  top: 110px;
  z-index: 10;
}

.adv-visual-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--nb-shadow-md);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-visual-gradient-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(52, 199, 89, 0.08) 0%, transparent 70%);
  z-index: 1;
}

.adv-visual-images {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-visual-img {
  position: absolute;
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.95) translateY(10px);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(15,34,51,.12));
}

.adv-visual-img.is-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* Demo tab icons */
.demo-tab-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: filter 0.22s ease, opacity 0.22s ease;
}

.demo-tab:not(.is-active) .demo-tab-icon {
  filter: grayscale(100%);
  opacity: 0.6;
}

.cap-tag-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 2px;
}

/* Feature card default/active visual */
.feat-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.22s ease;
}

.feat-icon-img.active {
  display: none;
}

.feat-card:hover .feat-icon {
  background: var(--nb-green) !important;
}

.feat-card:hover .feat-icon-img.default {
  display: none;
}

.feat-card:hover .feat-icon-img.active {
  display: block;
}

.feat-card:hover .feat-icon-img {
  transform: scale(1.1);
}

/* Responsive Overrides */
@media (max-width: 980px) {
  .adv-split-container {
    grid-template-columns: 1fr;
  }
  
  .adv-features-visual-pane {
    display: none;
  }
  
  .adv-chevron {
    transform: rotate(0deg);
  }
  
  .adv-feature-item.is-active .adv-chevron {
    transform: rotate(90deg);
  }

  .adv-feature-mobile-visual {
    display: flex;
  }
}


