/* ==========================================================================
   SparrowiMailer · brand-v10.css (rev v11)
   Dark-purple gradient + white + gold brand
   Layered AFTER global.css + site.css.
   ========================================================================== */

:root {
  --brand-purple-50:  #faf5ff;
  --brand-purple-100: #f3e8ff;
  --brand-purple-200: #e9d5ff;
  --brand-purple-300: #d8b4fe;
  --brand-purple-500: #a855f7;
  --brand-purple-600: #9333ea;
  --brand-purple-700: #7e22ce;
  --brand-purple-800: #6b21a8;
  --brand-purple-900: #581c87;
  --brand-purple-950: #3b0764;

  --brand-grad:       linear-gradient(135deg, #4c1d95 0%, #6d28d9 35%, #7c3aed 65%, #a855f7 100%);
  --brand-grad-deep:  linear-gradient(160deg, #1a0533 0%, #2e1065 40%, #4c1d95 75%, #6d28d9 100%);
  --brand-grad-nav:   linear-gradient(135deg, #4c1d95 0%, #5b21b6 50%, #6d28d9 100%);

  --brand-gold:       #facc15;
  --brand-gold-soft:  #fde68a;
  --brand-gold-deep:  #f59e0b;

  --brand-glow:       0 18px 60px -12px rgba(124, 58, 237, .55);
  --brand-glow-gold:  0 18px 50px -10px rgba(250, 204, 21, .45);
}

/* ==========================================================================
   HEADER · vibrant brand purple gradient (not muted)
   ========================================================================== */
.navbar-sparrow {
  background: var(--brand-grad-nav) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(250, 204, 21, .18);
  box-shadow: 0 4px 24px -8px rgba(76, 29, 149, .35);
  position: relative;
}
.navbar-sparrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 200px at 50% 0%, rgba(250, 204, 21, .12), transparent 60%),
    radial-gradient(600px 100px at 100% 100%, rgba(168, 85, 247, .25), transparent 60%);
  pointer-events: none;
}
.navbar-sparrow > .container { position: relative; z-index: 1; }

.navbar-sparrow .brand-mark { color: #fff !important; font-size: 19px !important; }
.navbar-sparrow .brand-mark__bird {
  background: linear-gradient(140deg, #facc15 0%, #f59e0b 100%);
  color: #1a0533;
  box-shadow: 0 6px 18px -4px rgba(250, 204, 21, .55), 0 0 0 1px rgba(250, 204, 21, .3) inset;
  width: 32px; height: 32px;
}
.navbar-sparrow .brand-mark__bird svg { width: 16px; height: 16px; }

.navbar-sparrow .nav-links a {
  color: rgba(255, 255, 255, .85);
  border-bottom: none;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.navbar-sparrow .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-bottom: none;
  transform: translateY(-1px);
}
.navbar-sparrow .nav-links a.active {
  color: #1a0533;
  background: linear-gradient(135deg, #facc15 0%, #fde047 100%);
  border-bottom: none;
  font-weight: 700;
  box-shadow: 0 6px 18px -6px rgba(250, 204, 21, .7);
}

.navbar-sparrow .btn-pill--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .05);
}
.navbar-sparrow .btn-pill--ghost:hover {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .5);
  color: #fff !important;
}
.navbar-sparrow .btn-pill--primary {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #1a0533 !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 8px 22px -6px rgba(250, 204, 21, .55);
}
.navbar-sparrow .btn-pill--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -6px rgba(250, 204, 21, .7);
  color: #1a0533 !important;
}
.navbar-sparrow .nav-toggle {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
  background: rgba(255, 255, 255, .1);
}
.navbar-sparrow .nav-toggle__icon span,
.navbar-sparrow .nav-toggle__icon span::before,
.navbar-sparrow .nav-toggle__icon span::after {
  background: #fff;
}

/* ==========================================================================
   HEROES — dark gradient on ALL public pages
   ========================================================================== */
.page-hero,
.hero-section,
section.post-hero,
.pricing-hero,
.support-hero,
.faq-hero,
.about-hero {
  background: var(--brand-grad-deep) !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 9vw, 120px);
  border-bottom: 1px solid rgba(250, 204, 21, .08);
}
.page-hero::before,
.hero-section::before,
section.post-hero::before,
.pricing-hero::before,
.support-hero::before,
.faq-hero::before,
.about-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(250, 204, 21, .14), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(168, 85, 247, .35), transparent 60%),
    linear-gradient(180deg, transparent 0%, transparent 80%, rgba(0,0,0,.15) 100%);
  pointer-events: none;
}
/* Subtle grid texture overlay */
.page-hero::after,
.hero-section::after,
section.post-hero::after,
.pricing-hero::after,
.support-hero::after,
.faq-hero::after,
.about-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.page-hero > *,
.hero-section > *,
section.post-hero > *,
.pricing-hero > *,
.support-hero > *,
.faq-hero > *,
.about-hero > * {
  position: relative; z-index: 1;
}

.page-hero h1, .page-hero h2,
.hero-section h1, .hero-section h2,
section.post-hero h1, section.post-hero h2,
.pricing-hero h1, .pricing-hero h2,
.support-hero h1, .support-hero h2,
.faq-hero h1, .faq-hero h2,
.about-hero h1, .about-hero h2 {
  color: #fff !important;
}
.page-hero p,
.page-hero .page-hero__sub,
.hero-section p,
section.post-hero p,
.pricing-hero p,
.support-hero p,
.faq-hero p,
.about-hero p {
  color: rgba(255, 255, 255, .85) !important;
}
.page-hero .gold, .page-hero .gold-accent,
.pricing-hero .gold, .pricing-hero .gold-accent,
.faq-hero .gold, .faq-hero .gold-accent,
section.post-hero .gold, section.post-hero .gold-accent {
  background: linear-gradient(110deg, #facc15 0%, #fde047 50%, #facc15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-style: italic;
}

/* Hero eyebrow */
.page-hero .eyebrow,
.hero-section .eyebrow,
.pricing-hero .eyebrow,
.support-hero .eyebrow,
.faq-hero .eyebrow,
.about-hero .eyebrow,
section.post-hero .eyebrow {
  color: var(--brand-gold) !important;
  background: rgba(250, 204, 21, .12) !important;
  border: 1px solid rgba(250, 204, 21, .35) !important;
  backdrop-filter: blur(8px);
}
.page-hero .eyebrow .dot,
.pricing-hero .eyebrow .dot,
.faq-hero .eyebrow .dot,
section.post-hero .eyebrow .dot { background: var(--brand-gold); }

/* Hero CTA buttons */
.page-hero .btn-pill--primary,
.hero-section .btn-pill--primary,
.pricing-hero .btn-pill--primary,
.cta-band .btn-pill--gold,
.page-hero .btn-pill--gold,
.pricing-hero .btn-pill--gold {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #1a0533 !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(250, 204, 21, .5);
}
.page-hero .btn-pill--primary:hover,
.hero-section .btn-pill--primary:hover,
.pricing-hero .btn-pill--primary:hover,
.cta-band .btn-pill--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -8px rgba(250, 204, 21, .65);
  color: #1a0533 !important;
}
.page-hero .btn-pill--ghost,
.hero-section .btn-pill--ghost,
.pricing-hero .btn-pill--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
}
.page-hero .btn-pill--ghost:hover,
.hero-section .btn-pill--ghost:hover,
.pricing-hero .btn-pill--ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .6);
  color: #fff !important;
}

/* Hero media polish */
.hero-bold__media {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5);
}

/* ==========================================================================
   HOME HERO — 13" LAPTOP & DESKTOP: keep stacked center but tighter
   Most pages have NO right-side image, so center makes sense.
   index.php uses single-column with image BELOW — we'll keep that and
   just give it room.
   ========================================================================== */
@media (min-width: 1025px) and (max-width: 1366px) {
  .page-hero,
  .hero-section,
  section.post-hero {
    padding-block: 70px 50px !important;
  }
  .page-hero .container,
  .hero-section .container {
    max-width: 1200px;
    padding-inline: 40px;
  }
  .page-hero h1,
  .hero-section h1,
  .page-hero .page-hero__title,
  .page-hero .hero-bold__title {
    font-size: 50px !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
  }
  .page-hero__sub {
    font-size: 17px !important;
    max-width: 56ch;
  }
  .hero-bold__media {
    margin-top: 36px;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 21/9;
  }
}

/* ==========================================================================
   HOME HERO — TWO-COLUMN LEFT/RIGHT on desktop (13"+ laptops)
   If markup has .hero-grid or .hero-flex, layout side-by-side.
   ========================================================================== */
@media (min-width: 1025px) {
  /* Two-column layout when .hero-section has visual on right */
  .hero-section--split {
    text-align: left;
  }
  .hero-section--split .container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
  }
  .hero-section--split .hero-section__text { text-align: left; }
  .hero-section--split h1 { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
  .hero-section--split .page-hero__sub,
  .hero-section--split .hero-section__sub { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
  .hero-section--split .hero-bold__cta { justify-content: flex-start !important; }
}

/* ==========================================================================
   PRICING PAGE  —  premium card design
   ========================================================================== */
.page-hero.pricing-hero,
section.page-hero[data-page="pricing"] { padding-block: clamp(64px, 9vw, 120px) clamp(80px, 10vw, 140px); }

/* Billing toggle on dark hero */
.page-hero .price-toggle,
.pricing-hero .price-toggle {
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 5px;
  backdrop-filter: blur(8px);
}
.page-hero .price-toggle__btn,
.pricing-hero .price-toggle__btn {
  color: rgba(255, 255, 255, .82) !important;
  padding: 10px 22px;
  font-weight: 600;
}
.page-hero .price-toggle__btn.is-active,
.pricing-hero .price-toggle__btn.is-active {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%) !important;
  color: #1a0533 !important;
  box-shadow: 0 6px 18px -6px rgba(250, 204, 21, .6);
}

/* Pricing section that holds cards — pull cards UP so they overlap hero */
.pricing-cards-section {
  position: relative;
  margin-top: -80px;
  z-index: 5;
}
@media (max-width: 768px) {
  .pricing-cards-section { margin-top: -40px; }
}

/* Pricing grid */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: stretch;
}
@media (min-width: 769px)  { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .price-grid { gap: 32px; } }

/* Pricing card — premium look */
.price-card {
  background: #fff;
  border: 1px solid #ece9f3;
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 24px 60px -28px rgba(15, 11, 30, .18);
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              box-shadow .35s cubic-bezier(.2,.7,.2,1),
              border-color .35s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 36px 80px -20px rgba(124, 58, 237, .25);
  border-color: rgba(124, 58, 237, .35);
}

/* Popular card — gold halo, raised, dark interior */
.price-card--popular,
.price-card.is-featured {
  background: linear-gradient(160deg, #1a0533 0%, #2e1065 45%, #4c1d95 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow:
    0 0 0 2px var(--brand-gold),
    0 30px 80px -16px rgba(124, 58, 237, .55) !important;
  transform: translateY(-10px);
  z-index: 2;
}
.price-card--popular::before,
.price-card.is-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(400px 200px at 80% 0%, rgba(250, 204, 21, .18), transparent 60%);
  pointer-events: none;
}
.price-card--popular > *,
.price-card.is-featured > * { position: relative; z-index: 1; }
.price-card--popular .price-card__name,
.price-card.is-featured .price-card__name { color: var(--brand-gold) !important; }
.price-card--popular .price-card__price,
.price-card.is-featured .price-card__price,
.price-card--popular .price-card__price small,
.price-card.is-featured .price-card__price small {
  color: #fff !important;
}
.price-card--popular .price-card__features li,
.price-card.is-featured .price-card__features li {
  color: rgba(255, 255, 255, .92) !important;
}
.price-card--popular .price-card__features li::before,
.price-card.is-featured .price-card__features li::before {
  background-color: rgba(250, 204, 21, .15) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%23facc15' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: center;
}
.price-card--popular p,
.price-card.is-featured p { color: rgba(255, 255, 255, .75) !important; }
.price-card--popular hr,
.price-card.is-featured hr { border-color: rgba(255, 255, 255, .12) !important; }
.price-card--popular .btn-pill--primary,
.price-card.is-featured .btn-pill--primary {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%) !important;
  color: #1a0533 !important;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 10px 24px -8px rgba(250, 204, 21, .55);
}

/* Popular ribbon — gold pill at top center */
.price-card__pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%) !important;
  color: #1a0533 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 22px -6px rgba(250, 204, 21, .55);
  z-index: 3;
}

.price-card__name {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-purple-700);
  margin-bottom: 12px;
  font-weight: 700;
}
.price-card__price {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-card__price small {
  font-weight: 500;
  font-size: 15px;
  color: var(--c-text-muted);
  margin-left: 4px;
}
.price-card__features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.price-card__features li {
  font-size: 14.5px;
  padding-left: 30px;
  position: relative;
  color: var(--c-text);
  line-height: 1.55;
}
.price-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background-color: rgba(124, 58, 237, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='%237c3aed' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.price-card__cta { margin-top: auto; }
.price-card__cta .btn { width: 100%; }

/* ==========================================================================
   FAQ — UNIFIED ACCORDION (kill duplicate icons!)
   The HTML has <i class="bi bi-plus-lg"> inline. We hide it and use a
   single CSS-driven indicator.
   ========================================================================== */
.faq-item {
  background: #fff;
  border: 1px solid #ece9f3;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.faq-item:hover {
  border-color: rgba(124, 58, 237, .25);
}
.faq-item.is-open {
  border-color: rgba(124, 58, 237, .4);
  box-shadow: 0 14px 40px -16px rgba(124, 58, 237, .28);
}
.faq-item__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--c-ink);
  cursor: pointer;
  font-family: inherit;
}
/* KILL the inline bootstrap +/× icon — we use our own clean indicator */
.faq-item__btn > i,
.faq-item__btn .bi,
.faq-item__btn i.bi-plus-lg,
.faq-item__btn i.bi-dash-lg {
  display: none !important;
}
/* Single clean indicator: animated +/− circle */
.faq-item__btn::after {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(124, 58, 237, .1);
  position: relative;
  transition: background .25s ease, transform .35s ease;
}
.faq-item__btn::before {
  /* Center + / − using two pseudo lines on the indicator */
  display: none;
}
.faq-item__btn span.faq-indicator { display: none; }

/* Plus / minus drawn via box-shadows on a tiny inner element */
.faq-item__btn::after {
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat,
    rgba(124, 58, 237, .1);
  color: var(--brand-purple-700);
  border-radius: 50%;
}
.faq-item.is-open .faq-item__btn::after {
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #1a0533;
  transform: rotate(180deg);
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--c-text-muted);
  line-height: 1.7;
  transition: max-height .35s ease, padding .25s ease;
  font-size: 14.5px;
}
.faq-item.is-open .faq-item__body {
  max-height: 800px;
  padding: 0 24px 22px;
}
.faq-item__body p { margin: 0 0 12px; }
.faq-item__body p:last-child { margin: 0; }

/* ==========================================================================
   FOOTER · unified brand dark with gold accents
   ========================================================================== */
.site-footer {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(124, 58, 237, .35), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(250, 204, 21, .08), transparent 60%),
    #0b0420;
  color: rgba(255, 255, 255, .72);
  border-top: 2px solid rgba(250, 204, 21, .2);
}
.site-footer a {
  color: rgba(255, 255, 255, .72);
  transition: color .2s ease;
}
.site-footer a:hover { color: var(--brand-gold); }
.site-footer .brand-mark {
  color: #fff !important;
  font-size: 20px !important;
}
.site-footer .brand-mark__bird {
  width: 36px; height: 36px;
  background: linear-gradient(140deg, #facc15 0%, #f59e0b 100%);
  color: #1a0533;
  border-radius: 10px;
}
.site-footer .brand-mark__bird svg { width: 18px; height: 18px; }
.site-footer h6 {
  color: var(--brand-gold);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .85);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.footer-social a:hover {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  color: #1a0533;
  transform: translateY(-2px);
}
.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .55);
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background: var(--brand-grad-deep);
  color: #fff;
  padding: clamp(40px, 7vw, 80px);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, .15);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(250, 204, 21, .15), transparent 60%),
    radial-gradient(500px 250px at 0% 100%, rgba(168, 85, 247, .35), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff !important; font-size: clamp(28px, 4vw, 40px); }
.cta-band p { color: rgba(255, 255, 255, .82) !important; }

/* ==========================================================================
   LIVE CHAT WIDGET
   ========================================================================== */
.sw-chat-launcher {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 950;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--brand-grad);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 18px 40px -10px rgba(76, 29, 149, .55);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sw-chat-launcher:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 50px -10px rgba(76, 29, 149, .7);
}
.sw-chat-launcher::after {
  content: "";
  position: absolute;
  top: 6px; right: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand-gold);
  border: 2px solid #0b0420;
}
body.has-bottom-tabs .sw-chat-launcher { bottom: calc(var(--bottom-tab-h) + 18px); }

.sw-chat-panel {
  position: fixed;
  right: 22px; bottom: 96px;
  z-index: 951;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 140px));
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 80px -10px rgba(15, 11, 30, .35);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, .15);
}
.sw-chat-panel.is-open { display: flex; animation: swChatIn .25s ease; }
@keyframes swChatIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
body.has-bottom-tabs .sw-chat-panel { bottom: calc(var(--bottom-tab-h) + 90px); }

.sw-chat-head {
  background: var(--brand-grad-deep);
  color: #fff;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.sw-chat-head__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(140deg, #facc15, #f59e0b);
  color: #1a0533;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.sw-chat-head__title { font-weight: 700; font-size: 15px; color: #fff; }
.sw-chat-head__sub { font-size: 11.5px; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 6px; }
.sw-chat-head__sub::before {
  content: ""; width: 8px; height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,.6);
  animation: pulse 1.6s infinite;
}
.sw-chat-head__close {
  margin-left: auto;
  background: rgba(255,255,255,.12);
  border: none; color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.sw-chat-head__close:hover { background: rgba(255,255,255,.22); }
.sw-chat-body {
  flex: 1; overflow-y: auto;
  padding: 18px;
  background: linear-gradient(180deg, #faf9fb 0%, #fff 100%);
  display: flex; flex-direction: column; gap: 10px;
}
.sw-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  animation: swMsgIn .25s ease;
}
@keyframes swMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sw-msg--bot {
  background: #fff;
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.sw-msg--user {
  background: var(--brand-grad-deep);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.sw-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.sw-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-purple);
  animation: swTyping 1s infinite;
}
.sw-typing span:nth-child(2) { animation-delay: .15s; }
.sw-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes swTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: .5; }
  40% { transform: translateY(-4px); opacity: 1; }
}
.sw-chat-foot {
  padding: 12px 14px;
  border-top: 1px solid var(--c-line);
  background: #fff;
}
.sw-chat-foot__row {
  display: flex; gap: 8px;
  align-items: stretch;
}
.sw-chat-foot input,
.sw-chat-foot select,
.sw-chat-foot textarea {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  font-family: inherit;
  color: var(--c-ink);
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sw-chat-foot input:focus,
.sw-chat-foot select:focus,
.sw-chat-foot textarea:focus {
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.sw-chat-foot textarea { resize: none; min-height: 70px; }
.sw-chat-foot__send {
  background: var(--brand-grad-deep);
  color: #fff;
  border: none;
  width: 44px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: opacity .2s ease, transform .2s ease;
}
.sw-chat-foot__send:hover { transform: translateY(-1px); }
.sw-chat-foot__send:disabled { opacity: .45; cursor: not-allowed; }
.sw-chat-quick {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 8px;
}
.sw-chat-quick button {
  background: rgba(124, 58, 237, .08);
  color: var(--c-purple-700);
  border: 1px solid rgba(124, 58, 237, .22);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.sw-chat-quick button:hover {
  background: var(--c-purple);
  color: #fff;
  border-color: var(--c-purple);
  transform: translateY(-1px);
}
.sw-chat-success {
  text-align: center; padding: 18px;
}
.sw-chat-success__icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  color: #1a0533;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 14px;
  box-shadow: 0 12px 30px -8px rgba(250, 204, 21, .5);
}

/* ==========================================================================
   PRICING FAQ — make sure eyebrow doesn't get clipped by the hero edge
   ========================================================================== */
section.section + section.section { padding-top: clamp(32px, 5vw, 60px); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.txt-gold { color: var(--brand-gold) !important; }
.bg-brand-grad { background: var(--brand-grad-deep) !important; color: #fff; }
.section--brand-dark {
  background: var(--brand-grad-deep);
  color: #fff;
}
.section--brand-dark h1,
.section--brand-dark h2,
.section--brand-dark h3 { color: #fff; }
