/* Pricing page styles - newdesign.html theme */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

.container { max-width: 1400px; margin: 0 auto; padding: 40px 20px; }

.hero { text-align: center; margin-bottom: 60px; }
.hero h1 {
  font-size: 3rem; font-weight: 700; margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

.pricing-toggle { display: flex; justify-content: center; margin-bottom: 40px; }
.toggle-btn {
  background: var(--bg-glass); border: 1px solid var(--border-primary); color: var(--text-secondary);
  padding: 12px 24px; cursor: pointer; transition: all 0.3s ease;
}
.toggle-btn:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.toggle-btn:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.toggle-btn.active { background: var(--gradient-primary); color: white; border-color: transparent; }

.plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 80px; }

.plan-card {
  background: var(--bg-card); border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl); padding: 32px; position: relative; transition: all 0.3s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--border-accent); box-shadow: var(--shadow-xl); }
.plan-card.popular { border-color: var(--accent-primary); box-shadow: 0 0 30px rgba(59, 130, 246, 0.3); }

.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: white; padding: 4px 16px; border-radius: var(--radius-lg); font-size: 0.8rem; font-weight: 600;
}

.plan-name { font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--accent-primary); margin-bottom: 4px; }
.plan-price .currency { font-size: 1.2rem; }
.plan-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

.plan-features { list-style: none; margin-bottom: 32px; }
.plan-features li { padding: 8px 0; display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.plan-features li::before { content: '✓'; color: var(--accent-success); font-weight: bold; }

.plan-btn {
  width: 100%; padding: 12px 24px; border: none; border-radius: var(--radius-lg); font-size: 1rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s ease; text-decoration: none; display: inline-block; text-align: center;
}
.plan-btn.primary { background: var(--gradient-primary); color: white; }
.plan-btn.primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.plan-btn.secondary { background: var(--bg-glass); color: var(--text-primary); border: 1px solid var(--border-primary); }
.plan-btn.secondary:hover { background: var(--bg-card); border-color: var(--border-accent); }

.credits-section { margin-bottom: 60px; }
.section-title { font-size: 2rem; font-weight: 600; text-align: center; margin-bottom: 16px; color: var(--text-primary); }
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 40px; }

.credits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.credit-pack {
  background: var(--bg-card); border: 1px solid var(--border-primary);
  border-radius: var(--radius-xl); padding: 24px; text-align: center; transition: all 0.3s ease;
}
.credit-pack:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.credit-amount { font-size: 1.5rem; font-weight: 600; color: var(--accent-primary); margin-bottom: 8px; }
.credit-price { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); }
.credit-bonus { color: var(--accent-success); font-size: 0.85rem; margin-bottom: 16px; }

.faq-section { margin-top: 80px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-xl); margin-bottom: 16px; overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; color: var(--text-primary); }
.faq-answer { padding: 0 20px 20px; color: var(--text-secondary); display: none; }

@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .credits-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Hide credits section by default; toggled via JS */
#credits-section { display: none; }
