/* ======================================================
   Medical Practitioner Liability Insurance – Page CSS
====================================================== */

:root {
  --gradient-light-indigo: linear-gradient(135deg, #e0ffe9, #c7fed0);
}

/* Shared section label used across all sections */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #007005;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.benefits-section .section-label { color: #81f8bb; }

/* ── What Is Medical Liability Insurance ── */
.mpli-explainer-section {
  padding: 80px 0;
  background: #fff;
}
.mpli-explainer-section h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}
.mpli-explainer-sub {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 8px;
}
.explainer-card {
	padding: 22px 20px;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s;
    background: linear-gradient(145deg, #fafbff, #ffffff);
    background-color: #defff3;
    background-image: linear-gradient(140deg, #f6fffc 25%, #defff3);
    background-clip: border-box;
    border: 1px solid #8cebc9;
    border-radius: 16px;
}
.explainer-card:hover {
  box-shadow: 0 8px 24px rgba(99,102,241,0.1);
  transform: translateY(-3px);
}
.explainer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-light-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.explainer-icon i {
  font-size: 1.15rem;
  color: #025d00;
}
.explainer-card h6 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.explainer-card p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* ── Why Doctors Need Protection ── */
.mpli-risk-section {
  padding: 80px 0;
  background: #f8faff;
}
.mpli-risk-section h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.mpli-risk-sub {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto;
}
.risk-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 22px;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}
.risk-card:hover {
  box-shadow: 0 10px 28px rgba(99,102,241,0.1);
  transform: translateY(-4px);
}
.risk-num {
  font-size: 2rem;
  font-weight: 800;
  color: #e0e7ff;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.risk-card h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.risk-card p {
  font-size: 0.83rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* ── Why Not Regular Insurance ── */
.mpli-diff-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #000000 0%, #061600 60%, #031201 100%);
}
.mpli-diff-section h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.mpli-diff-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 22px;
}
.mpli-diff-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.35);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.mpli-diff-callout i {
  font-size: 1.2rem;
  color: #818cf8;
  flex-shrink: 0;
  margin-top: 2px;
}
.diff-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.diff-col {
  border-radius: 16px;
  padding: 26px 22px;
}
.diff-bad {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
}
.diff-good {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
}
.diff-col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.diff-bad .diff-col-head { color: #f87171; }
.diff-good .diff-col-head { color: #4ade80; }
.diff-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.diff-col ul li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  line-height: 1.5;
}
.diff-col ul li:last-child { border-bottom: none; }
@media (max-width: 576px) {
  .diff-compare { grid-template-columns: 1fr; }
}

/* ── Hero ── */
.mpli-hero {
  background: linear-gradient(135deg, #112701 0%, #000201 60%, #062b1e 100%);
  padding: 110px 0 80px;
  position: relative;
  overflow: hidden;
}
.mpli-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(99,102,241,0.12) 0%, transparent 65%);
}
.mpli-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.mpli-pill {
  font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.mpli-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.mpli-hero h1 span { color: #34d399; }
.mpli-hero .sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 32px;
}
.mpli-hero .hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Stat Grid */
.istat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 360px;
  margin-left: auto;
}
.istat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s, background 0.3s;
}
.istat-card:hover {
  transform: translateY(-4px);
  background: rgba(99,102,241,0.12);
}
.istat-card.accent {
  background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}
.istat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.istat-lbl {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Coverage List (icon-based) ── */
.coverage-icon-wrap {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--gradient-light-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.coverage-icon-wrap i {
  font-size: 1rem;
  color: #025d00;
}
.coverage-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.coverage-list li .cov-text strong {
  display: block;
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 3px;
}
.coverage-list li .cov-text p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ── Who It's For ── */
.for-section {
  background: #f8faff;
  padding: 80px 0;
}
.for-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
}
.profession-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
}
.profession-card:hover {
  box-shadow: 0 12px 30px rgba(99,102,241,0.12);
  transform: translateY(-4px);
}
.profession-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 16px;
  background: var(--gradient-light-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profession-icon i {
  font-size: 1.5rem;
  color: #025d00;
}
.profession-card h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.profession-card p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.55;
}

/* ── Coverage Tiers ── */
.tiers-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f4ff 100%);
}
.tiers-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0f172a;
}
.tier-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 20px;
  border: 2px solid #e2e8f0;
  position: relative;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.tier-card:hover {
  box-shadow: 0 16px 40px rgba(99,102,241,0.14);
  transform: translateY(-5px);
}
.tier-card.popular {
  border-color: #025d00;
  box-shadow: 0 8px 30px rgb(144 241 99 / 18%);
}
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #63f166, #072e00);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.tier-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}
.tier-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}
.tier-label {
  font-size: 0.8rem;
  color: #145d00;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tier-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #475569;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li i {
  color: #22c55e;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── Why SafePractix Benefits ── */
.benefits-section {
  padding: 80px 0;
  background: #051800;
}
.benefits-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.benefits-section .sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin-bottom: 48px;
}
.benefit-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: background 0.3s, transform 0.3s;
}
.benefit-card:hover {
  background: rgba(99,102,241,0.12);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-icon i {
  font-size: 1.3rem;
  color: #fff;
}
.benefit-card h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.6;
}

/* ── Custom Plan Card ── */
.tier-card.tier-custom {
  border: 2px dashed #7dd3fc;
  background: linear-gradient(160deg, #f0f9ff 0%, #ffffff 100%);
}
.tier-card.tier-custom:hover {
  border-color: #0ea5e9;
  box-shadow: 0 16px 40px rgba(14,165,233,0.14);
}
.tier-custom-note {
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}
.cta-btn.cta-custom {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #fff;
  border: none;
  animation: none;
}
.cta-btn.cta-custom::after {
  display: none;
}
.cta-btn.cta-custom:hover {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
}

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(135deg, #065f46 0%, #059669 50%, #34d399 100%);
  padding: 64px 0;
  text-align: center;
}
.cta-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-strip p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 32px;
}
.cta-strip .cta-btn {
  background: #fff;
  color: #0a2f00;
  border: none;
  animation: none;
}
.cta-strip .cta-btn::after {
  display: none;
}
.cta-strip .cta-btn:hover {
  background: #f0f0ff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .istat-grid {
    max-width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }
  .mpli-hero {
    padding: 80px 0 60px;
  }
  .tiers-section,
  .for-section,
  .benefits-section {
    padding: 60px 0;
  }
}

/* ── Card Animations ── */

/* Icon spring bounce on card hover */
.explainer-icon,
.profession-icon,
.benefit-icon {
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
  will-change: transform;
}
.explainer-card:hover  .explainer-icon  { transform: scale(1.18) rotate(-8deg); }
.profession-card:hover .profession-icon { transform: scale(1.18) rotate(8deg);  }
.benefit-card:hover    .benefit-icon    { transform: scale(1.18) rotate(-8deg); }

/* Shimmer sweep on hover */
.explainer-card,
.profession-card,
.benefit-card {
  position: relative;
  overflow: hidden;
}
.explainer-card::after,
.profession-card::after,
.benefit-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.16) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
  z-index: 0;
}
.explainer-card:hover::after,
.profession-card:hover::after,
.benefit-card:hover::after { transform: translateX(130%); }

/* Keep content above shimmer */
.explainer-icon, .explainer-card h6, .explainer-card p,
.profession-icon, .profession-card h6, .profession-card p,
.benefit-icon, .benefit-card h6, .benefit-card p { position: relative; z-index: 1; }

/* Glow pulse on accent stat cards */
@keyframes mpli-stat-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.35); }
  50%       { box-shadow: 0 0 0 10px rgba(99,102,241,0);  }
}
.istat-card.accent { animation: mpli-stat-glow 2.5s ease-in-out infinite; }

/* Tier card shimmer (no overflow:hidden to preserve badge) */
.tier-card {
  position: relative;
}
.tier-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.10) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
  z-index: 0;
}
.tier-card:hover::after { transform: translateX(130%); }
