/* ─── 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;
  --success: #10b981;
  --bg: #040810;
  --surface: rgba(15, 23, 42, 0.7);
  --card: rgba(15, 23, 42, 0.65);
  --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;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

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;
  min-height: 100vh;
}

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

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

  100% {
    opacity: 0.7;
  }
}


body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 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;
  }
}

/* ─── 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.9);
  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: 28px;
  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;
}

.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 !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.12), 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 !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 menu ────────────────────────────── */
.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);
  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;
}

.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-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.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;
}

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

  .hamburger {
    display: flex;
  }
}

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite;
}

@keyframes orbFloat {

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

  50% {
    transform: translate(30px, -20px) scale(1.08);
  }
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.15);
  top: -200px;
  left: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(14, 165, 233, 0.12);
  bottom: -150px;
  right: -100px;
  animation-delay: -4s;
}

.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 20px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #818cf8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
  backdrop-filter: blur(10px);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 22px;
  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%;
  }
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto 32px;
  animation: fadeUp 0.8s 0.2s ease both;
  line-height: 1.8;
}

.hero-trust-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.35s ease both;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.trust-pill:hover {
  color: var(--text-light);
  border-color: rgba(99, 102, 241, 0.25);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ─── Referral banner ────────────────────────────────────── */
.referral-banner-inner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 95, 70, 0.25));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.18);
  backdrop-filter: blur(12px);
}

/* ─── Billing note ───────────────────────────────────────── */
.billing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 56px;
  animation: fadeUp 0.8s 0.3s ease both;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: inline-block;
  width: 100%;
}

.billing-note strong {
  color: var(--success);
}

/* ─── PLANS layout ───────────────────────────────────────── */
.pricing-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1200px) {
  .pricing-section .container {
    max-width: 1600px;
    width: 100%;
    padding: 0 16px;
  }
}

.plans-wrapper {
  position: relative;
  margin: 0 -24px;
  padding: 0 24px;
  /* overflow: hidden; */
}

.swiper-plans {
  padding: 40px 12px 60px;
  overflow: visible;
}

.swiper-slide {
  height: auto;
}

.swiper-pagination {
  position: relative;
  margin-top: 30px;
}

.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);
}

/* Mobile scroll hint */
.mobile-scroll-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(4, 8, 16, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #818cf8;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  
  /* Absolute position over the cards */
  position: absolute;
  right: 16px;
  top: 45%;
  transform: translateY(-50%);
  z-index: 100;
  
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.mobile-scroll-hint:hover {
  background: rgba(4, 8, 16, 0.9);
  border-color: rgba(99, 102, 241, 0.5);
}

.mobile-scroll-hint.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-50%) translateX(10px) !important;
}

/* ─── Plan Cards ─────────────────────────────────────────── */
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeUp 0.8s 0.2s ease both;
}

/* Glow effect */
.plan-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.plan-glow-blue {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent 70%);
}

.plan-glow-green {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 70%);
}

.plan-glow-purple {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 70%);
}

.plan-glow-gold {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 70%);
}

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

/* Light sweep on hover */
.plan-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 60%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}

.plan-card:hover::after {
  left: 140%;
}

.plan-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

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

.plan-card:hover .plan-glow {
  opacity: 1;
}

/* Per-plan borders & glows */
.plan-card.basic {
  border-color: rgba(14, 165, 233, 0.18);
}

.plan-card.basic::before {
  background: radial-gradient(ellipse at top, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
}

.plan-card.basic:hover {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 40px 80px rgba(14, 165, 233, 0.12);
}

.plan-card.plus {
  border-color: rgba(16, 185, 129, 0.18);
}

.plan-card.plus::before {
  background: radial-gradient(ellipse at top, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.plan-card.plus:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 40px 80px rgba(16, 185, 129, 0.12);
}

.plan-card.pro {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(22, 33, 55, 0.88);
}

.plan-card.pro::before {
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.14) 0%, transparent 70%);
}

.plan-card.pro:hover {
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 40px 80px rgba(99, 102, 241, 0.2);
}

.plan-card.ultra {
  border-color: rgba(251, 191, 36, 0.2);
}

.plan-card.ultra::before {
  background: radial-gradient(ellipse at top, rgba(251, 191, 36, 0.07) 0%, transparent 70%);
}

.plan-card.ultra:hover {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 40px 80px rgba(251, 191, 36, 0.1);
}

/* Popular badge */
.popular-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.45);
  }

  50% {
    box-shadow: 0 4px 30px rgba(99, 102, 241, 0.7);
  }
}

/* Plan icons */
.plan-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

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

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

.plan-icon.gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(251, 191, 36, 0.08));
}

/* Plan name */
.plan-name {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.plan-name.blue {
  color: #38bdf8;
}

.plan-name.purple {
  color: #818cf8;
}

.plan-name.green {
  color: #34d399;
}

.plan-name.gold {
  color: #fbbf24;
}

/* Plan price */
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 4px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  padding-bottom: 10px;
}

.price-value {
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  transition: transform 0.4s;
}

.plan-card:hover .price-value {
  transform: scale(1.05);
}

.price-value.blue {
  color: #38bdf8;
}

.price-value.purple {
  background: linear-gradient(135deg, #818cf8, #38bdf8);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-value.green {
  color: #34d399;
}

.price-value.gold {
  color: #fbbf24;
}

.price-period-inline {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-bottom: 10px;
}

.plan-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.plan-consultas {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.plan-cost-per {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 22px;
}

/* Features list */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color 0.3s;
}

.plan-features li:hover {
  color: var(--text);
}

.plan-features li .check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 1px;
  transition: transform 0.3s;
}

.plan-features li:hover .check {
  transform: scale(1.2);
}

.check.blue {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

.check.purple {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.check.green {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.check.gold {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

/* Plan CTA buttons */
.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s;
}

.btn-plan:hover::before {
  left: 100%;
}

.btn-plan.blue {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.btn-plan.blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.45);
  filter: brightness(1.1);
}

.btn-plan.purple {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-plan.purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
}

.btn-plan.green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-plan.green:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.45);
  filter: brightness(1.1);
}

.btn-plan.gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.btn-plan.gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(251, 191, 36, 0.4);
  filter: brightness(1.1);
}

.checkout-icon {
  transition: transform 0.3s;
}

.btn-plan:hover .checkout-icon {
  transform: translateX(4px);
}

/* ─── Comparison Table ───────────────────────────────────── */
.comparison-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.comparison-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label-sm {
  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: 16px;
}

.comparison-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  font-size: 0.88rem;
}

.comparison-table th {
  padding: 16px 20px;
  text-align: center;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  transition: background 0.2s;
}

.comparison-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.col-basic {
  color: #38bdf8 !important;
}

.col-plus {
  color: #34d399 !important;
}

.col-pro {
  color: #818cf8 !important;
  font-weight: 700 !important;
}

.col-ultra {
  color: #fbbf24 !important;
}

.row-price td {
  font-weight: 800;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

/* ─── LiteCRM ADD-ON ─────────────────────────────────────── */
.addon-section {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.addon-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.07) 0%, rgba(22, 33, 55, 0.8) 50%, rgba(99, 102, 241, 0.07) 100%);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.addon-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 30px 70px rgba(16, 185, 129, 0.08);
}

.addon-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: addonPulse 6s ease-in-out infinite alternate;
}

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

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

.addon-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.addon-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.addon-title span {
  color: #34d399;
  font-size: 0.7em;
  display: block;
  margin-top: 4px;
  font-weight: 700;
}

.addon-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 480px;
}

.addon-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.addon-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.addon-perk:hover {
  color: var(--text);
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
}

.dot {
  color: #34d399;
  font-size: 0.7rem;
}

.addon-price-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(22, 33, 55, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  padding: 28px 32px;
  text-align: center;
  min-width: 200px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(12px);
}

.addon-original {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 6px;
}

.addon-discount-badge {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #fb7185;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.addon-price {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #34d399;
  line-height: 1;
  margin-bottom: 6px;
}

.addon-price sup {
  font-size: 1.4rem;
  vertical-align: super;
}

.addon-price-period {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .addon-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 32px;
  }

  .addon-price-box {
    min-width: unset;
  }
}

/* ─── Trust strip ────────────────────────────────────────── */
.trust-strip {
  padding: 0 0 100px;
  position: relative;
  z-index: 1;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 440px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

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

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

.trust-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  transition: transform 0.4s;
}

.trust-item:hover .trust-icon {
  transform: scale(1.2) rotate(-5deg);
}

.trust-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.trust-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

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

.cta-glow-1 {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  border-radius: 50%;
  animation: ctaPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.cta-glow-2 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 70%);
  border-radius: 50%;
  animation: ctaPulse 4s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

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

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

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

.cta-box p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.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;
  font-family: inherit;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.18);
  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-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 16px 28px;
  border-radius: 14px;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

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

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

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

footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
  margin: 0 2px;
}

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

/* ─── 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);
}

/* ─── Light theme overrides ──────────────────────────────── */
[data-theme="light"] .lgpd-section {
  background: rgba(240, 244, 251, 0.6) !important;
  border-top-color: rgba(0, 0, 0, 0.06) !important;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL BUILD ANIMATION SYSTEM — planos.css
═══════════════════════════════════════════════════════════ */

/* Word split */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.05em;
}

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

/* Plan cards start hidden — JS sets inline styles */
.plan-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Section labels */
.section-label,
.section-label-sm {
  will-change: clip-path;
}

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

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

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

/* Trust items animation */
.trust-item {
  will-change: transform, opacity;
}

/* CTA box */
.cta-box {
  will-change: transform, opacity;
}

/* Comparison table rows animate in */
.comparison-table tbody tr {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.comparison-table tbody tr.row-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Addon card */
.addon-card {
  will-change: transform, opacity;
}

/* Heading perspective */
.comparison-title,
.cta-box h2,
.page-hero h1 {
  perspective: 600px;
}

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

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

/* ═══════════════════════════════════════════════════════════
   MOBILE FIXES — planos.css
═══════════════════════════════════════════════════════════ */

html {
  overflow-x: hidden;
}

@media (max-width: 768px) {

  /* iOS Safari: no transform on position:fixed */
  body::before {
    animation: bgPulse 12s ease-in-out infinite alternate;
    transform: none !important;
  }

  body::after {
    animation: none;
  }

  /* ── Orb constraints ─────────────── */
  .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;
  }

  /* ── Lighter scroll build animations for mobile ────────── */
  .reveal,
  .plan-card,
  .cta-box,
  .addon-card {
    /* Reduce vertical entry travel for small screens */
    transform: translateY(15px) !important;
  }

  .reveal.visible,
  .plan-card.visible,
  .cta-box.visible,
  .addon-card.visible {
    transform: translateY(0) !important;
  }

  .cta-box {
    padding: 32px 16px;
    border-radius: var(--radius-lg);
  }

  .addon-card {
    padding: 32px 16px;
  }


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

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

@media (max-width: 480px) {
  body::before {
    animation: none;
    opacity: 0.8;
  }

  section {
    padding: 40px 0;
  }

  .page-hero {
    padding: 80px 0 30px;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem) !important;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .plan-price .price-value {
    font-size: 2.5rem;
  }

  .plan-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .addon-price {
    font-size: 2.5rem;
  }

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

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}