/* ── Pricing Page ─────────────────────────────────────────── */
/* Shares base tokens with privacy.css / welcome.css         */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --p-bg:        #0a0f0d;
  --p-bg-card:   rgba(255,255,255,0.04);
  --p-bg-card-h: rgba(255,255,255,0.07);
  --p-bg-pop:    rgba(99,102,241,0.08);
  --p-text:      #e8ece9;
  --p-text-2:    #a3b5ab;
  --p-text-3:    #6b8074;
  --p-accent:    #6366f1;
  --p-accent-2:  #818cf8;
  --p-green:     #22c55e;
  --p-gold:      #f59e0b;
  --p-border:    rgba(255,255,255,0.08);
  --p-shadow:    0 8px 32px rgba(0,0,0,0.4);
  --p-r:         16px;
  --p-r-lg:      24px;
  --p-t:         0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--p-bg);
  color: var(--p-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--p-accent-2); text-decoration: none; transition: color var(--p-t); }
a:hover { color: #a5b4fc; }

/* ── Page Shell & Hero ─────────────────────────────── */
.page-shell { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.pricing-hero {
  text-align: center;
  padding: 80px 0 48px;
  position: relative;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--p-accent-2);
  margin-bottom: 16px;
}

.pricing-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #a3b5ab 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-hero-sub {
  font-size: 18px;
  color: var(--p-text-2);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ── Toggle Switch ─────────────────────────────────── */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--p-bg-card);
  border: 1px solid var(--p-border);
  border-radius: 999px;
  padding: 6px 8px;
  margin-bottom: 48px;
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--p-text-3);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--p-t);
  user-select: none;
}
.toggle-label.active {
  background: var(--p-accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(99,102,241,0.4);
}

.savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.08));
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--p-gold);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 rgba(245,158,11,0); }
  50%      { box-shadow: 0 0 16px rgba(245,158,11,0.15); }
}

/* ── Plan Cards Grid ───────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}

.plan-card {
  position: relative;
  background: var(--p-bg-card);
  border: 1px solid var(--p-border);
  border-radius: var(--p-r-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.plan-card:hover {
  background: var(--p-bg-card-h);
  transform: translateY(-4px);
  box-shadow: var(--p-shadow);
}

.plan-card.featured {
  border-color: var(--p-accent);
  background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, var(--p-bg-card) 40%);
}
.plan-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--p-accent), var(--p-accent-2));
}

.plan-popular {
  position: absolute;
  top: 16px; right: 16px;
  background: linear-gradient(135deg, var(--p-accent), #7c3aed);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-limited {
  position: absolute;
  top: 16px; left: 16px;
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.08));
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--p-gold);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.plan-desc {
  font-size: 14px;
  color: var(--p-text-3);
  margin-bottom: 24px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.plan-price {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}
.plan-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--p-text-2);
}
.plan-period {
  font-size: 16px;
  color: var(--p-text-3);
}

.plan-billed {
  font-size: 13px;
  color: var(--p-text-3);
  margin-bottom: 28px;
  min-height: 20px;
}

.plan-crossed {
  text-decoration: line-through;
  color: var(--p-text-3);
  margin-right: 6px;
}

.plan-cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--p-t);
  text-align: center;
  text-decoration: none;
  margin-bottom: 28px;
}
.plan-cta-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.plan-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99,102,241,0.5);
  color: #fff;
}
.plan-cta-secondary {
  background: var(--p-bg-card-h);
  color: var(--p-text);
  border: 1px solid var(--p-border);
}
.plan-cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

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

.plan-features-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--p-text-3);
  margin-bottom: 16px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--p-text-2);
  line-height: 1.4;
}
.plan-features li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}
.check-green {
  background: rgba(34,197,94,0.15);
  color: var(--p-green);
}
.check-gray {
  background: rgba(255,255,255,0.06);
  color: var(--p-text-3);
}

/* ── Guarantee Banner ──────────────────────────────── */
.guarantee-banner {
  text-align: center;
  padding: 40px 24px;
  background: var(--p-bg-card);
  border: 1px solid var(--p-border);
  border-radius: var(--p-r-lg);
  margin-bottom: 80px;
}
.guarantee-icon {
  width: 48px;
  height: 48px;
  background: rgba(34,197,94,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}
.guarantee-banner h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.guarantee-banner p {
  color: var(--p-text-2);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
}

/* ── FAQ Section ───────────────────────────────────── */
.faq-section {
  margin-bottom: 80px;
}
.faq-header {
  text-align: center;
  margin-bottom: 40px;
}
.faq-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}
.faq-header p {
  color: var(--p-text-2);
  font-size: 15px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.faq-item {
  background: var(--p-bg-card);
  border: 1px solid var(--p-border);
  border-radius: var(--p-r);
  padding: 24px;
  transition: background var(--p-t);
}
.faq-item:hover { background: var(--p-bg-card-h); }
.faq-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 14px;
  color: var(--p-text-2);
  line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────── */
.page-footer {
  border-top: 1px solid var(--p-border);
  padding: 32px 0;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-links a {
  font-size: 13px;
  color: var(--p-text-3);
  transition: color var(--p-t);
}
.footer-links a:hover { color: var(--p-text); }
.footer-copy {
  font-size: 12px;
  color: var(--p-text-3);
}
.footer-paddle {
  font-size: 12px;
  color: var(--p-text-3);
  margin-top: 8px;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 720px) {
  .pricing-hero { padding: 48px 0 32px; }
  .plans-grid { grid-template-columns: 1fr; }
  .faq-grid  { grid-template-columns: 1fr; }
  .plan-card { padding: 28px 24px; }
}
