.pricing-hero {
  background: var(--navy);
  padding: 9rem 4rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(82,151,255,0.15) 0%, transparent 65%);
}
.pricing-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: linear-gradient(white 1px, transparent 1px), linear-gradient(90deg, white 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(82,151,255,0.15);
  border: 1px solid rgba(82,151,255,0.3);
  color: #7ab3ff;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.6s ease 0.1s both;
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.pricing-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s ease 0.2s both;
}
.pricing-hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #7ab3ff 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fadeUp 0.7s ease 0.35s both;
}
.toggle-wrap {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 0;
  animation: fadeUp 0.7s ease 0.45s both;
}
.toggle-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-family: 'Figtree', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
  color: rgba(255, 255, 255, 0.5);
}
.toggle-btn.active {
  background: white;
  color: var(--navy);
}
.save-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  margin-left: 0.4rem;
  letter-spacing: 0.3px;
}

/* ─── LAYOUT ─── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 4rem;
}
.s-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.s-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.s-title em {
  font-style: italic;
  color: var(--blue);
}
.s-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.s-head {
  margin-bottom: 4rem;
}
.s-head.center {
  text-align: center;
}
.s-head.center .s-sub {
  margin: 0 auto;
}

/* ─── MAIN PRICING CARDS ─── */
.plans-bg {
  background: var(--off-white);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.plan-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all 0.4s;
}
.plan-card:hover {
  border-color: rgba(24, 95, 165, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.plan-card.featured {
  background: var(--navy);
  border-color: transparent;
  box-shadow: 0 32px 72px rgba(13, 31, 60, 0.28);
  transform: translateY(-8px);
}
.plan-card.featured:hover {
  transform: translateY(-14px);
}
.plan-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 1.25rem;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.plan-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.plan-card:not(.featured) .plan-name {
  color: var(--blue);
}
.plan-card.featured .plan-name {
  color: rgba(82, 151, 255, 0.8);
}
.plan-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.plan-card:not(.featured) .plan-price {
  color: var(--navy);
}
.plan-card.featured .plan-price {
  color: white;
}
.plan-price sup {
  font-size: 1.2rem;
  vertical-align: super;
  letter-spacing: 0;
}
.plan-period {
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}
.plan-card:not(.featured) .plan-period {
  color: var(--muted);
}
.plan-card.featured .plan-period {
  color: rgba(255, 255, 255, 0.45);
}
.plan-ideal {
  font-size: 0.78rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid;
}
.plan-card:not(.featured) .plan-ideal {
  color: var(--muted);
  border-color: var(--border);
}
.plan-card.featured .plan-ideal {
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}
.plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
}
.plan-card:not(.featured) .plan-feats li {
  color: var(--text);
}
.plan-card.featured .plan-feats li {
  color: rgba(255, 255, 255, 0.8);
}
.feat-tick {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.plan-btn {
  width: 100%;
  padding: 0.875rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Figtree', sans-serif;
  border: none;
  letter-spacing: 0.2px;
}
.plan-btn.outline {
  background: none;
  border: 1.5px solid rgba(24, 95, 165, 0.2);
  color: var(--navy);
  text-decoration: none;
  display: block;
  text-align: center;
}
.plan-btn.outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(24, 95, 165, 0.04);
}
.plan-btn.solid {
  background: linear-gradient(135deg, white 0%, #eef4ff 100%);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
  text-decoration: none;
  display: block;
  text-align: center;
}
.plan-btn.solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}
.plan-btn.dark {
  background: var(--navy);
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
}
.plan-btn.dark:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

/* Annual prices - hidden by default */
.price-annual {
  display: none;
}
.annual-mode .price-monthly {
  display: none;
}
.annual-mode .price-annual {
  display: inline;
}
.annual-mode .plan-period-note {
  display: block;
}
.plan-period-note {
  display: none;
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 700;
  margin-top: 0.2rem;
}
.plan-card.featured .plan-period-note {
  color: #34d399;
}

/* Light toggle (above pricing cards) */
.toggle-wrap-light {
  display: inline-flex;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 4px 16px rgba(13, 31, 60, 0.08);
}
.toggle-btn-light {
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-family: 'Figtree', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
  color: var(--muted);
}
.toggle-btn-light.active {
  background: var(--navy);
  color: white;
  box-shadow: 0 4px 12px rgba(13, 31, 60, 0.2);
}
.save-badge-dark {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 50px;
  margin-left: 0.3rem;
  letter-spacing: 0.3px;
}

/* ─── INDIVIDUAL ROLES ─── */
.roles-bg {
  background: white;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.role-card {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.role-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(24, 95, 165, 0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}
.role-card:hover {
  border-color: rgba(24, 95, 165, 0.3);
  box-shadow: 0 8px 28px rgba(13, 31, 60, 0.09);
  transform: translateY(-4px);
}
.role-card:hover::before {
  opacity: 1;
}
.role-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.role-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.role-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.role-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.role-price-period {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 0.2rem;
}
.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}
.role-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(24, 95, 165, 0.08);
  color: var(--blue);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}
.role-quote {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(24, 95, 165, 0.07);
  border: 1px solid rgba(24, 95, 165, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  display: inline-block;
  margin-top: 0.5rem;
}

/* ─── ADD-ONS ─── */
.addons-bg {
  background: var(--off-white);
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.addon-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s;
}
.addon-card:hover {
  border-color: rgba(24, 95, 165, 0.25);
  box-shadow: 0 6px 20px rgba(13, 31, 60, 0.07);
  transform: translateY(-2px);
}
.addon-left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.addon-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.addon-left h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.addon-left p {
  font-size: 0.78rem;
  color: var(--muted);
}
.addon-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}
.addon-price span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  font-family: 'Figtree', sans-serif;
}

/* ─── COMPARISON TABLE ─── */
.compare-bg {
  background: white;
}
.compare-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(13, 31, 60, 0.06);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
thead {
  background: var(--navy);
}
th {
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
th:first-child {
  text-align: left;
  color: rgba(255, 255, 255, 0.4);
}
th.highlight-col {
  color: white;
}
.th-price {
  display: block;
  font-size: 1rem;
  color: white;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 0.25rem;
}
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
tbody tr:last-child {
  border-bottom: none;
}
tbody tr:hover {
  background: rgba(24, 95, 165, 0.02);
}
td {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}
td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
}
td.highlight-col {
  background: rgba(13, 31, 60, 0.03);
}
.tick {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 700;
}
.cross {
  color: #d1d5db;
  font-size: 1.1rem;
}
.cell-val {
  font-weight: 700;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
}
.cat-row td {
  background: var(--off-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.75rem 1.5rem;
}

/* ─── FAQ ─── */
.faq-bg {
  background: var(--off-white);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.faq-item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item:hover {
  border-color: rgba(24, 95, 165, 0.25);
}
.faq-q {
  padding: 1.375rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}
.faq-q h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}
.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.open .faq-chevron {
  background: var(--navy);
  color: white;
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-a-inner {
  padding: 0 1.5rem 1.375rem;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
}

/* ─── GUARANTEE ─── */
.guarantee-bg {
  background: var(--white);
}
.guarantee-box {
  background: linear-gradient(135deg, var(--off-white) 0%, #e8f0fe 100%);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.guarantee-icon {
  font-size: 4rem;
  flex-shrink: 0;
}
.guarantee-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}
.guarantee-text p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
  max-width: 600px;
}
.guarantee-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.g-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
.g-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ─── CTA ─── */
.cta-wrap {
  margin: 0 4rem 6rem;
}
.cta-box {
  background: var(--navy);
  border-radius: 28px;
  padding: 6rem 5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(82,151,255,0.12) 0%, transparent 70%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cta-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.cta-box h2 em {
  font-style: italic;
  color: #7ab3ff;
}
.cta-box p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─── */
@media(max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: none; }
}

@media(max-width: 768px) {
  .wrap { padding: 2.5rem 1.25rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .toggle-wrap-light { width: 100%; justify-content: center; }
  .roles-grid { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .compare-table-wrap { font-size: 0.78rem; }
  th, td { padding: 0.75rem 0.875rem; }
  .guarantee-box { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.5rem; }
  .guarantee-pills { flex-direction: column; gap: 0.5rem; }
  .cta-wrap { margin: 0 1.25rem 2.5rem; }
  .cta-box { padding: 2.5rem 1.5rem; }
}

@media(max-width: 480px) {
  .plan-price { font-size: 2rem; }
}
