.pricing-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(76px, 7vw, 92px) 20px clamp(40px, 5vw, 56px);
}

.pricing-page .mk-stats-strip {
  margin-top: 8px;
  margin-bottom: 28px;
}

.pricing-page .mk-band {
  margin-bottom: 28px;
}

.pricing-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 20px;
  padding: clamp(16px, 2.5vw, 28px);
  background:
    radial-gradient(circle at 90% 0%, rgba(0, 240, 255, 0.14), transparent 35%),
    linear-gradient(160deg, #1b1b1d, #131416);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  margin-bottom: 26px;
}

.pricing-hero > * {
  position: relative;
  z-index: 1;
}

.pricing-hero::after {
  content: "60";
  position: absolute;
  right: clamp(18px, 6vw, 64px);
  top: 50%;
  transform: translateY(-50%) rotate(-8deg);
  width: clamp(92px, 16vw, 160px);
  aspect-ratio: 1;
  border: 1px solid rgba(190, 242, 100, 0.35);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(190, 242, 100, 0.13), rgba(0, 240, 255, 0.08)),
    #101314;
  box-shadow:
    0 0 42px rgba(190, 242, 100, 0.12),
    inset 0 0 24px rgba(0, 240, 255, 0.08);
  color: #bef264;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 900;
  opacity: 0.62;
  pointer-events: none;
}

.pricing-eyebrow {
  margin: 0 0 8px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #67e8f9;
  font-weight: 700;
}

.pricing-hero h1 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.85rem, 4.8vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.pricing-subcopy {
  margin: 0;
  max-width: 76ch;
  color: #b9cacb;
}

.pricing-toggle {
  margin-top: 20px;
  background: #0f1112;
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 999px;
  padding: 4px;
  display: inline-flex;
  gap: 4px;
}

.pricing-toggle__btn {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #9aa0a6;
  padding: 10px 16px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  cursor: pointer;
}

.pricing-toggle__btn.is-active {
  background: linear-gradient(120deg, #67e8f9, #5eead4);
  color: #02252d;
}

.pricing-toggle__btn:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 2px;
}

.pricing-panel {
  margin-top: 18px;
}

.pricing-grid {
  display: grid;
  gap: 16px;
}

.pricing-grid--individuals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-grid--clubs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 20px;
  padding: 74px 20px 20px;
  background: linear-gradient(170deg, rgba(32, 31, 32, 0.98), rgba(19, 19, 20, 0.98));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  position: relative;
  transition:
    transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.32);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

.plan-card:focus-within {
  outline: 2px solid rgba(0, 240, 255, 0.4);
  outline-offset: 3px;
}

/* Default chip; [data-icon] uses SVG from /card-icons.css */
.plan-card::before {
  content: "RUN";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(190, 242, 100, 0.08)),
    #101314;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.14);
  color: #67e8f9;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.62rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.plan-card::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 72px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.42), transparent);
}

.plan-card--featured {
  border-color: rgba(0, 240, 255, 0.52);
  box-shadow:
    0 0 0 1px rgba(0, 240, 255, 0.18),
    0 24px 48px rgba(0, 0, 0, 0.36);
  transform: translateY(-3px);
}

.plan-card--featured:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.62);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #bef264;
  color: #1a2b05;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.plan-card__kicker {
  margin: 0 0 8px;
  color: #67e8f9;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.plan-card h2,
.plan-card h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1;
}

.plan-card h2 span,
.plan-card h3 span {
  font-size: 0.9rem;
  color: #9aa0a6;
}

.plan-price-alt {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #9aa0a6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pro-billing-toggle {
  border: 1px solid rgba(59, 73, 75, 0.9);
  background: rgba(255, 255, 255, 0.03);
  color: #b9cacb;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  cursor: pointer;
}

.plan-card__headline {
  margin: 12px 0;
  color: #dce7e8;
  font-weight: 600;
}

.plan-limit {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: #9aa0a6;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: #b9cacb;
  font-size: 0.9rem;
}

.plan-card ul li {
  position: relative;
  padding-left: 26px;
}

.plan-card ul li:not(.feature-item)::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: #67e8f9;
}

.feature-icon {
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  color: #67e8f9;
}

.plan-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
}

.plan-cta--primary {
  background: #67e8f9;
  color: #072932;
}

.plan-cta--accent {
  background: linear-gradient(125deg, #67e8f9, #5eead4);
  color: #04242a;
}

.plan-cta--ghost {
  border: 1px solid rgba(59, 73, 75, 0.9);
  color: #b9cacb;
}

.plan-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.host-tip {
  display: inline-block;
  margin-left: 4px;
  border: 1px solid rgba(59, 73, 75, 0.8);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 0.62rem;
  color: #9aa0a6;
  cursor: help;
}

.trial-banner {
  margin-bottom: 14px;
  border-radius: 16px;
  border: 1px solid rgba(190, 242, 100, 0.45);
  background: linear-gradient(140deg, rgba(190, 242, 100, 0.18), rgba(190, 242, 100, 0.07));
  padding: 18px;
}

.trial-banner h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
}

.trial-banner p {
  margin: 0;
  color: #d4e3cb;
}

.matrix-wrap,
.faq-wrap {
  margin-top: 18px;
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(32, 31, 32, 0.96), rgba(19, 19, 20, 0.96));
  padding: 14px;
}

.collapsible-trigger {
  border: none;
  background: transparent;
  color: #e5e2e3;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.collapsible-panel {
  margin-top: 12px;
}

.matrix-scroll {
  overflow: auto;
  border: 1px solid rgba(59, 73, 75, 0.6);
  border-radius: 12px;
}

.feature-matrix {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.feature-matrix th,
.feature-matrix td {
  border-bottom: 1px solid rgba(59, 73, 75, 0.62);
  padding: 10px 12px;
  text-align: left;
  font-size: 0.85rem;
}

.feature-matrix th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9aa0a6;
}

.faq-wrap h2 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-item {
  border: 1px solid rgba(59, 73, 75, 0.7);
  border-radius: 12px;
  background: rgba(18, 20, 22, 0.52);
}

.faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #e5e2e3;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-a {
  padding: 0 14px 12px;
  color: #b9cacb;
  font-size: 0.88rem;
  line-height: 1.55;
}

.pricing-currency-approx {
  display: block;
  margin-top: 6px;
  color: #9aa0a6;
  font-size: 0.75rem;
}

/* Feature tooltips */
.feature-item {
  display: flex;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}

.info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(103, 232, 249, 0.1);
  border: 1px solid rgba(103, 232, 249, 0.4);
  color: #67e8f9;
  font-size: 10px;
  font-weight: 700;
  font-family: monospace;
  margin-left: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.info-toggle:hover,
.info-toggle.is-active {
  background: rgba(103, 232, 249, 0.3);
  border-color: #67e8f9;
  transform: scale(1.1);
}

.feature-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  max-width: 260px;
  background: rgba(19, 19, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  color: #e5e2e3;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(103, 232, 249, 0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  font-weight: 400;
  margin-top: 8px;
}

.feature-tooltip::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(103, 232, 249, 0.3) transparent;
}

.feature-tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(1px);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent rgba(19, 19, 20, 0.95) transparent;
}

.info-toggle.is-active + .feature-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Override matrix table tooltips to stay inside if needed */
.feature-matrix td .feature-tooltip {
  left: 0;
  transform: translateX(0) translateY(10px);
}
.feature-matrix td .feature-tooltip::before,
.feature-matrix td .feature-tooltip::after {
  left: 20px;
}
.feature-matrix td .info-toggle.is-active + .feature-tooltip {
  transform: translateX(0) translateY(0);
}


@media (max-width: 980px) {
  .pricing-grid--clubs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .pricing-page {
    padding-top: 94px;
  }

  .pricing-hero::after {
    opacity: 0.18;
    right: 16px;
  }

  .pricing-grid--individuals,
  .pricing-grid--clubs {
    grid-template-columns: 1fr;
  }

  .plan-card--featured {
    transform: none;
  }

  .plan-card--featured:hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-card,
  .plan-card--featured {
    transition: none;
  }

  .plan-card:hover,
  .plan-card--featured:hover {
    transform: none;
  }
}
