/* =============================================
   ARTISANAL STREET - VA SERVICES
   Inspired by: Wing Assistant · GetMagic
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --indigo:        #5b4fcf;
  --indigo-dark:   #3d33a8;
  --indigo-mid:    #7065d9;
  --indigo-light:  #eeedfb;
  --indigo-xlight: #f6f5fe;
  --teal:          #2a9d8f;
  --teal-light:    #e6f5f3;
  --cream:         #faf9f7;
  --slate:         #1a1535;
  --slate-60:      #5c5780;
  --slate-30:      #b0adc8;
  --white:         #ffffff;
  --green:         #22c55e;
  --amber:         #f59e0b;
  --shadow-sm:     0 2px 8px rgba(26,21,53,.07);
  --shadow-md:     0 8px 32px rgba(26,21,53,.12);
  --shadow-lg:     0 20px 60px rgba(26,21,53,.16);
  --shadow-xl:     0 32px 80px rgba(26,21,53,.20);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-xs:     6px;
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Inter', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--white); color: var(--slate); overflow-x: hidden; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--indigo-light); border-radius: 99px; }

/* ── Layout helpers ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section-label {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--indigo); background: var(--indigo-light);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15; color: var(--slate); margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--slate-60); line-height: 1.7;
  max-width: 560px; margin-bottom: 48px;
}

/* ── Buttons ── */
.btn-primary {
  background: var(--indigo); color: var(--white);
  border: none; border-radius: 99px; font-family: var(--font-sans);
  font-weight: 600; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--indigo-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(91,79,207,.35); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--slate);
  border: 1.5px solid #d4d0ea; border-radius: 99px; font-family: var(--font-sans);
  font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }

.btn-white {
  background: var(--white); color: var(--indigo);
  border: none; border-radius: 99px; font-family: var(--font-sans);
  font-weight: 700; cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,255,255,.3); }

.btn-ghost-light {
  background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.35); border-radius: 99px; font-family: var(--font-sans);
  font-weight: 600; cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-ghost-light:hover { border-color: rgba(255,255,255,.8); color: var(--white); background: rgba(255,255,255,.1); }

.btn-lg  { padding: 15px 32px; font-size: 16px; }
.btn-sm  { padding: 9px  20px; font-size: 14px; }
.link-login { font-size: 14px; font-weight: 500; color: var(--slate-60); text-decoration: none; transition: color .2s; }
.link-login:hover { color: var(--indigo); }


/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(91,79,207,.10);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  height: 68px; display: flex; align-items: center; gap: 40px;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-mark { color: var(--indigo); font-size: 16px; }
.logo-text { font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--slate); }

.main-nav { display: flex; gap: 32px; flex: 1; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--slate-60); text-decoration: none; transition: color .2s; }
.main-nav a:hover { color: var(--indigo); }

.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }


/* ═══════════════════════════════════════════════
   PART 1 - HERO
   ═══════════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, var(--indigo-xlight) 0%, var(--white) 60%);
  padding-top: 80px;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding-bottom: 72px;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid #d4d0ea;
  border-radius: 99px; padding: 7px 16px;
  font-size: 13px; font-weight: 500; color: var(--slate-60);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: block; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{ opacity:1; } 50%{ opacity:.4; } }

/* Heading */
.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.1; color: var(--slate); margin-bottom: 22px;
}
.heading-highlight {
  color: var(--indigo);
  position: relative; display: inline-block;
}
.heading-highlight::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-mid));
  border-radius: 99px;
}

.hero-sub { font-size: 17px; color: var(--slate-60); line-height: 1.7; max-width: 460px; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-micro { font-size: 12px; color: var(--slate-30); }

/* Floating task cards */
.hero-visual { position: relative; height: 440px; }
.hero-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px dashed #c8c4e8; opacity: .5;
}

.task-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius-sm); padding: 14px 16px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: floatCard 7s ease-in-out infinite;
  min-width: 220px;
}
.tc1 { top:  2%; left:  5%; animation-delay: 0s;    }
.tc2 { top: 23%; left: 42%; animation-delay: 1.4s;  }
.tc3 { top: 45%; left:  3%; animation-delay: 2.8s;  }
.tc4 { top: 65%; left: 38%; animation-delay: 0.7s;  }
.tc5 { top: 84%; left:  8%; animation-delay: 2.1s;  }

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

.tc-icon { font-size: 20px; flex-shrink: 0; }
.tc-body { flex: 1; }
.tc-body strong { display: block; font-size: 13px; font-weight: 600; color: var(--slate); }
.tc-body span   { font-size: 11px; color: var(--slate-60); }
.tc-status {
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
.tc-status.done { background: #dcfce7; color: #166534; }
.tc-status.live { background: #fef3c7; color: #92400e; }

/* Stats bar */
.stats-bar {
  max-width: 1100px; margin: 0 auto 0;
  padding: 28px 40px;
  display: flex; align-items: center; justify-content: center; gap: 40px;
  border-top: 1px solid #eeedf6;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-item strong { font-size: 26px; font-weight: 700; color: var(--indigo); }
.stat-item span   { font-size: 13px; color: var(--slate-60); font-weight: 500; }
.stat-sep { width: 1px; height: 36px; background: #d4d0ea; }

/* Trust logos */
.trust-logos {
  background: var(--indigo-xlight);
  padding: 24px 40px;
  text-align: center;
}
.trust-label { font-size: 12px; color: var(--slate-30); font-weight: 500; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.logos-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.logo-badge {
  background: var(--white); border: 1px solid #d4d0ea;
  border-radius: var(--radius-xs); padding: 8px 20px;
  font-size: 14px; font-weight: 600; color: var(--slate-60);
}


/* ═══════════════════════════════════════════════
   PART 2 - SERVICES + HOW IT WORKS
   ═══════════════════════════════════════════════ */

/* 2a. About block */
.about-block {
  padding: 88px 0 60px;
  background: var(--white);
  text-align: center;
}
.about-block .section-sub {
  max-width: 720px;
  margin: 0 auto;
}
.about-wide {
  font-size: 17px;
  color: var(--slate-60);
  line-height: 1.8;
}

/* 2b. Anticipate block */
.anticipate-block {
  padding: 80px 0;
  background: var(--indigo-xlight);
  text-align: center;
}
.anticipate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.anticipate-card {
  background: var(--white);
  border: 1px solid #eeedf6;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.anticipate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.anticipate-icon { font-size: 32px; margin-bottom: 16px; }
.anticipate-card h3 { font-size: 16px; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
.anticipate-card p  { font-size: 13px; color: var(--slate-60); line-height: 1.65; }

/* 2e. Who We Work With */
.who-block {
  padding: 88px 0;
  background: var(--cream);
  text-align: center;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.who-card {
  background: var(--white);
  border: 1px solid #eeedf6;
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.who-icon { font-size: 32px; margin-bottom: 16px; }
.who-card h3 { font-size: 16px; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
.who-card p  { font-size: 13px; color: var(--slate-60); line-height: 1.65; }

/* CTA outcomes */
.cta-outcomes {
  display: flex; gap: 24px; margin-bottom: 28px;
}
.cta-outcome {
  display: flex; align-items: center; gap: 8px;
}
.outcome-icon { font-size: 20px; }
.cta-outcome strong { font-size: 14px; color: rgba(255,255,255,.9); font-weight: 600; }

/* 2c. Pain block */
.pain-block {
  background: var(--slate);
  padding: 88px 0;
  text-align: center;
}
.pain-block .section-label { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.pain-block .section-heading { color: var(--white); }

.pain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 36px;
}
.pain-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 28px 22px;
  text-align: left; transition: background .2s;
}
.pain-card:hover { background: rgba(255,255,255,.10); }
.pain-emoji { font-size: 28px; display: block; margin-bottom: 14px; }
.pain-card strong { display: block; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.pain-card p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }

.pain-cta-text { font-size: 15px; color: rgba(255,255,255,.65); }
.pain-cta-text a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 1px; transition: border-color .2s; }
.pain-cta-text a:hover { border-color: var(--white); }

/* 2b. Services block */
.services-block { padding: 88px 0; background: var(--cream); }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  background: var(--white); border: 1px solid #eeedf6;
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c8c4e8; }
.service-card.sc-featured { border-color: var(--indigo); background: var(--indigo-xlight); }
.sc-icon { font-size: 28px; margin-bottom: 14px; }
.service-card h3 { font-size: 16px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.service-card p  { font-size: 13px; color: var(--slate-60); line-height: 1.6; margin-bottom: 14px; }
.service-card ul { padding-left: 16px; }
.service-card li { font-size: 12px; color: var(--slate-60); line-height: 1.8; }

/* 2c. How It Works */
.hiw-block { padding: 88px 0; background: var(--white); text-align: center; }

.hiw-steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 20px; margin-bottom: 48px;
}
.hiw-step {
  flex: 1; max-width: 280px;
  background: var(--cream); border: 1px solid #eeedf6;
  border-radius: var(--radius); padding: 32px 24px; position: relative;
}
.hiw-num {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--indigo); margin-bottom: 16px;
}
.hiw-icon { font-size: 32px; margin-bottom: 14px; }
.hiw-step h3 { font-size: 16px; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
.hiw-step p  { font-size: 13px; color: var(--slate-60); line-height: 1.65; }

.hiw-arrow {
  font-size: 24px; color: var(--slate-30);
  margin-top: 80px; flex-shrink: 0;
}

.hiw-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hiw-micro { font-size: 12px; color: var(--slate-30); }

/* 2d. Differentiators */
.diff-block { padding: 88px 0; background: var(--indigo-xlight); }

.diff-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.diff-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.diff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.diff-icon { font-size: 30px; margin-bottom: 14px; }
.diff-card h3 { font-size: 15px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.diff-card p  { font-size: 13px; color: var(--slate-60); line-height: 1.6; }


/* ═══════════════════════════════════════════════
   PART 3 - SOCIAL PROOF + CTA
   ═══════════════════════════════════════════════ */

/* 3a. Testimonials */
.testimonials-block { padding: 88px 0; background: var(--white); }

.testimonials-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.testimonial-card {
  background: var(--cream); border: 1px solid #eeedf6;
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.testimonial-card.tc-featured {
  grid-row: 1 / 3;
  background: var(--indigo); border-color: var(--indigo);
}
.testimonial-card.tc-featured blockquote { color: rgba(255,255,255,.92); }
.testimonial-card.tc-featured .tc-author strong { color: var(--white); }
.testimonial-card.tc-featured .tc-author span   { color: rgba(255,255,255,.65); }
.testimonial-card.tc-featured .stars { color: #fbbf24; }

.stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
blockquote { font-size: 15px; line-height: 1.7; color: var(--slate); font-style: italic; flex: 1; }

.tc-author { display: flex; align-items: center; gap: 12px; }
.tc-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--slate); flex-shrink: 0;
}
.tc-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--slate); }
.tc-author span   { font-size: 12px; color: var(--slate-60); }

/* 3b. Final CTA */
.final-cta-block { padding: 80px 0 100px; background: var(--white); }

.cta-card {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-dark) 100%);
  border-radius: 24px; padding: 72px 64px;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 60px;
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -60px; right: 100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
  pointer-events: none;
}

.cta-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.cta-heading { font-family: var(--font-serif); font-size: clamp(28px, 3.5vw, 44px); color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.cta-sub { font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.7; max-width: 480px; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.cta-micro { font-size: 12px; color: rgba(255,255,255,.5); }

.cta-visual { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.cta-bubble {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius-sm); padding: 14px 20px;
  font-size: 14px; font-weight: 500; color: var(--white);
  white-space: nowrap;
  animation: floatCard 6s ease-in-out infinite;
}
.b1 { animation-delay: 0s;   }
.b2 { animation-delay: 2s;   }
.b3 { animation-delay: 4s;   }


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer { background: var(--slate); padding: 60px 40px 0; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 60px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 280px; }

.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col strong { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding: 20px 0; font-size: 12px; color: rgba(255,255,255,.3);
}


/* ═══════════════════════════════════════════════
   CHAT WIDGET (unchanged logic, re-skinned)
   ═══════════════════════════════════════════════ */
.chat-widget {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 9999;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}

.chat-launcher {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(91,79,207,.45);
  color: var(--white); position: relative;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.chat-launcher:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(91,79,207,.55); }
.chat-launcher:active { transform: scale(.96); }

.launcher-icon { display: flex; align-items: center; justify-content: center; transition: opacity .2s, transform .2s; }
.launcher-icon.hidden { opacity: 0; transform: rotate(90deg) scale(.7); position: absolute; }

.notification-badge {
  position: absolute; top: -2px; right: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #e85d5d; color: var(--white);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
  transition: opacity .2s, transform .2s;
}
.notification-badge.hidden { opacity: 0; transform: scale(0); }

.chat-panel {
  width: 380px; background: var(--white);
  border-radius: 20px; box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  overflow: hidden; max-height: 640px;
  transform-origin: bottom right;
  transition: opacity .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1);
}
.chat-panel.hidden { opacity: 0; transform: scale(.92) translateY(12px); pointer-events: none; }

.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-dark) 100%);
  color: var(--white); flex-shrink: 0;
}
.chat-header-left { display: flex; align-items: center; gap: 12px; }
.avatar-wrap { position: relative; }
.avatar { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.5); display: block; }
.online-dot { position: absolute; bottom: 1px; right: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--indigo-dark); }
.header-info { display: flex; flex-direction: column; gap: 2px; }
.bot-name   { font-weight: 700; font-size: 15px; }
.bot-status { font-size: 12px; opacity: .85; display: flex; align-items: center; gap: 5px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.icon-btn { background: rgba(255,255,255,.18); border: none; border-radius: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--white); transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.30); }

.home-screen { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.home-hero { background: linear-gradient(135deg, var(--indigo-light) 0%, #f0effe 100%); padding: 28px 24px 22px; text-align: center; }
.home-avatar img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--white); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.home-hero h2 { font-family: var(--font-serif); font-size: 22px; color: var(--slate); margin-bottom: 8px; }
.home-hero p  { font-size: 14px; color: var(--slate-60); line-height: 1.6; }

.quick-topics { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.topic-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--cream); border: 1.5px solid #eeedf6;
  border-radius: var(--radius-sm); padding: 14px 16px;
  cursor: pointer; text-align: left; width: 100%;
  transition: border-color .2s, background .2s, transform .15s;
}
.topic-card:hover { border-color: var(--indigo); background: var(--white); transform: translateX(3px); }
.topic-icon { font-size: 22px; flex-shrink: 0; }
.topic-card div { flex: 1; }
.topic-card strong { display: block; font-size: 14px; font-weight: 600; color: var(--slate); }
.topic-card small  { font-size: 12px; color: var(--slate-60); }
.chevron { color: var(--slate-30); flex-shrink: 0; }

.chat-screen { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.chat-screen.hidden { display: none; }

.chat-nav { padding: 10px 16px 6px; border-bottom: 1px solid #eeedf6; flex-shrink: 0; }
.back-btn { background: none; border: none; cursor: pointer; color: var(--indigo); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; transition: background .2s; }
.back-btn:hover { background: var(--indigo-light); }

.messages { flex: 1; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { display: flex; gap: 10px; max-width: 100%; animation: msgIn .25s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg.bot  { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar img { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.msg.user .msg-avatar { display: none; }
.msg-bubble { padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.55; max-width: 260px; }
.msg.bot  .msg-bubble { background: var(--cream); border: 1px solid #eeedf6; border-bottom-left-radius: 4px; color: var(--slate); }
.msg.user .msg-bubble { background: linear-gradient(135deg, var(--indigo), var(--indigo-dark)); color: var(--white); border-bottom-right-radius: 4px; }
.msg-bubble .info-card { background: var(--white); border: 1px solid #eeedf6; border-radius: var(--radius-sm); padding: 12px; margin-top: 8px; font-size: 13px; }
.info-card .ic-title { font-weight: 700; color: var(--slate); margin-bottom: 4px; }
.info-card .ic-price { color: var(--indigo); font-weight: 700; font-size: 15px; }
.info-card .ic-sub   { color: var(--slate-60); font-size: 11px; margin-top: 3px; }

.typing-indicator { display: flex; align-items: center; gap: 10px; padding: 4px 16px; }
.typing-indicator.hidden { display: none; }
.typing-avatar img { width: 30px; height: 30px; border-radius: 50%; }
.typing-dots { display: flex; gap: 4px; align-items: center; background: var(--cream); border: 1px solid #eeedf6; border-radius: 16px; border-bottom-left-radius: 4px; padding: 10px 14px; }
.typing-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--slate-30); display: block; animation: bounce .9s infinite; }
.typing-dots span:nth-child(2) { animation-delay: .15s; }
.typing-dots span:nth-child(3) { animation-delay: .3s;  }
@keyframes bounce { 0%,60%,100%{ transform: translateY(0); opacity:.5; } 30%{ transform: translateY(-6px); opacity:1; } }

.quick-replies { padding: 6px 16px 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.qr-btn { background: var(--white); border: 1.5px solid var(--indigo); border-radius: 99px; padding: 7px 14px; font-size: 13px; font-weight: 500; color: var(--indigo); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.qr-btn:hover { background: var(--indigo); color: var(--white); }

.chat-input-area { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid #eeedf6; flex-shrink: 0; }
#chat-input { flex: 1; border: 1.5px solid #eeedf6; border-radius: 99px; padding: 10px 16px; font-size: 14px; font-family: var(--font-sans); outline: none; background: var(--cream); color: var(--slate); transition: border-color .2s; }
#chat-input:focus { border-color: var(--indigo); background: var(--white); }
#chat-input::placeholder { color: #b0adc8; }
.send-btn { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--indigo), var(--indigo-dark)); border: none; cursor: pointer; color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .15s, box-shadow .2s; }
.send-btn:hover { transform: scale(1.08); box-shadow: 0 4px 14px rgba(91,79,207,.4); }

.chat-footer { padding: 10px; text-align: center; font-size: 11px; color: #b0adc8; border-top: 1px solid #eeedf6; flex-shrink: 0; }
.chat-footer a { color: var(--indigo); text-decoration: none; }

/* ═══════════════════════════════════════════════
   LEAD CAPTURE MODAL
   ═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(26, 21, 53, .55);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* modal visibility controlled via inline style.display */

.modal-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  width: 100%; max-width: 460px;
  padding: 40px 36px;
  position: relative;
  animation: slideUp .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none;
  font-size: 28px; line-height: 1; color: var(--slate-30);
  cursor: pointer; transition: color .2s;
}
.modal-close:hover { color: var(--slate); }

.modal-header {
  text-align: center; margin-bottom: 28px;
}
.modal-header .logo-mark {
  font-size: 20px; color: var(--indigo); display: block; margin-bottom: 12px;
}
.modal-header h2 {
  font-family: var(--font-serif);
  font-size: 24px; color: var(--slate); margin-bottom: 8px;
}
.modal-header p {
  font-size: 14px; color: var(--slate-60); line-height: 1.6;
}

.modal-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600; color: var(--slate);
}
.form-group input {
  border: 1.5px solid #d4d0ea;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px; font-family: var(--font-sans);
  color: var(--slate); background: var(--cream);
  outline: none; transition: border-color .2s, background .2s;
}
.form-group input:focus {
  border-color: var(--indigo);
  background: var(--white);
}
.form-group input::placeholder { color: var(--slate-30); }

.modal-submit {
  width: 100%; margin-top: 4px;
  text-align: center;
}

.modal-fine {
  text-align: center;
  font-size: 12px; color: var(--slate-30); margin-top: 4px;
}

/* Success state */
.modal-success {
  text-align: center; padding: 20px 0;
}
.modal-success .success-icon {
  font-size: 48px; margin-bottom: 16px;
}
.modal-success h3 {
  font-family: var(--font-serif);
  font-size: 22px; color: var(--slate); margin-bottom: 10px;
}
.modal-success p {
  font-size: 14px; color: var(--slate-60); line-height: 1.7; max-width: 360px; margin: 0 auto;
}

/* ── Utilities ── */
.hidden { display: none !important; }
@keyframes pulse { 0%,100%{ box-shadow: 0 6px 24px rgba(91,79,207,.45); } 50%{ box-shadow: 0 6px 32px rgba(91,79,207,.75), 0 0 0 10px rgba(91,79,207,.12); } }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .header-inner { padding: 0 20px; }
  .main-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 0 20px 60px; }
  .hero-visual { display: none; }
  .stats-bar { flex-wrap: wrap; gap: 20px; padding: 24px 20px; }
  .trust-logos { padding: 20px; }
  .pain-grid, .diff-grid { grid-template-columns: 1fr 1fr; }
  .anticipate-grid, .who-grid { grid-template-columns: 1fr 1fr; }
  .cta-outcomes { flex-wrap: wrap; gap: 16px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .hiw-steps { flex-direction: column; align-items: center; }
  .hiw-arrow { transform: rotate(90deg); margin: 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card.tc-featured { grid-row: auto; }
  .cta-card { grid-template-columns: 1fr; padding: 48px 32px; }
  .cta-visual { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 20px; }
  .chat-panel { width: calc(100vw - 32px); max-height: 80vh; }
  .chat-widget { bottom: 16px; right: 16px; }
}

@media (max-width: 600px) {
  .pain-grid, .diff-grid, .services-grid, .anticipate-grid, .who-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 32px 24px; }
}
