

/* ════════════ Proof-in-numbers strip ════════════ */
.stats-strip {
  position: relative;
  padding: 56px 40px;
  background: linear-gradient(135deg, #151724 0%, #2f2f5f 50%, #3c3f8a 100%);
  overflow: hidden;
  color: #fff;
}
/* Soft dot-grid overlay */
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
/* Glow orbs */
.stats-glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); pointer-events: none;
}
.stats-glow-1 {
  width: 460px; height: 460px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(87,90,185,0.42) 0%, transparent 70%);
}
.stats-glow-2 {
  width: 380px; height: 380px;
  bottom: -150px; right: -100px;
  background: radial-gradient(circle, rgba(168,170,240,0.32) 0%, transparent 70%);
}
.stats-glow-3 {
  width: 240px; height: 240px;
  top: 35%; left: 45%;
  background: radial-gradient(circle, rgba(168,170,240,0.16) 0%, transparent 70%);
}
/* Thin shimmer line at top edge */
.stats-strip::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right,
    transparent 0%, rgba(168,170,240,0.35) 30%,
    rgba(213,214,245,0.55) 50%, rgba(168,170,240,0.35) 70%, transparent 100%);
}

.stats-strip-inner {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}

.stats-strip-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
}
.stats-strip-eyebrow-dot {
  width: 7px; height: 7px;
  background: #a8aaf0;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(168,170,240,0.85);
  animation: stats-pulse 2s ease-in-out infinite;
}
@keyframes stats-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.5; }
}

.stats-strip-title {
  font-family: 'Antonio', sans-serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600; line-height: 1.1;
  letter-spacing: -0.4px;
  margin: 0 0 40px 0;
  color: #fff;
}
.stats-strip-title em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(135deg, #a8aaf0 0%, #d5d6f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.stat-item { text-align: center; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.stat-item.in-view { opacity: 1; transform: translateY(0); }
.stat-item:nth-child(3) { transition-delay: 0.12s; }
.stat-item:nth-child(5) { transition-delay: 0.24s; }

.stat-number {
  font-family: 'Antonio', sans-serif;
  font-size: clamp(54px, 6.5vw, 78px);
  font-weight: 600; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #c8caf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -2px;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: baseline;
  text-shadow: 0 0 50px rgba(168,170,240,0.25);
}
.stat-suffix {
  font-size: 0.55em;
  background: linear-gradient(135deg, #a8aaf0 0%, #d5d6f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 4px;
  font-weight: 500;
}

.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.stat-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.stat-divider {
  width: 1px; height: 76px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
}

/* Mobile */
@media (max-width: 768px) {
  .stats-strip { padding: 40px 20px; }
  .stats-strip-title { margin-bottom: 28px; }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stat-divider {
    width: 64px; height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
    margin: 0 auto;
  }
  .stat-number { font-size: 56px; letter-spacing: -1.5px; }
}


/* ════════════ Mobile responsive fixes ════════════ */

/* Global: prevent any rogue wide element from causing horizontal scroll */
html, body { overflow-x: hidden; max-width: 100vw; }
img, svg, video { max-width: 100%; height: auto; }

/* Hero — proper grid that collapses on mobile */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 480px;
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }
  /* Hide or move hero image on mobile? Keep it but smaller */
  .hero-grid > div:last-child {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .hero-grid { gap: 24px; }
}

/* Footer-top — proper responsive grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .footer-newsletter { grid-column: 1 / -1; max-width: 480px; }
}

/* Mobile: stats strip + footer details */
@media (max-width: 768px) {
  /* Footer newsletter button full width */
  .footer-newsletter-btn { display: inline-flex; width: auto; }

  /* Footer-bottom — stack cleanly */
  .footer-bottom { justify-content: flex-start; gap: 14px; }
  .footer-bottom > * { width: auto; }
  .footer-iso-badges { order: 3; gap: 6px; }
  .footer-iso-badge { width: 40px; height: 40px; }
  .footer-social { order: 2; }
  .footer-legal { order: 4; gap: 14px; flex-wrap: wrap; }
  .footer-copy { order: 1; }
}

/* Stats strip — title line break on mobile */
@media (max-width: 480px) {
  .stats-strip-title { font-size: 24px; }
  .stat-number { font-size: 48px !important; }
}

/* Tool cards — ensure all elements scale */
@media (max-width: 600px) {
  .tool-card .card-visual { height: 160px; }
  .card-img-name-pill { font-size: 11px !important; padding: 5px 10px !important; }
}

/* Pricing tier names — prevent overflow on tiny screens */
@media (max-width: 480px) {
  .tier-name { font-size: 22px; }
  .tier-price { font-size: 42px; }
}

/* Comparison tables already scroll horizontally on mobile — good */

/* Modal sizing */
@media (max-width: 600px) {
  .pricing-soon-overlay > div { width: calc(100% - 32px) !important; padding: 28px !important; }
}

/* Launcher */
.yo-chat-launcher {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; padding: 0;
  background: linear-gradient(135deg, #6b2dc7 0%, #5a25aa 100%);
  color: #fff; border: none; border-radius: 18px; cursor: pointer;
  font-family: 'Antonio', sans-serif;
  box-shadow: 0 12px 32px -6px rgba(107,45,199,0.55), 0 4px 12px -2px rgba(15,10,40,0.25);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.25s ease;
}
.yo-chat-launcher:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 40px -6px rgba(107,45,199,0.65), 0 6px 14px -2px rgba(15,10,40,0.3);
}
.yo-chat-launcher.hidden { transform: scale(0.6); opacity: 0; pointer-events: none; }
.yo-chat-launcher-sigma {
  font-family: 'Antonio', sans-serif;
  font-size: 38px; font-weight: 700; line-height: 1;
  color: #fff; letter-spacing: 0;
  position: relative; z-index: 1;
}
.yo-chat-launcher-dot {
  position: absolute; top: 8px; right: 8px;
  width: 12px; height: 12px;
  background: #84cc16;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(107,45,199,1), 0 0 8px rgba(132,204,22,0.6);
  z-index: 2;
}
.yo-chat-launcher-pulse {
  position: absolute; inset: -4px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 22px;
  animation: yo-pulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes yo-pulse {
  0%, 100% { transform: scale(1); opacity: 0; }
  50%      { transform: scale(1.4); opacity: 0.5; }
}

/* Panel */
.yo-chat-panel {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 390px; height: 600px; max-height: calc(100vh - 48px);
  background: #fff; border-radius: 22px;
  box-shadow: 0 30px 64px -12px rgba(15,10,40,0.4), 0 10px 24px -6px rgba(87,90,185,0.22);
  display: flex; flex-direction: column; overflow: hidden;
  transform: scale(0.85) translateY(20px); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  font-family: 'DM Sans', sans-serif;
}
.yo-chat-panel.open {
  transform: scale(1) translateY(0); opacity: 1; pointer-events: auto;
}

/* Header */
.yo-chat-header {
  position: relative; overflow: hidden;
  padding: 18px 18px 18px 18px;
  background: linear-gradient(135deg, #7c4dd6 0%, #6b2dc7 55%, #5a25aa 100%);
  color: #fff;
  display: flex; align-items: center; gap: 12px;
}
.yo-chat-header::before {
  content: ''; position: absolute;
  top: -60px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
  pointer-events: none;
}
.yo-chat-header::after {
  content: ''; position: absolute;
  bottom: -40px; left: -30px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(132,204,22,0.16), transparent 70%);
  pointer-events: none;
}
.yo-chat-avatar {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, #6b2dc7 0%, #5a25aa 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px -2px rgba(15,10,40,0.25), inset 0 0 0 1.5px rgba(255,255,255,0.18);
  overflow: visible;
}
.yo-avatar-letter {
  font-family: 'Antonio', sans-serif;
  font-size: 26px; font-weight: 700;
  letter-spacing: 0;
  color: #fff;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.yo-avatar-spark, .yo-avatar-spark-sm { display: none; }
.yo-chat-avatar::after { display: none; }
.yo-chat-header-info { flex: 1; position: relative; z-index: 1; min-width: 0; }
.yo-chat-title {
  font-family: 'Antonio', sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: -0.3px; line-height: 1;
}
.yo-chat-status {
  font-size: 11.5px; color: rgba(255,255,255,0.85);
  margin-top: 5px;
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.yo-chat-status-dot {
  display: none;
}
.yo-chat-header-actions {
  position: relative; z-index: 1; display: flex; gap: 6px; flex-shrink: 0;
}
.yo-chat-iconbtn {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,0.18); border: none;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}
.yo-chat-iconbtn:hover { background: rgba(255,255,255,0.28); }
.yo-chat-close { width: 30px; height: 30px; }
.yo-chat-close:hover { transform: none; }

/* Messages */
.yo-chat-messages {
  flex: 1; overflow-y: auto;
  padding: 18px 16px;
  background: #faf9fc;
  display: flex; flex-direction: column; gap: 14px;
  scroll-behavior: smooth;
}
.yo-chat-messages::-webkit-scrollbar { width: 6px; }
.yo-chat-messages::-webkit-scrollbar-track { background: transparent; }
.yo-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(87,90,185,0.2); border-radius: 3px;
}
.yo-chat-messages::-webkit-scrollbar-thumb:hover { background: rgba(87,90,185,0.35); }

.yo-msg {
  display: flex; flex-direction: column;
  max-width: 88%;
  animation: yo-msg-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes yo-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.yo-msg.user { align-self: flex-end; align-items: flex-end; }
.yo-msg.bot  { align-self: flex-start; align-items: flex-start; }
.yo-msg-bubble {
  padding: 12px 16px; border-radius: 16px;
  font-size: 14px; line-height: 1.55; word-wrap: break-word;
}
.yo-msg.user .yo-msg-bubble {
  background: linear-gradient(135deg, #6b2dc7 0%, #5a25aa 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px -4px rgba(107,45,199,0.35);
}
.yo-msg.bot { position: relative; padding-left: 38px; }
.yo-msg.bot::before {
  content: '✦';
  position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #ede4fb 0%, #ddd0f6 100%);
  color: #6b2dc7; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(107,45,199,0.15);
}
.yo-msg.bot .yo-msg-bubble {
  background: #fff; color: #111827;
  border: 1px solid #ece9f3;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15,10,40,0.05);
  padding: 14px 16px;
}

/* Markdown styles inside bot bubbles */
.yo-msg-bubble p { margin: 0 0 8px 0; }
.yo-msg-bubble p:last-child { margin: 0; }
.yo-msg-bubble strong { font-weight: 700; color: #111827; }
.yo-msg.user .yo-msg-bubble strong { color: #fff; font-weight: 700; }
.yo-msg-bubble ul { margin: 8px 0; padding-left: 4px; list-style: none; }
.yo-msg-bubble li { margin: 5px 0; padding-left: 14px; position: relative; }
.yo-msg-bubble li::before {
  content: '•'; position: absolute; left: 0; color: #6b2dc7; font-weight: 700;
}
.yo-msg-bubble a { color: #6b2dc7; text-decoration: underline; word-break: break-all; }
.yo-msg.user .yo-msg-bubble a { color: #fff; }
.yo-msg-bubble code {
  background: #f4f4fb; padding: 2px 6px; border-radius: 4px;
  font-size: 12.5px; font-family: ui-monospace, monospace;
}

/* Quick replies (suggestion chips) */
.yo-quick-replies {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 12px 14px 0; padding-left: 0;
  align-items: flex-start;
}
.yo-chip {
  background: #fff;
  border: 1px solid #e2e0eb;
  color: #4b4658;
  padding: 7px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: all 0.18s ease;
  text-align: left; line-height: 1.3;
  white-space: nowrap;
}
.yo-chip:hover {
  background: #f7f4ff;
  border-color: #c7b8ec;
  color: #6b2dc7;
  transform: translateY(-1px);
}
}

/* Typing indicator */
.yo-typing-bubble {
  background: #fff; border: 1px solid #e8eaf0;
  border-radius: 16px; border-bottom-left-radius: 4px;
  padding: 14px 16px; width: fit-content;
  display: flex; gap: 5px; align-items: center;
  box-shadow: 0 2px 6px rgba(15,10,40,0.04);
}
.yo-typing-dot {
  width: 7px; height: 7px;
  background: #575ab9; border-radius: 50%;
  opacity: 0.4;
  animation: yo-typing 1.4s ease-in-out infinite;
}
.yo-typing-dot:nth-child(2) { animation-delay: 0.18s; }
.yo-typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes yo-typing {
  0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(-3px); }
}

/* Input area */
.yo-chat-input-area {
  padding: 12px 14px 12px;
  background: #fff; border-top: 1px solid #ece9f3;
  display: flex; align-items: center; gap: 8px;
}
.yo-chat-input-wrap {
  flex: 1;
  background: #f6f4fb;
  border: 1.5px solid #ece9f3;
  border-radius: 999px; padding: 2px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.yo-chat-input-wrap:focus-within {
  border-color: #6b2dc7; background: #fff;
  box-shadow: 0 0 0 3px rgba(107,45,199,0.1);
}
.yo-chat-input {
  width: 100%; border: none; background: transparent; outline: none;
  padding: 9px 0; font-size: 13.5px;
  font-family: inherit; color: #111827;
  resize: none; max-height: 100px;
  line-height: 1.4;
}
.yo-chat-input::placeholder { color: #9ca3af; }
.yo-chat-send {
  height: 38px; padding: 0 16px;
  background: linear-gradient(135deg, #2f6fff 0%, #1f57e0 100%);
  color: #fff; border: none; border-radius: 999px;
  cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  transition: transform 0.15s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px -3px rgba(47,111,255,0.45);
}
.yo-chat-send:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -4px rgba(47,111,255,0.55);
}
.yo-chat-send:disabled {
  opacity: 0.4; cursor: not-allowed;
  box-shadow: none; transform: none;
}
.yo-chat-send-arrow { font-size: 14px; line-height: 1; }

/* Footer */
.yo-chat-footer {
  padding: 6px 16px 10px; background: #fff;
  font-size: 10px; color: #9ca3af;
  text-align: center; letter-spacing: 0.01em;
}

/* Mobile */
@media (max-width: 480px) {
  .yo-chat-panel {
    width: calc(100% - 16px);
    height: calc(100% - 80px);
    right: 8px; bottom: 8px;
    border-radius: 18px;
  }
  .yo-chat-launcher { bottom: 16px; right: 16px; width: 56px; height: 56px; border-radius: 16px; }
  .yo-chat-launcher-sigma { font-size: 32px; }
  .yo-chat-launcher-dot { top: 7px; right: 7px; width: 10px; height: 10px; }
}
