/* ============================================================
   FeelTech Solution  —  styles.css
   Techub-inspired design  |  Purple theme  |  Mobile-first
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────── */
:root {
  --purple:      #7B2FBE;
  --purple-dk:   #5A1E9A;
  --purple-lt:   #9B59D4;
  --accent:      #B16CEA;
  --bg:          #FFFFFF;
  --bg-soft:     #F7F4FF;
  --bg-dark:     #0E0B1E;
  --bg-dark2:    #160D2D;
  --text:        #1A1A2E;
  --text-muted:  #6B7280;
  --border:      #EDE8F8;
  --white:       #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-full: 9999px;

  --shadow-sm:  0 2px 8px  rgba(123,47,190,.08);
  --shadow-md:  0 8px 32px rgba(123,47,190,.14);
  --shadow-lg:  0 20px 60px rgba(123,47,190,.18);

  --ease: cubic-bezier(0.4,0,0.2,1);
  --dur:  0.28s;

  --max-w: 1180px;
  --nav-h: 70px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; width: 100%; outline: none; border: none; background: none; }

/* ── Utility: Container ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* ── Utility: Section ───────────────────────────────────── */
.section { padding-block: clamp(64px, 8vw, 100px); }

.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 52px;
}
.sec-header--center { justify-content: center; text-align: center; }
.sec-header--center .sec-title { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}

.sec-title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .9rem;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn--primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(123,47,190,.32);
}
.btn--primary:hover   { background: var(--purple-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(123,47,190,.42); }
.btn--outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn--outline:hover { background: var(--purple); color: var(--white); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); transform: translateY(-2px); }
.btn--white {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.btn--white:hover { background: var(--bg-soft); transform: translateY(-2px); }
.btn--lg   { padding: 14px 34px; font-size: 1rem; border-radius: var(--r-md); }
.btn--full { width: 100%; }

/* ── Fade-in animation ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════
   TOP BAR
════════════════════════════════════════════════════════ */
.topbar {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  padding-block: 8px;
  position: relative;
  z-index: 1001;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar__left  { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar__right { display: flex; align-items: center; gap: 18px; }

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  transition: color var(--dur);
}
.topbar__item:hover { color: var(--white); }
.topbar__website { font-weight: 600; color: var(--accent); }
.topbar__website:hover { color: var(--white); }

.topbar__socials { display: flex; gap: 8px; }
.topbar__socials a {
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.topbar__socials a:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }

/* ════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar__logo img {
  height: 40px;
  width: auto;
  max-width: 185px;
  display: block;
  transition: transform .2s var(--ease);
}
.navbar__logo:hover img {
  transform: scale(1.03);
}

.navbar__nav ul { display: flex; align-items: center; gap: 30px; }
.navbar__nav a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--dur);
  padding-block: 4px;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--purple);
  border-radius: 2px;
  transition: width var(--dur) var(--ease);
}
.navbar__nav a:hover,
.navbar__nav a.active { color: var(--purple); }
.navbar__nav a:hover::after,
.navbar__nav a.active::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 2px;
  flex-shrink: 0;
}
.navbar__hamburger span {
  display: block; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur), opacity var(--dur);
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.navbar__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
@media (max-width: 860px) {
  .navbar__hamburger { display: flex; }
  .navbar__nav {
    position: fixed;
    top: calc(var(--nav-h) + 37px);
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 24px 24px 32px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur), visibility var(--dur);
    box-shadow: var(--shadow-lg);
  }
  .navbar__nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .navbar__nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .navbar__nav a { font-size: 1rem; padding: 10px 0; display: block; width: 100%; }
  .navbar__actions .btn { display: none; }
}

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 37px);
  background: linear-gradient(140deg, #0E0B1E 0%, #1A0A3C 45%, #2D1060 80%, #3D1875 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* bg shapes */
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.s1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(123,47,190,.55) 0%, transparent 70%); top: -250px; right: -150px; }
.s2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(60,20,120,.5) 0%, transparent 70%); bottom: -150px; left: 5%; }
.s3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(177,108,234,.35) 0%, transparent 70%); top: 30%; left: 45%; }
.s4 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(90,30,154,.4) 0%, transparent 70%); top: 60%; right: 10%; }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 80px;
}

/* Hero copy */
.hero__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero__h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
}
.hero__accent { color: var(--accent); }
.hero__desc {
  font-size: 1.02rem;
  color: rgba(255,255,255,.7);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 38px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero__trust { display: flex; align-items: center; gap: 20px; }
.trust-item { text-align: center; }
.trust-item strong { display: block; font-size: 1.4rem; font-weight: 900; color: var(--white); line-height: 1.1; }
.trust-item span  { font-size: .72rem; color: rgba(255,255,255,.5); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.trust-div { width: 1px; height: 32px; background: rgba(255,255,255,.18); }

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 45px rgba(123, 47, 190, 0.4);
  backdrop-filter: blur(12px);
  max-width: 520px;
  width: 100%;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hero__img-wrap:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.7), 0 0 55px rgba(177, 108, 234, 0.5);
}
.hero__main-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.hero__img-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
}
.hero__img-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 12, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
}
.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 8px #00E676;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%   { transform: scale(0.95); opacity: 0.8; }
  50%  { transform: scale(1.25); opacity: 1; box-shadow: 0 0 12px #00E676; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hcard--pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 2;
  color: var(--white);
}
.hcard--p1 {
  background: var(--purple);
  border: 1px solid rgba(255, 255, 255, 0.2);
  top: -16px;
  right: -14px;
  animation: flt 4s ease-in-out infinite;
}
.hcard--p2 {
  background: rgba(18, 12, 34, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  bottom: -16px;
  left: -14px;
  animation: flt 4s ease-in-out infinite 1.4s;
}
.hcard--p3 {
  background: rgba(177, 108, 234, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  bottom: 40px;
  right: -20px;
  animation: flt 4s ease-in-out infinite 2.8s;
}

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

/* scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 5px;
}
.scroll-dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateY(0);   opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 0; }
}

/* ════════════════════════════════════════════════════════
   MARQUEE STRIP
════════════════════════════════════════════════════════ */
.marquee-strip {
  background: var(--bg-dark2);
  border-block: 1px solid rgba(255,255,255,.07);
  padding-block: 14px;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.65); }
.marquee-track .dot { color: var(--accent); font-size: .7rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════ */
.services { background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* ── Service card with image ── */
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card:hover::after { transform: scaleX(1); }

/* image thumbnail at top of card */
.svc-card__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-soft);
}
.svc-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s var(--ease);
  display: block;
}
.svc-card:hover .svc-card__img img { transform: scale(1.05); }

/* card body below image */
.svc-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* body when there's no image — same padding as before */
.svc-card__body--noimg {
  padding: 28px 24px 32px;
}

.svc-card--special { border-color: rgba(123,47,190,.25); background: linear-gradient(135deg, var(--white) 0%, #F0E8FF 100%); }
.svc-card--ecom    { border-color: rgba(123,47,190,.18); }

.svc-free-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--purple);
  color: var(--white);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 4px 12px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 2;
}

.svc-card__icon {
  width: 56px; height: 56px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  margin-bottom: 16px;
  transition: background var(--dur), color var(--dur);
  flex-shrink: 0;
}
.svc-card:hover .svc-card__icon { background: var(--purple); color: var(--white); }

.svc-card__body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.svc-card__body p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; flex: 1; }

.svc-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--purple);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--dur);
}
.svc-link:hover { gap: 8px; }

/* ════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__imgcard {
  position: relative;
  border-radius: var(--r-xl);
  max-width: 440px;
  width: 100%;
}
.about__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: 0 20px 45px -12px rgba(123, 47, 190, 0.28);
  border: 3px solid rgba(123, 47, 190, 0.12);
  display: block;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.about__imgcard:hover .about__img {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px -12px rgba(123, 47, 190, 0.38);
}

.about__badge {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--purple);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  line-height: 1.2;
}
.about__badge strong { display: block; font-size: 2rem; font-weight: 900; }
.about__badge span   { font-size: .72rem; opacity: .85; }

.about__mini-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.about__mini {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 15px 18px;
  color: var(--purple);
}
.about__mini svg { flex-shrink: 0; }
.about__mini strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text); }
.about__mini span   { font-size: .78rem; color: var(--text-muted); }

.about__p { color: var(--text-muted); margin-bottom: 14px; font-size: .94rem; }

.about__features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-block: 22px 30px;
}
.about__features li {
  display: flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 500;
}
.about__features svg {
  flex-shrink: 0;
  color: var(--purple);
  background: var(--bg-soft);
  border-radius: 50%;
  padding: 2px;
  width: 22px; height: 22px;
}

/* ════════════════════════════════════════════════════════
   TECH STACK
════════════════════════════════════════════════════════ */
.tech { background: var(--bg-soft); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
  cursor: default;
}
.tech-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple); }
.tech-icon { color: var(--purple); }
.tech-item span { font-size: .8rem; font-weight: 600; text-align: center; color: var(--text); }

/* ════════════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════════════ */
.stats { background: var(--white); }

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.stats__desc { color: var(--text-muted); font-size: .94rem; margin-block: 14px 30px; }

.bars { display: flex; flex-direction: column; gap: 20px; }
.bar__lbl {
  display: flex; justify-content: space-between;
  font-size: .82rem; font-weight: 600;
  margin-bottom: 7px;
}
.bar__track {
  height: 7px;
  background: var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--accent));
  border-radius: 8px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}

.stats__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-align: center;
}
.stat-box--accent { background: var(--purple); border-color: var(--purple); }
.stat-box--accent .stat-n  { color: var(--white); }
.stat-box--accent sup      { color: rgba(255,255,255,.8); }
.stat-box--accent p        { color: rgba(255,255,255,.72); }

.stat-n {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
}
.stat-box sup { font-size: .95rem; font-weight: 800; color: var(--purple); vertical-align: super; }
.stat-box p   { margin-top: 8px; font-size: .78rem; color: var(--text-muted); font-weight: 600; }

/* ════════════════════════════════════════════════════════
   PRICING
════════════════════════════════════════════════════════ */
.pricing { background: var(--bg-soft); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform var(--dur), box-shadow var(--dur);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.pcard--hot {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.pcard--hot:hover { transform: scale(1.04) translateY(-4px); }

.pcard__ribbon {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.pcard__head h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.pcard__head p  { font-size: .82rem; color: var(--text-muted); }
.pcard--hot .pcard__head p { color: rgba(255,255,255,.7); }

.pcard__price {
  display: flex; align-items: baseline; gap: 3px;
  margin-block: 24px;
}
.pc-sym  { font-size: 1.2rem; font-weight: 700; }
.pc-val  { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.pc-per  { font-size: .8rem; color: var(--text-muted); margin-left: 4px; }
.pcard--hot .pc-per { color: rgba(255,255,255,.65); }

.pcard__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pcard__list li {
  display: flex; align-items: center; gap: 9px;
  font-size: .86rem;
}
.pcard__list svg { flex-shrink: 0; color: var(--purple); }
.pcard--hot .pcard__list svg { color: rgba(255,255,255,.9); }
.pcard__list li.off { color: var(--text-muted); opacity: .6; }
.pcard--hot .pcard__list li.off { color: rgba(255,255,255,.4); }

.pcard--hot .btn--outline {
  border-color: rgba(255,255,255,.4);
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.pcard--hot .btn--outline:hover { background: rgba(255,255,255,.2); }

/* ════════════════════════════════════════════════════════
   WHY US
════════════════════════════════════════════════════════ */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.why-card {
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
}
.why-card:hover { border-color: var(--purple); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.why-n {
  font-size: 2.4rem;
  font-weight: 900;
  -webkit-text-stroke: 2px var(--purple);
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.why-card p  { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════ */
.faq { background: var(--bg-soft); }

.faq__wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start;
}
.faq__head p { color: var(--text-muted); margin-top: 14px; font-size: .94rem; }

.faq__list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.faq-item:has(.faq-q[aria-expanded="true"]),
.faq-item.open { border-color: var(--purple); box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--dur);
}
.faq-q:hover { color: var(--purple); }
.faq-q[aria-expanded="true"] { color: var(--purple); }

.faq-chevron { flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-a {
  padding: 0 22px 18px;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  animation: slideDown .25s var(--ease);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════ */
.contact { background: var(--white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.contact__desc { color: var(--text-muted); margin-block: 14px 28px; font-size: .94rem; }

.contact__details { display: flex; flex-direction: column; gap: 18px; font-style: normal; }
.contact__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: color var(--dur);
}
.contact__row:hover { color: var(--purple); }
.contact__icon {
  width: 44px; height: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
  transition: background var(--dur);
}
.contact__row:hover .contact__icon { background: var(--purple); color: var(--white); }
.contact__row strong { display: block; font-size: .8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 2px; }
.contact__row span   { font-size: .875rem; font-weight: 500; }

/* Contact form */
.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}

.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.cform__group label { font-size: .8rem; font-weight: 700; color: var(--text); }
.cform__group label span { color: var(--purple); }

.cform__group input,
.cform__group textarea,
.cform__group select {
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  color: var(--text);
  font-size: .9rem;
  transition: border-color var(--dur), box-shadow var(--dur);
  resize: vertical;
  appearance: none;
}
.cform__group input:focus,
.cform__group textarea:focus,
.cform__group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123,47,190,.12);
  background: var(--white);
}
.cform__group input::placeholder,
.cform__group textarea::placeholder { color: #A0A0B0; }

.cform__success {
  text-align: center;
  font-size: .875rem;
  font-weight: 600;
  color: #16A34A;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--r-sm);
  padding: 12px;
  margin-top: 14px;
}

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,.7); }

.footer__top { padding-block: 72px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer__brand img {
  height: 42px;
  width: auto;
  max-width: 185px;
  display: block;
  margin-bottom: 16px;
}
.footer__brand p { font-size: .84rem; line-height: 1.7; max-width: 300px; }
.footer__socials { display: flex; gap: 10px; margin-top: 22px; }
.footer__socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.footer__socials a:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }

.footer__links h4,
.footer__contact h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.footer__links ul { display: flex; flex-direction: column; gap: 11px; }
.footer__links a  { font-size: .84rem; transition: color var(--dur); }
.footer__links a:hover { color: var(--accent); }

.footer__contact { display: flex; flex-direction: column; }
.footer__contact-row {
  display: flex; align-items: center; gap: 10px;
  font-size: .84rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 12px;
  transition: color var(--dur);
}
.footer__contact-row:hover { color: var(--accent); }
.footer__contact-row svg { flex-shrink: 0; color: var(--accent); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; }
.footer__bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer__bottom-row a { color: var(--accent); font-weight: 600; }
.footer__bottom-row a:hover { color: var(--white); }

/* ════════════════════════════════════════════════════════
   BACK TO TOP
════════════════════════════════════════════════════════ */
.btt {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: opacity var(--dur), transform var(--dur), background var(--dur);
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.btt.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.btt:hover { background: var(--purple-dk); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .pcard--hot { transform: none; }
  .pcard--hot:hover { transform: translateY(-4px); }
  .faq__wrap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-block: 60px; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__desc { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__visual { display: flex; max-width: 480px; margin-inline: auto; margin-top: 10px; }
  .hcard--p1 { top: -10px; right: -8px; font-size: .75rem; padding: 8px 14px; }
  .hcard--p2 { bottom: -10px; left: -8px; font-size: .75rem; padding: 8px 14px; }
  .hcard--p3 { display: none; }
  .about__grid   { grid-template-columns: 1fr; gap: 48px; }
  .about__imgcard { margin-inline: auto; }
  .stats__grid   { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .cform__row    { grid-template-columns: 1fr; }
  .footer__grid  { grid-template-columns: 1fr; }
  .sec-header    { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .topbar__right .topbar__website { display: none; }
  .topbar__socials { display: none; }
  .hero__trust { gap: 14px; }
  .trust-item strong { font-size: 1.1rem; }
  .hcard--pill { display: none; }
  .stats__right { grid-template-columns: 1fr 1fr; }
  .contact__form-wrap { padding: 28px 20px; }
}

/* ════════════════════════════════════════════════════════
   WHATSAPP + CHATBOT WIDGETS
════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────
   WHATSAPP FLOATING BUTTON  (bottom-right)
────────────────────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: 50px;
  height: 60px;
  min-width: 60px;
  width: 60px;
  padding: 0;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
  transition: width .32s cubic-bezier(0.16, 1, 0.3, 1), transform .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}
.wa-btn__icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-btn__icon {
  width: 30px;
  height: 30px;
  fill: #ffffff;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
  transition: transform .25s var(--ease);
}
.wa-btn__label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  color: #ffffff;
  transition: opacity .25s var(--ease), max-width .3s var(--ease);
  pointer-events: none;
  padding-right: 0;
  letter-spacing: .2px;
}
.wa-btn:hover {
  width: 205px;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6), 0 0 16px rgba(37, 211, 102, 0.35);
}
.wa-btn:hover .wa-btn__icon {
  transform: scale(1.08);
}
.wa-btn:hover .wa-btn__label {
  opacity: 1;
  max-width: 145px;
  padding-right: 20px;
}
/* pulse ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: .8; }
  70%  { transform: scale(1.3);  opacity: 0;  }
  100% { transform: scale(1.3);  opacity: 0;  }
}

/* ──────────────────────────────────────────────────────
   CHATBOT (SAARTHI) TRIGGER & CALLOUT (bottom-left)
────────────────────────────────────────────────────── */
.cb-teaser {
  position: fixed;
  bottom: 92px;
  left: 24px;
  z-index: 1040;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cb-teaser.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  cursor: pointer;
}
.cb-teaser.dismissed {
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  pointer-events: none;
}
.cb-teaser__inner {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: var(--text);
  font-size: .8rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(74, 0, 224, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(123, 47, 190, 0.2);
  white-space: nowrap;
  animation: teaserFloat 3s ease-in-out infinite;
}
.cb-teaser__inner strong {
  color: var(--purple);
  font-weight: 700;
}
.cb-teaser__spark {
  font-size: .95rem;
  animation: sparkRotate 2.5s ease-in-out infinite;
}
.cb-teaser__arrow {
  position: absolute;
  bottom: -6px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 1px solid rgba(123, 47, 190, 0.2);
  border-bottom: 1px solid rgba(123, 47, 190, 0.2);
  transform: rotate(45deg);
}

@keyframes teaserFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes sparkRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(15deg) scale(1.15); }
}

/* ── Trigger Button ── */
.cb-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1050;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(123, 47, 190, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  border: none;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .25s;
}
.cb-trigger::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(142, 45, 226, 0.4), rgba(74, 0, 224, 0.4));
  z-index: -1;
  animation: cbPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes cbPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}
.cb-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(123, 47, 190, 0.6), 0 0 18px rgba(0, 242, 254, 0.4);
}
.cb-trigger__icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.cb-trigger__icon--chat {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  width: 36px;
  height: 36px;
}
.cb-trigger__icon--chat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.cb-trigger__icon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
  color: #fff;
}
.cb-trigger.open .cb-trigger__icon--chat  {
  opacity: 0;
  transform: rotate(90deg) scale(0.8);
}
.cb-trigger.open .cb-trigger__icon--close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Notification badge */
.cb-trigger__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  background: linear-gradient(135deg, #FF416C, #FF4B2B);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(255, 65, 108, 0.5);
  animation: badgeBounce 1.5s ease-in-out infinite;
  pointer-events: none;
}
.cb-trigger__badge-dot {
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
}
.cb-trigger.open .cb-trigger__badge { display: none; }

@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

/* ──────────────────────────────────────────────────────
   CHATBOT WINDOW (SAARTHI)
────────────────────────────────────────────────────── */
.cb-window {
  position: fixed;
  bottom: 84px;
  top: 110px;
  left: 24px;
  z-index: 1100;
  width: 355px;
  height: auto;
  max-height: none;
  background: #ffffff;
  border: 1px solid rgba(123, 47, 190, 0.16);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(20, 12, 45, 0.22), 0 4px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom left;
  animation: cbOpen .28s var(--ease);
}
@keyframes cbOpen {
  from { opacity: 0; transform: scale(.88) translateY(14px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.cb-window[hidden] { display: none !important; }

/* ── Chat Header ── */
.cb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: linear-gradient(135deg, #181136 0%, #301460 50%, #5d1db0 100%);
  color: #fff;
  flex-shrink: 0;
  border-radius: 22px 22px 0 0;
  position: relative;
  overflow: hidden;
}
.cb-head::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cb-head__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.cb-head__avatar {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
  overflow: hidden;
}
.cb-head__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cb-online-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  background: #10B981;
  border: 2px solid #181136;
  border-radius: 50%;
  box-shadow: 0 0 6px #10B981;
}

.cb-head__info {
  flex: 1;
  min-width: 0;
}
.cb-head__title-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cb-head__info strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: .2px;
}
.cb-head__badge {
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: rgba(0, 242, 254, 0.15);
  color: #00F2FE;
  border: 1px solid rgba(0, 242, 254, 0.35);
  padding: 1px 7px;
  border-radius: 8px;
}
.cb-head__info span {
  font-size: .7rem;
  color: rgba(255, 255, 255, 0.78);
  display: block;
  margin-top: 1px;
}

.cb-head__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cb-btn-icon,
.cb-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.cb-btn-icon:hover,
.cb-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* ── Messages Body ── */
.cb-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  background: #FAF8FF;
  min-height: 0;
}
.cb-body::-webkit-scrollbar { width: 4px; }
.cb-body::-webkit-scrollbar-track { background: transparent; }
.cb-body::-webkit-scrollbar-thumb { background: rgba(123, 47, 190, 0.2); border-radius: 4px; }

/* ── Message Rows ── */
.cb-msg-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}
.cb-msg-row--bot {
  justify-content: flex-start;
}
.cb-msg-row--user {
  justify-content: flex-end;
}

.cb-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px solid rgba(123, 47, 190, 0.3);
  box-shadow: 0 2px 6px rgba(123, 47, 190, 0.15);
  background: #181136;
}
.cb-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Message Bubbles */
.cb-msg {
  max-width: 82%;
  padding: 10px 14px;
  font-size: .83rem;
  line-height: 1.55;
  word-break: break-word;
  animation: bubbleIn .22s var(--ease);
}
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cb-msg--bot {
  background: #ffffff;
  border: 1px solid rgba(123, 47, 190, 0.12);
  color: var(--text);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}
.cb-msg--user {
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 3px 12px rgba(123, 47, 190, 0.25);
}
.cb-msg a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
}
.cb-msg--user a {
  color: #00F2FE;
}

/* ── Typing Indicator ── */
.cb-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid rgba(123, 47, 190, 0.12);
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  animation: bubbleIn .2s var(--ease);
}
.cb-typing span {
  width: 6px;
  height: 6px;
  background: var(--purple);
  border-radius: 50%;
  animation: typingDot 1.2s ease-in-out infinite;
}
.cb-typing span:nth-child(2) { animation-delay: .18s; }
.cb-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0);   opacity: .4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* ── Quick Reply Chips ── */
.cb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 12px;
  border-top: 1px solid rgba(123, 47, 190, 0.1);
  background: #ffffff;
  flex-shrink: 0;
}
.cb-chip {
  background: #F3EEFF;
  border: 1px solid rgba(123, 47, 190, 0.2);
  border-radius: var(--r-full);
  color: var(--purple-dk);
  font-size: .71rem;
  font-weight: 600;
  padding: 5px 11px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all .2s var(--ease);
}
.cb-chip .chip-icon {
  font-size: .8rem;
}
.cb-chip:hover {
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 10px rgba(123, 47, 190, 0.25);
}

/* ── Input Row ── */
.cb-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(123, 47, 190, 0.1);
  background: #ffffff;
  flex-shrink: 0;
  border-radius: 0 0 22px 22px;
}
.cb-input-row input {
  flex: 1;
  min-width: 0;
  padding: 9px 14px;
  border: 1.5px solid rgba(123, 47, 190, 0.18);
  border-radius: var(--r-full);
  background: #FBF9FF;
  color: var(--text);
  font-size: .84rem;
  font-family: var(--font);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.cb-input-row input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3.5px rgba(123, 47, 190, 0.12);
  background: #fff;
  outline: none;
}
.cb-input-row input::placeholder { color: #9A9AA8; }
.cb-input-row button {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(123, 47, 190, 0.35);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.cb-input-row button:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 14px rgba(123, 47, 190, 0.5);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE — Floating Widgets
════════════════════════════════════════════════════════ */

/* Tablet  ≤ 768px */
@media (max-width: 768px) {
  .wa-btn     { bottom: 86px; right: 16px; width: 56px; height: 56px; min-width: 56px; }
  .wa-btn__icon-box { width: 56px; height: 56px; }
  .cb-trigger { bottom: 20px; left: 16px; width: 56px; height: 56px; }
  .cb-teaser  { bottom: 84px; left: 16px; }
  .cb-window  {
    top: 115px;
    bottom: 84px;
    left: 16px;
    width: calc(100vw - 32px);
    max-width: 360px;
  }
}

/* Mobile  ≤ 480px */
@media (max-width: 480px) {
  .wa-btn     { bottom: 80px; right: 12px; width: 52px; height: 52px; min-width: 52px; }
  .wa-btn__icon-box { width: 52px; height: 52px; }
  .wa-btn__icon { width: 26px; height: 26px; }
  .cb-trigger { bottom: 16px; left: 12px; width: 52px; height: 52px; }
  .cb-trigger__icon--chat { width: 32px; height: 32px; }
  .cb-teaser  { bottom: 74px; left: 12px; }
  .cb-teaser__inner { font-size: .75rem; padding: 6px 12px; }
  .cb-window  {
    top: 105px;
    bottom: 74px;
    left: 8px;
    right: 8px;
    width: auto;
    max-width: none;
    border-radius: 18px;
  }
  .cb-head         { border-radius: 18px 18px 0 0; padding: 11px 13px; }
  .cb-input-row    { border-radius: 0 0 18px 18px; }
  .cb-chips        { gap: 5px; padding: 7px 10px; }
  .cb-chip         { font-size: .68rem; padding: 4px 10px; }
}

/* Tiny phones  ≤ 360px */
@media (max-width: 360px) {
  .cb-window {
    top: 100px;
    bottom: 70px;
    left: 4px;
    right: 4px;
  }
}
