/* Bourday Blog Studio — pricing plans, comparison table, add-ons */

.bb-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.bb-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px 34px 38px;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-lg);
  background: var(--bb-white);
  box-shadow: var(--bb-shadow-sm);
}
.bb-plan-featured {
  border-color: transparent;
  background: linear-gradient(165deg, #241048 0%, var(--bb-night-deep) 48%, #14082A 100%);
  box-shadow: 0 34px 70px -28px rgba(28, 10, 55, .6);
  margin-top: -14px;
  padding-top: 58px;
  padding-bottom: 48px;
}
.bb-plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 18px;
  border-radius: var(--bb-r-pill);
  background: var(--bb-peri);
  color: #1A1140;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bb-plan-head { text-align: center; }
.bb-plan-head h3 { font-size: 1.55rem; margin-bottom: 12px; }
.bb-plan-head p { font-size: .93rem; margin: 0 auto; max-width: 30ch; }
.bb-plan-featured h3 { color: var(--bb-on-night); }
.bb-plan-featured p { color: var(--bb-on-night-soft); }
.bb-plan-featured strong { color: var(--bb-on-night); }

.bb-plan-rule { height: 1px; background: var(--bb-line); margin: 28px 0; }
.bb-plan-featured .bb-plan-rule { background: var(--bb-on-night-line); }

.bb-plan-price { text-align: center; }
.bb-plan-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  color: var(--bb-ink);
  line-height: 1;
}
.bb-plan-featured .bb-plan-amount { color: var(--bb-on-night); }
.bb-plan-amount .bb-cur { font-size: 1.6rem; font-weight: 700; align-self: flex-start; margin-top: .35em; }
.bb-plan-amount .bb-fig { font-size: 3.6rem; font-weight: 900; letter-spacing: -0.045em; }
.bb-plan-amount .bb-per { font-size: 1rem; font-weight: 500; color: var(--bb-muted); margin-left: 4px; }
.bb-plan-featured .bb-plan-amount .bb-per { color: var(--bb-on-night-soft); }
.bb-plan-quote {
  font-family: var(--bb-font-em);
  font-style: italic;
  font-weight: 600;
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--bb-ink);
}
.bb-plan-caption {
  display: block;
  margin-top: 14px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bb-muted);
}
.bb-plan-featured .bb-plan-caption { color: var(--bb-peri-soft); }

.bb-plan-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 26px 0 22px;
  padding: 14px 16px;
  border: 1px dashed var(--bb-line);
  border-radius: var(--bb-r-sm);
  font-size: .85rem;
  line-height: 1.45;
  color: var(--bb-body);
}
.bb-plan-featured .bb-plan-callout { border-color: rgba(255, 255, 255, .22); color: var(--bb-on-night-soft); }
.bb-plan-callout::before {
  content: '';
  flex: none;
  width: 15px; height: 15px;
  margin-top: 2px;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='%236B6B72' stroke-width='1.5'/%3E%3Cpath d='M8 7.3v4M8 4.9v.1' stroke='%236B6B72' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.bb-plan-featured .bb-plan-callout::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='%23B4B1D0' stroke-width='1.5'/%3E%3Cpath d='M8 7.3v4M8 4.9v.1' stroke='%23B4B1D0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.bb-plan-includes {
  margin: 28px 0 16px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--bb-muted);
}
.bb-plan-featured .bb-plan-includes { color: var(--bb-peri-soft); }
.bb-plan .bb-checks { margin-bottom: 4px; }
.bb-plan-featured .bb-checks li { color: var(--bb-on-night-soft); }
.bb-plan-featured .bb-checks li:first-child { color: var(--bb-on-night); font-weight: 700; }

/* ---- Comparison table ------------------------------------------------ */
.bb-compare-wrap {
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-lg);
  background: var(--bb-white);
  padding: 8px;
  overflow-x: auto;
  box-shadow: var(--bb-shadow-sm);
}
.bb-compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; }
.bb-compare th, .bb-compare td { text-align: left; vertical-align: middle; }
.bb-compare thead th { padding: 26px 20px 24px; vertical-align: top; }
.bb-compare thead th:first-child { width: 34%; }
.bb-compare-plan-name { font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--bb-muted); display: block; margin-bottom: 10px; }
.bb-compare-plan-title { display: block; font-size: 1.15rem; font-weight: 700; color: var(--bb-ink); letter-spacing: -0.015em; }
.bb-compare-plan-price { display: block; margin-top: 6px; font-size: .86rem; color: var(--bb-muted); }

/* Featured column reads as a dark card behind the middle column */
.bb-compare .bb-col-featured { background: var(--bb-night-deep); }
.bb-compare thead .bb-col-featured { border-radius: var(--bb-r-md) var(--bb-r-md) 0 0; }
.bb-compare tbody tr:last-child .bb-col-featured { border-radius: 0 0 var(--bb-r-md) var(--bb-r-md); }
.bb-compare .bb-col-featured .bb-compare-plan-name { color: var(--bb-peri); }
.bb-compare .bb-col-featured .bb-compare-plan-title { color: var(--bb-on-night); }
.bb-compare .bb-col-featured .bb-compare-plan-price { color: var(--bb-on-night-soft); }

/* Group header rows keep four cells so the dark middle column stays unbroken */
.bb-compare .bb-group th,
.bb-compare .bb-group td {
  padding: 14px 20px;
  background: var(--bb-mist);
  border-top: 0;
}
.bb-compare .bb-group th {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--bb-muted);
}
.bb-compare .bb-group td.bb-col-featured { background: var(--bb-night-deep); }
.bb-compare tbody td, .bb-compare tbody th[scope="row"] {
  padding: 15px 20px;
  border-top: 1px solid var(--bb-line-soft);
  font-size: .92rem;
  font-weight: 400;
  color: var(--bb-body);
}
.bb-compare tbody th[scope="row"] { color: var(--bb-ink); font-weight: 500; }
.bb-compare tbody td { text-align: center; }
.bb-compare .bb-col-featured { color: var(--bb-on-night-soft); border-top-color: rgba(255, 255, 255, .1); }

.bb-yes, .bb-no { display: inline-block; width: 20px; height: 20px; background: center / contain no-repeat; }
.bb-yes { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.6 8.4l3.6 3.6L13.4 4.6' fill='none' stroke='%235B51CA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.bb-col-featured .bb-yes { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.6 8.4l3.6 3.6L13.4 4.6' fill='none' stroke='%238E93F3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.bb-no { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' stroke='%23C3C1CE' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.bb-compare .bb-cta-row td, .bb-compare .bb-cta-row th { padding: 24px 16px; }

/* ---- Add-ons split panel --------------------------------------------- */
.bb-addons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--bb-line);
  border-radius: var(--bb-r-lg);
  background: var(--bb-white);
  overflow: hidden;
  box-shadow: var(--bb-shadow-sm);
}
.bb-addons-copy { padding: 52px 46px; }
.bb-addons-copy h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.bb-addons-copy > p { font-size: .98rem; max-width: 44ch; }
.bb-addons-copy .bb-checks { margin: 26px 0 30px; }
.bb-addons-copy .bb-checks li { font-size: .94rem; }
.bb-addons-list { padding: 44px 40px; background: var(--bb-mist); border-left: 1px solid var(--bb-line); }
.bb-addons-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bb-line);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--bb-muted);
}
.bb-addons-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--bb-line);
}
.bb-addons-row strong { display: block; font-size: .96rem; margin-bottom: 3px; }
.bb-addons-row span { font-size: .85rem; color: var(--bb-muted); line-height: 1.45; }
.bb-addons-price { font-size: 1.15rem; font-weight: 700; color: var(--bb-ink); white-space: nowrap; letter-spacing: -0.02em; }
.bb-addons-total { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 22px; }
.bb-addons-total span { font-size: .9rem; color: var(--bb-muted); max-width: 22ch; line-height: 1.4; }
.bb-addons-total strong { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.035em; }

/* ---- Explore grid (small link cards) --------------------------------- */
.bb-explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bb-explore article { padding: 28px 26px 26px; display: flex; flex-direction: column; }
.bb-explore h3 { font-size: 1.08rem; margin-bottom: 8px; }
.bb-explore p { font-size: .9rem; margin-bottom: 20px; }
.bb-explore .bb-link { margin-top: auto; align-self: flex-start; font-size: .88rem; }

@media (max-width: 1024px) {
  .bb-plans { grid-template-columns: 1fr; gap: 26px; max-width: 560px; margin-inline: auto; }
  .bb-plan-featured { margin-top: 0; }
  .bb-addons { grid-template-columns: 1fr; }
  .bb-addons-list { border-left: 0; border-top: 1px solid var(--bb-line); }
  .bb-explore { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bb-plan { padding: 38px 24px 32px; }
  .bb-plan-featured { padding-top: 50px; }
  .bb-addons-copy, .bb-addons-list { padding: 36px 24px; }
  .bb-explore { grid-template-columns: 1fr; }
  .bb-compare-wrap { padding: 4px; }
}
