/* =========================================
   LEADSMITH — Pricing & Welcome Pages
   ========================================= */

/* ── Shared nav tweak ──────────────────── */
.nav-active {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

/* ── Pricing hero ──────────────────────── */
.pricing-page,
.welcome-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.pricing-hero {
  text-align: center;
  padding: 72px 0 48px;
}

.pricing-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.pricing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.pricing-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Plan card ─────────────────────────── */
.pricing-plan-section {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}

/* ── Lead-conversion opportunity calculator ─────── */
.pricing-roi-section {
  margin: 0 0 80px;
  padding: 56px 32px;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  color: var(--text-white);
}

.pricing-roi-header {
  max-width: 620px;
  margin: 0 auto 36px;
  text-align: center;
}

.pricing-roi-eyebrow,
.pricing-roi-card-title {
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-roi-eyebrow { margin-bottom: 12px; }

.pricing-roi-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.pricing-roi-sub {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.pricing-roi-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-roi-inputs,
.pricing-roi-results {
  min-width: 0;
  padding: 30px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
}

.pricing-roi-card-title { margin-bottom: 28px; }

.pricing-roi-field { margin-bottom: 28px; }
.pricing-roi-field:last-child { margin-bottom: 0; }

.pricing-roi-field-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pricing-roi-label {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.4;
}

.pricing-roi-value-badge {
  min-width: 72px;
  flex-shrink: 0;
  padding: 4px 10px;
  border: 1px solid rgba(200,245,38,0.2);
  border-radius: 8px;
  background: rgba(200,245,38,0.12);
  color: var(--lime);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.pricing-roi-slider {
  width: 100%;
  height: 4px;
  appearance: none;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  outline: none;
}

.pricing-roi-slider::-webkit-slider-thumb {
  width: 21px;
  height: 21px;
  appearance: none;
  border: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200,245,38,0.5), 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.15s var(--ease-out-expo), box-shadow 0.15s;
}

.pricing-roi-slider::-moz-range-thumb {
  width: 21px;
  height: 21px;
  border: none;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(200,245,38,0.5);
  cursor: pointer;
}

.pricing-roi-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.pricing-roi-slider:focus-visible { box-shadow: 0 0 0 3px rgba(200,245,38,0.25); }

.pricing-roi-range {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: rgba(255,255,255,0.3);
  font-size: 11px;
}

.pricing-roi-metrics { display: grid; gap: 16px; }

.pricing-roi-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.pricing-roi-metric dt { min-width: 0; }
.pricing-roi-metric dd {
  flex-shrink: 0;
  color: var(--text-white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: right;
}

.pricing-roi-metric--highlight {
  margin: 2px -12px 0;
  padding: 14px 12px;
  border: 1px solid rgba(200,245,38,0.2);
  border-radius: 10px;
  background: rgba(200,245,38,0.08);
}

.pricing-roi-metric--highlight dt { color: rgba(255,255,255,0.72); font-weight: 600; }
.pricing-roi-metric--highlight dd { color: var(--lime); font-size: 25px; }
.pricing-roi-metric--annual { margin-top: -8px; }

.pricing-roi-formula {
  max-width: 820px;
  margin: 24px auto 0;
  color: rgba(255,255,255,0.48);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.pricing-roi-formula strong { color: rgba(255,255,255,0.78); }

.pricing-roi-cta {
  margin: 28px auto 0;
  text-align: center;
}

.pricing-roi-cta-btn {
  display: inline-block;
  padding: 14px 26px;
  border: none;
  border-radius: 10px;
  background: var(--lime);
  color: #0a0a0f;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s var(--ease-out-expo), box-shadow 0.2s;
}

.pricing-roi-cta-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 0 20px rgba(200,245,38,0.24); }
.pricing-roi-cta-btn:disabled { cursor: not-allowed; opacity: 0.5; transform: none; }
.pricing-roi-cta p { margin-top: 10px; color: rgba(255,255,255,0.4); font-size: 12px; }

.pricing-plan-card {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 12px 48px rgba(29, 111, 255, 0.10);
  position: relative;
}

.plan-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.plan-currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.plan-amount {
  font-family: 'Syne', sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
}

.plan-period {
  font-size: 16px;
  color: var(--text-mid);
  margin-left: 4px;
}

.plan-trial-note {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 32px;
  padding: 12px 16px;
  background: var(--lime-dim);
  border-radius: 8px;
}

.plan-trial-note strong {
  color: var(--navy);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.feat-check {
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-plan-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  margin-bottom: 12px;
}

.btn-plan-cta:hover {
  background: var(--accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
}

.plan-small-print {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* ── Comparison table ──────────────────── */
.pricing-compare-section {
  margin-bottom: 80px;
}

.compare-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}

.compare-sub {
  text-align: center;
  color: var(--text-mid);
  font-size: 16px;
  margin-bottom: 40px;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--grey-dark);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table thead tr {
  background: var(--navy);
}

.compare-table th {
  padding: 16px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.1);
}

.compare-th-feature {
  text-align: left !important;
  width: 40%;
}

.compare-table th.highlight-col {
  background: var(--accent);
  color: var(--white);
}

.compare-table tbody tr {
  border-bottom: 1px solid var(--grey);
}

.compare-table tbody tr:nth-child(even) {
  background: var(--off-white);
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table td {
  padding: 13px 20px;
  text-align: center;
  color: var(--text-mid);
  border-right: 1px solid var(--grey);
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

td.highlight-col {
  background: rgba(29, 111, 255, 0.04);
  font-weight: 600;
}

.col-yes { color: #16a34a; font-weight: 700; }
.col-no  { color: #dc2626; }
.col-part{ color: #d97706; }

/* ── FAQ ───────────────────────────────── */
.pricing-faq-section {
  margin-bottom: 80px;
}

.faq-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-q:hover { color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-glass);
  color: var(--text-mid);
  transition: transform 0.25s var(--ease-out-expo), background 0.2s, border-color 0.2s;
  margin-left: 8px;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.faq-a {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Bottom CTA ────────────────────────── */
.pricing-bottom-cta {
  text-align: center;
  background: var(--navy);
  border-radius: 20px;
  padding: 64px 40px;
  color: var(--white);
}

.pricing-bottom-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pricing-bottom-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.pricing-bottom-cta .btn-primary {
  background: var(--lime);
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.1s;
}

.pricing-bottom-cta .btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  text-decoration: none;
}

.pricing-small {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* ── Welcome page ──────────────────────── */
.welcome-page {
  padding-top: 72px;
}

.welcome-card {
  background: var(--white);
  border: 1px solid var(--grey-dark);
  border-radius: 20px;
  padding: 56px 48px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  text-align: center;
}

.welcome-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.welcome-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.welcome-sub {
  font-size: 17px;
  color: var(--text-mid);
  margin-bottom: 40px;
}

.welcome-steps {
  list-style: none;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.welcome-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.welcome-steps li div {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.welcome-steps li strong {
  color: var(--navy);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.welcome-calendar {
  background: var(--off-white);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 40px;
  text-align: left;
}

.cal-headline {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.cal-sub {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.cal-placeholder {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.cal-placeholder a {
  color: var(--accent);
  font-weight: 600;
}

.cal-small {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.welcome-footer-links {
  margin-top: 8px;
}

.btn-outline {
  display: inline-block;
  padding: 11px 28px;
  border: 1.5px solid var(--grey-dark);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* ── Responsive ────────────────────────── */
@media (max-width: 600px) {
  .pricing-plan-card { padding: 32px 20px; }
  .plan-amount { font-size: 48px; }
  .pricing-bottom-cta { padding: 48px 24px; }
  .welcome-card { padding: 40px 24px; }
  .compare-table th, .compare-table td { padding: 10px 12px; font-size: 13px; }
  .pricing-roi-section { padding: 40px 16px; }
  .pricing-roi-layout { grid-template-columns: 1fr; }
  .pricing-roi-inputs, .pricing-roi-results { padding: 24px 20px; }
  .pricing-roi-metric { align-items: flex-start; }
  .pricing-roi-metric dd { max-width: 48%; font-size: 20px; overflow-wrap: anywhere; }
  .pricing-roi-metric--highlight dd { font-size: 22px; }
  .pricing-roi-cta-btn { width: 100%; }
}

/* ── Billing toggle ─────────────────────── */
.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  position: relative;
}
.billing-toggle-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s var(--ease-out-expo), color 0.2s;
}
.billing-toggle-btn.active {
  background: var(--accent);
  color: var(--text-white);
  box-shadow: 0 0 16px var(--accent-glow);
}
.billing-toggle-btn:disabled { cursor: not-allowed; opacity: 0.6; }
.save-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--lime);
  color: #0a0a0f;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.save-badge--soon {
  background: rgba(255,255,255,0.12);
  color: var(--text-muted);
}

/* ── Plan-vs-plan features table ────────── */
.plan-features-section { margin-bottom: 80px; }
.plan-features-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
}
.plan-features-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.plan-features-table thead tr { background: rgba(255,255,255,0.06); }
.plan-features-table th {
  padding: 18px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  border-bottom: 1px solid var(--border-glass);
}
.plan-features-table th.th-feature { text-align: left; width: 44%; }
.plan-features-table tbody tr { border-bottom: 1px solid var(--border-glass); }
.plan-features-table tbody tr:last-child { border-bottom: none; }
.plan-features-table td {
  padding: 14px 20px;
  text-align: center;
  color: var(--text-muted);
}
.plan-features-table td:first-child {
  text-align: left;
  color: var(--text-white);
  font-weight: 500;
}
.plan-features-table .col-check {
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 0 8px var(--accent-glow);
  font-size: 18px;
}
.plan-features-table .col-cross {
  color: var(--text-faint);
  font-size: 18px;
}
@media (max-width: 600px) {
  .plan-features-table th, .plan-features-table td { padding: 10px 12px; font-size: 13px; }
}
