/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --secondary: #0ea5e9;
  --secondary-glow: rgba(14, 165, 233, 0.3);
  --accent: #f43f5e;
  --accent-glow: rgba(244, 63, 94, 0.3);
  --success: #10b981;
  --bg: #040810;
  --surface: rgba(15, 23, 42, 0.7);
  --card: rgba(15, 23, 42, 0.6);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text: #f1f5f9;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ─── Animated background ────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 5% -15%, rgba(99, 102, 241, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 95% 115%, rgba(14, 165, 233, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(244, 63, 94, 0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: bgPulse 12s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.7;
  }
}


/* ─── Grid dots background ───────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 48px 48px;
  }
}

/* ─── Version Tag ────────────────────────────────────────── */
.version-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 10000;
  font-size: 0.5rem;
  color: #94a3b88f;
  letter-spacing: 0.08em;
}

/* ─── Shared container ───────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(4, 8, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 13px 0;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-imob {
  color: var(--text);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover)) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 700 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

/* .btn-nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
  pointer-events: none;
} */

.btn-nav:hover::before {
  transform: translateX(120%);
}

.btn-nav:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px var(--primary-glow) !important;
}

.btn-nav::after {
  display: none;
}

.btn-nav-ghost {
  color: var(--text-light) !important;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 600 !important;
  border: 1px solid var(--border) !important;
  transition: all 0.3s ease !important;
}

.btn-nav-ghost:hover {
  border-color: var(--border-hover) !important;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.btn-nav-ghost::after {
  display: none;
}

/* ─── Hamburger ─────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  z-index: 200;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile nav overlay ─────────────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(4, 8, 16, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  z-index: 150;
  padding: 16px 24px 28px;
  gap: 8px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  min-height: auto;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a:active {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.mobile-menu .m-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.mobile-menu .m-btn-login {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: #818cf8;
}

.mobile-menu .m-btn-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--primary-glow);
  font-weight: 700;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  /* overflow: hidden; */
}

/* Animated orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #818cf8;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 8px #818cf8;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.6);
  }
}

.hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #38bdf8 40%, #34d399 70%, #818cf8 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.8;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  padding: 16px 36px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px var(--primary-glow);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 160%;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-primary svg {
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(5px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  background: none;
  cursor: pointer;
}

.btn-secondary:hover {
  color: var(--text);
}

.btn-secondary:hover .arrow-circle {
  background: var(--border-hover);
  transform: scale(1.1);
}

.arrow-circle {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

/* ─── Hero floating stats ────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.4s ease both;
  flex-wrap: wrap;
}

.stat-item {
  position: relative;
  transition: transform 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #818cf8, #38bdf8);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ─── Trust Bar ─────────────────────────────────────────── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 32px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  margin: 0 0 0 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.3s;
  cursor: default;
}

.trust-item:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.04);
}

.trust-item span {
  font-size: 1rem;
}

/* Divider dots between items */
.trust-bar .trust-item:not(:last-child)::after {
  content: '·';
  margin-left: 8px;
  color: var(--border-hover);
}

/* ─── Section commons ────────────────────────────────────── */
section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 70px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

.section-header.center .section-label {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Reveal animations ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ─── Features Grid ────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
  pointer-events: none;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg at 50% 50%,
      transparent 60%,
      rgba(99, 102, 241, 0.15) 80%,
      transparent 100%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  animation: spin 4s linear infinite paused;
}

.feature-card:hover::after {
  opacity: 1;
  animation-play-state: running;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-hover);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

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

/* Feature card color themes */
.feature-card.purple {
  border-color: rgba(99, 102, 241, 0.15);
}

.feature-card.purple::before {
  background: radial-gradient(ellipse at top left, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
}

.feature-card.purple:hover {
  border-color: rgba(99, 102, 241, 0.35);
}

.feature-card.orange {
  border-color: rgba(245, 158, 11, 0.15);
}

.feature-card.orange::before {
  background: radial-gradient(ellipse at top left, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

.feature-card.orange:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.feature-card.blue {
  border-color: rgba(14, 165, 233, 0.15);
}

.feature-card.blue::before {
  background: radial-gradient(ellipse at top left, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
}

.feature-card.blue:hover {
  border-color: rgba(14, 165, 233, 0.35);
}

.feature-card.green {
  border-color: rgba(16, 185, 129, 0.15);
}

.feature-card.green::before {
  background: radial-gradient(ellipse at top left, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
}

.feature-card.green:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

.feature-card.pink {
  border-color: rgba(244, 63, 94, 0.15);
}

.feature-card.pink::before {
  background: radial-gradient(ellipse at top left, rgba(244, 63, 94, 0.12) 0%, transparent 70%);
}

.feature-card.pink:hover {
  border-color: rgba(244, 63, 94, 0.35);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(-5deg);
}

.feature-icon.purple {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(99, 102, 241, 0.1));
}

.feature-icon.blue {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(14, 165, 233, 0.1));
}

.feature-icon.green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.1));
}

.feature-icon.pink {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(244, 63, 94, 0.1));
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── Oportunidades Section ──────────────────────────────── */
.data-source-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.data-source-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-color: rgba(99, 102, 241, 0.25);
}

.data-source-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.4s;
}

.data-source-item:hover .data-source-icon {
  transform: scale(1.1) rotate(-5deg);
}

.data-source-content {
  flex: 1;
}

.data-source-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.data-source-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── How it works ───────────────────────────────────────── */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 33px;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(99, 102, 241, 0.4) 20%,
      rgba(14, 165, 233, 0.4) 80%,
      transparent);
  pointer-events: none;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.step:hover::before {
  opacity: 1;
}

.step:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
}

.step-number {
  font-size: 2.5rem;
  margin-top: 18px;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step:hover .step-number {
  transform: scale(1.2) rotate(-5deg);
}

.step-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.step-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Data sources section ───────────────────────────────── */
.data-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.data-source-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── LiteCRM ad ─────────────────────────────────────────── */
.litecrm-ad {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 14px 20px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 14px;
  transition: all 0.3s;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (max-width: 600px) {
  .litecrm-ad {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
  }

  .litecrm-ad-badge {
    display: none;
  }

  .litecrm-ad-text {
    font-size: 0.88rem;
    width: 100%;
  }

  .litecrm-ad-cta {
    font-size: 0.82rem;
    color: #818cf8;
    font-weight: 700;
    display: flex;
    align-items: center;
  }
}

.litecrm-ad:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.litecrm-ad-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 6px;
}

.litecrm-ad-icon {
  font-size: 1.3rem;
}

.litecrm-ad-text {
  font-size: 0.92rem;
  color: var(--text-light);
  flex: 1;
}

.litecrm-ad-text strong {
  color: var(--text);
}

.litecrm-ad-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: #818cf8;
}

/* ─── Testimonials ───────────────────────────────────────── */
.swiper-reviews {
  padding: 20px 0 40px;
}

.swiper-reviews .swiper-slide {
  height: auto;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(12px);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ─── CTA Section ────────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(14, 165, 233, 0.08) 50%, rgba(16, 185, 129, 0.06) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-xl);
  padding: 72px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
  border-radius: 50%;
  animation: ctaPulse 4s ease-in-out infinite alternate;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12), transparent 70%);
  border-radius: 50%;
  animation: ctaPulse 4s ease-in-out infinite alternate-reverse;
}

@keyframes ctaPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: var(--text-light);
  font-size: 1.08rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* ─── LGPD ───────────────────────────────────────────────── */
.lgpd-section {
  position: relative;
  z-index: 1;
}

/* ─── Footer ─────────────────────────────────────────────── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-light);
}

/* ─── Theme toggle ───────────────────────────────────────── */
#theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#theme-toggle:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

/* ─── Mobile link helpers ────────────────────────────────── */
.m-link {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.m-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text);
}

.m-btn-login {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25) !important;
  color: #818cf8 !important;
}

.m-btn-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover)) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px var(--primary-glow);
  font-weight: 700;
  justify-content: center;
}

/* ─── 3D Floating card (hero visual) ────────────────────── */
.hero-3d-wrapper {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  pointer-events: none;
  animation: float3d 7s ease-in-out infinite;
  display: none;
}

@media (min-width: 1100px) {
  .hero-3d-wrapper {
    display: block;
  }
}

@keyframes float3d {

  0%,
  100% {
    transform: translateY(-50%) rotateX(0deg) rotateY(0deg);
  }

  25% {
    transform: translateY(calc(-50% - 18px)) rotateX(3deg) rotateY(-4deg);
  }

  75% {
    transform: translateY(calc(-50% + 10px)) rotateX(-3deg) rotateY(4deg);
  }
}

.hero-card-mock {
  background: rgba(22, 33, 55, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: absolute;
  animation: fadeUp 1s 0.4s ease both;
  transform-style: preserve-3d;
}

.mock-main {
  width: 360px;
  top: 40px;
  left: 20px;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.mock-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 6px 20px var(--primary-glow);
}

.mock-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.mock-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.mock-tag {
  margin-left: auto;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.mock-phones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 14px;
}

.mock-phone-number {
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-btns {
  display: flex;
  gap: 8px;
}

.mock-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.mock-btn-call {
  background: var(--secondary);
}

.mock-btn-wa {
  background: var(--success);
}

.mock-floating {
  position: absolute;
  background: rgba(22, 33, 55, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 0.8rem;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.mock-badge-1 {
  bottom: 50px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 1s 0.7s ease both;
}

.mock-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.icon-blue {
  background: rgba(14, 165, 233, 0.2);
}

.icon-green {
  background: rgba(16, 185, 129, 0.2);
}

.icon-purple {
  background: rgba(99, 102, 241, 0.2);
}

.mock-badge-text {
  font-weight: 600;
  font-size: 0.8rem;
}

.mock-badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .steps-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-wrapper::before {
    display: none;
  }

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

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .cta-box {
    padding: 48px 28px;
  }

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

  .steps-wrapper {
    grid-template-columns: 1fr;
  }

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

/* ─── Swiper Reviews ─────────────────────────────────────── */
.swiper-pagination-bullet {
  background: var(--text-light);
  opacity: 0.4;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
  transform: scale(1.3);
}

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.4);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.6);
}

/* ─── Particle canvas ────────────────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL BUILD ANIMATION SYSTEM
═══════════════════════════════════════════════════════════ */

/* ─── Word split wrapper ─────────────────────────────────── */
.word-wrap {
  display: inline-block;
  vertical-align: bottom;
  /* overflow:hidden removido — quebra background-clip:text em .gradient-text */
}


.word {
  display: inline-block;
  will-change: transform, opacity;
}

/* ─── Section label clip animation ──────────────────────── */
.section-label,
.section-label-sm {
  will-change: clip-path;
  display: inline-flex;
}

/* ─── Reveal reset — the JS overrides these individually ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Feature cards preserve-3d ─────────────────────────── */
.feature-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* ─── Steps connector line ───────────────────────────────── */
.steps-line-progress {
  pointer-events: none;
}

/* Section active pulse glow */
.section-active {
  position: relative;
}

/* ─── Staggered trust items ──────────────────────────────── */
.trust-bar .trust-item {
  will-change: transform, opacity;
}

/* ─── Data source items ──────────────────────────────────── */
.data-source-item {
  will-change: transform, opacity;
}

/* ─── CTA box entrance keyframe ──────────────────────────── */
@keyframes ctaBuild {
  0% {
    transform: scale(0.82) translateY(50px);
    opacity: 0;
  }

  60% {
    transform: scale(1.02) translateY(-4px);
    opacity: 1;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* ─── Step number entrance ───────────────────────────────── */
@keyframes stepNumPop {
  0% {
    transform: scale(0) rotate(-15deg);
    opacity: 0;
  }

  70% {
    transform: scale(1.2) rotate(3deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* ─── Feature card shine sweep (on reveal) ───────────────── */
@keyframes cardShine {
  0% {
    left: -70%;
  }

  100% {
    left: 130%;
  }
}

.feature-card.revealed::after {
  animation: cardShine 0.7s ease forwards;
}

/* ─── Section bg flash on enter ─────────────────────────── */
@keyframes sectionFlash {
  0% {
    box-shadow: inset 0 0 0 0 rgba(99, 102, 241, 0);
  }

  20% {
    box-shadow: inset 0 0 60px 0 rgba(99, 102, 241, 0.05);
  }

  100% {
    box-shadow: inset 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

section.section-active {
  animation: sectionFlash 1.2s ease forwards;
}

/* ─── Steps wrapper line ─────────────────────────────────── */
.steps-wrapper {
  overflow: visible !important;
}

/* ─── Scroll progress bar ────────────────────────────────── */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #38bdf8, #34d399);
  z-index: 99999;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.7), 0 0 4px rgba(56, 189, 248, 0.5);
  border-radius: 0 2px 2px 0;
}

/* ─── Heading perspective container ─────────────────────── */
.section-title,
.cta-box h2,
.comparison-title {
  perspective: 600px;
}

/* ─── Animated underline on section headings ─────────────── */
.section-title::after,
.page-hero h1::after {
  content: none;
  /* overridden per element if needed */
}

/* ─── Magnetic button base ───────────────────────────────── */
.btn-primary {
  will-change: transform;
}

/* ─── Steps active state ─────────────────────────────────── */
.step.revealed .step-number {
  animation: stepNumPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ─── Count-up highlight flash ───────────────────────────── */
@keyframes countFlash {
  0% {
    -webkit-text-fill-color: #fff;
  }

  100% {}
}

.stat-value._counting {
  animation: countFlash 0.3s ease;
}

/* ─── LiteCRM ad slide in ────────────────────────────────── */
#m-crm {
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

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

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

/* ═══════════════════════════════════════════════════════════
   MOBILE FIXES — prevent broken BG and overflow on small screens
═══════════════════════════════════════════════════════════ */

/* Ensure no horizontal overflow on html level too */
html {
  overflow-x: hidden;
}

@media (max-width: 768px) {

  /* ── Body BG fix: no transform on fixed elements in iOS Safari ── */
  body::before {
    /* Keep background but no transform — iOS Safari breaks position:fixed + transform */
    animation: bgPulse 12s ease-in-out infinite alternate;
    transform: none !important;
  }

  /* ── Disable grid animation on mobile (CPU intensive) ── */
  body::after {
    animation: none;
    background-size: 40px 40px;
  }

  /* ── Orb sizes and animations ─────────────── */
  .orb-1 {
    width: 200px !important;
    height: 200px !important;
    top: -80px !important;
    left: -50px !important;
  }

  .orb-2 {
    width: 150px !important;
    height: 150px !important;
    bottom: -40px !important;
    right: -30px !important;
  }

  .orb {
    animation-name: orbFloat;
    animation-duration: 8s;
  }

  /* ── Steps connector line: hide on single column ─────── */
  .steps-line-progress {
    display: none !important;
  }

  .hero {
    padding-top: 80px;
    padding-inline: 0;
    padding-bottom: 0px !important;
  }

  .trust-bar {
    margin-bottom: 40px !important;
  }

  .data-source-item {
    max-width: unset !important;
  }

  /* ── Adjust feature and plan cards ──────────────── */
  .feature-card,
  .plan-card {
    /* No heavy 3D rotation, just soft translation */
    transform: none;
  }

  /* ── Hero card mock: hidden on mobile anyway ──────────── */
  .hero-3d-wrapper {
    display: none !important;
  }

  /* ── Reduce blur on mobile for performance ─────────────── */
  nav,
  .feature-card,
  .step,
  .data-source-item {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* ── Lighter scroll-animation for mobile ── */
  .reveal {
    transform: translateY(15px);
  }

  .reveal.visible {
    transform: translateY(0);
  }

  /* ── Addon card: single col layout fix ─────────────────── */
  .addon-card {
    padding: 32px 20px;
    gap: 24px;
  }

  /* ── CTA box padding ───────────────────────────────────── */
  .cta-box {
    padding: 48px 20px;
    overflow: hidden;
  }

  /* ── Comparison table: horizontal scroll on mobile ─────── */
  .comparison-table-wrapper {
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 480px;
  }
}

@media (max-width: 480px) {

  /* ── Disable bgPulse entirely on very small screens ─────── */
  body::before {
    animation: none;
    opacity: 0.8;
  }

  /* ── Reduce section padding and spacing ─────────────────── */
  .hero {
    padding-top: 80px;
    padding-inline: 0;
    padding-bottom: 40px;
  }

  section {
    padding: 50px 0;
  }

  /* ── Stats: 2 col grid ──────────────────────────────────── */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  /* ── Make section titles smaller and consistent ─────────── */
  .section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem) !important;
    margin-bottom: 24px;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
  }

  /* ── Trust bar wrapping ─────────────────────────────────── */
  .trust-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .trust-item {
    padding: 8px 12px;
  }

  /* ── CTA Box padding completely optimized ───────────────── */
  .cta-box {
    padding: 36px 16px;
    border-radius: var(--radius-lg);
  }

  .cta-box h2 {
    font-size: 1.6rem;
  }

  .cta-box p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .cta-btns {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-ghost,
  .btn-plan,
  .m-btn-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
}