/**
 * Upgrade / Pricing Page
 * 
 * Bloomberg-grade pricing page
 */

/* ============================================
   PRICING CARD
   ============================================ */

.pricing-card-wrapper {
	max-width: 600px;
	margin: 0 auto 4rem;
}

.pricing-card {
	background: var(--bg-elevated);
	border: 1px solid var(--border-primary);
	border-radius: 16px;
	padding: 2.5rem;
	position: relative;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.pricing-card-featured {
	border-color: rgba(59, 130, 246, 0.3);
	box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

.pricing-card-featured:hover {
	box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
}

/* Badge */
.pricing-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: white;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Header */
.pricing-header {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border-primary);
}

.pricing-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
}

.pricing-price {
	display: flex;
	align-items: baseline;
	gap: 0.375rem;
	margin-bottom: 0.75rem;
}

.pricing-amount {
	font-size: 3rem;
	font-weight: 800;
	color: var(--text-primary);
	line-height: 1;
}

.pricing-period {
	font-size: 1.125rem;
	color: var(--text-tertiary);
	font-weight: 500;
}

.pricing-description {
	font-size: 1rem;
	color: var(--text-secondary);
	line-height: 1.5;
}

/* Features */
.pricing-features {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-bottom: 2rem;
}

.pricing-feature {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
}

.pricing-feature-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: #10b981;
}

.pricing-feature-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.25rem;
	line-height: 1.4;
}

.pricing-feature-detail {
	font-size: 0.875rem;
	color: var(--text-tertiary);
	line-height: 1.5;
}

/* CTA */
.pricing-cta {
	text-align: center;
}

.pricing-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 1rem 2rem;
	font-size: 1.125rem;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	border: none;
	cursor: pointer;
}

.pricing-btn-primary {
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: white;
	box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.pricing-btn-primary:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
	background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.pricing-btn-primary:active:not(:disabled) {
	transform: translateY(0);
}

.pricing-btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.pricing-note {
	margin-top: 1rem;
	font-size: 0.875rem;
	color: var(--text-tertiary);
	font-style: italic;
}

.pricing-note-small {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	color: var(--text-tertiary);
	font-style: italic;
}

.pricing-current {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	background: rgba(16, 185, 129, 0.08);
	border: 1px solid rgba(16, 185, 129, 0.2);
	border-radius: 10px;
	font-size: 1.125rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
	max-width: 900px;
	margin: 0 auto 4rem;
}

.faq-title {
	text-align: center;
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 2.5rem;
}

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

.faq-item {
	background: var(--bg-elevated);
	border: 1px solid var(--border-primary);
	border-radius: 12px;
	padding: 1.5rem;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
	border-color: rgba(59, 130, 246, 0.3);
	box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
	transform: translateY(-2px);
}

.faq-question {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
	line-height: 1.4;
}

.faq-answer {
	font-size: 0.9375rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin: 0;
}

/* ============================================
   CTA BANNER
   ============================================ */

.upgrade-cta-banner {
	max-width: 900px;
	margin: 0 auto;
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
	border: 1px solid rgba(59, 130, 246, 0.2);
	border-radius: 16px;
	padding: 3rem;
	text-align: center;
	box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
}

.upgrade-cta-content {
	margin-bottom: 2rem;
}

.upgrade-cta-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.75rem;
}

.upgrade-cta-description {
	font-size: 1.125rem;
	color: var(--text-secondary);
	margin: 0;
}

.upgrade-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 1rem 2.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
	color: white;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.upgrade-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
	background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	.pricing-card {
		padding: 2rem 1.5rem;
	}
	
	.pricing-amount {
		font-size: 2.5rem;
	}
	
	.faq-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	
	.upgrade-cta-banner {
		padding: 2rem 1.5rem;
	}
	
	.upgrade-cta-title {
		font-size: 1.5rem;
	}
}

/* ============================================
   LIGHT MODE
   ============================================ */

:root:not(.dark) .pricing-card {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

:root:not(.dark) .pricing-card:hover {
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

:root:not(.dark) .pricing-card-featured {
	border-color: rgba(59, 130, 246, 0.2);
	box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
}

:root:not(.dark) .pricing-card-featured:hover {
	box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

:root:not(.dark) .faq-item {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(0, 0, 0, 0.08);
}

:root:not(.dark) .faq-item:hover {
	box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
}

:root:not(.dark) .upgrade-cta-banner {
	background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(243, 232, 255, 0.9) 100%);
	border-color: rgba(59, 130, 246, 0.15);
	box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
}

:root:not(.dark) .pricing-current {
	background: rgba(16, 185, 129, 0.06);
	border-color: rgba(16, 185, 129, 0.15);
}

