/* Ported from React src/index.css — visual utilities only (no @tailwind) */

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0b1b14;
  background: #ffffff;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

:root {
  --background: 0 0% 100%;
  --foreground: 158 40% 8%;
  --card: 0 0% 100%;
  --card-foreground: 158 40% 8%;
  --popover: 0 0% 100%;
  --popover-foreground: 158 40% 8%;
  --primary: 142 71% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 152 30% 96%;
  --secondary-foreground: 158 40% 12%;
  --muted: 152 30% 96%;
  --muted-foreground: 158 12% 40%;
  --accent: 152 40% 94%;
  --accent-foreground: 158 40% 12%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  --border: 152 20% 90%;
  --input: 152 20% 90%;
  --ring: 142 71% 45%;
  --radius: 0.75rem;
}

* {
  border-color: hsl(var(--border));
}

::selection {
  background: #25D366;
  color: #fff;
}

/* Brand tokens */
:root {
  --wa-green: #25D366;
  --wa-green-600: #1eb257;
  --wa-teal: #128C7E;
  --wa-deep: #075E54;
  --wa-mint: #eafaf1;
}

/* ---------- Animations ---------- */
@keyframes floaty {

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

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

.animate-floaty {
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty-slow {

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

  50% {
    transform: translateY(-22px) rotate(3deg);
  }
}

.animate-floaty-slow {
  animation: floaty-slow 9s ease-in-out infinite;
}

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

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

.reveal {
  opacity: 0;
}

.reveal.in-view {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.pulse-ring {
  animation: pulseRing 2.2s infinite;
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

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

.bubble-in {
  animation: bubbleIn 0.45s ease forwards;
  opacity: 0;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.marquee-track {
  animation: marquee 22s linear infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.gradient-anim {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes typingDot {

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

  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.typing-dot {
  animation: typingDot 1.2s infinite;
}

/* Utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.chat-bg {
  background-color: #d6efe0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%20viewBox='0%200%20160%20160'%3E%3Cg%20fill='none'%20stroke='%23075E54'%20stroke-opacity='0.06'%20stroke-width='2'%3E%3Cpath%20d='M18%2028h40a8%208%200%200%201%208%208v18a8%208%200%200%201-8%208H34l-10%2010v-10h-6a8%208%200%200%201-8-8V36a8%208%200%200%201%208-8z'/%3E%3Ccircle%20cx='124'%20cy='36'%20r='12'/%3E%3Cpath%20d='M114%20112c0-6%208-10%2014-4%206-6%2014-2%2014%204%200%208-14%2016-14%2016s-14-8-14-16z'/%3E%3Cpath%20d='M36%20116h34M36%20128h22'/%3E%3Cpath%20d='M96%20140l6%206%2012-12'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px;
}

.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

html {
  scroll-behavior: smooth;
}

/* Modal open state (Radix Dialog equivalent) */
.wydely-modal {
  display: none;
}

.wydely-modal.is-open {
  display: flex;
}

/* FAQ open state */
.faq-item .faq-body {
  display: none;
}

.faq-item.is-open .faq-body {
  display: block;
}

.faq-item.is-open .faq-chev {
  transform: rotate(180deg);
}

.faq-item.is-open {
  border-color: #25D366;
  box-shadow: 0 4px 16px rgba(7, 94, 84, 0.08);
}

/* Range slider brand tint */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #1eb257;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(7, 94, 84, 0.25);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #1eb257;
  cursor: pointer;
  border: 2px solid #fff;
}

/* ROI calculator slider colors (match design screenshot) */
#roiCalc input[type="range"] {
  --accent: #1eb257;
  --track: #1eb25714;
  --pct: 0%;

  /* Gradient shows filled + unfilled portions */
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--pct),
    var(--track) var(--pct),
    var(--track) 100%
  );
}

/* Make native track transparent so our gradient background is visible */
#roiCalc input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--pct),
    var(--track) var(--pct),
    var(--track) 100%
  );
  height: 6px;
  border-radius: 999px;
}

#roiCalc input[type="range"]::-moz-range-track {
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--pct),
    var(--track) var(--pct),
    var(--track) 100%
  );
  height: 6px;
  border-radius: 999px;
}

/* Use ROI-specific accent color for the thumb */
#roiCalc input[type="range"]::-webkit-slider-thumb {
  background-color: #ffffff !important;
  border: 2px solid var(--accent) !important;
  box-shadow: none !important;
  /* Center 18px thumb on 6px track */
  margin-top: -6px;
}

#roiCalc input[type="range"]::-moz-range-thumb {
  background-color: #ffffff !important;
  border: 2px solid var(--accent) !important;
  box-shadow: none !important;
  /* Center 18px thumb on 6px track */
  margin-top: -6px;
}

#roiAudience {
  --accent: #1eb257;
  --track: #1eb25714;
}

#roiAov {
  --accent: #128C7E;
  --track: #128C7E14;
}

#roiConv {
  --accent: #0EA5A0;
  --track: #0EA5A014;
}

/* Lucide parity with lucide-react defaults */
i[data-lucide] {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

svg.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.lucide.lucide-message-circle.w-4.h-4.mr-1.text-\[\#1eb257\] {
  fill: currentColor;
  stroke: none;
}

/* Filled WhatsApp/brand marks (MessageCircle fill="white" in React) */
/* .bg-\[\#1eb257\] svg.lucide.text-white,
.bg-\[\#25D366\] svg.lucide.text-white,
span.w-9.rounded-xl svg.lucide.text-white,
a.w-14 svg.lucide.text-white,
button.w-14 svg.lucide.text-white {
  fill: currentColor;
} */

.btn_xl {
  height: 74px;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  font-size: 16px;
  gap: .5rem;
}

.text-gradient-counter {
  background: linear-gradient(180deg, #25d366, #128c7e);
  -webkit-background-clip: text;
  background-clip: text;
  /* standard — needed for Firefox/modern Chrome */
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* fallback for non-webkit */
}

.column_content_center {
  flex-direction: column;
  display: flex;
  justify-content: center;
}

.mh-100{
  min-height: 17.6rem;
}