/* ========================================
   FitOps — Pricing Page Styles
   ======================================== */

/* ── Header nav ── */
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-link-active {
  color: var(--forest) !important;
}

/* ── Hero ── */
.pricing-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
  background: var(--bg);
}

.pricing-hero .hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--forest);
  top: -180px;
  right: -160px;
}

.pricing-hero .hero-shape-2 {
  width: 380px;
  height: 380px;
  background: var(--amber);
  bottom: -80px;
  left: -80px;
}

.pricing-hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.pricing-hero .hero-eyebrow {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pricing-hero .hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--amber);
}

.pricing-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

.pricing-lede {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
  font-weight: 300;
}

.hero-trainer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px auto 0;
}

.hero-avatar-stack {
  display: inline-flex;
  align-items: center;
}

.hero-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: inline-block;
}

.hero-avatar--1 {
  background: var(--amber);
  margin-left: 0;
}

.hero-avatar--2 {
  background: var(--forest);
  margin-left: -8px;
}

.hero-avatar--3 {
  background: var(--forest-light);
  margin-left: -8px;
}

.hero-trainer-badge-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
  margin-left: 4px;
}

/* ── Plan tiers ── */
.pricing-tiers {
  background: var(--bg);
  padding: 0 0 100px;
}

.tiers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* ── Plan card ── */
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s;
}

.plan-card:hover {
  box-shadow: 0 8px 32px rgba(27, 67, 50, 0.1);
}

.plan-card--highlight {
  border-color: var(--forest);
  border-width: 2px;
  box-shadow: 0 4px 24px rgba(27, 67, 50, 0.14);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-badge--founding {
  background: var(--amber);
  color: var(--fg);
}

.plan-card--founding {
  border-color: var(--amber);
  border-width: 2px;
  box-shadow: 0 4px 24px rgba(180, 140, 40, 0.15);
}

.price-anchor {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-muted);
  margin-left: 8px;
  text-decoration: line-through;
  font-weight: 400;
}

.price-amount--founding {
  color: var(--amber-dark, #9A6A00);
}

.plan-founding-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--amber-dark, #9A6A00);
  font-weight: 500;
  margin: 4px 0 8px;
  background: #FFF9E6;
  border-radius: 6px;
  padding: 4px 8px;
  display: inline-block;
}

.plan-card--founding .btn-primary {
  background: var(--amber);
  color: var(--fg);
}

.plan-card--founding .btn-primary:hover {
  background: #C9890A;
  color: var(--white);
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 14px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 0 0 12px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg-muted);
  font-weight: 400;
}

.plan-tagline {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
  margin: 0;
  font-weight: 300;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 24px;
}

.plan-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
}

.plan-feature--included {
  color: var(--fg);
}

.plan-feature--missing {
  color: var(--fg-muted);
}

.feature-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--forest);
  margin-top: 1px;
}

.feature-x {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--border);
  margin-top: 1px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 12px;
  width: auto;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--forest-light);
}

.btn-secondary {
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--fg-muted);
  background: var(--bg-alt);
}

/* ── Checkout canceled notice bar ── */
.checkout-canceled-bar {
  background: var(--amber-subtle);
  border-top: 1px solid #F6C969;
  border-bottom: 1px solid #F6C969;
  padding: 14px 32px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  color: #92400E;
  font-weight: 500;
}

/* ── Early access bar ── */
.early-access-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.early-access-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--fg-muted);
  line-height: 1.55;
}

.ea-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--amber);
  margin-top: 2px;
}

/* ── Urgency widget (founding spots remaining) ── */
.urgency-widget {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: #FFF9E6;
  border-radius: 8px;
  text-align: center;
}

.urgency-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.urgency-bar-fill {
  height: 100%;
  background: var(--amber-dark, #9A6A00);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.urgency-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--amber-dark, #9A6A00);
  margin: 0;
  line-height: 1.4;
}

.urgency-text strong {
  font-weight: 600;
}

.urgency-widget--high {
  background: #FFF4D6;
}

.urgency-widget--high .urgency-bar-fill {
  background: #C9890A;
}

.urgency-widget--high .urgency-text {
  color: #92590A;
}

.urgency-widget--critical {
  background: #FFE9E2;
}

.urgency-widget--critical .urgency-bar-fill {
  background: #B23A1F;
  animation: urgency-pulse 1.4s ease-in-out infinite;
}

.urgency-widget--critical .urgency-text {
  color: #8B2D17;
}

.urgency-widget--gone {
  background: var(--bg);
}

.urgency-widget--gone .urgency-bar-fill {
  background: var(--forest);
  width: 100%;
}

.urgency-widget--gone .urgency-text {
  color: var(--fg-muted);
}

@keyframes urgency-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

/* ── Founder note ── */
.pricing-founder-note {
  background: var(--bg);
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.pricing-fn-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  max-width: 640px;
}

.pricing-fn-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 16px;
}

.pricing-fn-body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.75;
  margin: 0;
}

.pricing-fn-quote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.5;
  margin: 0;
}

.pricing-fn-quote::before {
  content: '“';
  font-family: var(--font-display);
  color: var(--forest);
  font-size: 64px;
  opacity: 0.15;
  position: absolute;
  top: -18px;
  left: -18px;
  line-height: 1;
}

/* ── Testimonials ── */
.testimonials-section {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}

.testimonial-card--muted {
  opacity: 0.55;
}

.testimonial-quote {
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.6;
  margin: 0;
}

.testimonial-text--muted {
  color: var(--fg-muted);
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
}

.testimonial-avatar--pending {
  background: var(--amber-subtle);
  color: var(--amber);
}

.testimonial-avatar--empty {
  background: var(--border);
}

.testimonial-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 2px;
}

.testimonial-name--muted {
  color: var(--fg-muted);
  font-weight: 400;
}

.testimonial-role {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 40px auto 0;
  }
}

/* ── FAQ ── */
.faq-section {
  background: var(--bg);
  padding: 100px 0;
}

.faq-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 32px;
}

.faq-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
  margin: 0 0 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  transition: color 0.15s;
}

.faq-question:hover {
  color: var(--forest);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--fg-muted);
  transition: transform 0.2s;
}

.faq-item--open .faq-icon {
  transform: rotate(180deg);
  color: var(--forest);
}

.faq-answer {
  display: none;
  padding-bottom: 22px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin: 0;
  font-weight: 300;
}

/* ── Closing CTA ── */
.pricing-closing {
  background: var(--white);
  padding: 100px 0;
}

.pricing-closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

.closing-text-wrap {
  position: relative;
  text-align: center;
}

.pricing-closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
  margin: 0 0 16px;
}

.pricing-closing-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 36px;
  font-weight: 300;
}

.pricing-closing-powered {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 16px 0 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

}

@media (max-width: 600px) {
  .pricing-hero {
    padding: 72px 0 60px;
  }

  .pricing-tiers {
    padding-bottom: 72px;
  }

  .plan-card {
    padding: 28px 24px;
  }

  .header-nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 13px;
  }
}