:root {
  --purple-dark: #4C1D95;
  --purple: #7C3AED;
  --purple-light: #A78BFA;
  --cyan: #06B6D4;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --bg-dark: #0F0A1A;
  --bg-section: #1A1128;
  --white: #F9FAFB;
  --white-muted: #D1D5DB;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Wave Dividers ── */
.wave-divider {
  line-height: 0;
  margin-top: -1px;
}

.wave-dark-to-alt {
  background: var(--bg-dark);
}

.wave-alt-to-dark {
  background: var(--bg-section);
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ── Animated Blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  will-change: transform;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--purple);
  top: -15%;
  left: -10%;
  opacity: 0.1;
  animation: blobFloat1 20s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  top: 10%;
  right: -8%;
  opacity: 0.08;
  animation: blobFloat2 25s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(120px, 80px) scale(1.15); }
  50% { transform: translate(60px, 140px) scale(0.9); }
  75% { transform: translate(-60px, 60px) scale(1.1); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-100px, 60px) scale(1.12); }
  50% { transform: translate(-40px, -80px) scale(0.85); }
  75% { transform: translate(60px, -40px) scale(1.08); }
}

@keyframes blobFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(80px, -60px) scale(1.18); }
  50% { transform: translate(-80px, -30px) scale(0.88); }
  75% { transform: translate(-120px, 50px) scale(1.1); }
}

/* ── Sticky Brand ── */
.sticky-brand {
  position: fixed;
  top: 18px;
  left: 24px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.sticky-brand.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-brand-logo {
  height: 48px;
  width: auto;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
    #FAFBFC;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(15, 10, 26, 0.03) 30%,
    rgba(15, 10, 26, 0.12) 50%,
    rgba(26, 17, 40, 0.4) 70%,
    var(--bg-section) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: 1100px;
  width: 100%;
}

.hero-left {
  flex: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right {
  flex: 0 0 auto;
}

/* ── Hero Load Animation ── */
.hero-load {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.hero-load.loaded {
  opacity: 1;
  transform: translateY(0);
}

.hero-load-d1 { transition-delay: 0.15s; }
.hero-load-d2 { transition-delay: 0.4s; }
.hero-load-d3 { transition-delay: 0.65s; }
.hero-load-d4 { transition-delay: 0.85s; }

.hero-logo {
  max-width: 480px;
  width: 100%;
  margin-bottom: 24px;
  margin-left: -38px;
}

.hero-tagline {
  font-size: 1.9rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 12px;
  max-width: 460px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.6;
}

.hero-proof {
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.03em;
  opacity: 0.85;
}

/* ── Phone Image ── */
.phone-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 520px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.3))
          drop-shadow(0 0 50px rgba(124, 58, 237, 0.15))
          drop-shadow(0 0 80px rgba(6, 182, 212, 0.1));
  animation: phoneFloat 5s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

/* ── Floating 2D Chat Bubbles ── */
.float-bubble {
  position: absolute;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 500;
  z-index: 10;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fb-incoming {
  background: white;
  color: #1F2937;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom-left-radius: 4px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.fb-outgoing {
  background: linear-gradient(135deg, #A855F7, #7C3AED);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow:
    0 4px 12px rgba(124, 58, 237, 0.35),
    0 12px 36px rgba(124, 58, 237, 0.2),
    0 0 20px rgba(124, 58, 237, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.fb-1 {
  top: 22%;
  left: -10px;
}

.fb-2 {
  top: 38%;
  right: -18px;
}

.fb-3 {
  top: 34%;
  left: -10px;
}

.fb-4 {
  top: 50%;
  right: -20px;
}

.bubble-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-person {
  background: #F3F4F6;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.avatar-bot {
  background: linear-gradient(135deg, #34D399, #22D3EE);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.5), 0 0 24px rgba(34, 211, 238, 0.2);
  animation: avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(52, 211, 153, 0.5), 0 0 24px rgba(34, 211, 238, 0.2); }
  50% { box-shadow: 0 0 16px rgba(52, 211, 153, 0.7), 0 0 32px rgba(34, 211, 238, 0.3); }
}

@keyframes botPulse {
  0%, 100% { opacity: 0.7; transform: scale(0.9); filter: drop-shadow(0 0 2px rgba(255,255,255,0.3)); }
  50% { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(255,255,255,0.7)); }
}

@keyframes bpL1 {
  0% { opacity: 0; transform: translate(-30px, 20px) scale(0.8) rotate(4deg); }
  3% { opacity: 1; transform: translate(4px, -2px) scale(1.06); }
  6% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  69% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  69.7% { opacity: 0; transform: translate(-100px, -40px) scale(0.15) rotate(-18deg); }
  100% { opacity: 0; }
}
@keyframes bpR2 {
  0% { opacity: 0; transform: translate(30px, 20px) scale(0.8) rotate(-4deg); }
  3% { opacity: 1; transform: translate(-4px, -2px) scale(1.06); }
  6% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  62% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  62.7% { opacity: 0; transform: translate(100px, -40px) scale(0.15) rotate(18deg); }
  100% { opacity: 0; }
}
@keyframes bpL3 {
  0% { opacity: 0; transform: translate(-30px, 20px) scale(0.8) rotate(4deg); }
  3% { opacity: 1; transform: translate(4px, -2px) scale(1.06); }
  6% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  54% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  54.7% { opacity: 0; transform: translate(-100px, -40px) scale(0.15) rotate(-18deg); }
  100% { opacity: 0; }
}
@keyframes bpR4 {
  0% { opacity: 0; transform: translate(30px, 20px) scale(0.8) rotate(-4deg); }
  3% { opacity: 1; transform: translate(-4px, -2px) scale(1.06); }
  6% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  46% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  46.7% { opacity: 0; transform: translate(100px, -40px) scale(0.15) rotate(18deg); }
  100% { opacity: 0; }
}

/* ── Phone Scene (wrapper for phone + floating elements) ── */
.phone-scene {
  position: relative;
  width: 340px;
  height: 560px;
}

/* ── Floating Badges (Neumorphic Dark – ultra 3D) ── */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 44px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #F1F5F9;
  background: linear-gradient(165deg, #2A1F50 0%, #1A1335 40%, #0D0917 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 3px solid;
  z-index: 5;
  transform-style: preserve-3d;
  opacity: 0;
  animation-fill-mode: backwards;
}

.float-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 44px;
  background:
    radial-gradient(ellipse at 25% -10%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 110%, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.float-badge::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%, transparent 60%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
  z-index: -1;
}

.badge-wa,
.badge-pix,
.badge-check {
  display: none;
}

.badge-wa {
  top: 70%;
  right: -24px;
  border-left-color: #25D366;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.1),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(37, 211, 102, 0.4),
    0 0 50px rgba(37, 211, 102, 0.15),
    0 0 80px rgba(37, 211, 102, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.55);
  animation: bdR 18s ease-out 8s infinite;

}

.badge-wa svg {
  filter:
    drop-shadow(0 0 6px rgba(37, 211, 102, 0.9))
    drop-shadow(0 0 14px rgba(37, 211, 102, 0.5))
    drop-shadow(0 0 28px rgba(37, 211, 102, 0.25));
}

.badge-wa span {
  color: #25D366;
  letter-spacing: 1px;
  text-shadow: 0 0 14px rgba(37, 211, 102, 0.6);
}

.badge-pix {
  top: 80%;
  left: -28px;
  border-left-color: #32BCAD;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.1),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(50, 188, 173, 0.4),
    0 0 50px rgba(50, 188, 173, 0.15),
    0 0 80px rgba(50, 188, 173, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.55);
  animation: bdL 18s ease-out 8.2s infinite;
}

.badge-pix svg {
  filter: drop-shadow(0 0 10px rgba(50, 188, 173, 0.7));
}

.badge-pix span {
  color: #32BCAD;
  letter-spacing: 1.5px;
  text-shadow: 0 0 14px rgba(50, 188, 173, 0.6);
}

.badge-check {
  top: 90%;
  right: -24px;
  border-left-color: #34D399;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.1),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(52, 211, 153, 0.4),
    0 0 50px rgba(52, 211, 153, 0.15),
    0 0 80px rgba(52, 211, 153, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.55);
  animation: bdR 18s ease-out 8.4s infinite;
}

.badge-check svg {
  filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.7));
}

.badge-check span {
  color: #34D399;
  text-shadow: 0 0 14px rgba(52, 211, 153, 0.6);
}

.badge-ai {
  top: -4%;
  left: 10px;
  border-left-color: #A78BFA;
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.1),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(167, 139, 250, 0.4),
    0 0 50px rgba(167, 139, 250, 0.15),
    0 0 80px rgba(167, 139, 250, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.55);
  animation-delay: 0.5s;
}

.badge-ai svg {
  filter:
    drop-shadow(0 0 6px rgba(167, 139, 250, 0.9))
    drop-shadow(0 0 14px rgba(167, 139, 250, 0.5));
}

.badge-ai span {
  color: #A78BFA;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-shadow: 0 0 14px rgba(167, 139, 250, 0.6);
}

@keyframes bdR {
  0% { opacity: 0; transform: translate(20px, 14px) scale(0.75) rotate(-3deg); }
  4% { opacity: 1; transform: translate(-3px, -2px) scale(1.06); }
  7% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  44% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  44.4% { opacity: 0; transform: translate(120px, -40px) scale(0.1) rotate(20deg); }
  100% { opacity: 0; }
}
@keyframes bdL {
  0% { opacity: 0; transform: translate(-20px, 14px) scale(0.75) rotate(3deg); }
  4% { opacity: 1; transform: translate(3px, -2px) scale(1.06); }
  7% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  44% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
  44.4% { opacity: 0; transform: translate(-120px, -40px) scale(0.1) rotate(-20deg); }
  100% { opacity: 0; }
}

/* ── Sparkles ── */
.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  z-index: 4;
  animation: sparklePulse 2s ease-in-out infinite;
}

.sparkle-1 {
  top: 5%;
  left: 15%;
  background: var(--purple-light);
  box-shadow: 0 0 8px var(--purple-light);
  animation-delay: 0s;
}

.sparkle-2 {
  top: 18%;
  right: -8px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation-delay: 0.4s;
}

.sparkle-3 {
  bottom: 35%;
  left: -12px;
  background: #EC4899;
  box-shadow: 0 0 8px #EC4899;
  animation-delay: 0.8s;
  width: 4px;
  height: 4px;
}

.sparkle-4 {
  top: 40%;
  right: -16px;
  background: var(--purple-light);
  box-shadow: 0 0 10px var(--purple-light);
  animation-delay: 1.2s;
  width: 5px;
  height: 5px;
}

.sparkle-5 {
  bottom: 18%;
  left: 5%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation-delay: 1.6s;
  width: 4px;
  height: 4px;
}

.sparkle-6 {
  bottom: 5%;
  right: 20%;
  background: #EC4899;
  box-shadow: 0 0 10px #EC4899;
  animation-delay: 2s;
  width: 5px;
  height: 5px;
}

@keyframes sparklePulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}

@keyframes drRafaelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Red Price Tag ── */
.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 22px 8px 12px;
  border-radius: 4px 14px 14px 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: white;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  z-index: 8;
  opacity: 0;
  box-shadow:
    0 4px 16px rgba(239, 68, 68, 0.35),
    0 8px 28px rgba(239, 68, 68, 0.12);
}

.float-tag svg {
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.4));
}

.tag-hole {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.tag-vencido {
  bottom: 32%;
  left: -32px;
  transform: rotate(-6deg);
  opacity: 0;
}

/* ── Invoice Paper (VENCIDO) ── */
.float-invoice {
  position: absolute;
  z-index: 3;
  opacity: 0;
  transform-origin: bottom center;
}
.invoice-vencido {
  bottom: 5%;
  left: -70px;
  transform: rotate(-6deg);
  animation: invoiceDrop 18s ease-out 0.5s infinite;
}
.invoice-paper {
  position: relative;
  width: 180px;
  height: 248px;
  background: linear-gradient(145deg, #fff5f5 0%, #fde8e8 50%, #fecaca 100%);
  border-radius: 3px;
  box-shadow:
    0 4px 18px rgba(239, 68, 68, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.invoice-header {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}
.invoice-lines {
  position: absolute;
  top: 40px;
  left: 16px;
  right: 16px;
  height: 80px;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.07) 0px,
      rgba(0, 0, 0, 0.07) 1px,
      transparent 1px,
      transparent 10px
    );
}
.invoice-stamp {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) rotate(-12deg);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #DC2626;
  border: 3px solid #DC2626;
  border-radius: 4px;
  padding: 4px 14px;
  text-transform: uppercase;
  opacity: 0.85;
}

@keyframes invoiceDrop {
  0%    { opacity: 0; transform: rotate(-12deg) translateY(-20px) scale(0.7); }
  3%    { opacity: 1; transform: rotate(-4deg) translateY(2px) scale(1.04); }
  5%    { opacity: 1; transform: rotate(-6deg) translateY(0) scale(1); }
  70%   { opacity: 1; transform: rotate(-6deg) translateY(0) scale(1); }
  73%   { opacity: 0; transform: rotate(-3deg) translateY(-14px) scale(0.6); }
  100%  { opacity: 0; }
}

/* ── Scaling Ray ── */
.scale-ray {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -8px;
  padding: 0 10px;
  opacity: 0;
}
.scale-label {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-shadow: 0 0 14px rgba(52, 211, 153, 0.8), 0 0 4px rgba(52, 211, 153, 0.6);
}
.scale-to {
  color: #34D399;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 14px rgba(52, 211, 153, 0.7);
}
.scale-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.3) 0%, rgba(52, 211, 153, 0.5) 100%);
  border-radius: 2px;
  position: relative;
  min-width: 60px;
  overflow-x: hidden;
  overflow-y: visible;
}
.scale-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.7), 0 0 6px rgba(52, 211, 153, 0.9);
  left: 0;
}
.scale-bot {
  position: absolute;
  top: -28px;
  left: 0;
  pointer-events: none;
}
.scale-bot svg {
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.7)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.5));
}
/* scaleDotAccel animation applied via JS inline style */
@keyframes scaleDotAccel {
  0%   { left: 0; }
  100% { left: calc(100% - 10px); }
}
@keyframes scaleRayAppear {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Animated Arrow ── */
.float-arrow {
  position: absolute;
  top: 57%;
  right: -14px;
  z-index: 8;
  opacity: 0;
  animation: arrowAppear 18s ease-out 6s infinite;
}

.float-arrow svg {
  filter: drop-shadow(0 0 4px rgba(124, 58, 237, 0.3));
}

/* ── Green Acordo Badge ── */
.float-acordo {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: white;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  z-index: 8;
  opacity: 0;
  white-space: nowrap;
  box-shadow:
    0 4px 16px rgba(16, 185, 129, 0.35),
    0 8px 28px rgba(16, 185, 129, 0.12);
}

.acordo-1 {
  bottom: 22%;
  right: -36px;
  opacity: 0;
}

@keyframes tagAppear {
  0%    { opacity: 0; transform: translate(-12px, 8px) scale(0.85) rotate(-10deg); }
  3%    { opacity: 1; transform: translate(2px, -1px) scale(1.03) rotate(-5deg); }
  5%    { opacity: 1; transform: translate(0, 0) scale(1) rotate(-6deg); }
  72%   { opacity: 1; transform: translate(0, 0) scale(1) rotate(-6deg); }
  74%   { opacity: 0; transform: translate(-20px, 10px) scale(0.5) rotate(-14deg); }
  100%  { opacity: 0; }
}

@keyframes arrowAppear {
  0%   { opacity: 0; transform: translateX(-8px); }
  2%   { opacity: 0.6; transform: translateX(2px); }
  4%   { opacity: 0.5; transform: translateX(0); }
  20%  { opacity: 0.5; transform: translateX(0); }
  22%  { opacity: 0; transform: translateX(12px); }
  100% { opacity: 0; }
}

@keyframes acordoAppear {
  0%    { opacity: 0; transform: translate(12px, 6px) scale(0.85); }
  4%    { opacity: 1; transform: translate(-2px, -1px) scale(1.03); }
  6%    { opacity: 1; transform: translate(0, 0) scale(1); }
  34%   { opacity: 1; transform: translate(0, 0) scale(1); }
  36%   { opacity: 0; transform: translate(20px, -8px) scale(0.5); }
  100%  { opacity: 0; }
}

.btn-primary {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 22px 72px;
  background: linear-gradient(135deg, #A855F7 0%, #9333EA 40%, #7C3AED 100%);
  color: white;
  text-decoration: none;
  border-radius: 60px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow:
    0 6px 28px rgba(124, 58, 237, 0.4),
    0 14px 44px rgba(124, 58, 237, 0.2);
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: skewX(-20deg);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 10px 36px rgba(124, 58, 237, 0.5),
    0 18px 52px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover::after {
  animation: btnShine 0.6s ease-out;
}

@keyframes btnShine {
  0% { left: -20%; }
  100% { left: 120%; }
}

@keyframes btnShineMobile {
  0% { left: -20%; }
  15% { left: 120%; }
  100% { left: 120%; }
}

/* ── Section Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ── Sections ── */
section {
  padding: 96px 24px;
}

.section-alt {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
    var(--bg-section);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--purple-light), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-text {
  font-size: 1.15rem;
  color: var(--white-muted);
  max-width: 680px;
  line-height: 1.8;
}

.section-text strong {
  color: var(--white);
}

/* ── Problem ── */
.problem {
  text-align: center;
}

.problem .section-text {
  margin: 0 auto;
}

.problem-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 48px 0 0;
}

.problem-num-item {
  text-align: center;
}

.problem-big-number {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-num-icon {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
}

.problem-num-icon svg {
  filter: drop-shadow(0 0 4px currentColor);
  opacity: 0.65;
}

.problem-num-label {
  font-size: 1rem;
  color: var(--white-muted);
  margin-top: 8px;
  line-height: 1.4;
}

.problem-num-label span {
  color: var(--gray);
  font-size: 0.85rem;
}

.problem-num-divider {
  display: flex;
  align-items: center;
  padding-top: 24px;
  opacity: 0.5;
}

.chat-bubble-scene {
  max-width: 580px;
  margin: 48px auto 0;
  text-align: left;
}

.chat-bubble {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px 16px 16px 4px;
  padding: 16px 20px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
}

.chat-time {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-msg {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--purple-light);
  max-width: 0;
  display: inline-block;
}

.chat-no-reply {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-left: 8px;
  opacity: 0;
}

.agent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.5;
}

.chat-dots {
  display: flex;
  gap: 4px;
}

.chat-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray);
  animation: dotBounce 1.4s ease-in-out infinite;
}

.chat-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.chat-offline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--purple-light);
  font-style: italic;
  opacity: 0;
}

.time-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.6));
}

.offline-scene-icon {
  flex-shrink: 0;
  vertical-align: -2px;
  filter: drop-shadow(0 0 5px rgba(167, 139, 250, 0.7));
}

.reveria-resolve {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  opacity: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.7));
}

.resolve-logo {
  height: 60px;
  width: auto;
  position: relative;
  top: 3px;
}

.reveria-resolve span {
  position: relative;
  top: -2px;
  margin-left: -6px;
}

.offline-zzz {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  margin-left: -2px;
  font-style: normal;
  font-weight: 800;
  color: var(--purple-light);
  filter: drop-shadow(0 0 4px rgba(167, 139, 250, 0.5));
  margin-right: 2px;
}

.offline-zzz span:nth-child(1) { font-size: 0.55rem; transform: translateY(0); margin-right: 1px; }
.offline-zzz span:nth-child(2) { font-size: 0.7rem; transform: translateY(-4px); margin-right: 1px; }
.offline-zzz span:nth-child(3) { font-size: 0.85rem; transform: translateY(-9px); }

/* Chat animations triggered by scroll */
.chat-bubble-scene.animate .chat-bubble {
  animation: bubbleSlideIn 0.6s ease-out 0.3s forwards;
}

.chat-bubble-scene.animate .chat-msg {
  animation: typing 2.5s steps(60) 1.2s forwards, blinkCaret 0.6s step-end 1.2s 5;
}

.chat-bubble-scene.animate .chat-no-reply {
  animation: fadeIn 0.8s ease-out 4s forwards;
}

.chat-bubble-scene.animate .chat-offline {
  animation: fadeIn 0.6s ease-out 5.2s forwards;
}

.chat-bubble-scene.animate .reveria-resolve {
  animation: fadeIn 0.6s ease-out 7s forwards;
}

.chat-bubble-scene.collapsing .chat-bubble,
.chat-bubble-scene.collapsing .chat-no-reply,
.chat-bubble-scene.collapsing .reveria-resolve {
  animation: collapseOut 0.4s ease-in forwards !important;
}

@keyframes collapseOut {
  to { opacity: 0; transform: translateY(-12px) scale(0.96); }
}

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

@keyframes typing {
  to { max-width: 600px; }
}

@keyframes blinkCaret {
  50% { border-color: transparent; }
}

@keyframes revealMsgMobile {
  to { max-height: 400px; overflow: visible; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes dotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ── Solution ── */
.solution {
  text-align: center;
}

.solution .section-text {
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}

.feature-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.feature-icon svg {
  filter: drop-shadow(0 0 4px currentColor);
  opacity: 0.65;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--gray-light);
}

/* ── Stats ── */
.stats {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 640px;
  margin: 56px auto 0;
}

.stat-item {
  padding: 24px;
}

.stat-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.stat-icon-purple {
  color: var(--purple-light);
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.5));
}

.stat-icon-cyan {
  color: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
}

.stat-icon-green {
  color: #34D399;
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.5));
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-sub {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: -4px;
  line-height: 1.1;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-light);
  margin-top: 8px;
}

/* ── Depoimentos ── */
.depoimentos {
  text-align: center;
  padding: 96px 24px;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
    var(--bg-dark);
}

.depo-carousel {
  position: relative;
  max-width: 680px;
  margin: 48px auto 0;
}

.depo-cards {
  position: relative;
  overflow: hidden;
}

.depo-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px 28px;
  text-align: left;
}

.depo-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.depo-card.exit-left {
  opacity: 0;
  transform: translateX(-40px);
}

.depo-quote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--white-muted);
  margin: 0 0 24px;
  border: none;
  padding: 0;
  quotes: none;
}

.depo-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.depo-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}

.depo-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.depo-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
}

.depo-meta {
  flex: 1;
  min-width: 0;
}

.depo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.depo-role {
  font-size: 0.8rem;
  color: var(--gray-light);
  line-height: 1.4;
  margin-top: 2px;
}

.depo-logo {
  height: auto;
  max-height: 88px;
  max-width: 200px;
  width: auto;
  opacity: 0.85;
  flex-shrink: 0;
  object-fit: contain;
}

.depo-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.depo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  padding: 0;
}

.depo-dot.active {
  background: var(--purple-light);
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}

.depo-dot:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ── CTA ── */
.cta {
  position: relative;
  text-align: center;
  padding: 96px 24px;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
    var(--bg-dark);
}

.cta-chart {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 700px;
  opacity: 0.25;
  pointer-events: none;
}

.cta-chart-svg {
  width: 100%;
  height: auto;
}

.cta-chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  will-change: stroke-dashoffset;
}

.cta-chart-fill {
  opacity: 0;
}

.cta-chart-dot {
  filter: drop-shadow(0 0 8px #06B6D4) drop-shadow(0 0 20px #06B6D4);
  offset-path: path("M0 180 C50 175, 90 168, 130 155 S190 125, 240 95 S310 45, 390 -10");
  offset-distance: 0%;
  offset-rotate: 0deg;
  opacity: 0;
}

.cta-chart.animate .cta-chart-line {
  animation: drawChart 2.5s ease-out forwards;
}

.cta-chart.animate .cta-chart-fill {
  animation: chartFillFade 1.5s ease-out 1.5s forwards;
}

.cta-chart.animate .cta-chart-dot {
  opacity: 1;
  animation: dotFollow 2.5s ease-out forwards;
}

@keyframes drawChart {
  to { stroke-dashoffset: 0; }
}

@keyframes chartFillFade {
  to { opacity: 1; }
}

@keyframes dotFollow {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

.cta .section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta .section-text {
  margin: 0 auto 40px;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  color: var(--gray);
  font-size: 0.85rem;
}

.footer a {
  color: var(--purple-light);
  text-decoration: none;
}

.footer-legal {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--gray);
  opacity: 0.7;
}

.footer-trademark {
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--gray);
  opacity: 0.5;
  font-style: italic;
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 15, 35, 0.97);
  backdrop-filter: blur(12px);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 1px solid rgba(124, 58, 237, 0.3);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  color: var(--gray-light);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: var(--purple-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-btn:hover {
  opacity: 0.85;
}

.cookie-accept {
  background: var(--purple);
  color: #fff;
}

.cookie-decline {
  background: transparent;
  color: var(--gray-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 60px 24px 120px;
    overflow: visible;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-logo {
    max-width: 260px;
    margin-left: 0;
  }

  .hero-tagline {
    font-size: 1.05rem;
    text-align: center;
    color: #111827;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    text-align: center;
    color: #1F2937;
    margin-bottom: 28px;
  }

  .hero-proof {
    text-align: center;
    font-size: 0.75rem;
    color: #6D28D9;
    opacity: 1;
  }

  .btn-primary {
    padding: 16px 48px;
    font-size: 1.1rem;
  }

  .btn-primary::after {
    animation: btnShineMobile 4s ease-out 2s infinite;
  }

  .sticky-brand-logo {
    height: 36px;
  }

  .phone-scene {
    width: 300px;
    height: 420px;
    margin: 0 auto;
    overflow: visible;
  }

  .phone-img {
    max-height: 380px;
  }

  .float-bubble {
    font-size: 0.72rem;
    padding: 8px 12px;
  }

  .float-badge {
    padding: 8px 14px;
    font-size: 0.65rem;
    gap: 6px;
  }

  .badge-wa { right: 2px; left: auto; top: 68%; }
  .badge-pix { left: 2px; right: auto; top: 78%; }
  .badge-check { right: 2px; left: auto; top: 88%; }
  .badge-ai { left: 20%; top: -6%; }

  .float-tag {
    padding: 6px 12px 6px 8px;
    font-size: 0.65rem;
  }

  .tag-vencido { left: -10px; bottom: 28%; }

  .invoice-vencido { bottom: 28%; left: -32px; }
  .invoice-paper { width: 128px; height: 176px; }
  .invoice-header { font-size: 0.7rem; }
  .invoice-stamp { font-size: 0.8rem; padding: 3px 8px; }

  .scale-ray { margin-top: 12px; gap: 8px; padding: 0 4px; }
  .scale-label { font-size: 0.8rem; }

  .float-arrow { display: none; }

  .float-acordo {
    padding: 6px 12px;
    font-size: 0.62rem;
  }

  .acordo-1 { right: -8px; bottom: 18%; }

  .cta-chart {
    bottom: 45%;
    width: 95%;
    opacity: 0.2;
  }

  .offline-zzz span { display: inline-block; }
  .offline-zzz span:nth-child(1) { transform: translateY(0); }
  .offline-zzz span:nth-child(2) { transform: translateY(-4px); }
  .offline-zzz span:nth-child(3) { transform: translateY(-9px); }

  .sparkle {
    display: none;
  }

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

  .chat-bubble-scene {
    max-width: 100%;
  }

  .chat-bubble {
    min-width: 75vw;
  }

  .chat-msg {
    font-size: 0.85rem;
    white-space: normal;
    width: auto;
    max-height: 0;
    overflow: hidden;
    border-right: none;
  }

  .chat-bubble-scene.animate .chat-msg {
    animation: revealMsgMobile 1.5s ease-out 1.2s forwards;
  }

  .problem-numbers {
    flex-direction: column;
    gap: 16px;
  }

  .problem-big-number {
    font-size: 3.2rem;
  }

  .problem-num-divider {
    font-size: 1.2rem;
    transform: rotate(90deg);
  }

  .cta .section-title {
    font-size: 1.6rem;
  }

  .cta .section-text {
    font-size: 1rem;
  }

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

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-number {
    font-size: 2.4rem;
  }

  .stat-sub {
    font-size: 1.1rem;
    margin-top: -2px;
  }

  .depo-card {
    padding: 24px 20px 20px;
  }

  .depo-quote {
    font-size: 0.95rem;
  }

  .depo-author {
    flex-wrap: wrap;
    gap: 10px;
  }

  .depo-logo {
    height: 40px;
    width: 100%;
    object-fit: contain;
    object-position: left;
    margin-top: 8px;
  }

  .depo-role {
    font-size: 0.72rem;
  }

  .cookie-banner {
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}
