/* Billing / Pricing / Dashboard shared styles */

.billing-page {
  min-height: 100vh;
  padding: 0 48px 80px;
}

.billing-header {
  padding: 56px 0 48px;
  text-align: center;
}
.billing-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.billing-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.billing-sub {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Billing toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.billing-toggle-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.billing-toggle-label.active {
  color: var(--text);
}
.billing-toggle-label.savings {
  font-size: 0.72rem;
  color: var(--dispatch);
  font-weight: 600;
  background: rgba(46,160,67,0.12);
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 6px;
}
.toggle-track {
  width: 48px;
  height: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-track.annual {
  background: var(--amber);
  border-color: var(--amber);
}
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--muted);
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.toggle-track.annual .toggle-thumb {
  left: 25px;
  background: #0d1117;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto 40px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pricing-card--selected {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px var(--amber);
}
.pricing-card-header {
  margin-bottom: 24px;
}
.pricing-plan-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.pricing-card--selected .pricing-plan-label {
  color: var(--amber);
}
.pricing-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-price sup {
  font-size: 1.2rem;
  font-weight: 600;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
}
.pricing-price-sub {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}
.pricing-price-sub .savings-badge {
  color: var(--dispatch);
  font-weight: 600;
}
.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
}
.pricing-feature-icon {
  flex-shrink: 0;
  color: var(--dispatch);
  margin-top: 2px;
}
.pricing-feature.muted { color: var(--muted); }

/* Aircraft selector */
.aircraft-selector {
  margin-bottom: 28px;
}
.aircraft-selector-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}
.aircraft-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}
.stepper-btn {
  width: 40px;
  height: 44px;
  background: var(--surface);
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.stepper-btn:hover { background: rgba(240,165,0,0.12); }
.stepper-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.stepper-val {
  width: 56px;
  text-align: center;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 44px;
}
.aircraft-selector-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}

/* Price preview */
.price-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-preview-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}
.price-preview-val {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}
.price-preview-period {
  font-size: 0.78rem;
  color: var(--muted);
  margin-left: 4px;
}
.price-preview-savings {
  font-size: 0.72rem;
  color: var(--dispatch);
  font-weight: 600;
  background: rgba(46,160,67,0.12);
  padding: 2px 8px;
  border-radius: 3px;
}

/* Checkout button */
.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--amber);
  color: #0d1117;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: opacity 0.15s, background 0.15s;
  text-decoration: none;
}
.checkout-btn:hover { opacity: 0.85; }
.checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.checkout-btn.loading {
  background: var(--steel);
  color: var(--text);
}
.checkout-btn svg {
  flex-shrink: 0;
}
.checkout-btn-arrow {
  font-size: 1rem;
}

/* Alert banners */
.alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.alert-banner.success {
  background: rgba(46,160,67,0.1);
  border: 1px solid rgba(46,160,67,0.25);
}
.alert-banner.warn {
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.25);
}
.alert-banner.canceled {
  background: rgba(125,133,144,0.1);
  border: 1px solid var(--border);
}
.alert-banner-icon { flex-shrink: 0; margin-top: 2px; }
.alert-banner.success .alert-banner-icon { color: var(--dispatch); }
.alert-banner.warn .alert-banner-icon { color: var(--maint); }
.alert-banner.canceled .alert-banner-icon { color: var(--muted); }
.alert-banner-text {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}
.alert-banner-text strong { font-weight: 600; }
.alert-banner-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}

/* Form row */
.form-row {
  margin-bottom: 16px;
}
.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}
.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: border-color 0.15s;
}
.form-input:focus {
  outline: none;
  border-color: var(--amber);
}
.form-error {
  font-size: 0.75rem;
  color: #f85149;
  margin-top: 6px;
}

/* Dashboard */
.dashboard-page {
  padding: 0 48px 80px;
}
.dashboard-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.dashboard-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.dashboard-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Subscription card */
.sub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  max-width: 600px;
}
.sub-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sub-plan-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sub-plan-badge.active {
  background: rgba(46,160,67,0.15);
  color: var(--dispatch);
}
.sub-plan-badge.past_due {
  background: rgba(248,81,73,0.15);
  color: #f85149;
}
.sub-plan-badge.trialing {
  background: rgba(240,165,0,0.15);
  color: var(--maint);
}
.sub-plan-badge.canceled {
  background: rgba(125,133,144,0.12);
  color: var(--muted);
}
.sub-plan-badge.suspended {
  background: rgba(248,81,73,0.12);
  color: #f85149;
}
.sub-plan-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.sub-plan-badge.active .sub-plan-dot {
  animation: pulse 2s infinite;
}
.sub-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
.sub-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.sub-detail-row:last-child { border-bottom: none; }
.sub-detail-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sub-detail-val {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.sub-detail-val.muted { color: var(--muted); }
.sub-actions {
  display: flex;
  gap: 12px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: var(--amber); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--amber);
  border: none;
  border-radius: 6px;
  color: #0d1117;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.85; }

/* No subscription state */
.no-sub {
  max-width: 600px;
  text-align: center;
  padding: 48px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.no-sub-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.no-sub-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
}
.no-sub-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Section titles */
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
}

/* Loading spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(13,17,23,0.3);
  border-top-color: #0d1117;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* ============================================
   PRICING PAGE SECTIONS
   ============================================ */

/* Hero */
.pricing-hero {
  padding: 72px 48px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.pricing-hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.pricing-hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.pricing-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.pricing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
}
.pricing-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pricing-hero-badge-dot.dispatch { background: var(--dispatch); box-shadow: 0 0 6px var(--dispatch); }
.pricing-hero-badge-dot.maint    { background: var(--maint); }
.pricing-hero-badge-dot.amber   { background: var(--amber); }

/* Section wrapper */
.pricing-section {
  padding: 56px 48px;
  border-bottom: 1px solid var(--border);
}
.pricing-section--surface {
  background: var(--surface);
}
.pricing-section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pricing-section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 36px;
}

/* Tier table */
.tier-table-wrap {
  overflow-x: auto;
  max-width: 840px;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.tier-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
}
.tier-table thead th {
  padding: 14px 24px;
  text-align: left;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.tier-table thead th:not(:first-child) { text-align: right; }
.tier-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.tier-table tbody tr:last-child { border-bottom: none; }
.tier-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.tier-table tbody tr.tier-row--highlight { background: rgba(240,165,0,0.04); }
.tier-table tbody td {
  padding: 16px 24px;
  font-size: 0.88rem;
  color: var(--text);
}
.tier-table tbody td:not(:first-child) { text-align: right; }

.tier-aircraft {
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}
.tier-popular-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0d1117;
  background: var(--amber);
  border-radius: 3px;
  padding: 2px 6px;
  display: inline-block;
  margin-bottom: 4px;
  width: fit-content;
}
.tier-aircraft-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1;
}
.tier-aircraft-label {
  font-size: 0.72rem;
  color: var(--muted);
}
.tier-monthly, .tier-annual {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.tier-period {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}
.tier-annual-note {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.tier-best-for {
  font-size: 0.8rem;
  color: var(--muted);
}
.savings-badge-inline {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--dispatch);
  background: rgba(46,160,67,0.12);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.tier-table-note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.tier-table-note-link {
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
}
.tier-table-note-link:hover { text-decoration: underline; }

/* Feature matrix */
.feature-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 900px;
  margin: 0 auto;
}
.fm-col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 28px 24px;
}
.fm-col:first-child { border-radius: 8px 0 0 8px; }
.fm-col:last-child { border-radius: 0 8px 8px 0; }
.fm-col-header {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fm-agent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fm-agent-dot.dispatch { background: var(--dispatch); box-shadow: 0 0 5px var(--dispatch); }
.fm-agent-dot.maint    { background: var(--maint); }
.fm-agent-dot.amber-dot { background: var(--amber); }
.fm-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.45;
  padding: 6px 0;
  border-bottom: 1px solid rgba(30,45,61,0.5);
}
.fm-item:last-child { border-bottom: none; }
.fm-item--muted { color: var(--muted); }
.fm-check {
  flex-shrink: 0;
  color: var(--dispatch);
  font-weight: 600;
  margin-top: 1px;
}
.fm-item--muted .fm-check { color: var(--muted); }
.fm-future {
  font-size: 0.65rem;
  color: var(--muted);
  background: rgba(125,133,144,0.12);
  border-radius: 3px;
  padding: 1px 5px;
  font-style: italic;
}

/* Why AeroOps */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto 36px;
}
.why-incumbent, .why-aeroops {
  padding: 0;
}
.why-col-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.why-col-label--aeroops {
  color: var(--amber);
  background: rgba(240,165,0,0.06);
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.why-item:last-child { border-bottom: none; }
.why-item--neg { background: rgba(248,81,73,0.03); }
.why-item--pos { background: rgba(46,160,67,0.03); }
.why-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  text-align: center;
}
.why-item--neg .why-icon { color: #f85149; }
.why-item--pos .why-icon { color: var(--dispatch); }
.why-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.why-item-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}
.why-competitors-row {
  display: flex;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.why-competitor {
  flex: 1;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--border);
}
.why-competitor:last-child { border-right: none; }
.why-competitor--us {
  background: rgba(240,165,0,0.06);
}
.why-comp-name {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.why-competitor--us .why-comp-name { color: var(--amber); }
.why-comp-price {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--muted);
}
.why-competitor--us .why-comp-price { color: #fff; }
.why-comp-period {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--muted);
}

/* ============================================
   TWO-TIER PLAN CARDS
   ============================================ */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto 40px;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.plan-card--pro {
  border-color: var(--amber);
  box-shadow: 0 0 0 1px rgba(240,165,0,0.25);
}
.plan-card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--amber);
  color: #0d1117;
  padding: 3px 10px;
  border-radius: 3px;
}
.plan-name {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.plan-card--pro .plan-name { color: var(--amber); }
.plan-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.plan-price-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 4px;
}
.plan-price-dollar {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--muted);
  padding-bottom: 4px;
}
.plan-price-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.04em;
}
.plan-price-period {
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: 6px;
}
.plan-price-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.plan-price-sub .savings-badge { color: var(--dispatch); font-weight: 600; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 24px; }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 28px;
}
.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
}
.plan-feature-icon { flex-shrink: 0; color: var(--dispatch); font-weight: 600; margin-top: 1px; }
.plan-feature-icon.pro-only { color: var(--amber); }
.plan-feature.muted-feat { color: var(--muted); }
.plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: border-color 0.15s, background 0.15s;
}
.plan-cta:hover { border-color: var(--amber); }
.plan-cta--primary { background: var(--amber); border-color: var(--amber); color: #0d1117; }
.plan-cta--primary:hover { opacity: 0.88; }
.plan-cta:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============================================
   FEATURE COMPARISON TABLE
   ============================================ */
.compare-table-wrap {
  overflow-x: auto;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg); font-size: 0.82rem; }
.compare-table thead tr { background: var(--surface); border-bottom: 1px solid var(--border); }
.compare-table thead th {
  padding: 14px 20px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.compare-table thead th:first-child { text-align: left; width: 40%; }
.compare-table thead th.th-starter { color: var(--crew); }
.compare-table thead th.th-pro { color: var(--amber); }
.compare-table thead th.th-legacy { color: #f85149; }
.compare-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.1s; }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: rgba(255,255,255,0.015); }
.compare-table tbody tr.section-row { background: var(--surface); }
.compare-table tbody td { padding: 12px 20px; color: var(--text); text-align: center; }
.compare-table tbody td:first-child { text-align: left; color: var(--muted); font-size: 0.8rem; }
.compare-table tbody tr.section-row td:first-child {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.ct-check { color: var(--dispatch); font-weight: 700; font-size: 1rem; }
.ct-partial { color: var(--amber); font-size: 0.75rem; font-weight: 600; }
.ct-no { color: var(--muted); font-size: 1rem; }
.ct-legacy-no { color: #f85149; font-size: 1rem; }
.ct-price-cell { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; }
.ct-price-cell.starter-price { color: var(--crew); }
.ct-price-cell.pro-price { color: var(--amber); }
.ct-price-cell.legacy-price { color: var(--muted); }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  user-select: none;
}
.faq-question:hover { color: var(--amber); }
.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 1px;
  transition: transform 0.2s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); color: var(--amber); }
.faq-answer { display: none; font-size: 0.85rem; color: var(--muted); line-height: 1.65; padding-bottom: 20px; }
.faq-item.open .faq-answer { display: block; }

/* ============================================
   14-DAY FREE TRIAL CTA
   ============================================ */
.trial-cta-banner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 28px 32px;
  background: rgba(46,160,67,0.06);
  border: 1px solid rgba(46,160,67,0.25);
  border-radius: 12px;
  text-align: left;
}
.trial-cta-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 4px;
  opacity: 0.7;
}
.trial-cta-content { flex: 1; }
.trial-cta-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.trial-cta-sub {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.trial-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  background: var(--dispatch);
  color: #0d1117;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s;
  letter-spacing: -0.01em;
}
.trial-cta-btn:hover { opacity: 0.85; }

.trust-line {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ============================================
   TOTAL PREVIEW BAR
   ============================================ */
.total-bar {
  max-width: 860px;
  margin: 0 auto 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.total-bar-label { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.total-bar-detail { font-size: 0.72rem; color: var(--muted); margin-top: 3px; }
.total-bar-amount { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.6rem; color: #fff; }
.total-bar-amount span { font-size: 0.82rem; font-weight: 400; color: var(--muted); }
.total-savings-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dispatch);
  background: rgba(46,160,67,0.12);
  border-radius: 3px;
  padding: 3px 8px;
  margin-top: 4px;
  display: inline-block;
}

.upsell-callout {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .billing-page, .dashboard-page { padding: 0 24px 64px; }
  .billing-title { font-size: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 24px; }
  .sub-card { padding: 24px; }
  .sub-actions { flex-direction: column; }
  .pricing-hero { padding: 48px 24px 40px; }
  .pricing-hero-headline { font-size: 2rem; }
  .pricing-section { padding: 40px 24px; }
  .pricing-section-title { font-size: 1.5rem; }
  .feature-matrix { grid-template-columns: 1fr; }
  .fm-col:first-child { border-radius: 8px 8px 0 0; }
  .fm-col:last-child { border-radius: 0 0 8px 8px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-competitors-row { flex-direction: column; }
  .why-competitor { border-right: none; border-bottom: 1px solid var(--border); }
  .why-competitor:last-child { border-bottom: none; }
  .plan-grid { grid-template-columns: 1fr; }
  .compare-table thead th, .compare-table tbody td { padding: 10px 12px; font-size: 0.75rem; }
}