/* =========================================================================
   TALENRY — Sub-page styles (pricing, features, contact)
   Syphon Labs light editorial system.
   ========================================================================= */

/* page hero (shared by sub-pages) — paper band */
.page-hero { position: relative; padding: 84px 0 56px; text-align: center; overflow: hidden; background: var(--paper); }
.page-hero .grid-faint { display: none; }
.page-hero .eyebrow { position: relative; z-index: 1; display: inline-flex; }
.page-hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: var(--tracking-tighter); line-height: 1.06; margin: 18px 0 0; position: relative; z-index: 1; }
.page-hero p { color: var(--neutral-600); font-size: 19px; line-height: 1.6; max-width: 560px; margin: 18px auto 0; position: relative; z-index: 1; }

/* ---------------- PRICING ---------------- */
.bill-toggle { display: inline-flex; align-items: center; gap: 4px; margin: 32px auto 0; padding: 5px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--neutral-200); box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.bill-toggle button { font-family: inherit; cursor: pointer; border: none; background: transparent; color: var(--neutral-600); font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: var(--radius-pill); transition: all var(--dur-fast); }
.bill-toggle button.active { background: var(--brand); color: #fff; }
.bill-toggle .save { font-size: 11px; color: inherit; margin-left: 6px; opacity: 0.85; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-2xl); padding: 32px; transition: transform var(--dur-med), border-color var(--dur-med), box-shadow var(--dur-med); }
.price-card:hover { transform: translateY(-4px); border-color: var(--neutral-300); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--brand-ring); box-shadow: 0 0 0 1px var(--brand-ring), var(--shadow-lg); }
.price-card .pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: #fff; background: var(--brand); padding: 5px 14px; border-radius: var(--radius-pill); white-space: nowrap; }
.price-card .tier { font-size: 15px; font-weight: 600; color: var(--foreground); }
.price-card .tier-sub { font-size: 13.5px; color: var(--neutral-600); margin-top: 6px; min-height: 38px; }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.price-card .price .amt { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-card .price .per { font-size: 14px; color: var(--neutral-500); }
.price-card .btn-tier { margin: 22px 0 26px; width: 100%; justify-content: center; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.price-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--neutral-700); line-height: 1.45; }
.price-card li svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 1px; }
.price-card li.off { color: var(--neutral-400); }
.price-card li.off svg { color: var(--neutral-300); }

.pricing-faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; font-family: inherit; cursor: pointer; background: none; border: none; color: var(--foreground); font-size: 17px; font-weight: 600; padding: 22px 40px 22px 0; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q svg { width: 20px; height: 20px; color: var(--neutral-500); transition: transform var(--dur-med); flex: none; }
.faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-standard); }
.faq-a p { color: var(--neutral-600); font-size: 15px; line-height: 1.65; margin: 0 0 22px; max-width: 640px; }

/* ---------------- FEATURES PAGE ---------------- */
/* Each row sits in a full-bleed band; bands alternate white <-> paper. */
.feat-band { background: var(--background); }
.feat-band.paper { background: var(--paper); }
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 80px 0; }
.feat-row.flip .feat-media { order: -1; }
.feat-row .feat-ic { width: 50px; height: 50px; border-radius: var(--radius-lg); background: var(--brand); display: grid; place-items: center; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.feat-row .feat-ic svg { width: 24px; height: 24px; color: #fff; }
.feat-row h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: var(--tracking-tight); line-height: 1.14; margin: 0 0 16px; }
.feat-row p.lead { color: var(--neutral-600); font-size: 17px; line-height: 1.6; margin: 0 0 22px; }
.feat-row .feat-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feat-row .feat-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--neutral-700); }
.feat-row .feat-points li svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 1px; }
.feat-media { position: relative; }
.feat-media .pane { background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); padding: 24px; position: relative; overflow: hidden; }
.feat-media .pane .glow-floor { display: none; }
.feat-band.paper .feat-media .pane { background: #fff; }

/* ---------------- CONTACT ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info .ci-item:last-child { border-bottom: none; }
.contact-info .ci-ic { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--brand-soft); border: 1px solid var(--brand-ring); display: grid; place-items: center; color: var(--brand); flex: none; }
.contact-info .ci-ic svg { width: 20px; height: 20px; }
.contact-info .ci-t { font-size: 15px; font-weight: 600; }
.contact-info .ci-d { font-size: 14px; color: var(--neutral-600); margin-top: 4px; line-height: 1.5; }
.contact-card { background: #fff; border: 1px solid var(--neutral-200); border-radius: var(--radius-2xl); padding: 32px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--neutral-700); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--neutral-300); color: var(--foreground);
  font-family: inherit; font-size: 15px; outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--neutral-400); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* ── new plan card additions ── */
.pc-icon {
  width: 44px; height: 44px; border-radius: var(--radius-lg);
  display: grid; place-items: center; margin-bottom: 16px;
}
.pc-icon svg { width: 22px; height: 22px; }
.pc-divider { height: 1px; background: var(--neutral-100); margin: 22px 0 16px; }
.pc-section-label { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--neutral-400); margin: 0 0 14px; }
.price-card li span { flex: 1; }
.price-card li strong { color: var(--foreground); }
.pc-addon-hint { color: var(--neutral-500) !important; font-size: 13px !important; }
.pc-addon-hint svg { color: var(--brand) !important; width: 16px !important; height: 16px !important; }
.pc-advanced { border-color: #e9e4fd; }
.pc-advanced:hover { border-color: #c4b5fd; }
.pc-btn-adv { border-color: #7c3aed !important; color: #7c3aed !important; }
.pc-btn-adv:hover { background: #f5f3ff !important; }

/* ── token add-on banner ── */
.token-addon {
  margin-top: 32px;
  background: linear-gradient(135deg, #f8f7ff 0%, #eff6ff 100%);
  border: 1px solid #ddd9ff; border-radius: var(--radius-2xl);
  padding: 28px 32px; display: flex; flex-direction: column; gap: 20px;
}
.ta-head { display: flex; align-items: center; gap: 14px; }
.ta-icon {
  width: 44px; height: 44px; border-radius: var(--radius-lg); flex-shrink: 0;
  background: #fff; border: 1px solid #ddd9ff;
  display: grid; place-items: center; color: #7c3aed;
  box-shadow: 0 2px 8px rgba(124,58,237,0.1);
}
.ta-icon svg { width: 20px; height: 20px; }
.ta-title { font-size: 16px; font-weight: 700; color: var(--foreground); }
.ta-sub { font-size: 13.5px; color: var(--neutral-600); margin-top: 3px; }
.ta-stats {
  display: flex; align-items: center; gap: 0;
  background: #fff; border: 1px solid #e8e4ff; border-radius: var(--radius-xl);
  overflow: hidden;
}
.ta-stat-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  padding: 16px 12px; border-right: 1px solid #eeebff;
}
.ta-stat-item:last-of-type { border-right: 1px solid #eeebff; }
.ta-stat-val { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--foreground); letter-spacing: -0.02em; }
.ta-stat-lbl { font-size: 11.5px; color: var(--neutral-500); margin-top: 3px; text-align: center; }
.ta-stat-div { width: 0; } /* dividers built into border-right */
.ta-stat-highlight .ta-stat-val { color: #7c3aed; }
.ta-stat-highlight { background: #faf8ff; }
.ta-btn {
  margin: 10px 16px 10px auto; flex-shrink: 0; white-space: nowrap;
  border-color: #7c3aed !important; color: #7c3aed !important;
  font-size: 13px !important; padding: 9px 18px !important;
}
.ta-btn:hover { background: #f5f3ff !important; }

/* ── comparison table ── */
.compare-wrap { margin-top: 52px; }
.compare-title {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--neutral-400);
  margin: 0 0 16px;
}
.compare-table { border: 1px solid var(--neutral-200); border-radius: var(--radius-xl); overflow: hidden; }
.ct-head, .ct-row {
  display: grid; grid-template-columns: 1fr 100px 100px 120px;
  align-items: center;
}
.ct-head {
  background: var(--neutral-50); border-bottom: 1px solid var(--neutral-200);
  padding: 12px 20px;
}
.ct-row { padding: 13px 20px; border-bottom: 1px solid var(--neutral-100); }
.ct-row:last-child { border-bottom: none; }
.ct-row:nth-child(even) { background: #fafafa; }
.ct-feat { font-size: 14px; color: var(--neutral-700); }
.ct-col {
  text-align: center; font-size: 13.5px; font-weight: 600;
  color: var(--neutral-700); font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.ct-head .ct-col { font-size: 12px; font-weight: 700; }
.ct-pro { color: var(--brand); }
.ct-adv { color: #7c3aed; }
.ct-x { color: var(--neutral-300) !important; font-size: 16px !important; font-weight: 400 !important; }
.ct-yes { color: var(--brand) !important; font-size: 12.5px !important; font-weight: 500 !important; }
.ct-yes svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── landing competitor comparison table ── */
.lcmp-scroll {
  overflow-x: auto; margin-top: 44px;
  border: 1px solid var(--neutral-200); border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.lcmp-table { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 13.5px; }

/* header row */
.lcmp-table thead tr { background: var(--neutral-50); border-bottom: 1px solid var(--neutral-200); }
.lcmp-table thead th {
  padding: 16px 14px 14px; font-size: 11.5px; font-weight: 600;
  color: var(--neutral-500); text-align: center; vertical-align: middle;
  letter-spacing: -0.01em;
}
.lcmp-table thead th.lcmp-feat-h {
  text-align: left; min-width: 180px; padding-left: 24px;
  font-size: 10px; font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--neutral-400);
}
.lcmp-table thead th.lcmp-us-h {
  background: var(--brand); color: #fff; font-weight: 700;
  border-left: 1px solid rgba(37,99,235,0.3); border-right: 1px solid rgba(37,99,235,0.3);
  min-width: 148px; font-size: 12px; letter-spacing: 0;
}
.lcmp-us-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.2); border-radius: 20px;
  padding: 3px 9px 3px 6px; margin-top: 6px;
  font-size: 10px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,0.9);
  font-family: var(--font-sans, inherit);
}
.lcmp-us-badge svg { width: 10px; height: 10px; }

/* body rows */
.lcmp-table tbody tr { border-bottom: 1px solid var(--neutral-100); transition: background var(--dur-fast); }
.lcmp-table tbody tr:last-child { border-bottom: none; }
.lcmp-table tbody tr:nth-child(odd) { background: #fff; }
.lcmp-table tbody tr:nth-child(even) { background: #f9fafb; }
.lcmp-table tbody tr:hover { background: #f0f5ff; }
.lcmp-table tbody tr:hover td.lcmp-us { background: rgba(37,99,235,0.12); }

.lcmp-table td {
  padding: 14px 14px; text-align: center; color: var(--neutral-600);
  line-height: 1.4; vertical-align: middle;
}
.lcmp-table td.lcmp-feat {
  text-align: left; font-weight: 600; font-size: 14px;
  color: var(--foreground); padding-left: 24px;
  position: sticky; left: 0; z-index: 1;
  background: #fff; border-right: 1px solid var(--neutral-100);
}
.lcmp-table tbody tr:nth-child(even) td.lcmp-feat { background: #f9fafb; }
.lcmp-table tbody tr:hover td.lcmp-feat { background: #f0f5ff; }
.lcmp-table td.lcmp-us {
  background: rgba(37,99,235,0.07); font-weight: 600; color: var(--foreground);
  border-left: 1px solid rgba(37,99,235,0.15); border-right: 1px solid rgba(37,99,235,0.15);
}
.lcmp-table tbody tr:nth-child(even) td.lcmp-us { background: rgba(37,99,235,0.1); }

/* indicators */
.lcmp-check { color: #16a34a; font-size: 13px; font-weight: 700; }
.lcmp-no { color: var(--neutral-300); font-size: 20px; line-height: 1; font-weight: 300; }
.lcmp-partial-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3;
  border-radius: 20px; padding: 2px 8px; font-size: 11px; font-weight: 600;
  letter-spacing: 0; white-space: nowrap;
}
.lcmp-partial-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #e11d48; flex-shrink: 0;
}
.lcmp-note { font-size: 13px; color: var(--neutral-400); margin-top: 18px; text-align: center; }
.lcmp-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.lcmp-note a:hover { color: var(--brand-accent); }

@media (max-width: 920px) {
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .feat-row { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .feat-row.flip .feat-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .ct-head, .ct-row { grid-template-columns: 1fr 72px 72px 96px; padding: 12px 14px; }
  .ct-feat { font-size: 13px; }
  .ct-col { font-size: 12px; }
}
@media (max-width: 640px) {
  .compare-wrap { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .ta-stats { flex-direction: column; border-radius: var(--radius-lg); }
  .ta-stat-item { border-right: none !important; border-bottom: 1px solid #eeebff; width: 100%; flex-direction: row; justify-content: space-between; padding: 13px 16px; }
  .ta-stat-item:last-of-type { border-bottom: none; }
  .ta-stat-lbl { text-align: right; margin-top: 0; }
  .ta-btn { margin: 0; width: 100%; justify-content: center; }
}
