.pricing-page { max-width: 900px; margin: 0 auto; padding: 40px 20px; }
.pricing-hero { text-align: center; margin-bottom: 40px; }
.pricing-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.pricing-hero p { color: var(--text-muted); font-size: 1.05rem; }

.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }

.pricing-card {
  background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.pricing-card.vip { border-color: #f59e0b; position: relative; }
.pricing-card.vip::before {
  content: 'RECOMMENDED'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706); color: #000; font-size: 0.68rem;
  font-weight: 700; padding: 3px 12px; border-radius: 10px; letter-spacing: 0.5px;
}

.pricing-card-header { text-align: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.pricing-card-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.pricing-card-price { font-size: 2.2rem; font-weight: 800; }
.pricing-card-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.pricing-card-price.free { color: var(--text-muted); font-size: 1.5rem; }

.pricing-features { list-style: none; flex: 1; margin-bottom: 20px; }
.pricing-features li {
  padding: 6px 0; font-size: 0.88rem; display: flex; align-items: center; gap: 8px;
}
.pricing-features .check { color: var(--success); font-weight: 700; }
.pricing-features .cross { color: var(--text-muted); opacity: 0.5; }
.pricing-features .cross + span { color: var(--text-muted); opacity: 0.5; }

.pricing-cta { text-align: center; }
.pricing-cta .btn-primary {
  padding: 12px 32px; font-size: 1rem; font-weight: 700; border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706); border: none; color: #000;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-cta .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,158,11,0.3); }
.pricing-cta .btn-current {
  padding: 12px 32px; font-size: 0.95rem; font-weight: 600; border-radius: 8px;
  background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-muted);
  cursor: default;
}
.pricing-vip-active {
  padding: 12px 32px; font-size: 1rem; font-weight: 700; border-radius: 8px;
  background: linear-gradient(135deg, #10b981, #059669); border: none; color: #fff;
  cursor: default;
}

#paypal-button-container { margin-top: 12px; min-height: 50px; }

.pricing-faq { margin-top: 40px; }
.pricing-faq h2 { font-size: 1.3rem; margin-bottom: 16px; text-align: center; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; margin-bottom: 8px;
}
.faq-item summary { font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.faq-item p { margin-top: 8px; color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

.pricing-note { text-align: center; color: var(--text-muted); font-size: 0.82rem; margin-top: 16px; }

/* API Keys section */
.pricing-apikeys {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-top: 32px;
}
.pricing-apikeys h2 { font-size: 1.2rem; margin-bottom: 8px; text-align: center; }
.pricing-apikeys-desc { color: var(--text-muted); font-size: 0.88rem; text-align: center; margin-bottom: 20px; }
.pricing-keys-form { max-width: 500px; margin: 0 auto; }
.pricing-key-card {
  background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 16px; margin-bottom: 12px;
}
.pricing-key-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.9rem; }
.pricing-key-header .key-status { margin-left: auto; }
.pricing-msg {
  text-align: center; padding: 10px; border-radius: 6px; margin-bottom: 16px; font-size: 0.85rem;
}
.pricing-msg.success { background: var(--success-bg); color: var(--success-text); border: 1px solid var(--success-border); }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-hero h1 { font-size: 1.5rem; }
}
