/**
 * BioCode — Membership Plans Page v1.0
 * Design: Light SaaS pricing, animated toggle, glass popular card,
 *         comparison table, FAQ accordion, trust counters.
 */

/* ══════════════════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════════════════ */
#mp-root {
  --mp-bg:          #f8fafc;
  --mp-white:       #ffffff;
  --mp-text:        #0f172a;
  --mp-muted:       #64748b;
  --mp-border:      #e2e8f0;
  --mp-radius:      16px;
  --mp-radius-sm:   10px;

  /* Plan accent colours */
  --mp-basic:       #6366f1;
  --mp-advanced:    #0ea5e9;
  --mp-pro:         #175cff;
  --mp-ruby:        #dc2626;

  /* Shadows */
  --mp-shadow-sm:   0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --mp-shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --mp-shadow-lg:   0 20px 48px rgba(0,0,0,.10), 0 8px 20px rgba(0,0,0,.06);
  --mp-shadow-pro:  0 20px 60px rgba(23,92,255,.18), 0 6px 20px rgba(23,92,255,.12);

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Helvetica, Arial, sans-serif;
  background: var(--mp-bg);
  color: var(--mp-text);
  -webkit-font-smoothing: antialiased;
}


/* ══════════════════════════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════════════════════════ */
.mp-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.mp-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mp-pro);
  background: rgba(23,92,255,.08);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.mp-section-label svg { flex-shrink: 0; }

.mp-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--mp-text);
  margin: 0 0 14px;
}
.mp-section-title em { font-style: normal; color: var(--mp-pro); }

.mp-section-sub {
  font-size: 17px;
  color: var(--mp-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}


/* ══════════════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════════════ */
.mp-hero {
  background: linear-gradient(160deg, #eef2ff 0%, #f8fafc 45%, #fff 100%);
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--mp-border);
  position: relative;
  overflow: hidden;
}
.mp-hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.08) 0%, transparent 70%);
  pointer-events: none;
}

.mp-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mp-pro);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mp-hero-eyebrow::before, .mp-hero-eyebrow::after {
  content: '';
  width: 32px; height: 1px;
  background: var(--mp-pro);
  opacity: .4;
}

.mp-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--mp-text);
  margin: 0 0 20px;
  letter-spacing: -.02em;
}
.mp-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--mp-pro) 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mp-hero-sub {
  font-size: 18px;
  color: var(--mp-muted);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 40px;
}


/* ── Hero Stats ── */
.mp-hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: 44px;
}
.mp-hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mp-hero-stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  flex-shrink: 0;
  overflow: hidden;
}
.mp-hero-stat-icon svg { width: 44px; height: 44px; display: block; }
.mp-stat-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--mp-text);
  line-height: 1.1;
}
.mp-stat-lbl {
  display: block;
  font-size: 12px;
  color: var(--mp-muted);
  font-weight: 500;
  letter-spacing: .02em;
}


/* ── Billing Toggle ── */
.mp-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--mp-white);
  border: 1px solid var(--mp-border);
  border-radius: 100px;
  padding: 6px 20px;
  box-shadow: var(--mp-shadow-sm);
}
.mp-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--mp-muted);
  transition: color .2s;
  white-space: nowrap;
}
.mp-toggle-label.mp-active { color: var(--mp-text); }

.mp-save-badge {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  padding: 2px 7px;
  margin-left: 5px;
  letter-spacing: .02em;
  vertical-align: middle;
}

.mp-toggle-btn {
  position: relative;
  width: 46px; height: 26px;
  border-radius: 100px;
  background: #e2e8f0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s;
  flex-shrink: 0;
}
.mp-toggle-btn.mp-on { background: var(--mp-pro); }
.mp-toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.mp-toggle-btn.mp-on .mp-toggle-thumb { transform: translateX(20px); }


/* ══════════════════════════════════════════════════════
   2. PRICING CARDS
══════════════════════════════════════════════════════ */
.mp-plans {
  padding: 64px 0 48px;
}
.mp-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* ── Base card ── */
.mp-plan-card {
  background: var(--mp-white);
  border-radius: var(--mp-radius);
  border: 1.5px solid var(--mp-border);
  padding: 28px 24px 28px;
  position: relative;
  box-shadow: var(--mp-shadow-sm);
  transition: transform .28s cubic-bezier(.4,0,.2,1),
              box-shadow .28s cubic-bezier(.4,0,.2,1),
              border-color .28s;
  opacity: 0;
  transform: translateY(24px);
}
.mp-plan-card.mp-visible {
  opacity: 1;
  transform: translateY(0);
}
.mp-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mp-shadow-lg);
}

/* ── Popular card override ── */
.mp-plan-card.mp-popular {
  border-color: var(--mp-pro);
  box-shadow: var(--mp-shadow-pro);
  transform: translateY(-8px);
  z-index: 2;
}
.mp-plan-card.mp-popular.mp-visible {
  transform: translateY(-8px);
}
.mp-plan-card.mp-popular:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 70px rgba(23,92,255,.22), 0 10px 28px rgba(23,92,255,.14);
}

/* ── Card badge ── */
.mp-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.mp-plan-card.mp-popular .mp-card-badge {
  background: var(--mp-pro);
  color: #fff;
}
.mp-plan-card.mp-ruby .mp-card-badge {
  background: var(--mp-ruby);
  color: #fff;
}

/* ── Card header ── */
.mp-card-icon {
  width: 80px; height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: transparent;
}
.mp-card-icon img {
  width: 80px; height: 80px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.mp-card-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--mp-text);
}
.mp-card-tagline {
  font-size: 13px;
  color: var(--mp-muted);
  line-height: 1.5;
  margin: 0 0 20px;
  min-height: 40px;
}

/* ── Price block ── */
.mp-price-block {
  margin-bottom: 22px;
  min-height: 68px;
}
.mp-price-main {
  display: flex;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
}
.mp-price-cur {
  font-size: 18px;
  font-weight: 700;
  color: var(--mp-text);
  margin-top: 8px;
}
.mp-price-val {
  font-size: 46px;
  font-weight: 900;
  color: var(--mp-text);
  transition: opacity .2s, transform .2s;
  letter-spacing: -.03em;
}
.mp-price-val.mp-changing {
  opacity: 0;
  transform: translateY(-8px);
}
.mp-price-period {
  font-size: 13px;
  color: var(--mp-muted);
  font-weight: 500;
  align-self: flex-end;
  margin-bottom: 10px;
  margin-left: 2px;
}
.mp-price-note {
  font-size: 12px;
  color: var(--mp-muted);
  margin-top: 6px;
  min-height: 16px;
}
.mp-price-strike {
  text-decoration: line-through;
  opacity: .5;
  margin-right: 4px;
}

/* ── Ruby annual-only ── */
.mp-price-annual-tag {
  display: inline-block;
  background: rgba(220,38,38,.08);
  color: var(--mp-ruby);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 8px;
  margin-top: 4px;
}

/* ── CTA button ── */
.mp-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  border-radius: var(--mp-radius-sm);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  margin-bottom: 22px;
  cursor: pointer;
  border: 2px solid transparent;
}
.mp-plan-card.mp-basic  .mp-card-btn {
  background: rgba(99,102,241,.08);
  color: var(--mp-basic);
  border-color: rgba(99,102,241,.2);
}
.mp-plan-card.mp-basic  .mp-card-btn:hover {
  background: var(--mp-basic);
  color: #fff;
  border-color: var(--mp-basic);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99,102,241,.3);
}
.mp-plan-card.mp-adv .mp-card-btn {
  background: rgba(14,165,233,.08);
  color: var(--mp-advanced);
  border-color: rgba(14,165,233,.2);
}
.mp-plan-card.mp-adv .mp-card-btn:hover {
  background: var(--mp-advanced);
  color: #fff;
  border-color: var(--mp-advanced);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(14,165,233,.3);
}
.mp-plan-card.mp-popular .mp-card-btn {
  background: var(--mp-pro);
  color: #fff;
  border-color: var(--mp-pro);
}
.mp-plan-card.mp-popular .mp-card-btn:hover {
  background: #0d47e8;
  border-color: #0d47e8;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(23,92,255,.35);
}
.mp-plan-card.mp-ruby .mp-card-btn {
  background: var(--mp-ruby);
  color: #fff;
  border-color: var(--mp-ruby);
}
.mp-plan-card.mp-ruby .mp-card-btn:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(220,38,38,.3);
}

/* ── Feature list ── */
.mp-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mp-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--mp-text);
  padding: 6px 0;
  border-top: 1px solid var(--mp-border);
  line-height: 1.5;
}
.mp-card-features li:first-child { border-top: none; }

.mp-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.mp-plan-card.mp-basic  .mp-check { background: rgba(99,102,241,.12); color: var(--mp-basic); }
.mp-plan-card.mp-adv    .mp-check { background: rgba(14,165,233,.12); color: var(--mp-advanced); }
.mp-plan-card.mp-popular .mp-check { background: rgba(23,92,255,.12); color: var(--mp-pro); }
.mp-plan-card.mp-ruby   .mp-check { background: rgba(220,38,38,.1);  color: var(--mp-ruby); }

.mp-check svg { width: 10px; height: 10px; }


/* ══════════════════════════════════════════════════════
   2b. TECH LOGOS STRIP
══════════════════════════════════════════════════════ */
.mp-tech {
  background: var(--mp-white);
  border-top: 1px solid var(--mp-border);
  border-bottom: 1px solid var(--mp-border);
  padding: 44px 0 52px;
}
.mp-tech-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 32px;
}
.mp-tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  align-items: flex-start;
}

.mp-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: default;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s, transform .45s;
}
.mp-tech-item.mp-visible { opacity: 1; transform: none; }

.mp-tech-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,.10), 0 1px 3px rgba(0,0,0,.07);
  transition: transform .22s cubic-bezier(.4,0,.2,1), box-shadow .22s;
}
.mp-tech-item:hover .mp-tech-icon {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 10px 28px rgba(0,0,0,.14), 0 4px 10px rgba(0,0,0,.08);
}
.mp-tech-icon svg {
  width: 56px; height: 56px;
  display: block;
}

.mp-tech-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mp-muted);
  text-align: center;
  white-space: nowrap;
  letter-spacing: .01em;
}

/* stagger — 11 items */
.mp-tech-item:nth-child(1)  { transition-delay: 0ms; }
.mp-tech-item:nth-child(2)  { transition-delay: 45ms; }
.mp-tech-item:nth-child(3)  { transition-delay: 90ms; }
.mp-tech-item:nth-child(4)  { transition-delay: 135ms; }
.mp-tech-item:nth-child(5)  { transition-delay: 180ms; }
.mp-tech-item:nth-child(6)  { transition-delay: 225ms; }
.mp-tech-item:nth-child(7)  { transition-delay: 270ms; }
.mp-tech-item:nth-child(8)  { transition-delay: 315ms; }
.mp-tech-item:nth-child(9)  { transition-delay: 360ms; }
.mp-tech-item:nth-child(10) { transition-delay: 405ms; }
.mp-tech-item:nth-child(11) { transition-delay: 450ms; }


/* ══════════════════════════════════════════════════════
   3. TRUST STRIP
══════════════════════════════════════════════════════ */
.mp-trust {
  background: var(--mp-bg);
  border-top: 1px solid var(--mp-border);
  border-bottom: 1px solid var(--mp-border);
  padding: 48px 0 52px;
}
.mp-trust-eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0 0 24px;
}
.mp-trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}
.mp-trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 24px;
  border-radius: var(--mp-radius);
  background: var(--mp-white);
  border: 1px solid var(--mp-border);
  box-shadow: var(--mp-shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.mp-trust-card:hover {
  box-shadow: var(--mp-shadow-md);
  transform: translateY(-2px);
}

.mp-trust-card-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-trust-card-icon svg { width: 64px; height: 64px; display: block; }

.mp-trust-card-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--mp-text);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.mp-trust-card-desc {
  font-size: 12px;
  color: var(--mp-muted);
  line-height: 1.55;
  font-weight: 500;
}


/* ══════════════════════════════════════════════════════
   4. COMPARISON TABLE
══════════════════════════════════════════════════════ */
.mp-comparison {
  padding: 72px 0;
}
.mp-comparison-head {
  text-align: center;
  margin-bottom: 44px;
}

.mp-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--mp-radius);
  box-shadow: var(--mp-shadow-md);
  border: 1px solid var(--mp-border);
}

.mp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--mp-white);
  border-radius: var(--mp-radius);
  overflow: hidden;
}

/* Plan header row */
.mp-table thead tr th {
  padding: 20px 16px 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--mp-bg);
  border-bottom: 1px solid var(--mp-border);
  position: sticky;
  top: 0;
  z-index: 5;
}
.mp-table thead tr th:first-child {
  text-align: left;
  width: 200px;
  background: var(--mp-bg);
}
.mp-th-plan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.mp-th-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.mp-th-price {
  font-size: 12px;
  color: var(--mp-muted);
  font-weight: 500;
}
.mp-th-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

/* Col highlight */
.mp-table th.mp-col-pro,
.mp-table td.mp-col-pro {
  background: rgba(23,92,255,.04);
  border-left: 1.5px solid rgba(23,92,255,.15);
  border-right: 1.5px solid rgba(23,92,255,.15);
}
.mp-table thead th.mp-col-pro {
  background: rgba(23,92,255,.08);
}

/* Category header rows */
.mp-table tbody tr.mp-cat-row td {
  background: #f1f5f9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mp-muted);
  padding: 10px 16px 9px;
  border-top: 1px solid var(--mp-border);
}
.mp-table tbody tr.mp-cat-row td.mp-col-pro {
  background: rgba(23,92,255,.05);
}

/* Data rows */
.mp-table tbody tr td {
  padding: 13px 16px;
  font-size: 14px;
  border-top: 1px solid var(--mp-border);
  text-align: center;
  vertical-align: middle;
}
.mp-table tbody tr td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--mp-text);
  font-size: 13.5px;
}
.mp-table tbody tr:hover td { background: #f8fafc; }
.mp-table tbody tr:hover td.mp-col-pro { background: rgba(23,92,255,.07); }

/* Check / Cross icons */
.mp-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 0;
}
.mp-tick.mp-yes { background: rgba(34,197,94,.12); color: #16a34a; }
.mp-tick.mp-yes::after { content: '✓'; font-size: 12px; font-weight: 700; color: #16a34a; }
.mp-tick.mp-no  { background: #f1f5f9; color: #94a3b8; }
.mp-tick.mp-no::after  { content: '—'; font-size: 11px; font-weight: 600; color: #94a3b8; }

.mp-tick-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--mp-text);
}

/* Popular column header label */
.mp-popular-col-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--mp-pro);
  color: #fff;
  border-radius: 100px;
  padding: 2px 8px;
  display: inline-block;
  margin-bottom: 2px;
}


/* ══════════════════════════════════════════════════════
   5. FAQ
══════════════════════════════════════════════════════ */
.mp-faq {
  padding: 72px 0;
  background: var(--mp-white);
  border-top: 1px solid var(--mp-border);
}
.mp-faq-head {
  text-align: center;
  margin-bottom: 44px;
}
.mp-faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-faq-item {
  border: 1.5px solid var(--mp-border);
  border-radius: var(--mp-radius-sm);
  background: var(--mp-white);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.mp-faq-item.mp-open {
  border-color: rgba(23,92,255,.25);
  box-shadow: 0 4px 20px rgba(23,92,255,.08);
}

.mp-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}
.mp-faq-q-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--mp-text);
  line-height: 1.4;
}
.mp-faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--mp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .25s;
  color: var(--mp-muted);
}
.mp-faq-item.mp-open .mp-faq-icon {
  background: var(--mp-pro);
  border-color: var(--mp-pro);
  color: #fff;
  transform: rotate(45deg);
}
.mp-faq-icon svg { width: 14px; height: 14px; }

.mp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.mp-faq-a-inner {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--mp-muted);
  line-height: 1.7;
}


/* ══════════════════════════════════════════════════════
   6. BOTTOM CTA
══════════════════════════════════════════════════════ */
.mp-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.mp-cta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
}
.mp-cta h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.18;
  letter-spacing: -.02em;
}
.mp-cta h2 em {
  font-style: normal;
  color: #93c5fd;
}
.mp-cta-sub {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.mp-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.mp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--mp-radius-sm);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.mp-cta-btn-primary {
  background: #fff;
  color: var(--mp-pro);
}
.mp-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,255,255,.25);
}
.mp-cta-btn-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.2);
}
.mp-cta-btn-secondary:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-2px);
}
.mp-cta-guarantee {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mp-cta-guarantee svg { width: 14px; height: 14px; }


/* ══════════════════════════════════════════════════════
   ANIMATIONS — Scroll-in
══════════════════════════════════════════════════════ */
.mp-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1),
              transform .55s cubic-bezier(.4,0,.2,1);
}
.mp-animate.mp-visible { opacity: 1; transform: none; }

/* stagger delays for card siblings */
.mp-plan-card:nth-child(1) { transition-delay: 0ms; }
.mp-plan-card:nth-child(2) { transition-delay: 80ms; }
.mp-plan-card:nth-child(3) { transition-delay: 160ms; }
.mp-plan-card:nth-child(4) { transition-delay: 240ms; }



/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .mp-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mp-plan-card.mp-popular {
    transform: translateY(0);
  }
  .mp-plan-card.mp-popular.mp-visible {
    transform: translateY(0);
  }
  .mp-plan-card.mp-popular:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 700px) {
  .mp-hero { padding: 52px 0 40px; }
  .mp-hero h1 { font-size: 30px; }
  .mp-hero-sub { font-size: 16px; }
  .mp-plans-grid { grid-template-columns: 1fr; gap: 16px; }
  .mp-hero-stats { gap: 10px 20px; }
  .mp-trust-inner { grid-template-columns: 1fr; max-width: 340px; }
  .mp-comparison { padding: 48px 0; }
  .mp-faq { padding: 48px 0; }
  .mp-cta { padding: 52px 0; }
}

@media (max-width: 480px) {
  .mp-wrap { padding: 0 16px; }
  .mp-card-tagline { min-height: auto; }
}
