:root {
  --purple-950: #190b2e;
  --purple-900: #24103f;
  --purple-800: #351663;
  --purple-700: #51258f;
  --purple-600: #6632aa;
  --orange: #f26522;
  --orange-2: #ff8a2a;
  --ink: #171221;
  --muted: #665f72;
  --line: #e9e3f1;
  --paper: #ffffff;
  --soft: #f7f3fb;
  --cyan: #00a8ff;
  --shadow: 0 24px 70px rgba(34, 16, 62, 0.14);
  --shadow-tight: 0 18px 44px rgba(34, 16, 62, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Lufga, "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}
body.preloader-active {
  overflow: hidden !important;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

h1, h2, h3, h4 { margin: 0; }
h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--purple-900);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(233, 227, 241, 0.8);
  backdrop-filter: blur(18px);
}

.brand img { width: 178px; height: auto; }
.nav {
  position: fixed;
  inset: 66px 14px auto 14px;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nav.is-open { display: flex; }
.nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--purple-900);
  font-size: 0.96rem;
  font-weight: 700;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav a:not(.nav-cta) {
  min-height: 38px;
  padding: 6px 18px;
  color: var(--purple-800);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  overflow: hidden;
  z-index: 1;
}
.nav a:not(.nav-cta)::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(81, 37, 143, 0.05);
  border: 1px solid rgba(81, 37, 143, 0.06);
  opacity: 0;
  transform: scale(0.94);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
  pointer-events: none;
}
.nav a:not(.nav-cta):hover {
  color: var(--purple-950);
}
.nav a:not(.nav-cta):hover::before {
  opacity: 1;
  transform: scale(1);
}
.nav a:not(.nav-cta).active {
  color: var(--purple-950);
  font-weight: 700;
}
.nav a:not(.nav-cta).active::before {
  opacity: 1;
  transform: scale(1);
  background: rgba(81, 37, 143, 0.08);
  border-color: rgba(81, 37, 143, 0.12);
  box-shadow: inset 0 1px 2px rgba(81, 37, 143, 0.04);
}
.nav-cta {
  color: #fff !important;
  background: var(--purple-700);
  border-radius: 999px;
  justify-content: center;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--purple-900);
}

.section-pad { padding: 76px clamp(18px, 5vw, 64px); }
.hero {
  position: relative;
  display: grid;
  gap: 34px;
  overflow: hidden;
  min-height: calc(100svh - 64px);
  align-items: center;
  background:
    radial-gradient(circle at 82% 12%, rgba(242, 101, 34, 0.1), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(81, 37, 143, 0.08), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fbf9ff 100%);
}
.vanta-hero {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

/* Hero Copy */
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--purple-900);
}
.hero-copy p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 580px;
}

/* Hero Actions & Interactive Hover Button */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.interactive-hover-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  border-radius: 999px;
  color: var(--purple-900);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.interactive-hover-button.ihb-primary,
.interactive-hover-button.nav-cta {
  color: #fff !important;
  background: var(--purple-700) !important;
  border-color: transparent !important;
}
.ihb-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.interactive-hover-button:hover .ihb-dot {
  transform: scale(100.8);
}
.ihb-text {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}
.interactive-hover-button:hover .ihb-text {
  transform: translateX(48px);
  opacity: 0;
}
.ihb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  opacity: 0;
  transform: translateX(48px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.interactive-hover-button:hover .ihb-overlay {
  opacity: 1;
  transform: translateX(0);
}

/* Proof Row - Rediseñado Premium */
.proof-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(81, 37, 143, 0.08);
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(81, 37, 143, 0.06);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(81, 37, 143, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.proof-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(242, 101, 34, 0.25);
  box-shadow: 0 8px 30px rgba(242, 101, 34, 0.08);
}
.proof-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(81, 37, 143, 0.08), rgba(242, 101, 34, 0.08));
  border-radius: 50%;
  color: var(--purple-700);
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.proof-item:hover .proof-icon-wrapper {
  background: linear-gradient(135deg, var(--purple-700), var(--orange));
  color: #fff;
  transform: rotate(8deg) scale(1.08);
}
.proof-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proof-content strong {
  font-size: 1rem;
  color: var(--purple-950);
  font-weight: 850;
  line-height: 1.2;
}
.proof-content span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.2;
}

/* Hero Visual / Dashboard Shell */
.hero-visual {
  position: relative;
  width: 100%;
  perspective: 1200px;
  z-index: 2;
}
.product-shell {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  box-shadow: 0 32px 84px rgba(34, 16, 62, 0.12);
  backdrop-filter: blur(20px);
  padding: 24px;
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}
.product-shell:hover {
  transform: rotateY(-2deg) rotateX(1deg);
}
.shell-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.shell-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e9e3f1;
}
.shell-top span:nth-child(1) { background: #ff5f56; }
.shell-top span:nth-child(2) { background: #ffbd2e; }
.shell-top span:nth-child(3) { background: #27c93f; }
.shell-top b {
  margin-left: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.summary-line strong {
  color: var(--purple-900);
}
.dashboard-grid {
  display: grid;
  gap: 16px;
}

/* Metrics */
.metric {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric.primary {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-800));
  color: #fff;
  border: none;
}
.metric small {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 600;
}
.metric strong {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.metric em {
  font-size: 0.75rem;
  font-style: normal;
  color: #27c93f;
  font-weight: 700;
}
.metric.primary em {
  color: #4ade80;
}

/* Charts & Tasks (Rediseño Premium y Balance de Alturas) */
.chart-card {
  display: flex;
  flex-direction: column;
  height: 220px; /* Altura perfecta para eliminar el espacio vacío a la izquierda del dashboard */
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(81, 37, 143, 0.01);
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.chart-card:hover {
  border-color: rgba(81, 37, 143, 0.15);
  box-shadow: 0 8px 30px rgba(81, 37, 143, 0.04);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(81, 37, 143, 0.05);
  padding-bottom: 8px;
}
.chart-header h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--purple-900);
  margin: 0;
}
.chart-header small {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}
.chart-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(39, 201, 63, 0.1);
  color: #27c93f;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.chart-badge::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #27c93f;
  border-radius: 50%;
  animation: pulseGreen 1.5s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 4px rgba(39, 201, 63, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}
.chart-container {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.chart-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.grid-line {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(81, 37, 143, 0.05) 0px, rgba(81, 37, 143, 0.05) 4px, transparent 4px, transparent 8px);
}
.chart-bars {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100%;
  padding-top: 10px;
}
.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 50px;
}
.bar-group {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100px;
  width: 100%;
  justify-content: center;
  position: relative;
}
.bar-fill {
  width: 10px;
  border-radius: 3px 3px 0 0;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-fill.b-sales {
  background: linear-gradient(180deg, var(--purple-600), var(--purple-700));
  opacity: 0.85;
}
.bar-fill.b-expenses {
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  opacity: 0.8;
}
/* Hover tooltips */
.bar-fill::after {
  content: attr(data-value);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.85);
  background: var(--purple-950);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  white-space: nowrap;
  z-index: 10;
}
.bar-fill:hover {
  opacity: 1 !important;
  transform: scaleY(1.05);
}
.bar-fill:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px) scale(1);
}
/* Active State Month */
.chart-col.active .bar-fill.b-sales {
  background: linear-gradient(180deg, #8b5cf6, var(--purple-700));
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
  opacity: 1;
}
.chart-col.active .bar-fill.b-expenses {
  background: linear-gradient(180deg, #ff8a2a, var(--orange));
  box-shadow: 0 0 12px rgba(242, 101, 34, 0.3);
  opacity: 1;
}
.bar-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 700;
}
.chart-col.active .bar-label {
  color: var(--purple-900);
  font-weight: 800;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid rgba(81, 37, 143, 0.05);
  padding-top: 8px;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}
.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.legend-dot.sales {
  background: var(--purple-600);
}
.legend-dot.expenses {
  background: var(--orange);
}

.task-list {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.task-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.task-list p .task-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(81, 37, 143, 0.15);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.task-list p .task-check::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}
.task-list p .task-check svg {
  position: relative;
  z-index: 2;
}
.task-list p {
  transition: all 0.25s ease;
  cursor: default;
}
.task-list p:hover {
  color: var(--purple-900);
}
.task-list p:hover .task-check {
  transform: scale(1.15) rotate(6deg);
  box-shadow: 0 4px 12px rgba(242, 101, 34, 0.4);
}
.task-list p:hover .task-check::before {
  opacity: 1;
}
.assistant-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.assistant-card img {
  width: 48px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.assistant-card strong {
  display: block;
  font-size: 0.85rem;
  color: var(--purple-900);
  margin-bottom: 2px;
}
.assistant-card p {
  font-size: 0.75rem;
  line-height: 1.4;
}
/* ── Wave Separator ── */
.wave-separator {
  position: relative;
  width: 100%;
  height: 40px;
  overflow: hidden;
  background: var(--soft);
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at 50% 100%, transparent 40%, rgba(255,255,255,0.8) 40%);
  background-size: 80px 40px;
}

/* ── Trust Marquee (Premium Glassmorphism) ── */
.trust-strip {
  background: var(--purple-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
  overflow: hidden;
  display: flex;
  position: relative;
  /* Premium fade-out mask on edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.trust-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding-inline: 18px;
  animation: trustMarquee 40s linear infinite;
  will-change: transform;
}
.trust-track:hover {
  animation-play-state: paused;
}
.premium-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.premium-pill:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
/* Unique subtle gradients for each icon */
.gradient-support { background: linear-gradient(135deg, #8b5cf6, #5b21b6); }
.gradient-signature { background: linear-gradient(135deg, #f97316, #c2410c); }
.gradient-reports { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.gradient-scale { background: linear-gradient(135deg, #10b981, #047857); }

.pill-content {
  display: flex;
  align-items: center;
  line-height: 1.3;
}
.premium-pill strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.premium-pill span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 8px;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-heading h2 { 
  max-width: 920px; 
  margin: 0 0 18px 0;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purple-900);
}
.section-heading p { 
  max-width: 760px; 
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.6;
}
.compact { margin-bottom: 24px; }

.feature-matrix, .pricing-grid, .service-list {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.feature-matrix article, .price-card, .service-list article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(34, 16, 62, 0.045);
}
.feature-matrix article {
  min-height: 240px;
}
.icon {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--orange);
  font-weight: 900;
}
.feature-matrix p, .price-card p, .service-list p, .faq p {
  color: var(--muted);
  line-height: 1.62;
}

.edge {
  display: grid;
  gap: 28px;
  background: var(--purple-950);
  border-radius: 0;
  color: #fff;
}
.edge.section-pad {
  max-width: none;
  padding-inline: clamp(18px, 5vw, 64px);
}
.edge-copy, .comparison {
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
}
.edge-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}
.edge-copy h2 { 
  max-width: 920px; 
  margin: 0 0 18px 0;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.edge-copy p { 
  max-width: 760px; 
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}
.comparison {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
}
.comparison-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.comparison-row:last-child { border-bottom: 0; }
.comparison-row span { color: rgba(255,255,255,0.74); }
.comparison-row span:first-child { color: #fff; font-weight: 800; }
.comparison-row strong { color: #fff; }
.comparison-row.head { display: none; }

.modules {
  background:
    radial-gradient(circle at 20% 80%, rgba(81, 37, 143, 0.06), transparent 40%),
    radial-gradient(circle at 88% 8%, rgba(242, 101, 34, 0.08), transparent 24%),
    radial-gradient(circle at 50% 50%, rgba(0, 168, 255, 0.03), transparent 50%),
    var(--soft);
}
.module-grid {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.module-last-row {
  max-width: var(--max);
  margin-inline: auto;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.module-last-row article {
  width: 100%;
  max-width: none;
}

@media (min-width: 480px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .module-last-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .module-last-row article {
    width: calc(50% - 7px);
    max-width: calc(50% - 7px);
  }
}
.module-grid article,
.module-last-row article {
  min-height: 170px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 16px;
  color: var(--purple-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(233, 227, 241, 0.7);
  box-shadow:
    0 4px 16px rgba(34, 16, 62, 0.04),
    0 16px 40px rgba(34, 16, 62, 0.045);
  backdrop-filter: blur(8px);
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),
              border-color 280ms cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.module-grid article::before,
.module-last-row article::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(81, 37, 143, 0.03), rgba(242, 101, 34, 0.03));
  transition: opacity 280ms ease;
  pointer-events: none;
}
.module-grid article:hover,
.module-last-row article:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 50, 170, 0.25);
  box-shadow:
    0 8px 24px rgba(81, 37, 143, 0.1),
    0 24px 56px rgba(34, 16, 62, 0.1);
}
.module-grid article:hover::before,
.module-last-row article:hover::before {
  opacity: 1;
}
.module-grid img,
.module-last-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(81, 37, 143, 0.12));
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.module-grid article:hover img,
.module-last-row article:hover img {
  transform: scale(1.08);
}
.module-grid strong,
.module-last-row strong {
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.module-grid span,
.module-last-row span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

/* ── Zettana Section ── */
.zettana {
  background: var(--purple-950);
  color: #fff;
}
.zettana-card {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.zettana-copy h2 {
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}
.zettana-copy p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0 0 32px 0;
}
.zettana-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.zettana-visual img {
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
}
.zettana-plans {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.zettana-plans article {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.zettana-plans span {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 8px;
  font-weight: 700;
}
.zettana-plans strong {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.zettana-plans p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.5;
  font-size: 1rem;
}
.zettana-plans ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zettana-plans li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}
.zettana-plans li::before {
  content: "✓";
  color: var(--orange);
  font-weight: bold;
}
@media (max-width: 900px) {
  .zettana-card { grid-template-columns: 1fr; text-align: center; }
  .zettana-actions { justify-content: center; }
  .zettana-plans { grid-template-columns: 1fr; }
}

.pricing { background: #fff; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255,255,255,0.58) 46%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 640ms ease;
  pointer-events: none;
}
.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(242, 101, 34, 0.28);
  box-shadow: 0 26px 70px rgba(34, 16, 62, 0.14);
}
.price-card:hover::after {
  transform: translateX(130%);
}
.price-card.featured {
  color: #fff;
  background: linear-gradient(145deg, var(--purple-900), var(--purple-700));
  border-color: transparent;
  box-shadow: 0 26px 70px rgba(81, 37, 143, 0.24);
}
.price-card.featured:hover {
  transform: translateY(-20px);
}
.price-card.featured h3, .price-card.featured p, .price-card.featured li { color: #fff; }
.footer {
  text-align: center;
  padding: 80px 20px;
  background: var(--purple-950);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer img {
  margin-bottom: 30px;
  filter: brightness(0) invert(1);
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 25px 0;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.3s;
  position: relative;
}
.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s;
}
.footer-nav a:hover::after {
  width: 100%;
}
.footer-nav a:hover {
  opacity: 0.8;
}
.footer-contact {
  font-size: 0.85rem;
  margin-top: 20px;
}
.flag {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--purple-900);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}
.price {
  margin-bottom: 0;
  color: var(--purple-950);
  font-size: 2.4rem;
  font-weight: 900;
}
.price span {
  font-size: 0.94rem;
  font-weight: 700;
}
.price-card ul {
  padding: 0;
  margin: 0 0 10px;
  list-style: none;
}
.price-card li {
  padding: 10px 0;
  border-top: 1px solid rgba(102, 95, 114, 0.16);
  color: var(--muted);
}
.price-card .btn { margin-top: auto; }

.zettana {
  background:
    radial-gradient(circle at 85% 20%, rgba(0, 168, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #150a2a 0%, #2a1843 55%, #10091f 100%);
}
.zettana-card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 5vw, 46px);
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.zettana-card h2, .zettana-card p { color: #fff; }
.zettana-card p { opacity: 0.82; }
.zettana-copy {
  display: grid;
  align-content: center;
}
.zettana-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}
.btn-ghost {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
}
.zettana-visual {
  margin: 0;
  min-height: 280px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  background: #061630;
}
.zettana-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: contain;
  background: #061630;
}
.zettana-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  grid-column: 1 / -1;
}
.zettana-plans article {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
}
.zettana-plans article.recommended {
  background: linear-gradient(145deg, rgba(81, 37, 143, 0.8), rgba(242, 101, 34, 0.64));
  border-color: rgba(255,255,255,0.32);
}
.zettana-plans span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.zettana-plans strong {
  display: block;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.05;
}
.zettana-plans p {
  margin: 10px 0 14px;
  font-size: 0.94rem;
  line-height: 1.45;
}
.zettana-plans ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.zettana-plans li {
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
}

.advisor {
  display: grid;
  gap: 28px;
  align-items: center;
}
.advisor-media {
  min-height: 360px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--soft);
}
.advisor-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.advisor-copy {
  max-width: 620px;
}
.advisor-copy h2 {
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purple-900);
  margin: 0 0 18px 0;
}
.advisor-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  line-height: 1.68;
}
.advisor-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.advisor-points span {
  padding: 10px 13px;
  color: var(--purple-800);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
}

.service-list article {
  background: var(--soft);
}

.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbf8ff);
}
.particles-cta {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  pointer-events: none;
}
.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 46px);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.contact-panel h2 {
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--purple-900);
  margin-bottom: 16px;
}
.contact-panel p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.6;
}
.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-points span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--purple-800);
  font-size: 0.9rem;
  font-weight: 800;
}
.lead-form {
  display: grid;
  gap: 14px;
}
.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--purple-900);
  font-size: 0.9rem;
  font-weight: 850;
}
.lead-form input, .lead-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
}
.lead-form input:focus, .lead-form select:focus {
  outline: 3px solid rgba(242, 101, 34, 0.18);
  border-color: var(--orange);
}
.privacy {
  margin: 0;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

.faq {
  padding-top: 54px;
}
.faq h2 { margin-bottom: 20px; }
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  color: var(--purple-900);
  font-weight: 900;
}
details p { margin: 14px 0 0; }

.footer {
  padding: 64px clamp(18px, 5vw, 64px) 86px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.footer-logo {
  width: 190px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.footer-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}
.footer-nav a:hover {
  color: var(--purple-700);
}
.footer-bottom {
  width: 100%;
  max-width: var(--max);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-copy {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.95rem;
  margin: 0;
}
.footer-contact a {
  color: var(--purple-700);
  font-weight: 700;
  position: relative;
  transition: color 0.25s ease;
  padding: 2px 0;
}
.footer-contact a:hover {
  color: var(--orange);
}
.footer-contact a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.footer-contact a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.footer-sep {
  color: var(--line);
  user-select: none;
}
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

.sticky-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 18;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-700), var(--orange));
  font-weight: 900;
  box-shadow: 0 16px 42px rgba(81, 37, 143, 0.32);
}

@media (min-width: 720px) {
  .hero-actions, .proof-row { flex-direction: row; }
  .proof-row { gap: 28px; }
  .dashboard-grid { grid-template-columns: 1.05fr 0.95fr; }
  .feature-matrix, .service-list { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(4, 1fr); }
  .module-last-row article { width: calc(25% - 10.5px); max-width: calc(25% - 10.5px); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .price-card.featured { transform: translateY(-14px); }
  .comparison-row {
    grid-template-columns: 0.8fr 1fr 1.1fr;
    gap: 18px;
  }
  .comparison-row.head { display: grid; background: rgba(255,255,255,0.08); font-weight: 900; }
  .zettana-actions { flex-direction: row; }
  .zettana-card { grid-template-columns: 0.92fr 1.08fr; align-items: center; }
  .zettana-plans { grid-template-columns: repeat(3, 1fr); }
  .advisor { grid-template-columns: 0.9fr 1fr; }
  .contact-panel { grid-template-columns: 1fr 0.9fr; align-items: center; }
}

@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav a { min-height: 40px; }
  .nav a:not(.nav-cta) { min-height: 36px; }
  .nav-cta { padding-inline: 18px !important; }
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    gap: clamp(28px, 5vw, 74px);
  }
  .hero-copy { max-width: 680px; margin-right: 0; }
  .hero-visual { margin-left: 0; min-height: 590px; }
  .product-shell { transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 34px; }
}

@media (prefers-reduced-motion: no-preference) {
  .safito { animation: float 5.5s ease-in-out infinite; }
  .bar { animation: rise 1.7s ease-out both; }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  @keyframes rise { from { transform: scaleY(0.4); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
  @keyframes trustMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 7px)); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .vanta-hero, .particles-cta {
    display: none;
  }
  .price-card, .module-grid article, .module-last-row article {
    transition: none;
  }
  .trust-track {
    width: auto;
    overflow-x: auto;
    animation: none;
    scroll-snap-type: x mandatory;
  }
  .trust-track article {
    scroll-snap-align: start;
  }
}

/* ── Preloader Premium de Saftelmah ── */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0b051a; /* Morado oscuro profundo acorde a Vanta */
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  overflow: hidden;
}
.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.loader-logo {
  width: 110px;
  height: 110px;
  animation: floatLogo 3s ease-in-out infinite;
}
.loader-logo img {
  width: 100%;
  height: 100%;
  display: block;
}
.loader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.loader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #f97316);
  width: 0;
  animation: fillLoader 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.loader-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  animation: pulseText 1.8s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0px rgba(139, 92, 246, 0));
  }
  50% {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 8px 16px rgba(139, 92, 246, 0.25));
  }
}

@keyframes fillLoader {
  0% { width: 0%; }
  30% { width: 45%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

@keyframes pulseText {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

