/* ==========================================================================
   Bature Digital — Plans page styles
   Built on tokens.css + site.css
   ========================================================================== */

/* ============================
   Plans hero — compact variant
   ============================ */
.plans-hero {
  position: relative;
  padding: var(--space-12) 0 var(--space-10);
  background: var(--bg);
  overflow: hidden;
}
.plans-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -20%, var(--brand-purple-100) 0%, transparent 55%),
    radial-gradient(700px 500px at 0% 100%, rgba(241,197,24,.06) 0%, transparent 60%);
}
.plans-hero-inner {
  position: relative;
  max-width: 880px; margin: 0 auto; text-align: center;
}
.plans-hero h1 {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05;
  letter-spacing: -.025em; color: var(--fg);
  margin: 22px 0 22px;
}
.plans-hero h1 .accent {
  color: var(--brand-purple-700);
  position: relative;
  display: inline-block;
}
.plans-hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: .14em; background: var(--brand-mustard-500); z-index: -1;
  border-radius: 2px;
}
.plans-hero .lead {
  font-size: 19px; line-height: 1.6; color: var(--fg-muted);
  margin: 0 auto 32px; max-width: 680px;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex; align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-xs);
  position: relative;
}
.billing-toggle button {
  border: 0; background: transparent;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  color: var(--fg-muted);
  border-radius: 999px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: color .22s var(--ease-out);
  position: relative; z-index: 1;
}
.billing-toggle button.active {
  color: #fff;
}
.billing-toggle .save-pill {
  display: inline-flex; align-items: center;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(241,197,24,.18);
  color: var(--brand-mustard-700);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  border-radius: 999px;
}
.billing-toggle button.active .save-pill {
  background: rgba(241,197,24,.32);
  color: var(--brand-mustard-300);
}
.billing-toggle .slider {
  position: absolute;
  top: 4px; bottom: 4px;
  background: var(--brand-purple-700);
  border-radius: 999px;
  transition: left .32s var(--ease-out), width .32s var(--ease-out);
  z-index: 0;
}

.plans-hero-trust {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 24px;
  font-size: 13px; color: var(--fg-subtle);
}
.plans-hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.plans-hero-trust span:not(:last-child)::after {
  content: "·"; margin-left: 24px;
  color: var(--brand-mustard-500); font-weight: 800;
}

/* ============================
   Plans grid (the centerpiece)
   ============================ */
.plans-main {
  padding: var(--space-9) 0 var(--space-13);
  background: var(--bg);
}
.plans-main-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; align-items: stretch;
}
.pl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: all .32s var(--ease-out);
  position: relative;
}
.pl-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-purple-100);
}
.pl-name {
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-purple-700);
}
.pl-card h2 {
  font-family: var(--font-body); font-weight: 800;
  font-size: 28px; line-height: 1.15; letter-spacing: -.015em;
  color: var(--fg); margin: 0;
}
.pl-card .lede {
  font-size: 15px; line-height: 1.6; color: var(--fg-muted); margin: 0;
}
.pl-price {
  display: flex; align-items: baseline; gap: 8px;
  margin: 6px 0 0;
}
.pl-price .num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 56px; line-height: 1; letter-spacing: -.03em;
  color: var(--brand-purple-700);
}
.pl-price .num .curr { font-size: .45em; vertical-align: top; margin-right: 2px; }
.pl-price .per { font-size: 14px; color: var(--fg-subtle); letter-spacing: .02em; }
.pl-savings {
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-mustard-700);
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(241,197,24,.14);
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}
.pl-savings::before {
  content: "★"; color: var(--brand-mustard-500); font-size: 11px;
}

.pl-channels {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
}
.pl-channels-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-subtle);
}
.pl-ch-row {
  display: flex; gap: 8px;
}
.pl-ch {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--neutral-100);
  color: var(--fg-subtle);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .22s var(--ease-out);
}
.pl-ch.on {
  background: var(--brand-purple-100);
  color: var(--brand-purple-700);
}

.pl-includes {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 9px;
  font-size: 14px;
  color: var(--fg);
}
.pl-includes li {
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.45;
}
.pl-includes li svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--brand-purple-700);
  margin-top: 4px;
}
.pl-includes li.plus { color: var(--brand-purple-700); font-weight: 600; }
.pl-includes li.plus svg { color: var(--brand-mustard-600); }

.pl-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px 22px;
  background: var(--brand-purple-700);
  color: #fff;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: all .22s var(--ease-out);
  box-shadow: var(--shadow-md);
}
.pl-cta:hover {
  background: var(--brand-purple-600);
  box-shadow: var(--shadow-brand);
  transform: translateY(-2px);
}
.pl-cta svg { transition: transform .22s var(--ease-out); }
.pl-cta:hover svg { transform: translateX(4px); }

/* Most-popular: gold accent border + dark fill */
.pl-card.popular {
  background: linear-gradient(180deg, var(--brand-purple-700) 0%, var(--brand-purple-900) 100%);
  color: #fff;
  border: 2px solid var(--brand-mustard-500);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
  padding-top: 44px;
}
.pl-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: -14px; right: 28px;
  padding: 6px 16px;
  background: var(--brand-mustard-500);
  color: var(--brand-purple-900);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow-mustard);
}
.pl-card.popular .pl-name { color: var(--brand-mustard-500); }
.pl-card.popular h2 { color: #fff; }
.pl-card.popular .lede { color: rgba(255,255,255,.78); }
.pl-card.popular .pl-price .num { color: var(--brand-mustard-500); }
.pl-card.popular .pl-price .per { color: rgba(255,255,255,.65); }
.pl-card.popular .pl-channels { border-color: rgba(255,255,255,.15); }
.pl-card.popular .pl-channels-label { color: rgba(255,255,255,.5); }
.pl-card.popular .pl-ch.on { background: rgba(241,197,24,.18); color: var(--brand-mustard-500); }
.pl-card.popular .pl-ch { background: rgba(255,255,255,.06); color: rgba(255,255,255,.3); }
.pl-card.popular .pl-includes { color: #fff; }
.pl-card.popular .pl-includes li svg { color: var(--brand-mustard-500); }
.pl-card.popular .pl-includes li.plus { color: var(--brand-mustard-300); }
.pl-card.popular .pl-cta {
  background: var(--brand-mustard-500); color: var(--brand-purple-900);
  box-shadow: var(--shadow-mustard);
}
.pl-card.popular .pl-cta:hover { background: var(--brand-mustard-400); }

.pl-card.popular:hover { transform: translateY(-16px); }

/* ============================
   Channel breakdown (accordion)
   ============================ */
.channels-section {
  padding: var(--space-13) 0;
  background: var(--neutral-50);
  border-top: 1px solid var(--border);
}
.channel-list {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 920px; margin: 0 auto;
}
.channel-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.channel-item.open {
  border-color: var(--brand-purple-200);
  box-shadow: var(--shadow-md);
}
.channel-head {
  display: flex; align-items: center; gap: 18px;
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.channel-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-purple-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.channel-name {
  flex: 1;
  font-family: var(--font-body); font-weight: 700;
  font-size: 18px; color: var(--fg);
  letter-spacing: -.01em;
}
.channel-toggle {
  width: 32px; height: 32px;
  border-radius: 99px;
  background: var(--neutral-100);
  color: var(--fg-muted);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .32s var(--ease-out);
}
.channel-item.open .channel-toggle {
  background: var(--brand-mustard-500);
  color: var(--brand-purple-900);
  transform: rotate(45deg);
}
.channel-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s var(--ease-out);
}
.channel-item.open .channel-body { max-height: 600px; }
.channel-body-inner {
  padding: 4px 26px 28px 92px;
}
.channel-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.channel-bullets li {
  font-size: 14px; line-height: 1.5;
  color: var(--fg-muted);
  display: flex; align-items: flex-start; gap: 10px;
}
.channel-bullets li::before {
  content: ""; flex-shrink: 0;
  width: 5px; height: 5px; border-radius: 99px;
  background: var(--brand-mustard-500);
  margin-top: 9px;
}

/* ============================
   Disclosures (two-column)
   ============================ */
.disclosures {
  padding: var(--space-13) 0;
  background: var(--bg);
}
.disclosures-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: var(--space-9);
}
.disclosure {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 30px;
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.disclosure::before {
  content: ""; position: absolute;
  left: 30px; right: 30px; top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple-700), var(--brand-mustard-500));
  border-radius: 0 0 3px 3px;
}
.disclosure-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-mustard-700);
}
.disclosure-tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 99px;
  background: var(--brand-mustard-500);
  box-shadow: 0 0 0 4px rgba(241,197,24,.18);
}
.disclosure h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 20px; line-height: 1.2;
  color: var(--fg); margin: 0;
  letter-spacing: -.01em;
}
.disclosure p {
  font-size: 15px; line-height: 1.65;
  color: var(--fg-muted); margin: 0;
}
.disclosure p strong { color: var(--brand-purple-700); font-weight: 700; }
.project-tiers {
  display: flex; flex-direction: column;
  gap: 8px; margin-top: 8px;
  padding: 16px; background: var(--neutral-50);
  border-radius: var(--radius-md);
  font-size: 13px;
}
.project-tier {
  display: flex; justify-content: space-between; gap: 12px;
  color: var(--fg-muted);
}
.project-tier strong { color: var(--brand-purple-700); font-weight: 700; }

/* ============================
   Add-on note
   ============================ */
.addon-note {
  padding: var(--space-9) 0;
  background: var(--bg);
}
.addon-note p {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  font-size: 16px; line-height: 1.65;
  color: var(--fg-muted);
  padding: 22px 28px;
  border-left: 3px solid var(--brand-mustard-500);
  border-right: 3px solid var(--brand-mustard-500);
  background: rgba(241,197,24,.04);
  border-radius: 4px;
}
.addon-note p strong { color: var(--brand-purple-700); font-weight: 700; }

/* ============================
   Comparison table
   ============================ */
.compare-plans {
  padding: var(--space-13) 0;
  background: var(--neutral-50);
  border-top: 1px solid var(--border);
}
.compare-plans-table {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: var(--space-9);
}
.cmp-cell {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  font-size: 14.5px; line-height: 1.45;
  color: var(--fg);
}
.cmp-cell.row-label {
  font-weight: 600; color: var(--fg);
  background: var(--neutral-50);
  font-size: 13.5px;
}
.cmp-row:last-child .cmp-cell { border-bottom: 0; }

.cmp-cell.head {
  flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 28px 22px;
  background: #fff;
  border-bottom: 1.5px solid var(--border);
}
.cmp-cell.head .h-name {
  font-family: var(--font-body); font-weight: 800;
  font-size: 22px; letter-spacing: -.015em;
  color: var(--fg);
}
.cmp-cell.head .h-price {
  font-family: var(--font-display); font-weight: 300;
  font-size: 28px; color: var(--brand-purple-700);
  letter-spacing: -.02em;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.cmp-cell.head .h-price .curr { font-size: .55em; }
.cmp-cell.head .h-price .per { font-size: .45em; color: var(--fg-subtle); margin-left: 2px; font-family: var(--font-body); }
.cmp-cell.head .h-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fg-subtle);
}

/* Growth column highlighted */
.compare-plans-table .col-growth.head .h-tag,
.compare-plans-table .col-growth.head { color: var(--brand-purple-700); }
.compare-plans-table .col-growth.head .h-tag { color: var(--brand-purple-700); }
.cmp-cell.col-growth {
  background: var(--brand-purple-50);
  border-left: 1px solid var(--brand-purple-100);
  border-right: 1px solid var(--brand-purple-100);
}
.cmp-cell.col-growth.head {
  background: var(--brand-purple-50);
  border-bottom: 1.5px solid var(--brand-purple-100);
}

/* Pro column highlighted gold */
.cmp-cell.col-pro {
  background: linear-gradient(180deg, var(--brand-purple-700), var(--brand-purple-900));
  color: rgba(255,255,255,.92);
  border-bottom-color: rgba(255,255,255,.1);
  font-weight: 600;
}
.cmp-cell.col-pro.head {
  background: linear-gradient(180deg, var(--brand-purple-700), var(--brand-purple-800));
  border-bottom: 1.5px solid rgba(241,197,24,.4);
  color: #fff;
  position: relative;
}
.cmp-cell.col-pro.head::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px; background: var(--brand-mustard-500);
}
.cmp-cell.col-pro.head .h-name { color: #fff; }
.cmp-cell.col-pro.head .h-price { color: var(--brand-mustard-500); }
.cmp-cell.col-pro.head .h-price .per { color: rgba(255,255,255,.55); }
.cmp-cell.col-pro.head .h-tag { color: var(--brand-mustard-500); }

.cmp-yes, .cmp-no {
  width: 22px; height: 22px;
  border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.cmp-yes {
  background: rgba(31, 168, 102, .14);
  color: var(--success);
}
.cmp-no {
  background: rgba(212, 58, 47, .1);
  color: var(--danger);
}
.cmp-cell.col-pro .cmp-yes {
  background: rgba(241,197,24,.22); color: var(--brand-mustard-500);
}
.cmp-cell.col-pro .cmp-no {
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.5);
}

.compare-footnote {
  margin-top: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--fg-subtle);
}

/* ============================
   FAQ accordion
   ============================ */
.faq {
  padding: var(--space-13) 0;
  background: var(--bg);
}
.faq-list {
  max-width: 820px; margin: var(--space-9) auto 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  color: var(--fg);
  letter-spacing: -.005em;
  transition: color .22s var(--ease-out);
}
.faq-q:hover { color: var(--brand-purple-700); }
.faq-q-text { flex: 1; }
.faq-q-icon {
  width: 28px; height: 28px;
  border-radius: 99px;
  background: var(--neutral-100); color: var(--fg-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
  flex-shrink: 0;
  transition: all .32s var(--ease-out);
}
.faq-item.open .faq-q-icon {
  background: var(--brand-purple-700); color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 4px 24px;
  font-size: 15px; line-height: 1.7;
  color: var(--fg-muted);
  max-width: 700px;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1080px) {
  .plans-main-grid { grid-template-columns: 1fr; gap: 28px; }
  .pl-card.popular { transform: none; padding-top: 44px; }
  .pl-card.popular:hover { transform: translateY(-6px); }
  .disclosures-grid { grid-template-columns: 1fr; }
  .compare-plans-table { grid-template-columns: 1fr; }
  .cmp-cell { border-bottom: 1px solid var(--border); }
  .cmp-cell.head { border-top: 4px solid var(--border); }
  .cmp-cell.col-pro.head::before { display: none; }
  .cmp-cell.col-pro { border-left: 4px solid var(--brand-mustard-500); }
  .cmp-cell.col-growth { border-left: 4px solid var(--brand-purple-300); }
  .channel-body-inner { padding: 4px 22px 24px 22px; }
  .channel-bullets { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .plans-hero { padding: var(--space-10) 0 var(--space-9); }
  .channels-section, .disclosures, .compare-plans, .faq { padding: var(--space-11) 0; }
  .billing-toggle button { padding: 10px 16px; font-size: 13px; }
  .pl-card { padding: 28px 24px; }
  .pl-price .num { font-size: 48px; }
  .plans-hero-trust span:not(:last-child)::after { display: none; }
  .plans-hero-trust { flex-direction: column; gap: 4px; }
  .disclosure { padding: 26px 22px; }
  .channel-head { padding: 18px 20px; gap: 14px; }
  .channel-name { font-size: 16px; }
}
