/* =============================================================================
   Company Periscope — Pricing Section (drop-in)
   Scoped to .pricing-section so it can replace the homepage #pricing block.
   Relies on existing site :root tokens when present (--font, --body, --teal,
   --white, --dim, --mono). Fallbacks match live site values.
   Link this file OR paste into the homepage <style> and remove obsolete
   live pricing rules (.plan-minutes, .offer-total, .offer-breakdown, etc.).
   ============================================================================= */

.pricing-section {
  --ps-navy: #050D1A;
  --ps-bg: #040B16;
  --ps-teal: var(--teal, #00E5C0);
  --ps-white: var(--white, #FFFFFF);
  --ps-dim: var(--dim, rgba(255, 255, 255, 0.55));
  --ps-font: var(--font, 'Montserrat', system-ui, sans-serif);
  --ps-body: var(--body, 'Inter', system-ui, sans-serif);
  --ps-mono: var(--mono, 'Montserrat', system-ui, sans-serif);

  background: var(--ps-bg);
  text-align: center;
  padding: 100px 24px;
  position: relative;
  color: var(--ps-white);
  font-family: var(--ps-body);
}

.pricing-section .section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ps-teal);
  margin-bottom: 20px;
  display: block;
}

.pricing-section .section-title {
  font-family: var(--ps-font);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ps-white);
  margin-bottom: 20px;
}

.pricing-section .section-sub {
  font-size: 1.05rem;
  color: var(--ps-dim);
  max-width: 520px;
  line-height: 1.7;
  margin: 0 auto;
}

.pricing-section .pricing-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  max-width: 960px;
  margin: 56px auto 0;
  flex-wrap: wrap;
}

.pricing-section .offer-card {
  flex: 1;
  min-width: 280px;
  max-width: 440px;
  position: relative;
  background: linear-gradient(160deg, rgba(26, 108, 246, 0.12), rgba(0, 229, 192, 0.05));
  border: 1px solid rgba(26, 108, 246, 0.4);
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 0 0 1px rgba(26, 108, 246, 0.15), 0 32px 80px rgba(26, 108, 246, 0.15);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.pricing-section .offer-card.popular {
  border-color: rgba(0, 229, 192, 0.5);
  background: linear-gradient(160deg, rgba(0, 201, 122, 0.1), rgba(0, 229, 192, 0.04));
  box-shadow: 0 0 0 1px rgba(0, 229, 192, 0.2), 0 32px 80px rgba(0, 201, 122, 0.15);
}

.pricing-section .popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00C97A, #00E5C0);
  color: var(--ps-navy);
  font-family: var(--ps-font);
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-section .plan-name {
  font-family: var(--ps-font);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ps-teal);
  margin-bottom: 12px;
}

.pricing-section .price-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.pricing-section .price {
  font-family: var(--ps-mono);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ps-white);
}

.pricing-section .per {
  font-family: var(--ps-font);
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 8px;
}

.pricing-section .setup {
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-section .setup span {
  color: rgba(255, 255, 255, 0.4);
}

.pricing-section .first-pay {
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.pricing-section .first-pay strong {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-section .mins-box {
  margin-top: 22px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
}

.pricing-section .mins {
  font-family: var(--ps-font);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.pricing-section .mins b {
  font-size: 1.6rem;
  color: var(--ps-white);
  margin-right: 4px;
}



.pricing-section .pro-value {
  margin-top: 12px;
  border-left: 3px solid #00C97A;
  padding: 4px 0 4px 12px;
}

.pricing-section .pv-main {
  font-family: var(--ps-font);
  font-weight: 700;
  font-size: 0.85rem;
  color: #00E5C0;
}

.pricing-section .pv-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.pricing-section .offer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 24px 0;
}

.pricing-section .p-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

.pricing-section .p-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ps-dim);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pricing-section .p-check {
  color: var(--ps-teal);
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.pricing-section .offer-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 201, 122, 0.06);
  border: 1px solid rgba(0, 201, 122, 0.2);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
}

.pricing-section .offer-guarantee-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.pricing-section .offer-guarantee-title {
  font-family: var(--ps-font);
  font-weight: 700;
  font-size: 0.88rem;
  color: #00c97a;
  margin-bottom: 4px;
}

.pricing-section .offer-guarantee-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}

.pricing-section .p-btn {
  width: 100%;
  font-family: var(--ps-font);
  font-weight: 800;
  font-size: 1rem;
  padding: 18px 24px;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: block;
  transition: all 0.2s;
  background: linear-gradient(135deg, #1A6CF6, #00C9E5);
  border: none;
  color: var(--ps-white);
  box-shadow: 0 8px 32px rgba(26, 108, 246, 0.4);
  letter-spacing: 0.01em;
}

.pricing-section .p-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(26, 108, 246, 0.6);
}

.pricing-section .p-btn:focus-visible {
  outline: 2px solid var(--ps-teal);
  outline-offset: 3px;
}

.pricing-section .p-btn-pro {
  background: linear-gradient(135deg, #00C97A, #00E5C0);
  color: var(--ps-navy);
  box-shadow: 0 8px 32px rgba(0, 201, 122, 0.4);
}

.pricing-section .p-btn-pro:hover {
  box-shadow: 0 12px 48px rgba(0, 201, 122, 0.55);
}

.pricing-section .due {
  text-align: center;
  margin-top: 10px;
  font-family: var(--ps-font);
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.pricing-section .offer-fine {
  text-align: center;
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.pricing-section .overage {
  margin-top: 32px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-section .offer-enterprise {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.35);
}

.pricing-section .offer-enterprise a {
  color: rgba(0, 229, 192, 0.7);
  text-decoration: none;
}

.pricing-section .offer-enterprise a:hover,
.pricing-section .offer-enterprise a:focus-visible {
  color: var(--ps-teal);
  text-decoration: underline;
}

/* Mobile — stack cards (matches live site breakpoints) */
@media (max-width: 900px) {
  .pricing-section .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 72px 16px;
  }

  .pricing-section .pricing-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .pricing-section .offer-card {
    max-width: none;
    padding: 40px 24px;
  }

  .pricing-section .price {
    font-size: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-section .p-btn {
    transition: none;
  }

  .pricing-section .p-btn:hover {
    transform: none;
  }
}
