/* ============================================================
   SparrowiMailer — brand-v12.css
   Total UI overhaul: header, FAQ, footer, dashboard mobile, pricing.
   Loaded LAST in cascade so it wins over site.css/sparrow.css.
   ============================================================ */

:root{
  --c-purple-50:  #f5f3ff;
  --c-purple-100: #ede9fe;
  --c-purple-200: #ddd6fe;
  --c-purple-300: #c4b5fd;
  --c-purple-400: #a78bfa;
  --c-purple-500: #8b5cf6;
  --c-purple-600: #7c3aed;
  --c-purple-700: #6d28d9;
  --c-purple-800: #5b21b6;
  --c-purple-900: #4c1d95;
  --c-purple-950: #2e1065;
  --c-purple-deep: #1a0533;

  --c-gold-300: #fde047;
  --c-gold-400: #facc15;
  --c-gold-500: #eab308;
  --c-gold-600: #ca8a04;

  --c-ink: #0f0a1f;
  --c-ink-2: #1f1937;
  --c-line: #e5e7ef;
  --c-line-soft: #eef0f5;
  --c-text-muted: #6b6680;

  /* Header gradient — multi-stop, NOT flat */
  --grad-nav:
    linear-gradient(135deg, #3b0764 0%, #4c1d95 22%, #6d28d9 55%, #7c3aed 100%);
  --grad-nav-overlay:
    radial-gradient(ellipse 600px 200px at 80% -20%, rgba(250,204,21,.18), transparent 70%),
    radial-gradient(ellipse 500px 250px at 15% 120%, rgba(167,139,250,.25), transparent 70%);

  /* Hero gradient */
  --grad-hero:
    linear-gradient(160deg, #1a0533 0%, #2e1065 30%, #4c1d95 60%, #6d28d9 100%);
  --grad-hero-mask:
    radial-gradient(circle 600px at 85% 15%, rgba(250,204,21,.12), transparent 60%),
    radial-gradient(circle 800px at 10% 90%, rgba(139,92,246,.20), transparent 70%);

  --grad-gold: linear-gradient(135deg, #fde047 0%, #facc15 50%, #f59e0b 100%);
  --grad-card-pop: linear-gradient(160deg, #2e1065 0%, #4c1d95 50%, #6d28d9 100%);
  --grad-card-soft: linear-gradient(160deg, #ffffff 0%, #faf8ff 100%);

  --shadow-sm: 0 1px 2px rgba(15,10,31,.04), 0 1px 3px rgba(15,10,31,.06);
  --shadow-md: 0 4px 12px rgba(15,10,31,.06), 0 8px 24px rgba(76,29,149,.08);
  --shadow-lg: 0 12px 32px rgba(15,10,31,.08), 0 24px 60px rgba(76,29,149,.12);
  --shadow-purple: 0 20px 50px -12px rgba(124,58,237,.45);
  --shadow-gold: 0 20px 50px -12px rgba(250,204,21,.45);
}

/* ============================================================
   1. HEADER — proper gradient + refined active state
   ============================================================ */
.navbar-sparrow{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--grad-nav);
  background-attachment: fixed;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 24px rgba(46,16,101,.35);
  isolation: isolate;
}
.navbar-sparrow::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-nav-overlay);
  pointer-events: none;
  z-index: -1;
}
.navbar-sparrow::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 100%);
  opacity: .35;
  pointer-events: none;
  z-index: -1;
}
.navbar-sparrow > .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 64px;
}

/* Brand mark */
.navbar-sparrow .brand-mark{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Inter Tight', Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.navbar-sparrow .brand-mark__bird{
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--grad-gold);
  color: #1a0533;
  box-shadow: 0 4px 14px rgba(250,204,21,.4), inset 0 1px 0 rgba(255,255,255,.6);
}

/* Desktop nav links */
.nav-links--desktop{
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.06);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-links--desktop a{
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.nav-links--desktop a:hover{
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav-links--desktop a.active{
  color: #1a0533;
  background: var(--grad-gold);
  box-shadow: 0 4px 14px rgba(250,204,21,.4), inset 0 1px 0 rgba(255,255,255,.6);
  font-weight: 700;
}

/* Nav actions buttons */
.nav-actions{ display: flex; align-items: center; gap: 8px; }
.navbar-sparrow .btn-pill--ghost{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.navbar-sparrow .btn-pill--ghost:hover{
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.25);
}
.navbar-sparrow .btn-pill--primary{
  background: var(--grad-gold);
  color: #1a0533;
  border: 0;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(250,204,21,.4);
}

/* Mobile hamburger */
.nav-toggle{
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  cursor: pointer;
}
.nav-toggle__icon, .nav-toggle__icon span{
  display: block;
  background: #fff;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  position: relative;
}
.nav-toggle__icon{ background: transparent; }
.nav-toggle__icon::before, .nav-toggle__icon::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.nav-toggle__icon::before{ top: -6px; }
.nav-toggle__icon::after{ top: 6px; }

@media (max-width: 1024px){
  .nav-links--desktop{ display: none; }
  .nav-actions .btn-pill{ display: none; }
  .nav-toggle{ display: inline-flex; }
}

/* ============================================================
   2. HEROES — gradient + grid texture
   ============================================================ */
.page-hero,
.hero-bold,
.hero-section{
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 120px) 0 clamp(48px, 7vw, 100px);
}
.page-hero::before,
.hero-bold::before,
.hero-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero-mask);
  pointer-events: none;
  z-index: -1;
}
.page-hero::after,
.hero-bold::after,
.hero-section::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 90%);
  opacity: .4;
  pointer-events: none;
  z-index: -1;
}
.page-hero h1,
.hero-bold h1,
.hero-section h1{
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.1);
}
.page-hero .gold,
.hero-bold .gold,
.hero-section .gold{
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.page-hero p,
.hero-bold p,
.hero-section p{
  color: rgba(255,255,255,.78);
}

/* Eyebrow chip */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(250,204,21,.12);
  border: 1px solid rgba(250,204,21,.3);
  color: var(--c-gold-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow .dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--c-gold-400);
  box-shadow: 0 0 12px rgba(250,204,21,.6);
}

/* On light sections */
.section .eyebrow{
  background: rgba(124,58,237,.08);
  border-color: rgba(124,58,237,.18);
  color: var(--c-purple-700);
}
.section .eyebrow .dot{
  background: var(--c-purple-600);
  box-shadow: 0 0 12px rgba(124,58,237,.4);
}

/* CTA buttons inside heroes */
.page-hero .btn-pill--primary,
.hero-bold .btn-pill--primary,
.hero-section .btn-pill--primary{
  background: var(--grad-gold);
  color: #1a0533;
  font-weight: 700;
  border: 0;
  box-shadow: 0 8px 28px rgba(250,204,21,.4);
}
.page-hero .btn-pill--ghost,
.hero-bold .btn-pill--ghost,
.hero-section .btn-pill--ghost{
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  backdrop-filter: blur(8px);
}

/* Hero on 13" laptops */
@media (min-width: 1025px) and (max-width: 1366px){
  .page-hero, .hero-bold, .hero-section{
    padding: 64px 0 56px;
  }
  .page-hero h1, .hero-bold h1, .hero-section h1{
    font-size: clamp(40px, 4.2vw, 56px);
  }
}

/* ============================================================
   3. FAQ — fix open/close, single indicator
   ============================================================ */
.faq-section{
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
}
.faq-group{ margin-bottom: 28px; }
.faq-group h3,
.faq-group h2{
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-group h3::before,
.faq-group h2::before{
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--grad-gold);
}

/* Item shell */
.faq-item{
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all .25s ease;
  box-shadow: 0 1px 2px rgba(15,10,31,.03);
}
.faq-item:hover{
  border-color: var(--c-purple-300);
  box-shadow: 0 4px 16px rgba(124,58,237,.08);
}
.faq-item.is-open{
  border-color: var(--c-purple-400);
  box-shadow: 0 8px 28px rgba(124,58,237,.15);
}

/* Button row */
.faq-item__btn{
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--c-ink);
  cursor: pointer;
  line-height: 1.45;
}
.faq-item__btn:focus-visible{
  outline: 2px solid var(--c-purple-400);
  outline-offset: -2px;
}

/* KILL every inline icon — only our CSS indicator shows */
.faq-item__btn > i,
.faq-item__btn .bi,
.faq-item__btn .faq-indicator,
.faq-item__btn svg{
  display: none !important;
}

/* Single circular indicator at the end */
.faq-item__btn::after{
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 14px, var(--c-purple-700) 14px 18px, transparent 18px) center/100% 2px no-repeat,
    linear-gradient(0deg,  transparent 14px, var(--c-purple-700) 14px 18px, transparent 18px) center/2px 100% no-repeat,
    var(--c-purple-100);
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .25s ease;
}
.faq-item.is-open .faq-item__btn::after{
  transform: rotate(135deg);
  background:
    linear-gradient(90deg, transparent 14px, #1a0533 14px 18px, transparent 18px) center/100% 2px no-repeat,
    linear-gradient(0deg,  transparent 14px, #1a0533 14px 18px, transparent 18px) center/2px 100% no-repeat,
    var(--grad-gold);
}

/* Body — use display + max-height combo to beat legacy CSS */
.faq-item__body{
  display: none !important;
  padding: 0 22px 22px;
  color: var(--c-text-muted);
  line-height: 1.7;
  font-size: 14.5px;
}
.faq-item.is-open .faq-item__body{
  display: block !important;
  animation: faqSlide .3s ease;
}
@keyframes faqSlide{
  from{ opacity: 0; transform: translateY(-4px); }
  to  { opacity: 1; transform: translateY(0); }
}
.faq-item__body p{ margin: 0 0 12px; }
.faq-item__body p:last-child{ margin: 0; }
.faq-item__body a{ color: var(--c-purple-700); font-weight: 600; }
.faq-item__body code{
  background: var(--c-purple-50);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 92%;
  color: var(--c-purple-800);
}

/* ============================================================
   4. FOOTER — polished social + cleaner type
   ============================================================ */
.site-footer{
  background:
    radial-gradient(ellipse 800px 400px at 20% 0%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(ellipse 600px 300px at 90% 100%, rgba(250,204,21,.06), transparent 60%),
    linear-gradient(180deg, #0f0a1f 0%, #1a0533 100%);
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
  position: relative;
  isolation: isolate;
}
.site-footer::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.6), rgba(250,204,21,.4), rgba(124,58,237,.6), transparent);
}
.site-footer .brand-mark{ font-size: 20px; }
.site-footer h6{
  color: var(--c-gold-400);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.site-footer h6::after{
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
}
.site-footer ul{ list-style: none; padding: 0; margin: 0; }
.site-footer ul li{ margin-bottom: 12px; }
.site-footer ul a{
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease, transform .2s ease;
  display: inline-block;
}
.site-footer ul a:hover{
  color: var(--c-gold-400);
  transform: translateX(3px);
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-grid > div:first-child{ grid-column: span 2; }
}

/* Social icons — polished gradient circles */
.footer-social{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(124,58,237,.08));
  border: 1px solid rgba(124,58,237,.3);
  color: #fff;
  font-size: 17px;
  text-decoration: none;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.footer-social a::before{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 0;
}
.footer-social a i{ position: relative; z-index: 1; transition: color .25s ease; }
.footer-social a:hover{
  transform: translateY(-3px);
  border-color: var(--c-gold-400);
  box-shadow: 0 8px 20px rgba(250,204,21,.3);
}
.footer-social a:hover::before{ opacity: 1; }
.footer-social a:hover i{ color: #1a0533; }

.footer-meta{
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   5. PRICING — modernized cards w/ gradient patterns
   ============================================================ */
.pricing-cards-section{
  margin-top: -60px;
  position: relative;
  z-index: 5;
  padding-top: 0;
}
.pricing-cards-section > .container{ padding-top: 40px; }

.price-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.price-card,
.plan-card{
  position: relative;
  background: var(--grad-card-soft);
  border: 1px solid var(--c-line);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  transition: all .35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}
/* Decorative gradient blob */
.price-card::before,
.plan-card::before{
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.price-card:hover,
.plan-card:hover{
  transform: translateY(-8px);
  border-color: var(--c-purple-300);
  box-shadow: var(--shadow-lg);
}

/* Plan label */
.price-card__name,
.plan-card__name,
.plan-card h3{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-purple-700);
  margin: 0 0 8px;
}

/* Price */
.price-card__price,
.plan-card__price,
.plan-price{
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  line-height: 1;
  margin: 8px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-card__price small,
.plan-card__price small,
.plan-price small{
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: normal;
}

.price-card__tagline,
.plan-card__tagline{
  color: var(--c-text-muted);
  font-size: 14px;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* Feature list */
.price-card ul,
.plan-card ul,
.plan-features{
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  flex: 1;
}
.price-card ul li,
.plan-card ul li,
.plan-features li{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.5;
}
.price-card ul li::before,
.plan-card ul li::before,
.plan-features li::before{
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8L7 11.5L12.5 5' stroke='%237c3aed' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E') center/12px no-repeat,
    var(--c-purple-100);
}

/* CTA */
.price-card .btn,
.plan-card .btn{
  width: 100%;
  justify-content: center;
}

/* POPULAR card — dark gradient interior + gold halo */
.price-card--popular,
.plan-card--popular,
.price-card.is-featured,
.plan-card.is-featured{
  background: var(--grad-card-pop);
  border: 2px solid var(--c-gold-400);
  color: #fff;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px -20px rgba(250,204,21,.35), 0 0 0 1px rgba(250,204,21,.4);
  z-index: 2;
}
.price-card--popular::before,
.plan-card--popular::before,
.price-card.is-featured::before,
.plan-card.is-featured::before{
  background: radial-gradient(circle, rgba(250,204,21,.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
}
.price-card--popular::after,
.plan-card--popular::after,
.price-card.is-featured::after,
.plan-card.is-featured::after{
  content: "MOST POPULAR";
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--grad-gold);
  color: #1a0533;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(250,204,21,.4);
}
.price-card--popular:hover,
.plan-card--popular:hover{
  transform: translateY(-14px) scale(1.02);
}
.price-card--popular .price-card__name,
.plan-card--popular h3,
.price-card.is-featured .price-card__name{
  color: var(--c-gold-400);
}
.price-card--popular .price-card__price,
.plan-card--popular .plan-card__price,
.plan-card--popular .plan-price,
.price-card.is-featured .price-card__price{
  color: #fff;
}
.price-card--popular .price-card__price small,
.plan-card--popular .plan-price small{
  color: rgba(255,255,255,.65);
}
.price-card--popular .price-card__tagline,
.plan-card--popular .plan-card__tagline,
.price-card--popular p{
  color: rgba(255,255,255,.75);
}
.price-card--popular ul li,
.plan-card--popular ul li,
.plan-card--popular .plan-features li,
.price-card.is-featured ul li{
  color: rgba(255,255,255,.92);
}
.price-card--popular ul li::before,
.plan-card--popular ul li::before,
.plan-card--popular .plan-features li::before,
.price-card.is-featured ul li::before{
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8L7 11.5L12.5 5' stroke='%231a0533' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E') center/12px no-repeat,
    var(--grad-gold);
}
.price-card--popular .btn,
.plan-card--popular .btn,
.price-card.is-featured .btn{
  background: var(--grad-gold);
  color: #1a0533;
  border: 0;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(250,204,21,.4);
}

@media (max-width: 768px){
  .pricing-cards-section{ margin-top: -40px; }
  .price-card,
  .plan-card{ padding: 28px 22px; }
  .price-card--popular,
  .plan-card--popular,
  .price-card.is-featured{
    transform: none;
  }
  .price-card--popular:hover,
  .plan-card--popular:hover{ transform: translateY(-6px); }
}

/* Hide the legacy static "Email packs / Validator packs / Credit packs" sections on pricing page
   We mark them with .static-packs-hide via PHP edit */
.static-packs-hide{ display: none !important; }

/* ============================================================
   6. DASHBOARD MOBILE — sender accounts as cards, tabs scroll
   ============================================================ */
/* Tabs strip — horizontal scroll on mobile, no wrap */
.dash-tabs{
  display: flex;
  gap: 4px;
  background: #fff;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dash-tabs::-webkit-scrollbar{ display: none; }
.dash-tabs__item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-muted);
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: all .2s ease;
  flex-shrink: 0;
}
.dash-tabs__item:hover{
  color: var(--c-ink);
  background: var(--c-purple-50);
}
.dash-tabs__item.active{
  color: #fff;
  background: linear-gradient(135deg, var(--c-purple-700), var(--c-purple-600));
  box-shadow: 0 4px 12px rgba(124,58,237,.3);
}
.dash-tabs__icon{ font-size: 15px; }

@media (max-width: 768px){
  .dash-tabs{
    border-radius: 12px;
    padding: 4px;
    margin-left: -8px;
    margin-right: -8px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .dash-tabs__item{
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Sender accounts table → cards on mobile */
@media (max-width: 768px){
  .t-wrap{ overflow: visible !important; }
  table.t-wrap, .t-wrap table, .t-table{ display: block; }
  .t-table thead{ display: none; }
  .t-table tbody{ display: block; }
  .t-table tbody tr{
    display: block;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
  }
  .t-table tbody tr td{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border: 0;
    font-size: 13.5px;
    text-align: right;
  }
  .t-table tbody tr td:first-child{
    border-bottom: 1px solid var(--c-line-soft);
    padding-bottom: 12px;
    margin-bottom: 4px;
    justify-content: flex-start;
    text-align: left;
  }
  .t-table tbody tr td:first-child::before{ display: none; }
  .t-table tbody tr td::before{
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text-muted);
    flex: 0 0 auto;
  }
  .t-table tbody tr td:last-child{
    justify-content: space-between;
    border-top: 1px solid var(--c-line-soft);
    padding-top: 12px;
    margin-top: 4px;
  }
}

.sender-row__avatar{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-purple-200), var(--c-purple-300));
  color: var(--c-purple-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* Badge polish */
.badge-soft{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-soft--success{ background: #d1fae5; color: #047857; }
.badge-soft--warn{ background: #fef3c7; color: #b45309; }
.badge-soft--neutral{ background: var(--c-purple-50); color: var(--c-purple-700); border: 1px solid var(--c-purple-100); }

/* ============================================================
   7. POLICY MOBILE HERO — keep purple breathing room
   ============================================================ */
@media (max-width: 768px){
  .page-hero,
  .hero-bold,
  .hero-section{
    padding: 40px 0 32px;
  }
  .page-hero h1,
  .hero-bold h1,
  .hero-section h1{
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.1;
  }
  .page-hero .breadcrumb,
  .hero-bold .breadcrumb{
    font-size: 12px;
    margin-bottom: 14px;
  }
}

/* ============================================================
   8. CARDS / SECTIONS — global polish
   ============================================================ */
.section{ padding: clamp(48px, 7vw, 96px) 0; }
.section--alt{
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
}

.card-soft{
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
.card-soft:hover{
  border-color: var(--c-purple-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* CHAT BUBBLE — keep it on top */
.sw-chat-launcher{ z-index: 999 !important; }
.sw-chat-panel{ z-index: 1000 !important; }

/* ============================================================
   FINAL SAFETY OVERRIDES — beat legacy site.css / sparrow.css
   ============================================================ */
.faq-item__btn{ background: transparent !important; }
.faq-item.is-open .faq-item__btn{ background: transparent !important; }

/* ============================================================
   9. BUY-CREDITS PACK CARDS — modernize the dashboard buy page
   ============================================================ */
.pack-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.pack-card{
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #faf8ff 100%);
  border: 1px solid var(--c-line);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.pack-card::before{
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(124,58,237,.1), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.pack-card:hover{
  transform: translateY(-4px);
  border-color: var(--c-purple-300);
  box-shadow: var(--shadow-md);
}
.pack-card__label{
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-purple-700);
  margin-bottom: 10px;
}
.pack-card__credits{
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.pack-card__price{
  font-size: 22px;
  font-weight: 800;
  color: var(--c-ink);
  margin: 10px 0 2px;
}
.pack-card__price small{
  font-size: 11px;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-left: 4px;
}
.pack-card__cta{ margin-top: 16px; }
.pack-card__cta .btn{
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-purple-700), var(--c-purple-600));
  color: #fff;
  border: 0;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(124,58,237,.25);
  transition: all .2s ease;
}
.pack-card__cta .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(124,58,237,.35);
}
.pack-card__cta .btn-outline{
  background: #fff;
  color: var(--c-purple-700);
  border: 1.5px solid var(--c-purple-300);
  box-shadow: none;
}
.pack-card__cta .btn-outline:hover{
  background: var(--c-purple-50);
  border-color: var(--c-purple-500);
}

/* Section headings on dashboard pages */
.dash-intro__title,
.dash-intro h1{
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

/* Compact dashboard h3 (Email packs / Validator packs) */
.dash-intro + h3,
.section h3{
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
