/* ===========================================================
   PRICING PAGE — cards, billing toggle, comparison matrix
   =========================================================== */

.pricing-section { padding: 3.5rem 0 5rem; background: #fff; }

/* ---------- Billing toggle ---------- */
.billing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 3.25rem;
}
.billing-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.95rem; color: #94a3b8;
  transition: color 0.25s ease; cursor: pointer; user-select: none;
}
.billing-label.active { color: #0A5BB0; }
.billing-save {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: #0e9f6e; background: rgba(16,185,129,0.12);
  padding: 0.22rem 0.5rem; border-radius: 999px;
}
.billing-switch {
  position: relative; width: 58px; height: 32px;
  border-radius: 999px; background: #cbd5e1;
  transition: background 0.3s ease; flex-shrink: 0;
}
.billing-switch[aria-checked="true"] {
  background: linear-gradient(135deg, #0A5BB0 0%, #1BAFC4 100%);
}
.billing-knob {
  position: absolute; top: 3px; left: 3px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
.billing-switch[aria-checked="true"] .billing-knob { transform: translateX(26px); }

/* ---------- Pricing grid ---------- */
.pricing-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 720px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px -18px rgba(15,40,80,0.18);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, border-color 0.3s ease;
  will-change: transform;
}
.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 55px -24px rgba(10,91,176,0.4);
  border-color: rgba(27,175,196,0.4);
}

/* Featured */
.price-card-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #0A5BB0, #1BAFC4) border-box;
  box-shadow: 0 24px 50px -20px rgba(10,91,176,0.45);
}
@media (min-width: 1040px) {
  .price-card-featured { transform: scale(1.04); }
  .price-card-featured:hover { transform: scale(1.04) translateY(-10px); }
}
.price-glow {
  position: absolute; inset: -40%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(27,175,196,0.16), transparent 55%);
}
.price-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; padding: 0.4rem 0.75rem; border-radius: 999px;
  background: linear-gradient(135deg, #0A5BB0 0%, #1BAFC4 100%);
  box-shadow: 0 6px 16px rgba(10,91,176,0.4);
}

/* Media (GSAP reveal target) */
.price-card-media {
  position: relative; height: 9.5rem; overflow: hidden;
}
.price-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
  filter: saturate(1.05);
}
.price-card:hover .price-card-media img { transform: scale(1.12); }
.price-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,43,87,0.05), rgba(4,43,87,0.45));
}

.price-card-body { position: relative; z-index: 2; padding: 1.75rem 1.6rem 2rem; }
.price-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: #0f2444; letter-spacing: -0.01em;
}
.price-card-tagline { font-size: 0.9rem; color: #64748b; margin-top: 0.3rem; min-height: 2.6rem; }

.price-amount { display: flex; align-items: flex-start; gap: 2px; margin-top: 1rem; color: #0f2444; }
.price-currency { font-size: 1.4rem; font-weight: 700; margin-top: 0.45rem; }
.price-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3.3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.price-period { font-size: 0.85rem; font-weight: 600; color: #94a3b8; align-self: flex-end; margin-bottom: 0.5rem; }
.price-billed { font-size: 0.78rem; color: #94a3b8; margin-top: 0.4rem; min-height: 1.1rem; font-weight: 500; }

.price-cta {
  display: block; text-align: center; margin: 1.25rem 0 1.5rem;
  padding: 0.85rem 1rem; border-radius: 12px;
  font-weight: 700; font-size: 0.9rem;
  border: 1.5px solid #d3deea; color: #0A5BB0; background: #fff;
  transition: all 0.25s ease;
}
.price-cta:hover { border-color: #0A5BB0; background: rgba(10,91,176,0.04); }
.price-cta-primary {
  border-color: transparent; color: #fff;
  background: linear-gradient(135deg, #0A5BB0 0%, #1BAFC4 100%);
  box-shadow: 0 10px 22px -8px rgba(10,91,176,0.55);
}
.price-cta-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }

.price-feats { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.price-feats li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.88rem; color: #334155; font-weight: 500; }
.price-feats .muted { color: #b4bfcc; }
.pf-check, .pf-dash { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pf-check { background: rgba(27,175,196,0.14); }
.pf-check::after {
  content: ''; width: 9px; height: 5px; margin-top: -2px;
  border-left: 2px solid #1199ae; border-bottom: 2px solid #1199ae;
  transform: rotate(-45deg);
}
.pf-dash { background: #eef2f6; }
.pf-dash::after { content: ''; width: 8px; height: 2px; background: #b4bfcc; border-radius: 2px; }

.pricing-note { text-align: center; color: #94a3b8; font-size: 0.82rem; margin-top: 2.5rem; }

/* ===========================================================
   FEATURE COMPARISON MATRIX
   =========================================================== */
.matrix-section { padding: 4.5rem 0 5.5rem; background: linear-gradient(180deg, #f7fbfe 0%, #fff 100%); }

.matrix-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  border: 1px solid #e8eef5;
  box-shadow: 0 20px 45px -28px rgba(15,40,80,0.25);
  background: #fff;
}
.matrix-table {
  width: 100%; min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.matrix-table thead th {
  position: sticky; top: 0; z-index: 5;
  background: #fff;
  padding: 1.4rem 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1rem; color: #0f2444;
  text-align: center;
  border-bottom: 2px solid #eef2f6;
  box-shadow: 0 1px 0 #eef2f6;
}
.matrix-table thead th.mx-feature-col { text-align: left; color: #64748b; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; }
.matrix-table thead th.mx-pop {
  color: #0A5BB0;
  background: linear-gradient(180deg, rgba(27,175,196,0.08), rgba(255,255,255,0));
}
.matrix-table thead th.mx-pop::after {
  content: 'Most Popular'; display: block;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #1199ae; margin-top: 2px;
}

.mx-feature-col { width: 38%; }

.mx-group td {
  padding: 0.85rem 1.25rem;
  background: #f3f7fb;
}
.mx-group span {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: #0A5BB0;
}

.matrix-table tbody tr:not(.mx-group) {
  transition: background 0.18s ease, transform 0.18s ease;
}
.matrix-table tbody tr:not(.mx-group):hover {
  background: rgba(27,175,196,0.05);
}
.matrix-table tbody td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  text-align: center;
  color: #475569;
}
.matrix-table tbody td:first-child { text-align: left; font-weight: 600; color: #1e293b; }
.matrix-table tbody td.mx-pop, .matrix-table tfoot td.mx-pop { background: rgba(27,175,196,0.04); }

/* indicators */
.mx-yes, .mx-no { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; }
.mx-yes { background: rgba(27,175,196,0.14); }
.mx-yes::after {
  content: ''; width: 10px; height: 5px; margin-top: -2px;
  border-left: 2.2px solid #1199ae; border-bottom: 2.2px solid #1199ae; transform: rotate(-45deg);
}
.mx-no { background: #f1f5f9; }
.mx-no::after { content: ''; width: 9px; height: 2px; background: #cbd5e1; border-radius: 2px; }
.mx-txt { font-size: 0.8rem; font-weight: 700; color: #0A5BB0; }

.matrix-table tfoot td { padding: 1.25rem; text-align: center; background: #fafcfe; }
.mx-cta {
  display: inline-block; padding: 0.6rem 1.4rem; border-radius: 10px;
  font-weight: 700; font-size: 0.82rem; border: 1.5px solid #d3deea; color: #0A5BB0;
  transition: all 0.2s ease;
}
.mx-cta:hover { border-color: #0A5BB0; background: rgba(10,91,176,0.04); }
.mx-cta-primary { border-color: transparent; color: #fff; background: linear-gradient(135deg, #0A5BB0, #1BAFC4); }
.mx-cta-primary:hover { filter: brightness(1.07); }

/* On small screens add a scroll hint */
@media (max-width: 720px) {
  .matrix-scroll { position: relative; }
}

