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

.pricing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Hero */
.pricing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem 3rem;
}

.pricing-badge {
  display: inline-flex;
  padding: 5px 16px;
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.08);
  font-size: 0.8rem;
  color: var(--accent-bright);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.pricing-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--fg);
}

.pricing-hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-bright), var(--speed-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-lede {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.toggle-label { color: var(--fg-muted); }
.toggle-label.active { color: var(--fg); font-weight: 600; }
.toggle-label.muted { color: var(--fg-muted); }
.toggle-divider { color: rgba(255,255,255,0.1); }

.save-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(52, 211, 153, 0.15);
  border-radius: 100px;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 4px;
}

/* Tier groups and cards */
.pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.tier-group { display: flex; flex-direction: column; gap: 1rem; }

.tier-group-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.popular-inline-badge {
  display: inline-flex;
  padding: 2px 10px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Billing label */
.billing-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.billing-label--annual {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.25);
  color: var(--success);
}

/* Annual card accent */
.tier--annual {
  border-color: rgba(52, 211, 153, 0.25);
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.04) 0%, var(--bg-card) 100%);
}

/* Tier card */
.tier {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.tier {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.tier:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-3px);
}

.tier--featured {
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, var(--bg-card) 100%);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tier-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tier-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.tier-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.tier-period {
  font-size: 1rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.tier-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.tier-billing-note {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: 0.25rem;
}

.tier-billing-note--annual {
  color: var(--success);
  font-weight: 600;
}

.annual-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 100px;
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.tier-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--fg);
  line-height: 1.4;
}

.feature-item.dimmed {
  color: var(--fg-muted);
}

.check { color: var(--success); font-weight: 700; flex-shrink: 0; }
.cross { color: rgba(255,255,255,0.15); font-weight: 700; flex-shrink: 0; }

.tier-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Space Grotesk', sans-serif;
}

.tier-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
}

.tier-cta--secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--fg);
}

.tier-cta--secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
  color: var(--fg);
}

/* Comparison table */
.pricing-compare {
  max-width: var(--max-w);
  margin: 0 auto 5rem;
  padding: 0 2rem;
}

.pricing-compare h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--fg);
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.compare-table th {
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.compare-table th:first-child { text-align: left; }

.compare-table th.featured-col {
  color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.05);
}

.compare-table td {
  padding: 0.85rem 1.25rem;
  font-size: 0.88rem;
  color: var(--fg);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compare-table td:first-child { text-align: left; color: var(--fg-muted); }

.compare-table td.featured-col {
  background: rgba(59, 130, 246, 0.04);
  color: var(--fg);
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table .section-header td {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.2);
  padding-top: 1.5rem;
}

/* Trust section */
.pricing-trust {
  max-width: var(--max-w);
  margin: 0 auto 5rem;
  padding: 0 2rem;
  text-align: center;
}

.pricing-trust h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  color: var(--fg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem;
}

.trust-icon { font-size: 2rem; margin-bottom: 1rem; }

.trust-item h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.trust-item p { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.6; }

/* Footer */
.pricing-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-footer p { font-size: 0.85rem; color: var(--fg-muted); }
.pricing-footer a { color: var(--accent-bright); text-decoration: none; }
.pricing-footer a:hover { text-decoration: underline; }

/* ============ ONBOARDING PAGE ============ */
.onboarding-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

.onboarding-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 3rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.onboarding-icon { font-size: 3rem; margin-bottom: 1.25rem; }

.onboarding-card h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.onboarding-card .subtitle {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.onboarding-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.onboarding-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  display: block;
}

.onboarding-form input,
.onboarding-form select {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.onboarding-form input:focus,
.onboarding-form select:focus {
  border-color: var(--accent);
}

.onboarding-form .btn-submit {
  margin-top: 1rem;
  padding: 14px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.onboarding-form .btn-submit:hover { background: var(--accent-bright); }

.onboarding-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 1.5rem;
  line-height: 1.6;
}

.onboarding-success {
  display: none;
  padding: 1.5rem;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 12px;
  color: var(--success);
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.timezone-hint {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 0.3rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .tier-cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pricing-hero { padding: 4rem 1.5rem 2rem; }
  .pricing-compare, .pricing-trust { padding: 0 1.5rem; }
}