/* =====================================================
   INGATE HUB — LANDING PAGE V2
   Conversion-Optimized: Contrast, Mobile, CTA hierarchy
   ===================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #05080f;
  color: #e8eaf2;
  overflow-x: hidden;
  cursor: none;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img,
svg {
  display: block;
}

/* ─── DESIGN TOKENS ─── */
:root {
  /* Brand */
  --blue: #1a6ef5;
  --blue-deep: #0047be;
  --blue-light: #5b9eff;
  --blue-glow: rgba(26, 110, 245, 0.35);
  --blue-border: rgba(26, 110, 245, 0.22);

  /* Backgrounds — richer for contrast */
  --bg-0: #05080f;
  --bg-1: #080d1c;
  --bg-2: #0c1228;
  --bg-3: #101932;

  /* Text — WCAG AA compliant on dark bg */
  --text-white: #ffffff;
  --text-primary: #f2f5ff;
  /* 16:1 contrast on --bg-0 */
  --text-secondary: #b0bcd8;
  /* 7.2:1 — upgraded from #8b9cc4 */
  --text-muted: #6b7a9e;
  /* 4.6:1 — upgraded from #4a5578 */
  --text-xmuted: #3d4d6e;

  /* Surfaces */
  --surface-1: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(26, 110, 245, 0.28);

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;

  /* Motion */
  --ease: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-fast: 0.2s ease;

  /* Layout */
  --container: 1200px;
  --pad-x: 24px;

  /* Section rhythm — tighter for conversion */
  --section-y: 96px;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg-0);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 2px;
}

/* ─── NOISE ─── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(26, 110, 245, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.2s ease;
}

.cursor.is-hovering {
  transform: translate(-50%, -50%) scale(3);
  opacity: 0.5;
}

.cursor-follower.is-hovering {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

/* ─── LAYOUT ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}

/* ─── TYPOGRAPHY SYSTEM ─── */
.gradient-text {
  background: linear-gradient(135deg, #7db8ff 0%, var(--blue) 45%, #003fa8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: var(--text-white);
}

/* ─── BUTTON SYSTEM ─── */
/* Primary — high contrast, accessible */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a6ef5 0%, #0047be 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 17px 40px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  transition: var(--ease);
  box-shadow: 0 4px 24px rgba(26, 110, 245, 0.4), 0 1px 4px rgba(0, 0, 0, 0.4);
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4a8fff 0%, #1a6ef5 100%);
  opacity: 0;
  transition: opacity var(--ease);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(26, 110, 245, 0.55), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* Text sits above pseudo-elements */
.btn-primary>* {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 17px 28px;
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  transition: var(--ease);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  color: var(--text-white);
  border-color: var(--blue-border);
  background: rgba(26, 110, 245, 0.08);
}

.btn-xl {
  padding: 20px 52px;
  font-size: 1.1rem;
}

.btn-plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 15px 24px;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--blue-border);
  transition: var(--ease);
  background: rgba(26, 110, 245, 0.07);
}

.btn-plan:hover {
  color: var(--text-white);
  background: rgba(26, 110, 245, 0.16);
  border-color: var(--blue);
}

.magnetic {
  position: relative;
}

/* ─── STICKY MOBILE CTA ─── */
.mobile-cta-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 14px 20px 20px;
  background: linear-gradient(to top, rgba(5, 8, 15, 0.98) 60%, transparent);
  backdrop-filter: blur(12px);
}

.mobile-cta-sticky .btn-primary {
  width: 100%;
  font-size: 1rem;
  padding: 18px 24px;
  box-shadow: 0 8px 32px rgba(26, 110, 245, 0.5);
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(5, 8, 15, 0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  flex-shrink: 0;
  transition: opacity var(--ease);
}

.nav-logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--ease-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--blue);
  transition: right var(--ease);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after {
  right: 0;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: var(--r-xl);
  transition: var(--ease);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(26, 110, 245, 0.35);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26, 110, 245, 0.5);
}

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}

.nav-mobile-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-secondary);
  transition: var(--ease);
}

.nav-mobile-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-mobile-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-mobile-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(5, 8, 15, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-menu.open {
  display: flex;
}

.nav-mobile-menu li {
  border-bottom: 1px solid var(--border);
}

.nav-mobile-menu a {
  font-size: 1rem;
  color: var(--text-secondary);
  display: block;
  padding: 14px 0;
}

.nav-mobile-menu a:hover {
  color: var(--text-white);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-0);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 110, 245, 0.14) 0%, transparent 68%);
  z-index: 2;
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(26, 110, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 110, 245, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--pad-x) 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Left-aligned desktop, centered mobile */
.hero-text {
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 110, 245, 0.12);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-xl);
  padding: 7px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: badge-blink 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(26, 110, 245, 0.7);
}

@keyframes badge-blink {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(26, 110, 245, 0.7);
  }

  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 5px rgba(26, 110, 245, 0);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.045em;
  color: var(--text-white);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 400;
  max-width: 580px;
}

.hero-authority {
  font-size: 0.885rem;
  color: var(--text-muted);
  border-left: 2px solid var(--blue);
  padding-left: 16px;
  line-height: 1.75;
  max-width: 560px;
  font-style: italic;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-ctas .btn-primary {
  font-size: 1rem;
  padding: 17px 38px;
}

.hero-ctas .btn-ghost {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Metrics row */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 4px;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-num {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-white);
  line-height: 1;
  display: inline;
}

.metric-unit {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-left: 2px;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  max-width: 110px;
  line-height: 1.4;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-xmuted);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    height: 0;
    opacity: 1;
  }

  100% {
    height: 44px;
    opacity: 0;
  }
}

/* ─── REVEAL ─── */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ─── MARQUEE ─── */
.marquee-section {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  overflow: hidden;
}

.marquee-items {
  display: flex;
  gap: 28px;
  align-items: center;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-items span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.marquee-dot {
  color: var(--blue) !important;
  font-size: 1rem !important;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ─── CONTEXT / O JOGO REAL ─── */
.context-section {
  background: var(--bg-0);
}

.phases-container {
  margin: 56px 0 44px;
}

.phases-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}

.phase-card {
  flex: 1;
  min-width: 230px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--ease);
}

.phase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 110, 245, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--ease);
}

.phase-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.phase-card:hover::before {
  opacity: 1;
}

.phase-card.phase-danger {
  border-color: rgba(239, 68, 68, 0.2);
}

.phase-card.phase-danger:hover {
  border-color: rgba(239, 68, 68, 0.5);
}

.phase-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-xmuted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.phase-line {
  width: 28px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 18px;
}

.phase-danger .phase-line {
  background: rgb(239, 68, 68);
}

.phase-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.phase-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

.phase-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--r-xl);
  display: inline-block;
}

.phase-status.safe {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.phase-status.warning {
  background: rgba(234, 179, 8, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.phase-status.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.phase-arrow {
  color: var(--text-xmuted);
  flex-shrink: 0;
  width: 40px;
}

.phase-arrow svg {
  width: 40px;
}

.context-statement {
  text-align: center;
  padding: 36px 40px;
  border: 1px solid var(--blue-border);
  border-radius: var(--r-lg);
  background: rgba(26, 110, 245, 0.05);
}

.context-statement p {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--text-secondary);
  font-style: italic;
}

/* ─── REPOSICIONAMENTO ─── */
.reposition-section {
  background: var(--bg-1);
}

.reposition-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(26, 110, 245, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.reposition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.reposition-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.reposition-text strong {
  color: var(--text-white);
  font-weight: 700;
}

.comparison-card {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-1);
}

.comparison-col {
  flex: 1;
  padding: 28px 22px;
}

.col-header {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.col-without .col-header {
  color: var(--text-muted);
}

.col-with .col-header {
  color: var(--blue-light);
}

.comparison-list li {
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.5;
}

.item-bad {
  color: var(--text-muted);
}

.item-bad::before {
  content: '×  ';
  color: #f87171;
  font-weight: 700;
}

.item-good {
  color: var(--text-secondary);
}

.item-good::before {
  content: '✓  ';
  color: #4ade80;
  font-weight: 700;
}

.comparison-divider {
  width: 1px;
  background: var(--border);
}

.comparison-vs {
  display: none;
}

/* ─── MÉTODO ─── */
.method-section {
  background: var(--bg-0);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pillar-card {
  position: relative;
  padding: 44px 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-1);
  transition: var(--ease);
  cursor: default;
}

.pillar-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity var(--ease);
}

.pillar-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.pillar-card:hover::after {
  opacity: 1;
}

.pillar-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(26, 110, 245, 0.15) 0%, transparent 70%);
}

.pillar-number {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-xmuted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pillar-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 14px;
}

.pillar-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.pillar-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-xl);
  padding: 5px 13px;
  display: inline-block;
}

/* ─── COMO FUNCIONA ─── */
.how-section {
  background: var(--bg-1);
}

.steps-container {
  position: relative;
  margin-top: 56px;
  max-width: 680px;
}

.steps-line {
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

.step-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 0 0 44px 0;
  position: relative;
  cursor: default;
}

.step-dot {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-0);
  border: 1.5px solid var(--blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  transition: var(--ease);
}

.step-item:hover .step-dot {
  border-color: var(--blue);
  background: rgba(26, 110, 245, 0.1);
  box-shadow: 0 0 20px rgba(26, 110, 245, 0.3);
}

.step-content {
  padding-top: 10px;
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 500px;
}

/* ─── BENEFÍCIOS ─── */
.benefits-section {
  background: var(--bg-0);
}

.benefits-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 45% 50% at 22% 60%, rgba(26, 110, 245, 0.07) 0%, transparent 70%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.benefit-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  transition: var(--ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.benefit-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--blue);
  transition: right var(--ease);
}

.benefit-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.benefit-card:hover::before {
  right: 0;
}

.benefit-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-xmuted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.865rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── FILTRO ─── */
.filter-section {
  background: var(--bg-1);
}

.filter-card {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 60px 56px;
  background: var(--surface-1);
  position: relative;
  overflow: hidden;
}

.filter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(26, 110, 245, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.filter-question {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  text-align: center;
  color: var(--text-white);
  margin-bottom: 44px;
  line-height: 1.25;
  position: relative;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  position: relative;
}

.filter-col {
  padding: 0 28px;
}

.filter-col-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.filter-not .filter-col-label {
  color: var(--text-muted);
}

.filter-col ul li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.5;
}

.filter-not li {
  color: var(--text-muted);
}

.filter-not li::before {
  content: '—  ';
  opacity: 0.4;
}

.filter-yes li::before {
  content: '→  ';
  color: var(--blue-light);
  font-weight: 700;
}

.filter-divider {
  width: 1px;
  background: var(--border);
  margin: 0 4px;
}

/* ─── TRIAL STRIP ─── */
.trial-strip {
  background: linear-gradient(135deg, rgba(26, 110, 245, 0.14) 0%, rgba(0, 71, 190, 0.08) 100%);
  border-top: 1px solid var(--blue-border);
  border-bottom: 1px solid var(--blue-border);
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.trial-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(26, 110, 245, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.trial-strip-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.trial-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: badge-blink 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(26, 110, 245, 0.7);
}

.trial-strip p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trial-strip p strong {
  color: var(--text-white);
}

.trial-cta {
  display: inline-flex;
  align-items: center;
  color: var(--blue-light);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--r-xl);
  border: 1.5px solid rgba(26, 110, 245, 0.35);
  transition: var(--ease);
  white-space: nowrap;
  background: rgba(26, 110, 245, 0.1);
}

.trial-cta:hover {
  background: rgba(26, 110, 245, 0.22);
  color: #fff;
  border-color: var(--blue);
}

/* ─── PLANS ─── */
.plans-section {
  background: var(--bg-0);
}

.plans-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 44px;
  margin-top: -12px;
  display: block;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  align-items: start;
}

.plan-card {
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  background: var(--surface-1);
  position: relative;
  overflow: hidden;
  transition: var(--ease);
  cursor: default;
}

.plan-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.plan-featured {
  border-color: var(--blue-border) !important;
  background: rgba(26, 110, 245, 0.05) !important;
}

.plan-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 110, 245, 0.09) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.plan-featured>* {
  position: relative;
  z-index: 1;
}

.plan-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.featured-badge {
  color: var(--blue-light) !important;
}

.plan-popular {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--r-xl);
  box-shadow: 0 4px 12px rgba(26, 110, 245, 0.4);
}

.plan-price {
  margin-bottom: 18px;
  line-height: 1;
}

.plan-currency {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 700;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}

.plan-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.04em;
}

.plan-period {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-consult {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.plan-features {
  margin-bottom: 28px;
}

.plan-features li {
  font-size: 0.84rem;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.5;
}

.plan-features li::before {
  content: '·  ';
  color: var(--blue);
  font-weight: 800;
  font-size: 1rem;
}

.plan-featured .plan-features li::before {
  color: var(--blue-light);
}

.plan-featured .btn-primary {
  width: 100%;
}

/* Highlight "Checkout automático" in Control plan */
.plan-features li strong {
  color: var(--text-white);
  font-weight: 700;
}

/* ─── FINAL CTA ─── */
.final-cta {
  position: relative;
  background: var(--bg-0);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 65vh;
}

.cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 110, 245, 0.17) 0%, transparent 68%);
  z-index: 2;
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}

.final-cta-inner {
  position: relative;
  z-index: 3;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--pad-x);
}

.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.cta-title {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 20px;
}

.cta-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  font-style: italic;
}

.cta-small {
  margin-top: 18px;
  font-size: 0.76rem;
  color: var(--text-xmuted);
  letter-spacing: 0.05em;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
}

.footer-top {
  display: flex;
  gap: 60px;
  margin-bottom: 44px;
  align-items: flex-start;
}

.footer-brand {
  flex: 2;
}

.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 340px;
}

.footer-links {
  flex: 1;
  display: flex;
  gap: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: color var(--ease-fast);
}

.footer-col a:hover {
  color: var(--text-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-tagline {
  font-style: italic;
}

/* ─── HOVER POINTER FIX ─── */
.pillar-card,
.benefit-card,
.plan-card,
.phase-card,
.step-item,
.comparison-card {
  cursor: default;
}

/* ─── PLAN GLOW ANIMATION ─── */
@keyframes plan-glow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(26, 110, 245, 0.08), inset 0 0 20px rgba(26, 110, 245, 0.03);
  }

  50% {
    box-shadow: 0 0 60px rgba(26, 110, 245, 0.16), inset 0 0 30px rgba(26, 110, 245, 0.06);
  }
}

.plan-featured {
  animation: plan-glow 4s ease-in-out infinite;
}

/* ─── RESPONSIVE ─── */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-y: 80px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .reposition-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .filter-divider {
    display: none;
  }

  .filter-col {
    padding: 0;
  }

  .phases-track {
    flex-direction: column;
    align-items: stretch;
  }

  .phase-arrow {
    display: none;
  }

  .filter-card {
    padding: 40px 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-y: 64px;
    --pad-x: 20px;
  }

  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
  }

  /* Nav */
  .nav-links,
  .btn-nav {
    display: none;
  }

  .nav-mobile-btn {
    display: flex;
    margin-left: auto;
  }

  .nav-inner {
    height: 60px;
  }

  /* Hero — centered on mobile */
  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }

  .hero-content {
    padding: 96px 20px 100px;
    gap: 18px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.4rem);
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-authority {
    font-size: 0.84rem;
  }

  /* CTAs: full width stack */
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn-primary {
    width: 100%;
    padding: 18px 24px;
    justify-content: center;
  }

  .hero-ctas .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  /* Metrics: wrap cleanly */
  .hero-metrics {
    gap: 16px;
  }

  .metric-divider {
    display: none;
  }

  .metric-num {
    font-size: 1.6rem;
  }

  /* Scroll hint hide on mobile */
  .hero-scroll-hint {
    display: none;
  }

  /* Sticky CTA */
  .mobile-cta-sticky {
    display: block;
  }

  /* Add bottom padding to last section so content not hidden behind sticky */
  .final-cta {
    padding-bottom: 80px;
  }

  /* Plans grid: single col */
  .plans-grid {
    max-width: 100%;
  }

  .plan-card {
    padding: 28px 22px;
  }

  /* Steps */
  .steps-line {
    display: none;
  }

  /* Filter */
  .filter-card {
    padding: 28px 20px;
  }

  .filter-question {
    font-size: 1.2rem;
    margin-bottom: 28px;
  }

  /* Comparison: stack */
  .comparison-card {
    flex-direction: column;
  }

  .comparison-divider {
    display: none;
  }

  /* Context statement */
  .context-statement {
    padding: 28px 24px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 36px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Pillars */
  .pillars-grid {
    max-width: 100%;
  }

  .pillar-card {
    padding: 32px 24px;
  }

  /* Reposition section */
  .reposition-grid {
    gap: 28px;
  }
}

/* Small phones */
@media (max-width: 390px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .filter-card {
    padding: 22px 16px;
  }
}

/* ─── ACCESSIBILITY ─── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}