/* ============================================
   Pricing — Talent Cluster
   Source: prototypes/pricing_v1.html (structure only — dark tokens
   discarded, tc_light + Apple-style redesign direction applied using
   static/css/globals.css real tokens; see memory
   feedback_apple_style_design_direction: seamless divider-split plan
   slab, solid-navy/outline-pill buttons, 2-stop gradient, dark
   footer-cta panel reusing --nav-bg)
   Excludes: CSS variables, nav, footer, modal, toast (globals.css)
   ============================================ */

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 96px 48px 40px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--accent-indigo-rgb), 0.08);
  border: 1px solid rgba(var(--accent-indigo-rgb), 0.25);
  border-radius: var(--radius-pill);
  padding: 5px 14px 5px 10px;
  font-size: 11px;
  color: var(--accent-indigo);
  margin-bottom: 24px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-indigo);
}
.hero-h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero-h1 .grad {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(var(--ink-tint-rgb), 0.55);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}
.pricing-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.pricing-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(var(--ink-tint-rgb), 0.5);
}
.pricing-trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ─── Plan slab (Apple-style rule 3: one seamless divider-split slab,
   not two separate glowing cards — gap-background trick) ─── */
.plans {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 48px 88px;
}
.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-default);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(var(--ink-tint-rgb), 0.08);
}
.plan {
  background: var(--bg-surface);
  padding: 40px 36px;
}
.plan.featured {
  background: rgba(var(--accent-indigo-rgb), 0.03);
}
.plan.current-plan {
  position: relative;
}
.plan.current-plan::after {
  content: 'CURRENT PLAN';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent-teal-text);
  background: rgba(var(--accent-teal-rgb), 0.10);
  border: 1px solid rgba(var(--accent-teal-rgb), 0.25);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.plan-name {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(var(--ink-tint-rgb), 0.5);
}
.plan.featured .plan-name {
  color: var(--accent-indigo);
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 6px;
}
.plan-price {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text-primary);
}
.plan-price-suffix {
  font-size: 14px;
  font-weight: 400;
  color: rgba(var(--ink-tint-rgb), 0.4);
}
.plan-tagline {
  font-size: 13px;
  color: rgba(var(--ink-tint-rgb), 0.5);
  margin-bottom: 24px;
  font-weight: 400;
  line-height: 1.5;
}
.plan-features {
  list-style: none;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(var(--ink-tint-rgb), 0.72);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  line-height: 1.5;
}
.plan-features li:last-child {
  border-bottom: none;
}
.plan-features li.disabled {
  color: rgba(var(--ink-tint-rgb), 0.32);
}
.pf-note {
  color: rgba(var(--ink-tint-rgb), 0.4);
  font-size: 11px;
}
.pf-yes {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--accent-emerald-rgb), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.pf-yes svg {
  width: 11px;
  height: 11px;
  stroke: var(--accent-emerald);
  fill: none;
  stroke-width: 3;
}
.pf-no {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--ink-tint-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.pf-no svg {
  width: 9px;
  height: 9px;
  stroke: rgba(var(--ink-tint-rgb), 0.3);
  fill: none;
  stroke-width: 2.5;
}

/* Buttons — solid dark navy (primary) / outline pill (secondary),
   no colored gradient glow (Apple-style rule 3) */
.btn-plan {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}
.btn-plan-free {
  border: 1px solid var(--border-default);
  background: transparent;
  color: rgba(var(--ink-tint-rgb), 0.6);
}
.btn-plan-free:hover:not(:disabled) {
  border-color: var(--border-hover);
  color: var(--text-primary);
}
.btn-plan-free:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-plan-prem {
  border: none;
  background: var(--text-primary);
  color: #fff;
}
.btn-plan-prem:hover:not(:disabled) {
  opacity: 0.88;
}
.btn-plan-prem.current-mode {
  background: transparent;
  border: 1px solid rgba(var(--accent-teal-rgb), 0.3);
  color: var(--accent-teal-text);
}
.btn-plan-prem.current-mode:hover {
  background: rgba(var(--accent-teal-rgb), 0.08);
}
.premium-active-badge {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-violet);
  margin-bottom: 4px;
}
.plan-footnote {
  font-size: 11px;
  color: rgba(var(--ink-tint-rgb), 0.4);
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-mono);
}

/* ─── Comparison table (tabular data — kept as a bordered container,
   not a "card grid", so Apple-style rule 2 doesn't apply here) ─── */
.compare {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 48px 80px;
}
.compare-header {
  text-align: center;
  margin-bottom: 48px;
}
.compare-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-indigo);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: var(--font-mono);
}
.compare-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.compare-sub {
  font-size: 14px;
  color: rgba(var(--ink-tint-rgb), 0.45);
  font-weight: 400;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
}
.compare-table thead th {
  text-align: left;
  padding: 18px 24px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(var(--ink-tint-rgb), 0.55);
  background: rgba(var(--ink-tint-rgb), 0.02);
  border-bottom: 1px solid var(--border-default);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.compare-table thead th:first-child { width: 46%; }
.compare-table thead th:nth-child(2),
.compare-table thead th:nth-child(3) {
  width: 27%;
  text-align: center;
  font-size: 13px;
}
.compare-table thead th .col-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  letter-spacing: 1px;
}
.compare-table thead th .col-tag.free {
  background: rgba(var(--ink-tint-rgb), 0.05);
  color: rgba(var(--ink-tint-rgb), 0.5);
}
.compare-table thead th .col-tag.prem {
  background: rgba(var(--accent-indigo-rgb), 0.12);
  color: var(--accent-indigo);
}
.compare-table tr.group-header td {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-indigo);
  padding: 18px 24px 8px;
  font-weight: 700;
  background: rgba(var(--accent-indigo-rgb), 0.03);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}
.group-header-note {
  color: rgba(var(--ink-tint-rgb), 0.4);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 10px;
  font-family: var(--font-sans);
}
.compare-table tbody td {
  padding: 13px 24px;
  font-size: 13px;
  color: rgba(var(--ink-tint-rgb), 0.75);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:nth-child(2),
.compare-table tbody td:nth-child(3) { text-align: center; }
.compare-table .feature-name {
  display: flex;
  align-items: center;
  gap: 7px;
}
.compare-table .feat-detail {
  font-size: 11px;
  color: rgba(var(--ink-tint-rgb), 0.45);
  margin-top: 2px;
  font-weight: 400;
}
.compare-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(var(--accent-emerald-rgb), 0.12);
}
.compare-yes svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent-emerald);
  fill: none;
  stroke-width: 3;
}
.compare-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(var(--ink-tint-rgb), 0.05);
}
.compare-no svg {
  width: 11px;
  height: 11px;
  stroke: rgba(var(--ink-tint-rgb), 0.3);
  fill: none;
  stroke-width: 2.5;
}
.compare-text {
  font-size: 12px;
  color: rgba(var(--ink-tint-rgb), 0.6);
  font-family: var(--font-mono);
}

/* ─── FAQ ─── */
.faq-section {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 48px 80px;
}
.faq-header { margin-bottom: 32px; }
.faq-list {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.12s;
}
.faq-q:hover { background: rgba(var(--ink-tint-rgb), 0.02); }
.faq-q-icon {
  width: 18px;
  height: 18px;
  color: rgba(var(--ink-tint-rgb), 0.4);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-q-icon { transform: rotate(180deg); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  font-size: 13px;
  color: rgba(var(--ink-tint-rgb), 0.6);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }
.faq-link { color: var(--accent-indigo); text-decoration: none; }
.faq-link:hover { text-decoration: underline; }

/* ─── Final CTA — dark navy keynote panel (Apple-style rule 5: reuse
   the site's real --nav-bg gradient, mirrors home.html .footer-cta-box) ─── */
.footer-cta {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px 96px;
  text-align: center;
}
.footer-cta-box {
  background: var(--nav-bg);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  padding: 88px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(20, 23, 39, 0.35);
}
.footer-cta-box h2 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 14px;
  color: #fff;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.footer-cta-box h2 .grad {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.footer-cta-box p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
  font-weight: 400;
}
.footer-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  background: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 28px;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}
.cta-a:hover { opacity: 0.88; }
.cta-b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  cursor: pointer;
  transition: color 0.15s;
  text-decoration: none;
}
.cta-b:hover { color: #fff; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero { padding: 64px 24px 24px; }
  .hero-h1 { font-size: 42px; }
  .plans { padding: 24px 24px 56px; }
  .plans-grid { grid-template-columns: 1fr; }
  .compare, .faq-section, .footer-cta { padding-left: 24px; padding-right: 24px; }
  .compare-table thead th, .compare-table tbody td { padding: 12px 14px; }
  .footer-cta-box { padding: 56px 28px; }
  .footer-cta-box h2 { font-size: 32px; }
}
@media (max-width: 768px) {
  .hero-h1 { font-size: 34px; }
  .compare-table { font-size: 12px; }
  .compare-table thead th { font-size: 11px; padding: 14px 10px; }
  .compare-table tbody td { padding: 11px 10px; font-size: 12px; }
  .plan { padding: 28px 24px; }
}
