/* ==========================================================================
   TVS License Server - Front-End Pricing Page Stylesheet
   Brand Colors: Dark (#003887), Vibrant Gradient (#ffea00 -> #d9ff00)
   ========================================================================== */

:root {
	--tvs-price-dark: #003887;
	--tvs-price-dark-hover: #002766;
	--tvs-price-gradient: linear-gradient(135deg, #ffea00 0%, #d9ff00 100%);
	--tvs-price-border: #e2e8f0;
	--tvs-price-radius: 12px;
}

.tvs-pricing-wrapper {
	max-width: 1160px;
	margin: 40px auto;
	padding: 0 20px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #1e293b;
	line-height: 1.6;
}

/* Hero Header */
.tvs-pricing-header {
	text-align: center;
	margin-bottom: 40px;
}

.tvs-pricing-pill {
	display: inline-block;
	background: #e0e7ff;
	color: var(--tvs-price-dark);
	font-size: 13px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 30px;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tvs-pricing-title {
	font-size: 36px;
	font-weight: 800;
	color: var(--tvs-price-dark);
	margin: 0 0 12px 0;
	line-height: 1.25;
}

.tvs-pricing-subtitle {
	font-size: 17px;
	color: #64748b;
	max-width: 680px;
	margin: 0 auto;
}

/* Billing Toggle Switch */
.tvs-billing-toggle-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 32px 0 44px 0;
}

.tvs-toggle-label {
	font-size: 15px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	user-select: none;
	transition: color 0.2s;
}

.tvs-toggle-label.active {
	color: var(--tvs-price-dark);
	font-weight: 700;
}

.tvs-toggle-save-badge {
	background: var(--tvs-price-gradient);
	color: var(--tvs-price-dark);
	font-size: 11px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 20px;
	margin-left: 6px;
	text-transform: uppercase;
}

.tvs-switch {
	position: relative;
	display: inline-block;
	width: 52px;
	height: 28px;
}

.tvs-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.tvs-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #cbd5e1;
	transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 34px;
}

.tvs-slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.tvs-switch input:checked + .tvs-slider {
	background-color: var(--tvs-price-dark);
}

.tvs-switch input:checked + .tvs-slider:before {
	transform: translateX(24px);
}

/* Pricing Grid */
.tvs-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: stretch;
	margin-bottom: 50px;
}

@media (max-width: 960px) {
	.tvs-pricing-grid {
		grid-template-columns: 1fr;
		max-width: 440px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Pricing Card */
.tvs-price-card {
	background: #ffffff;
	border: 1px solid var(--tvs-price-border);
	border-radius: var(--tvs-price-radius);
	padding: 36px 28px;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tvs-price-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 56, 135, 0.08);
}

/* Featured / Most Popular Card */
.tvs-card-featured {
	border: 2px solid var(--tvs-price-dark);
	box-shadow: 0 10px 30px rgba(0, 56, 135, 0.12);
	transform: scale(1.03);
	z-index: 2;
}

.tvs-card-featured:hover {
	transform: scale(1.03) translateY(-4px);
	box-shadow: 0 16px 36px rgba(0, 56, 135, 0.18);
}

.tvs-popular-tag {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--tvs-price-gradient);
	color: var(--tvs-price-dark);
	font-size: 12px;
	font-weight: 800;
	padding: 4px 16px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 2px 8px rgba(217, 255, 0, 0.4);
	white-space: nowrap;
}

.tvs-card-header {
	text-align: center;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
}

.tvs-card-plan-name {
	font-size: 20px;
	font-weight: 700;
	color: var(--tvs-price-dark);
	margin: 0 0 8px 0;
}

.tvs-card-desc {
	font-size: 13px;
	color: #64748b;
	margin: 0 0 16px 0;
	min-height: 38px;
}

.tvs-price-box {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 4px;
	margin-bottom: 4px;
}

.tvs-currency {
	font-size: 24px;
	font-weight: 700;
	color: var(--tvs-price-dark);
}

.tvs-amount {
	font-size: 46px;
	font-weight: 800;
	color: var(--tvs-price-dark);
	line-height: 1;
}

.tvs-period {
	font-size: 14px;
	color: #64748b;
	font-weight: 600;
}

.tvs-slot-pill {
	display: inline-block;
	background: #f1f5f9;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	margin-top: 8px;
}

/* Feature List */
.tvs-card-features {
	list-style: none;
	padding: 0;
	margin: 0 0 28px 0;
	flex: 1;
}

.tvs-card-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #334155;
	margin-bottom: 12px;
	line-height: 1.4;
}

.tvs-check-icon {
	color: #16a34a;
	font-weight: 800;
	font-size: 16px;
	line-height: 1;
}

/* Action Buttons */
.tvs-pricing-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 13px 24px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.tvs-pricing-btn-gradient {
	background: var(--tvs-price-gradient) !important;
	color: var(--tvs-price-dark) !important;
	border: 1px solid rgba(0, 56, 135, 0.15) !important;
	box-shadow: 0 3px 10px rgba(217, 255, 0, 0.35);
}

.tvs-pricing-btn-gradient:hover {
	opacity: 0.95;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(255, 234, 0, 0.45);
}

.tvs-pricing-btn-primary {
	background: var(--tvs-price-dark) !important;
	color: #ffffff !important;
	border: 1px solid var(--tvs-price-dark) !important;
}

.tvs-pricing-btn-primary:hover {
	background: var(--tvs-price-dark-hover) !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 56, 135, 0.25);
}

.tvs-pricing-btn-secondary {
	background: #ffffff !important;
	color: var(--tvs-price-dark) !important;
	border: 2px solid var(--tvs-price-dark) !important;
}

.tvs-pricing-btn-secondary:hover {
	background: #f8fafc !important;
	transform: translateY(-2px);
	box-shadow: 0 3px 10px rgba(0, 56, 135, 0.1);
}

/* Trust Badges Strip */
.tvs-trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	margin: 50px 0;
	background: #f8fafc;
	border: 1px solid var(--tvs-price-border);
	border-radius: var(--tvs-price-radius);
	padding: 24px;
}

.tvs-trust-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tvs-trust-icon {
	font-size: 28px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 10px;
	display: inline-flex;
}

.tvs-trust-text strong {
	display: block;
	font-size: 14px;
	color: var(--tvs-price-dark);
}

.tvs-trust-text small {
	font-size: 12px;
	color: #64748b;
}

/* FAQ Accordion Section */
.tvs-faq-section {
	margin-top: 60px;
}

.tvs-faq-title {
	text-align: center;
	font-size: 26px;
	font-weight: 800;
	color: var(--tvs-price-dark);
	margin-bottom: 28px;
}

.tvs-faq-item {
	background: #ffffff;
	border: 1px solid var(--tvs-price-border);
	border-radius: 8px;
	margin-bottom: 12px;
	overflow: hidden;
}

.tvs-faq-question {
	padding: 16px 20px;
	font-size: 15px;
	font-weight: 700;
	color: var(--tvs-price-dark);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

.tvs-faq-answer {
	padding: 0 20px 16px 20px;
	font-size: 14px;
	color: #475569;
	line-height: 1.6;
	display: none;
}

.tvs-faq-item.active .tvs-faq-answer {
	display: block;
}

.tvs-faq-icon {
	font-size: 18px;
	transition: transform 0.2s ease;
}

.tvs-faq-item.active .tvs-faq-icon {
	transform: rotate(180deg);
}
