/* ============================================================
   PRICING PAGE STYLES
   ============================================================ */

/* Hero */
.pricing-hero {
  padding: 72px 32px 48px;
  background: var(--bg);
  text-align: center;
}
.pricing-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}
.pricing-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.pricing-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 16px;
}
.pricing-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Billing toggle */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 8px 20px;
}
.toggle-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--fg);
  transition: font-weight 0.15s;
}
#monthlyLabel { font-weight: 700; }
.toggle-badge {
  background: #dcfce7;
  color: #16a34a;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.03em;
  margin-left: 4px;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Cards section */
.pricing-cards-section {
  padding: 0 32px 80px;
  background: var(--bg);
}
.pricing-cards-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

/* Individual card */
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(26,26,46,0.14);
}
.pricing-card--popular {
  border-color: var(--accent);
  border-width: 2px;
  position: relative;
  margin-top: -8px;
  padding-top: 36px;
}

.plan-popular-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--fg);
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.plan-trial-badge {
  display: inline-block;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
  margin-bottom: 12px;
}

.plan-name {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
}

.plan-price-wrap { margin-bottom: 4px; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-currency {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  align-self: flex-start;
  margin-top: 8px;
}
.plan-amount {
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}
.plan-period {
  font-size: 16px;
  color: var(--fg-muted);
  margin-left: 2px;
}
.plan-annual-note {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 2px;
}

.plan-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* Feature list */
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.plan-features li {
  font-size: 14px;
  color: var(--fg);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.feat-check {
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-x {
  color: var(--fg-muted);
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.5;
}
.plan-features li:has(.feat-x) {
  color: var(--fg-muted);
  opacity: 0.6;
}

/* CTAs */
.plan-cta {
  display: block;
  width: 100%;
  padding: 15px 0;
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.plan-cta--primary {
  background: var(--accent);
  color: var(--fg);
  border: 2px solid var(--accent);
}
.plan-cta--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}
.plan-cta--outline {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--border);
}
.plan-cta--outline:hover {
  border-color: var(--fg);
  transform: translateY(-1px);
}

/* FAQ */
.faq {
  padding: 80px 32px;
  background: var(--surface);
}
.faq-inner {
  max-width: 880px;
  margin: 0 auto;
}
.faq-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--fg);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}
.faq-item {}
.faq-q {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.35;
}
.faq-a {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 860px) {
  .pricing-cards-inner {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pricing-card--popular { margin-top: 0; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pricing-hero { padding: 48px 20px 32px; }
  .pricing-cards-section { padding: 0 20px 60px; }
  .faq { padding: 60px 20px; }
}
