/* ═══════════════════════════════════════════════
   Sections styles
   ═══════════════════════════════════════════════ */

/* ── Marquee logo strip / stats ── */
.stats {
  padding: 50px 0;
  background: #fff;
  border-top: 1px solid rgba(20,10,40,0.05);
  border-bottom: 1px solid rgba(20,10,40,0.05);
  position: relative;
  overflow: hidden;
}
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.stat-item {
  position: relative;
  padding: 0 12px;
}
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; right: 0;
  width: 1px; height: 50px; background: rgba(20,10,40,0.08);
  transform: translateY(-50%);
}
.stat-icon {
  font-size: 30px; margin-bottom: 8px;
  display: inline-block;
}
.stat-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; line-height: 1.4; }
.stat-label strong { color: var(--dark); font-weight: 700; }

/* ── Cost calculator section ── */
.calc {
  padding: 100px 0; background: #fff; position: relative;
}
.calc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin-bottom: 32px; align-items: stretch;
}
.calc-card {
  border-radius: var(--radius-xl); padding: 36px 32px;
  position: relative; overflow: hidden;
}
.calc-card.bad {
  background: linear-gradient(180deg, #fff5f5 0%, #fef2f2 100%);
  border: 1px solid #fecaca;
}
.calc-card.good {
  background: linear-gradient(180deg, #f8f3ff 0%, #f0e8ff 100%);
  border: 1px solid #d8c4ed;
}
.calc-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 16px;
}
.calc-card.bad .calc-icon { background: #fecaca; color: #dc2626; }
.calc-card.good .calc-icon { background: var(--purple); color: #fff; box-shadow: var(--shadow-purple); }
.calc-card h3 {
  font-size: 22px; font-weight: 800; margin-bottom: 6px;
}
.calc-card.bad h3 { color: #dc2626; }
.calc-card.good h3 { color: var(--purple); }
.calc-card .calc-sub { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }
.calc-list { display: flex; flex-direction: column; gap: 10px; }
.calc-row {
  display: flex; justify-content: space-between;
  font-size: 14px; padding: 8px 0;
  border-bottom: 1px dashed rgba(20,10,40,0.06);
}
.calc-row:last-child { border-bottom: none; }
.calc-row span:first-child { color: var(--gray-600); }
.calc-row span:last-child { font-weight: 700; color: var(--dark); }
.calc-total {
  margin-top: 16px; padding-top: 16px;
  border-top: 2px solid currentColor;
  display: flex; justify-content: space-between; align-items: baseline;
}
.calc-card.bad .calc-total { color: #dc2626; border-top-color: #fca5a5; }
.calc-card.good .calc-total { color: var(--purple); border-top-color: #c4a8e0; }
.calc-total .lbl { font-size: 14px; font-weight: 700; }
.calc-total .val { font-size: 32px; font-weight: 900; }

.calc-savings {
  background: var(--grad-purple);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-purple);
}
.calc-savings::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(at 30% 50%, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.calc-savings p:first-child { font-size: 14px; opacity: 0.85; margin-bottom: 8px; position: relative; }
.calc-savings .big {
  font-size: clamp(40px, 6vw, 56px); font-weight: 900;
  margin-bottom: 12px; position: relative;
  letter-spacing: -0.02em;
}
.calc-savings .desc {
  font-size: 16px; opacity: 0.92; margin-bottom: 28px; position: relative;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.calc-savings .btn { position: relative; }

/* ── Pain Section (purple bg) ── */
.section-purple {
  background: var(--purple-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-purple::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(at 0% 0%, rgba(168,85,247,0.25) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(236,72,153,0.18) 0px, transparent 50%);
  pointer-events: none;
}
.section-purple .container { position: relative; z-index: 1; }
.section-purple .section-title { color: #fff; }
.section-purple .label {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.section-purple .label::before { background: var(--green); box-shadow: 0 0 0 4px rgba(29,209,161,0.3); }

.pain-section { padding: 100px 0; }
.pain-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 980px; margin: 56px auto 0;
}
.pain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative; overflow: hidden;
}
.pain-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.5), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.pain-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(168,85,247,0.4);
}
.pain-card:hover::before { opacity: 1; }
.pain-card .pain-emoji {
  font-size: 36px; margin-bottom: 14px;
  display: inline-block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.pain-card h3 {
  color: #fff; font-size: 18px; font-weight: 700;
  margin-bottom: 8px; line-height: 1.35;
}
.pain-card p {
  color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.65;
}

.pain-contrast {
  background: rgba(29,209,161,0.08);
  border: 1px solid rgba(29,209,161,0.3);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 820px; margin: 48px auto 32px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.pain-contrast .lead { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.pain-contrast .chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.pain-contrast .chip {
  background: rgba(29,209,161,0.18);
  color: #5eead4;
  padding: 7px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(29,209,161,0.25);
  display: inline-flex; align-items: center; gap: 6px;
}
.pain-contrast .chip::before {
  content: '✓'; font-size: 12px; font-weight: 800;
}

.pain-closer {
  text-align: center; max-width: 680px; margin: 40px auto 0;
}
.pain-closer .small {
  color: rgba(255,255,255,0.55); font-size: 15px; margin-bottom: 12px;
}
.pain-closer h3 {
  color: #fff; font-size: clamp(22px, 3vw, 28px); font-weight: 800;
  line-height: 1.3; margin-bottom: 12px;
  text-wrap: balance;
}
.pain-closer .punch {
  color: var(--green); font-size: 22px; font-weight: 800; margin-bottom: 32px;
}

/* ── PAIN/Image section ── */
.pain {
  padding: 100px 0; background: #fff;
}
.pain .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.pain-visual { position: relative; }
.pain-visual::before {
  content: ''; position: absolute; inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(168,85,247,0.15), transparent 70%);
  z-index: -1;
}
.pain-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.pain-list { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.pain-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.pain-item-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(98,31,157,0.06));
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(168,85,247,0.15);
}
.pain-item-icon svg { width: 22px; height: 22px; }
.pain-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.pain-item p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ── How it works ── */
.how {
  padding: 100px 0; background: #fff;
  position: relative; overflow: hidden;
}
.how::before {
  content: ''; position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(168,85,247,0.08), transparent 70%);
  pointer-events: none;
}
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px; position: relative;
}
.how-step {
  background: #fff;
  border: 1px solid rgba(20,10,40,0.06);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  text-align: center; position: relative;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.how-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(168,85,247,0.2);
}
.how-number {
  width: 64px; height: 64px; border-radius: 20px;
  background: var(--grad-purple);
  color: #fff; font-weight: 800;
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-purple);
  position: relative;
}
.how-number::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: 22px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  z-index: -1;
  opacity: 0; transition: opacity 0.3s;
  filter: blur(8px);
}
.how-step:hover .how-number::after { opacity: 0.6; }
.how-step h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.how-step p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ── Bento (dark) ── */
.bento-section {
  background: #0a0518;
  color: #fff;
  padding: 110px 0;
  position: relative; overflow: hidden;
}
.bento-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(at 20% 30%, rgba(168,85,247,0.18) 0px, transparent 50%),
    radial-gradient(at 80% 80%, rgba(236,72,153,0.12) 0px, transparent 50%);
  pointer-events: none;
}
.bento-section .container { position: relative; z-index: 1; }
.bento-section .section-title { color: #fff; }
.bento-section .label {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}
.bento-section .section-desc { color: rgba(255,255,255,0.55); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.bento-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px 28px 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.bento-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(168,85,247,0.12), transparent 40%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.bento-card:hover { border-color: rgba(168,85,247,0.3); transform: translateY(-4px); }
.bento-card:hover::before { opacity: 1; }
.bento-card.bento-wide { grid-column: span 2; }
.bento-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 6px 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.6);
  text-transform: uppercase; margin-bottom: 16px; width: fit-content;
}
.bento-title {
  font-size: 20px; font-weight: 800; color: #fff;
  margin-bottom: 8px; line-height: 1.3;
}
.bento-desc {
  font-size: 13.5px; color: rgba(255,255,255,0.5);
  line-height: 1.6; margin-bottom: 24px;
}
.bento-img {
  margin-top: auto;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  background: rgba(255,255,255,0.04);
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 13px;
  position: relative;
}
.bento-img.placeholder::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(168,85,247,0.06), rgba(236,72,153,0.04));
}
.bento-extras {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 56px;
}
.bento-extras span {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 7px 18px; font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
}
.bento-extras span:hover {
  background: rgba(168,85,247,0.15);
  border-color: rgba(168,85,247,0.4);
  color: #fff;
  transform: translateY(-2px);
}

/* WhatsApp simulation in bento */
.bento-chat {
  background: #efeae2;
  background-image:
    radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 14px 14px;
  margin-top: auto;
  border-radius: 14px 14px 0 0;
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 220px;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
}
.chat-msg {
  max-width: 78%; padding: 8px 12px; border-radius: 14px;
  font-size: 13px; line-height: 1.4; color: #1f2937;
  position: relative; box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.34,1.4,.64,1);
}
.chat-msg.show { opacity: 1; transform: translateY(0) scale(1); }
.chat-msg.in { background: #fff; border-radius: 0 14px 14px 14px; align-self: flex-start; }
.chat-msg.out { background: #d9fdd3; border-radius: 14px 0 14px 14px; align-self: flex-end; }
.chat-msg .time { font-size: 10px; color: rgba(0,0,0,0.4); margin-left: 8px; }
.chat-typing {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 14px; background: #fff; border-radius: 0 14px 14px 14px;
  align-self: flex-start; box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.34,1.4,.64,1);
}
.chat-typing.show { opacity: 1; transform: translateY(0) scale(1); }
.chat-typing.hide { opacity: 0; transform: translateY(-4px) scale(0.94); pointer-events: none; }
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #9ca3af;
  animation: typing-dot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-dot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Compare Yes/No table (purple section) ── */
.compare {
  padding: 100px 0;
}
.compare-wrap {
  max-width: 860px; margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.compare-head {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(98,31,157,0.15));
  font-weight: 700; font-size: 13px;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.compare-head > div { padding: 18px 24px; }
.compare-head > div:nth-child(2) { color: #c4a8ed; text-align: center; }
.compare-row {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(255,255,255,0.03); }
.compare-row > div { padding: 14px 24px; font-size: 14px; display: flex; align-items: center; }
.compare-row > div:first-child { color: rgba(255,255,255,0.85); }
.compare-row > div:nth-child(n+2) { justify-content: center; }
.check-yes {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(29,209,161,0.18); color: #5eead4;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  border: 1px solid rgba(29,209,161,0.3);
}
.check-no {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(239,68,68,0.12); color: #fca5a5;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  border: 1px solid rgba(239,68,68,0.2);
}
.compare-cta-btn {
  display: block; text-align: center; padding: 22px;
  background: linear-gradient(135deg, #a855f7, #621f9d);
  color: #fff; font-weight: 700; font-size: 15px;
  transition: filter 0.3s;
}
.compare-cta-btn:hover { filter: brightness(1.15); }
