/* ═══════════════════════════════════════════════
   Sections: testimonials, pricing, faq, cta, footer
   ═══════════════════════════════════════════════ */

/* ── Testimonials ── */
.testimonials {
  padding: 110px 0;
  background: #fff;
  position: relative; overflow: hidden;
}
.testimonials::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,85,247,0.08), transparent 70%);
  pointer-events: none;
}
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 56px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(20,10,40,0.06);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.testimonial-card::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #ec4899);
  border-radius: 0 0 4px 4px;
  opacity: 0; transition: opacity 0.4s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168,85,247,0.2);
}
.testimonial-card:hover::before { opacity: 1; }
.testimonial-stars { color: #f59e0b; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; line-height: 1.65; color: var(--gray-700); margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff;
}
.testimonial-card:nth-child(1) .testimonial-avatar { background: linear-gradient(135deg, #a855f7, #621f9d); }
.testimonial-card:nth-child(2) .testimonial-avatar { background: linear-gradient(135deg, #ec4899, #be185d); }
.testimonial-card:nth-child(3) .testimonial-avatar { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--dark); }
.testimonial-role { font-size: 12px; color: var(--gray-500); }

/* ── Use cases ── */
.usecases { padding: 110px 0; background: #fafafa; }
.usecase-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: 56px;
}
.usecase-card {
  background: #fff;
  border: 1px solid rgba(20,10,40,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  position: relative; overflow: hidden;
}
.usecase-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 0; background: linear-gradient(180deg, transparent, rgba(168,85,247,0.08));
  transition: height 0.4s;
}
.usecase-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple);
  box-shadow: var(--shadow-purple);
}
.usecase-card:hover::before { height: 100%; }
.usecase-card > * { position: relative; }
.usecase-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(236,72,153,0.08));
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  transition: transform 0.4s;
}
.usecase-card:hover .usecase-icon { transform: scale(1.1) rotate(-5deg); }
.usecase-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.usecase-card p { font-size: 12.5px; color: var(--gray-500); line-height: 1.5; }

/* ── Pricing ── */
.pricing { padding: 110px 0; background: #fff; }
.pr-toggle {
  display: flex; justify-content: center; gap: 4px;
  background: rgba(168,85,247,0.06);
  border: 1px solid rgba(168,85,247,0.12);
  border-radius: 100px;
  padding: 5px; width: fit-content; margin: 0 auto 56px;
}
.pr-toggle button {
  padding: 10px 22px; border: none; border-radius: 100px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--gray-600);
  transition: all 0.3s; display: flex; align-items: center; gap: 6px;
  font-family: inherit;
}
.pr-toggle button.active {
  background: var(--grad-purple); color: #fff;
  box-shadow: 0 4px 12px rgba(98,31,157,0.25);
}
.pr-discount {
  font-size: 11px; font-weight: 700;
  background: var(--green); color: #fff;
  padding: 2px 8px; border-radius: 50px;
}
.pr-toggle button.active .pr-discount { background: rgba(255,255,255,0.25); }

.pr-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  align-items: stretch;
}
.pr-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 26px; border: 1.5px solid rgba(20,10,40,0.08);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
}
.pr-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168,85,247,0.3);
}
.pr-card.popular {
  border: 1.5px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #a855f7, #ec4899, #621f9d) border-box;
  box-shadow: var(--shadow-purple);
  transform: scale(1.03);
}
.pr-card.popular:hover { transform: scale(1.03) translateY(-6px); }
.pr-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-purple);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 18px; border-radius: 100px;
  white-space: nowrap; letter-spacing: 0.5px; text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(98,31,157,0.3);
}
.pr-name { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--dark); }
.pr-sub { font-size: 13px; color: var(--gray-500); margin-bottom: 22px; line-height: 1.4; min-height: 36px; }
.pr-original { font-size: 14px; color: var(--gray-400); text-decoration: line-through; min-height: 20px; }
.pr-price-row { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.pr-currency { font-size: 18px; font-weight: 700; color: var(--dark); }
.pr-value { font-size: 48px; font-weight: 900; color: var(--dark); line-height: 1; letter-spacing: -0.02em; }
.pr-period { font-size: 14px; color: var(--gray-400); font-weight: 500; }
.pr-savings { font-size: 13px; color: var(--green-dark); font-weight: 600; min-height: 20px; margin-bottom: 16px; }
.pr-connections {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 0; border-top: 1px dashed rgba(20,10,40,0.08);
  border-bottom: 1px dashed rgba(20,10,40,0.08); margin-bottom: 18px;
}
.pr-conn-main { font-size: 14px; font-weight: 700; color: var(--dark); }
.pr-conn-extra { font-size: 12px; color: var(--gray-400); }
.pr-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; flex-grow: 1; }
.pr-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray-700); line-height: 1.45; }
.pr-feat.disabled { color: var(--gray-400); }
.pr-feat.pr-inherit { font-weight: 700; color: var(--purple); font-size: 13.5px; padding-bottom: 8px; margin-bottom: 4px; border-bottom: 1px solid rgba(168,85,247,0.15); }
.pr-chk { color: var(--purple); font-weight: 800; font-size: 14px; flex-shrink: 0; line-height: 1.4; }
.pr-x { color: var(--gray-300); font-weight: 800; font-size: 14px; flex-shrink: 0; line-height: 1.4; }
.pr-card .btn { width: 100%; justify-content: center; }
.pr-card .btn-ghost {
  background: rgba(20,10,40,0.04); color: var(--dark);
  border: 1px solid rgba(20,10,40,0.06);
}
.pr-card .btn-ghost:hover { background: rgba(168,85,247,0.08); border-color: rgba(168,85,247,0.2); color: var(--purple); transform: translateY(-2px); }

/* Compare table */
.compare-section { margin-top: 80px; }
.compare-section h3 { text-align: center; font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.compare-section .sub-desc { text-align: center; font-size: 14px; color: var(--gray-500); margin-bottom: 32px; }
.compare-tbl-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20,10,40,0.06);
  box-shadow: var(--shadow-sm);
}
.compare-tbl { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.compare-tbl thead th {
  background: var(--grad-purple);
  color: #fff; font-weight: 700;
  padding: 16px; text-align: center; font-size: 13px;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.compare-tbl thead th:first-child { text-align: left; }
.compare-tbl tbody td {
  padding: 12px 16px; text-align: center;
  border-bottom: 1px solid rgba(20,10,40,0.05);
  color: var(--gray-700);
}
.compare-tbl tbody td:first-child { text-align: left; font-weight: 600; color: var(--dark); background: #fafafa; }
.compare-tbl tbody tr:last-child td { border-bottom: none; }
.compare-tbl tbody tr:hover td { background: rgba(168,85,247,0.04); }
.compare-tbl tbody tr:hover td:first-child { background: rgba(168,85,247,0.08); }
.cmp-chk { color: var(--purple); font-weight: 800; font-size: 16px; }
.cmp-x { color: var(--gray-300); font-size: 16px; }

/* ── FAQ ── */
.faq {
  padding: 110px 0;
  background: #fafafa;
  position: relative; overflow: hidden;
}
.faq::before {
  content: ''; position: absolute; bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.08), transparent 70%);
  pointer-events: none;
}
.faq-list { max-width: 760px; margin: 56px auto 0; position: relative; }
.faq-item {
  background: #fff;
  border: 1px solid rgba(20,10,40,0.06);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: rgba(168,85,247,0.2); }
.faq-item.open { border-color: rgba(168,85,247,0.3); box-shadow: var(--shadow-glow); }
.faq-q {
  width: 100%; text-align: left; border: none; background: none;
  padding: 22px 24px; font-size: 16px; font-weight: 600; color: var(--dark);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-family: inherit;
}
.faq-q .arrow {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(168,85,247,0.08); color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600;
  transition: all 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-q .arrow {
  transform: rotate(45deg);
  background: var(--purple); color: #fff;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 22px; }
.faq-a p { font-size: 14.5px; color: var(--gray-600); line-height: 1.7; }

/* ── Final CTA ── */
.final-cta {
  padding: 110px 0;
  background: linear-gradient(135deg, #4a1178 0%, #2d0a4e 100%);
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(at 30% 0%, rgba(168,85,247,0.4) 0px, transparent 50%),
    radial-gradient(at 70% 100%, rgba(236,72,153,0.3) 0px, transparent 50%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta .section-title { color: #fff; max-width: 820px; margin: 0 auto 18px; }
.final-cta .highlight { color: var(--green); }
.final-cta p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.final-cta .sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 16px; }

/* ── Footer ── */
.footer {
  padding: 48px 0 40px; background: #0a0518; color: rgba(255,255,255,0.5);
  text-align: center; font-size: 14px;
}
.footer img { margin: 0 auto 16px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* ── WhatsApp float ── */
.wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  transition: transform 0.3s;
}
.wa::before {
  content: ''; position: absolute; inset: -4px;
  border: 2px solid #25d366; border-radius: 50%;
  opacity: 0.6;
  animation: wa-ping 2s ease-out infinite;
}
@keyframes wa-ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa:hover { transform: scale(1.1); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero { padding: 110px 0 60px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-buttons { justify-content: center; }
  .hero-social { justify-content: center; }
  .hero-floating-card { padding: 10px 14px; gap: 9px; border-radius: 14px; }
  .hero-floating-card .fc-icon { width: 32px; height: 32px; }
  .hero-floating-card .fc-icon svg { width: 16px; height: 16px; }
  .hero-floating-card .fc-text strong { font-size: 12px; }
  .hero-floating-card .fc-text span { font-size: 10.5px; }
  .hero-floating-card.fc1 { top: 6%; left: -8px; }
  .hero-floating-card.fc2 { top: 38%; right: -8px; }
  .hero-floating-card.fc3 { bottom: 6%; left: 50%; transform: translateX(-50%); }
  .hero-floating-card.fc3 { animation: fc-pop-in-center 0.8s cubic-bezier(.34,1.56,.64,1) 4.2s forwards, float-card-center 5s ease-in-out 5.0s infinite; }
  @keyframes fc-pop-in-center {
    0% { opacity: 0; transform: translateX(-50%) translateY(14px) scale(0.85); }
    60% { opacity: 1; transform: translateX(-50%) translateY(-2px) scale(1.04); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  }
  @keyframes float-card-center {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
  }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .calc-grid { grid-template-columns: 1fr; }
  .pain .container { grid-template-columns: 1fr; gap: 40px; }
  .pain-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pr-card.popular { transform: none; }
  .pr-card.popular:hover { transform: translateY(-4px); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.bento-wide { grid-column: span 1; }
  .compare-head, .compare-row { grid-template-columns: 1.4fr 1fr 1fr; }
  .compare-head > div, .compare-row > div { padding: 12px 14px; font-size: 13px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px); padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links.show { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .nav-links a::after { display: none; }
  .nav-cta .btn { padding: 8px 16px; font-size: 13px; }
  .nav-mobile { display: block; }
  .pr-toggle { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .usecase-grid { grid-template-columns: 1fr; }
  .pr-card { padding: 24px 20px; }
  .pr-value { font-size: 40px; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); }
  .calc-card { padding: 28px 22px; }
  .calc-savings { padding: 28px 22px; }
}

/* ═══════════════════════════════════════════════════════════
   PAIN — Decay card (replaces static whatsapp-comparison.png)
   ═══════════════════════════════════════════════════════════ */
.decay-card {
  background: linear-gradient(180deg, #fff, #faf7ff);
  border: 1px solid rgba(168,85,247,0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 80px -30px rgba(98,31,157,0.18);
  position: relative;
  overflow: hidden;
}
.decay-card::before {
  content: '';
  position: absolute; top: 0; right: 0; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(220,38,38,0.06), transparent 70%);
  pointer-events: none;
}
.decay-header { margin-bottom: 22px; position: relative; }
.decay-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--dark);
  letter-spacing: -0.01em;
}
.decay-sub { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

.decay-rows { display: flex; flex-direction: column; gap: 14px; position: relative; }
.decay-row {
  display: grid;
  grid-template-columns: 70px 1fr 50px;
  align-items: center; gap: 12px;
}
.decay-time {
  font-size: 12px; font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.3px;
}
.decay-bar {
  height: 12px;
  background: rgba(20,10,40,0.04);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.decay-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--c);
  border-radius: 100px;
  box-shadow: 0 0 16px var(--c);
  animation: decay-grow 1.4s cubic-bezier(.34,1.2,.64,1) forwards;
  animation-delay: var(--d, 0s);
}
.decay-row:nth-child(1) .decay-fill { --d: 0.1s; }
.decay-row:nth-child(2) .decay-fill { --d: 0.25s; }
.decay-row:nth-child(3) .decay-fill { --d: 0.4s; }
.decay-row:nth-child(4) .decay-fill { --d: 0.55s; }
@keyframes decay-grow {
  0% { width: 0; }
  100% { width: var(--pct); }
}
.decay-pct {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 18px; font-weight: 800;
  color: var(--dark);
  text-align: right;
  letter-spacing: -0.01em;
}
.decay-row:nth-child(4) .decay-pct { color: #dc2626; }
.decay-row:nth-child(1) .decay-pct { color: #1DD1A1; }

.decay-footer {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px dashed rgba(168,85,247,0.2);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--gray-700); line-height: 1.5;
}
.decay-footer svg { width: 18px; height: 18px; color: var(--purple); flex-shrink: 0; }
.decay-footer strong { color: var(--purple); font-weight: 700; }

@media (max-width: 480px) {
  .decay-card { padding: 22px 18px; border-radius: 20px; }
  .decay-row { grid-template-columns: 56px 1fr 44px; gap: 10px; }
  .decay-time { font-size: 11px; }
  .decay-pct { font-size: 16px; }
}

.pain-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 56px auto 0;
  align-items: start;
}

.wa-phone {
  position: relative;
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
  transition: transform 0.4s ease;
}
.wa-phone:hover { transform: translateY(-4px); }

.wa-bad {
  background: linear-gradient(180deg, rgba(220,38,38,0.08), rgba(220,38,38,0.02));
  border-color: rgba(220,38,38,0.2);
}
.wa-good {
  background: linear-gradient(180deg, rgba(29,209,161,0.1), rgba(168,85,247,0.05));
  border-color: rgba(29,209,161,0.3);
  box-shadow: 0 30px 80px -20px rgba(29,209,161,0.25);
}

.wa-tag {
  position: absolute;
  top: -12px; left: 20px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  z-index: 2;
}
.wa-tag-bad {
  background: #dc2626; color: #fff;
  box-shadow: 0 6px 20px rgba(220,38,38,0.4);
}
.wa-tag-good {
  background: linear-gradient(135deg, var(--green), #14b8a6);
  color: #052e2a;
  box-shadow: 0 6px 20px rgba(29,209,161,0.4);
}

.wa-screen {
  background: #0b1419;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wa-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: #1f2c33;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.wa-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff;
  flex-shrink: 0;
}
.wa-avatar-customer {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.wa-avatar-bot {
  background: linear-gradient(135deg, var(--purple-lighter), var(--purple));
}
.wa-avatar-bot svg { width: 18px; height: 18px; color: #fff; }
.wa-header-info { flex: 1; min-width: 0; }
.wa-name { font-size: 14px; font-weight: 600; color: #e9edef; }
.wa-status {
  font-size: 11px; line-height: 1.4;
  display: flex; align-items: center; gap: 6px;
}
.wa-status-bad { color: #ef4444; }
.wa-status-good { color: var(--green); }
.wa-pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(29,209,161,0.6);
  animation: wa-pulse 1.6s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(29,209,161,0.6); }
  100% { box-shadow: 0 0 0 8px rgba(29,209,161,0); }
}
.wa-icons {
  display: flex; gap: 14px;
  color: rgba(233,237,239,0.5);
}
.wa-icons svg { width: 18px; height: 18px; }

.wa-body {
  padding: 16px 12px 18px;
  min-height: 380px;
  display: flex; flex-direction: column; gap: 6px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168,85,247,0.04), transparent),
    #0b1419;
  position: relative;
}

.wa-msg {
  display: flex;
  opacity: 0;
  animation: wa-msg-cycle 18s infinite;
}
.wa-msg.wa-in { justify-content: flex-start; }
.wa-msg.wa-out { justify-content: flex-end; }
.wa-msg.wa-divider { justify-content: center; margin: 6px 0; }

.wa-bubble {
  max-width: 78%;
  padding: 8px 12px 6px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #e9edef;
  position: relative;
  word-wrap: break-word;
}
.wa-msg.wa-in .wa-bubble {
  background: #202c33;
  border-top-left-radius: 4px;
}
.wa-msg.wa-out .wa-bubble {
  background: #005c4b;
  border-top-right-radius: 4px;
}
.wa-good .wa-msg.wa-out .wa-bubble {
  background: linear-gradient(135deg, #6b21a8, #4c1d95);
}
.wa-time {
  display: block;
  font-size: 10px;
  color: rgba(233,237,239,0.55);
  text-align: right;
  margin-top: 2px;
  font-weight: 500;
}

.wa-divider-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.3);
  color: #fca5a5;
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 100px;
  letter-spacing: 0.4px;
}
.wa-divider-pill svg { width: 12px; height: 12px; }

.wa-bubble-typing {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 14px;
  background: #202c33;
}
.wa-bubble-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(233,237,239,0.55);
  animation: wa-typing-dot 1.4s infinite ease-in-out;
}
.wa-bubble-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-bubble-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes wa-typing-dot {
  0%, 60%, 100% { transform: scale(0.8); opacity: 0.5; }
  30% { transform: scale(1.2); opacity: 1; }
}

.wa-result {
  margin-top: auto;
  align-self: center;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800;
  padding: 9px 16px; border-radius: 100px;
  letter-spacing: 0.3px;
  opacity: 0;
  animation: wa-msg-cycle 18s infinite;
}
.wa-result svg { width: 16px; height: 16px; }
.wa-result-bad {
  background: rgba(220,38,38,0.18);
  border: 1px solid rgba(220,38,38,0.4);
  color: #fca5a5;
}
.wa-result-good {
  background: linear-gradient(135deg, var(--green), #14b8a6);
  color: #052e2a;
  box-shadow: 0 8px 24px rgba(29,209,161,0.35);
}

/* Animation cycle: appear → hold → fade → reset */
@keyframes wa-msg-cycle {
  0%, 4% { opacity: 0; transform: translateY(8px) scale(0.96); }
  6%, 88% { opacity: 1; transform: translateY(0) scale(1); }
  94%, 100% { opacity: 0; transform: translateY(0) scale(1); }
}

/* BAD phone — slow, painful pacing */
.wa-bad [data-step="1"] { animation-delay: 0.4s; }
.wa-bad [data-step="2"] { animation-delay: 1.6s; }
.wa-bad [data-step="3"] { animation-delay: 3.0s; }
.wa-bad [data-step="4"] { animation-delay: 6.5s; }
.wa-bad [data-step="5"] { animation-delay: 8.0s; }
.wa-bad [data-step="6"] { animation-delay: 10.0s; }

/* GOOD phone — fast, snappy */
.wa-good [data-step="1"] { animation-delay: 0.4s; }
.wa-good [data-step="2"] { animation-delay: 1.4s; }
.wa-good [data-step="3"] { animation-delay: 2.6s; }
.wa-good [data-step="4"] { animation-delay: 4.0s; }
.wa-good [data-step="5"] { animation-delay: 5.4s; }
.wa-good [data-step="6"] { animation-delay: 7.0s; }

/* Typing indicator only shows briefly between cliente and IA */
.wa-good .wa-typing {
  animation-duration: 18s;
}
.wa-good .wa-typing { animation-name: wa-typing-cycle; }
@keyframes wa-typing-cycle {
  0%, 8% { opacity: 0; transform: translateY(8px); }
  10%, 14% { opacity: 1; transform: translateY(0); }
  16%, 100% { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   USE CASES — chips + dynamic case card
   ═══════════════════════════════════════════════════════════ */
.uc-chips {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  margin: 40px auto 32px;
  max-width: 820px;
}
.uc-chip {
  background: #fff;
  border: 1.5px solid var(--gray-200, #e8e0f0);
  color: var(--gray-600);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}
.uc-chip svg { width: 14px; height: 14px; }
.uc-chip:hover {
  border-color: var(--purple-lighter);
  color: var(--purple);
  transform: translateY(-1px);
}
.uc-chip.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(98,31,157,0.5);
}

.uc-case {
  background: #fff;
  border: 1px solid rgba(20,10,40,0.06);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  max-width: 1080px;
  margin: 0 auto;
  box-shadow: 0 30px 80px -30px rgba(98,31,157,0.18);
  position: relative;
  overflow: hidden;
}
.uc-case::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(168,85,247,0.06), transparent);
  pointer-events: none;
}

.uc-case-left, .uc-case-right { position: relative; z-index: 1; }

.uc-nicho-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.uc-nicho-label svg { width: 14px; height: 14px; }
.uc-case-headline {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.uc-case-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

.uc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
.uc-stat {
  background: linear-gradient(180deg, #faf7ff, #fff);
  border: 1px solid rgba(168,85,247,0.15);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.uc-stat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--purple-lighter));
}
.uc-stat-value {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 24px; font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 2px;
  line-height: 1;
}
.uc-stat-value-suffix { font-size: 16px; }
.uc-stat-label {
  font-size: 11px; color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.3;
}

.uc-flow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--gray-700);
  background: #faf7ff;
  border: 1px dashed rgba(168,85,247,0.3);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 500;
}
.uc-flow strong { color: var(--purple); font-weight: 700; }
.uc-flow svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--purple-lighter); }

/* Right column: mini WhatsApp conversation per nicho */
.uc-mini-screen {
  background: #0b1419;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.4);
}
.uc-mini-header {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: #1f2c33;
}
.uc-mini-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-lighter), var(--purple));
  display: flex; align-items: center; justify-content: center;
}
.uc-mini-avatar svg { width: 16px; height: 16px; color: #fff; }
.uc-mini-name { font-size: 13px; font-weight: 600; color: #e9edef; }
.uc-mini-status { font-size: 10px; color: var(--green); display: flex; align-items: center; gap: 5px; }
.uc-mini-status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 0 rgba(29,209,161,0.6);
  animation: wa-pulse 1.6s infinite;
}

.uc-mini-body {
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 240px;
  background: #0b1419;
}
.uc-mini-msg {
  display: flex;
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.uc-mini-msg.show {
  opacity: 1; transform: translateY(0) scale(1);
}
.uc-mini-msg.in { justify-content: flex-start; }
.uc-mini-msg.out { justify-content: flex-end; }
.uc-mini-bubble {
  max-width: 80%;
  padding: 7px 11px 5px;
  border-radius: 11px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #e9edef;
}
.uc-mini-msg.in .uc-mini-bubble {
  background: #202c33;
  border-top-left-radius: 4px;
}
.uc-mini-msg.out .uc-mini-bubble {
  background: linear-gradient(135deg, #6b21a8, #4c1d95);
  border-top-right-radius: 4px;
}
.uc-mini-bubble strong { color: #fff; }
.uc-mini-time {
  display: block; font-size: 9px;
  color: rgba(233,237,239,0.5);
  text-align: right; margin-top: 2px;
}

.uc-outcome {
  margin-top: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(29,209,161,0.1), rgba(168,85,247,0.08));
  border: 1px solid rgba(29,209,161,0.25);
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
}
.uc-outcome-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #14b8a6);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.uc-outcome-icon svg { width: 18px; height: 18px; color: #052e2a; }
.uc-outcome-text { line-height: 1.35; }
.uc-outcome-text strong {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--dark);
}
.uc-outcome-text span { font-size: 12px; color: var(--gray-600); }

/* Mobile */
@media (max-width: 920px) {
  .pain-split { grid-template-columns: 1fr; gap: 36px; max-width: 420px; }
  .uc-case { grid-template-columns: 1fr; padding: 28px 24px; gap: 28px; }
  .uc-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .uc-case { padding: 22px 18px; border-radius: 20px; }
  .uc-stats { gap: 8px; }
  .uc-stat { padding: 12px 10px; }
  .uc-stat-value { font-size: 20px; }
  .uc-stat-label { font-size: 10px; }
  .uc-chip { padding: 8px 14px; font-size: 13px; }
  .wa-body { min-height: 340px; padding: 14px 10px 16px; }
  .wa-bubble { font-size: 12.5px; }
  .uc-case-headline { font-size: 22px; }
  .uc-mini-bubble { font-size: 12px; }
}
