/* ============================================================
   SparrowiMailer — brand-v13.css
   Targeted fixes on top of brand-v12.css:
     • Header: solid white inactive links
     • Hero "See pricing" ghost button: visible text
     • Homepage hero: real 2-col split with right-side visual
     • Pricing cards: bullet-text overlap fix
     • Pricing comparison table: clean dynamic styling
     • Mobile sender accounts: real card list (not table)
   Loaded LAST.
   ============================================================ */

/* ============================================================
   1. HEADER — solid white inactive links (NOT faded)
   ============================================================ */
.navbar-sparrow .nav-links--desktop a{
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}
.navbar-sparrow .nav-links--desktop a:hover{
  color: #ffffff !important;
  background: rgba(255,255,255,.14);
}
.navbar-sparrow .nav-links--desktop a.active{
  color: #1a0533 !important;
  background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #f59e0b 100%) !important;
  text-shadow: none;
  font-weight: 700;
}

/* Dashboard + Logout pills — solid white text */
.navbar-sparrow .nav-actions .btn-pill,
.navbar-sparrow .nav-actions .btn-pill--ghost{
  color: #ffffff !important;
  background: rgba(255,255,255,.1) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  font-weight: 600;
}
.navbar-sparrow .nav-actions .btn-pill:hover{
  background: rgba(255,255,255,.18) !important;
  border-color: rgba(255,255,255,.4) !important;
}
.navbar-sparrow .nav-actions .btn-pill--primary{
  background: linear-gradient(135deg, #fde047 0%, #facc15 50%, #f59e0b 100%) !important;
  color: #1a0533 !important;
  border: 0 !important;
}

/* ============================================================
   2. HERO ghost button — visible
   ============================================================ */
.hero-bold .btn-pill--ghost,
.hero-section .btn-pill--ghost,
.page-hero .btn-pill--ghost,
.btn-pill--ghost-light{
  background: rgba(255,255,255,.12) !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
  color: #ffffff !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-weight: 600;
}
.hero-bold .btn-pill--ghost:hover,
.hero-section .btn-pill--ghost:hover,
.page-hero .btn-pill--ghost:hover,
.btn-pill--ghost-light:hover{
  background: rgba(255,255,255,.22) !important;
  border-color: rgba(255,255,255,.7) !important;
  color: #ffffff !important;
}

/* ============================================================
   3. HOMEPAGE HERO — true 2-column split
   ============================================================ */
.hero-split{
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 120px);
}
.hero-split__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 992px){
  .hero-split__grid{
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 60px;
  }
}
@media (min-width: 1200px){
  .hero-split__grid{
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 72px;
  }
}

.hero-split__copy{ text-align: left; }
.hero-split__copy .eyebrow{ margin-bottom: 22px; }
.hero-split__copy h1,
.hero-split__copy .hero-bold__title,
.hero-split__copy .page-hero__title{
  font-size: clamp(36px, 5.2vw, 64px) !important;
  line-height: 1.04 !important;
  margin: 0 0 18px !important;
  text-align: left !important;
  max-width: 16ch;
}
.hero-split__copy .page-hero__sub,
.hero-split__copy p{
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,.78);
  max-width: 52ch;
  margin: 0 0 28px;
}
.hero-split__copy .hero-bold__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 0;
  justify-content: flex-start;
}

/* HP Envy / 13"–14" laptop sweet spot */
@media (min-width: 992px) and (max-width: 1440px){
  .hero-split__copy h1,
  .hero-split__copy .hero-bold__title{
    font-size: clamp(36px, 3.8vw, 52px) !important;
  }
}

.hero-split__proof{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.avatar-stack{ display: flex; }
.avatar-stack img{
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  object-fit: cover;
  width: 36px;
  height: 36px;
}
.hero-split__proof-text{
  font-size: 14px;
  color: rgba(255,255,255,.78);
}
.hero-split__proof-text strong{ color: #fff; font-weight: 700; }
.hero-split__proof-text .stars{ color: #facc15; letter-spacing: 2px; }

/* RIGHT — dashboard mockup card */
.hero-split__visual{
  position: relative;
  perspective: 1400px;
}
.hero-split__card{
  background: linear-gradient(160deg, #ffffff 0%, #f5f3ff 100%);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 18px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,.5),
    0 0 0 1px rgba(124,58,237,.1),
    inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.hero-split__card:hover{
  transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}
.hero-split__card-head{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #faf8ff 0%, #f5f3ff 100%);
  border-bottom: 1px solid #ede9fe;
}
.hero-dot{
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.hero-dot--r{ background: #ef4444; }
.hero-dot--y{ background: #f59e0b; }
.hero-dot--g{ background: #10b981; }
.hero-split__card-title{
  margin-left: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #6b6680;
}
.hero-split__card-body{
  padding: 20px;
}
.hero-stat{
  padding: 16px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  margin-bottom: 14px;
}
.hero-stat__label{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d28d9;
  margin-bottom: 4px;
}
.hero-stat__value{
  font-family: 'Inter Tight', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #0f0a1f;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hero-stat__delta{
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background: #d1fae5;
  padding: 2px 8px;
  border-radius: 999px;
}
.hero-stat__bar{
  margin-top: 10px;
  height: 6px;
  background: rgba(124,58,237,.15);
  border-radius: 999px;
  overflow: hidden;
}
.hero-stat__bar > div{
  height: 100%;
  background: linear-gradient(90deg, #7c3aed 0%, #facc15 100%);
  border-radius: 999px;
}

.hero-grid2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-mini{
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid #eef0f5;
  border-radius: 10px;
}
.hero-mini__label{
  font-size: 11px;
  color: #6b6680;
  margin-bottom: 4px;
}
.hero-mini__value{
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0f0a1f;
  letter-spacing: -0.02em;
}

.hero-row{ display: flex; gap: 8px; flex-wrap: wrap; }
.hero-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}
.hero-pill--ok{
  background: #d1fae5;
  color: #047857;
}
.hero-pill--warm{
  background: #fef3c7;
  color: #b45309;
}

/* Floating callouts */
.hero-float{
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(124,58,237,.15);
  border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.hero-float i{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  font-size: 15px;
}
.hero-float__t{
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b6680;
}
.hero-float__v{
  font-size: 13.5px;
  font-weight: 700;
  color: #0f0a1f;
}
.hero-float--a{
  top: -16px;
  left: -16px;
  animation: floatA 6s ease-in-out infinite;
}
.hero-float--b{
  bottom: -20px;
  right: -16px;
  animation: floatB 7s ease-in-out infinite;
}
.hero-float--b i{ background: linear-gradient(135deg, #facc15, #f59e0b); color: #1a0533; }
@keyframes floatA{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}
@keyframes floatB{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

@media (max-width: 991px){
  .hero-split__copy h1,
  .hero-split__copy .hero-bold__title{
    text-align: center !important;
    margin: 0 auto 18px !important;
  }
  .hero-split__copy{ text-align: center; }
  .hero-split__copy .page-hero__sub,
  .hero-split__copy p{
    margin-left: auto;
    margin-right: auto;
  }
  .hero-split__copy .hero-bold__cta,
  .hero-split__proof{ justify-content: center; }
  .hero-float{ display: none; }
  .hero-split__card{ transform: none; }
}

/* ============================================================
   4. PRICING CARDS — fix bullet/text overlap
   ============================================================ */
.price-card,
.plan-card{
  padding: 36px 28px !important;
}
.price-card__features,
.price-card ul,
.plan-card ul{
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}
.price-card__features li,
.price-card ul li,
.plan-card ul li{
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  align-items: start !important;
  gap: 12px !important;
  padding: 8px 0 !important;
  font-size: 14.5px;
  line-height: 1.55;
  color: #1f1937;
  position: relative;
}
.price-card__features li::before,
.price-card ul li::before,
.plan-card ul li::before{
  content: "" !important;
  width: 22px !important;
  height: 22px !important;
  flex: none !important;
  margin: 0 !important;
  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/13px no-repeat,
    #ede9fe;
  margin-top: 1px !important;
}

.price-card__name,
.plan-card__name{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d28d9;
  margin: 0 0 14px;
}
.price-card__price{
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 52px !important;
  font-weight: 800;
  color: #0f0a1f;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 4px 0 6px;
}
.price-card__price sup{ font-size: 22px !important; margin-top: 0 !important; }
.price-card__price small{
  font-size: 14px;
  font-weight: 500;
  color: #6b6680;
  letter-spacing: normal;
}

.price-card hr{ display: none; }

.price-card__pill{
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, #fde047, #facc15, #f59e0b);
  color: #1a0533;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(250,204,21,.4);
  z-index: 1;
}

/* Popular variant clean-up — make sure ::after ribbon isn't duplicating */
.price-card--popular::after,
.plan-card--popular::after,
.price-card.is-featured::after{ content: none !important; }

/* Popular card text color */
.price-card--popular .price-card__name{ color: #facc15; }
.price-card--popular .price-card__price{ color: #fff; }
.price-card--popular .price-card__price small,
.price-card--popular p{ color: rgba(255,255,255,.75); }
.price-card--popular .price-card__features li,
.price-card--popular ul li{ color: rgba(255,255,255,.92); }
.price-card--popular .price-card__features li::before,
.price-card--popular 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/13px no-repeat,
    linear-gradient(135deg, #fde047, #facc15) !important;
}

/* ============================================================
   5. PRICING COMPARISON — clean dynamic table
   ============================================================ */
.compare-wrap{
  background: #ffffff;
  border: 1px solid #e5e7ef;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15,10,31,.04);
  overflow-x: auto;
}
.compare-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.compare-table thead th{
  text-align: left;
  padding: 22px 20px;
  background: linear-gradient(180deg, #faf8ff 0%, #f5f3ff 100%);
  border-bottom: 2px solid #ede9fe;
  font-weight: 700;
  color: #0f0a1f;
}
.compare-table thead th.is-popular{
  background: linear-gradient(180deg, #2e1065 0%, #4c1d95 100%);
  color: #fff;
  position: relative;
}
.compare-table thead th.is-popular::before{
  content: "Most popular";
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fde047, #facc15);
  color: #1a0533;
  padding: 3px 7px;
  border-radius: 999px;
}
.compare-th__name{
  display: block;
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.compare-th__price{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6d28d9;
}
.compare-table thead th.is-popular .compare-th__price{ color: #facc15; }
.compare-th__price small{
  font-size: 11px;
  font-weight: 500;
  opacity: .7;
  margin-left: 2px;
}

.compare-table tbody td{
  padding: 16px 20px;
  border-top: 1px solid #f3f4f7;
  vertical-align: middle;
  color: #1f1937;
}
.compare-table tbody td.is-popular{
  background: rgba(124,58,237,.04);
  font-weight: 600;
}
.compare-td-feat{
  font-weight: 600;
  color: #0f0a1f;
  min-width: 200px;
}
.compare-th-feat{
  min-width: 200px;
}
.compare-check{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ede9fe;
  color: #6d28d9;
}
.compare-table td.is-popular .compare-check{
  background: linear-gradient(135deg, #fde047, #facc15);
  color: #1a0533;
}
.compare-dash{
  color: #c4c0d6;
  font-size: 18px;
}
.compare-table tbody tr:hover td{ background: #faf8ff; }
.compare-table tbody tr:hover td.is-popular{ background: rgba(124,58,237,.08); }

@media (max-width: 768px){
  .compare-table thead th,
  .compare-table tbody td{
    padding: 12px 14px;
    font-size: 13px;
  }
  .compare-th__name{ font-size: 14px; }
  .compare-th__price{ font-size: 12px; }
}

/* ============================================================
   6. MOBILE SENDER ACCOUNTS — real card list
   ============================================================ */
.sender-cards{ display: none; }

@media (max-width: 768px){
  .sender-cards{
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }
  .sender-table-desktop{ display: none !important; }
}

.sender-card{
  background: #ffffff;
  border: 1px solid #e5e7ef;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(15,10,31,.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sender-card__head{
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f3f4f7;
}
.sender-card__avatar{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
  color: #4c1d95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  flex-shrink: 0;
}
.sender-card__id{ min-width: 0; }
.sender-card__name{
  font-weight: 700;
  font-size: 15px;
  color: #0f0a1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sender-card__email{
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #6b6680;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.sender-card__rows{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sender-card__row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.sender-card__lbl{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6680;
}
.sender-card__val{
  font-weight: 600;
  color: #0f0a1f;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.sender-card__bar{
  height: 5px;
  background: #eef0f5;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 4px;
}
.sender-card__bar > div{
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #facc15);
  border-radius: 999px;
  transition: width .4s ease;
}
.sender-card__foot{
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f7;
}
.sender-card__foot form{ display: flex; }
.sender-card__del{
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all .2s ease;
}
.sender-card__del:hover{
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

/* On desktop hide mobile cards, show table */
@media (min-width: 769px){
  .sender-cards{ display: none !important; }
  .sender-table-desktop{ display: block; }
}
