/* Pricing Calculator Styles */
#pricing-calculator {
	background: rgba(255, 255, 255, 0.08);
	padding: 40px;
	border-radius: 12px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.calculator-section {
	margin-bottom: 40px;
}

.calc-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #fff;
}

.calc-subtitle {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 20px;
}

.calc-options {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.calc-options.vertical {
	flex-direction: column;
}

.calc-option {
	flex: 1;
	min-width: 180px;
	position: relative;
	cursor: pointer;
	display: block;
}

.calc-options.vertical .calc-option {
	flex: none;
	width: 100%;
}

.calc-option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.option-content {
	display: block;
	padding: 20px;
	background: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

/* Subtle color hints for unselected options */
.calc-option:not(:has(input:checked)) .option-content {
	opacity: 0.9;
}

.calc-option:hover .option-content {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

.calc-option input[type="radio"]:checked + .option-content {
	background: rgba(139, 195, 74, 0.2) !important;
	border: 3px solid #8BC34A !important;
	box-shadow: 0 0 30px rgba(139, 195, 74, 0.4) !important;
	transform: scale(1.02);
}

.option-main {
	display: block;
	font-size: 16px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 4px;
}

.option-detail {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
}

.discount-badge {
	display: inline-block;
	background: linear-gradient(135deg, #FF5722, #F44336);
	color: #fff;
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	margin-top: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	animation: pulse-glow 2s ease-in-out infinite;
}

.social-proof {
	display: block;
	font-size: 11px;
	color: rgba(139, 195, 74, 0.9);
	margin-top: 6px;
	font-weight: 600;
	font-style: italic;
}

@keyframes pulse-glow {
	0%, 100% { 
		box-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
		transform: scale(1);
	}
	50% { 
		box-shadow: 0 0 20px rgba(255, 87, 34, 0.8);
		transform: scale(1.02);
	}
}

/* Project Size Slider */
#hours-slider {
	-webkit-appearance: none;
	appearance: none;
	height: 8px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	outline: none;
}

#hours-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	background: #8BC34A;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 0 10px rgba(139, 195, 74, 0.5);
}

#hours-slider::-moz-range-thumb {
	width: 24px;
	height: 24px;
	background: #8BC34A;
	border-radius: 50%;
	cursor: pointer;
	border: none;
	box-shadow: 0 0 10px rgba(139, 195, 74, 0.5);
}

/* Project Size Cards */
.project-size-cards {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 25px;
}

.project-card {
	background: rgba(255, 255, 255, 0.06);
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	padding: 0;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
	cursor: pointer;
}

.project-card:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(139, 195, 74, 0.5);
}

.project-card.active {
	background: rgba(139, 195, 74, 0.08);
	border-color: #8BC34A;
	box-shadow: 0 8px 30px rgba(139, 195, 74, 0.3);
	cursor: default;
}

.card-header {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 16px 20px;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
	position: relative;
}

.card-header::after {
	content: '▼';
	position: absolute;
	right: 20px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	transition: all 0.3s ease;
	transform: rotate(-90deg);
}

.project-card.active .card-header::after {
	transform: rotate(0deg);
	color: #8BC34A;
}

.project-card.active .card-header {
	border-bottom-color: rgba(139, 195, 74, 0.3);
	padding: 20px;
}

.card-icon {
	font-size: 28px;
	line-height: 1;
	transition: all 0.3s ease;
	opacity: 0.6;
}

.card-icon-svg {
	width: 32px;
	height: 32px;
	color: #9CCC65;
	transition: all 0.3s ease;
	opacity: 0.6;
}

.project-card.active .card-icon {
	font-size: 36px;
	opacity: 1;
	transform: scale(1.1);
	filter: drop-shadow(0 0 10px rgba(139, 195, 74, 0.5));
}

.project-card.active .card-icon-svg {
	width: 36px;
	height: 36px;
	opacity: 1;
	transform: scale(1.1);
	filter: drop-shadow(0 0 10px rgba(139, 195, 74, 0.5));
}

.card-title {
	font-size: 15px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 4px;
	transition: all 0.3s ease;
}

.project-card.active .card-title {
	font-size: 16px;
	color: #fff;
}

.card-hours {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	font-weight: 500;
	transition: all 0.3s ease;
}

.project-card.active .card-hours {
	font-size: 13px;
	color: #8BC34A;
	font-weight: 600;
}

.card-body {
	max-height: 0;
	opacity: 0;
	padding: 0 20px;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card.active .card-body {
	max-height: 800px;
	opacity: 1;
	padding: 20px;
}

.card-section-title {
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.project-card.active .card-section-title {
	color: #8BC34A;
}

.card-features {
	list-style: none;
	padding: 0;
	margin: 0 0 15px 0;
}

.card-features li {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	padding: 6px 0;
	line-height: 1.5;
	transition: color 0.3s ease;
}

.project-card.active .card-features li {
	color: rgba(255, 255, 255, 0.9);
}

.card-examples {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.4);
	font-style: italic;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card.active .card-examples {
	color: rgba(255, 255, 255, 0.7);
	border-top-color: rgba(139, 195, 74, 0.2);
}

#commitment-section input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

#commitment-section h6 {
	font-weight: 600;
}

#commitment-section {
	animation: slideIn 0.3s ease;
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Development Packages */
.dev-package-card {
	background: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	padding: 0;
	text-align: center;
	transition: all 0.3s ease;
	position: relative;
	cursor: pointer;
}

.dev-package-card .package-content {
	padding: 20px;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.dev-package-card.featured .package-content {
	padding-top: 25px;
}

.dev-package-card:hover {
	transform: translateY(-5px);
	border-color: #8BC34A;
	box-shadow: 0 5px 20px rgba(139, 195, 74, 0.2);
}

.dev-package-card input[type="radio"]:checked + .package-content {
	background: rgba(139, 195, 74, 0.15);
}

.dev-package-card:has(input[type="radio"]:checked) {
	border-color: #8BC34A;
	box-shadow: 0 0 25px rgba(139, 195, 74, 0.4);
	transform: translateY(-3px);
}

.dev-package-card:has(input[type="radio"]:checked)::before {
	content: '✓';
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	background: #8BC34A;
	color: #000;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	z-index: 10;
}

.dev-package-card.featured {
	/* No special styling by default - only the badge distinguishes it */
}

.dev-package-card.featured:hover {
	transform: translateY(-5px);
}

.dev-package-card.featured:has(input[type="radio"]:checked) {
	transform: translateY(-3px);
}

.package-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #8BC34A, #689F38);
	color: #fff;
	padding: 2px 14px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	white-space: nowrap;
	z-index: 10;
}

.package-hours {
	font-size: 22px;
	font-weight: 700;
	color: #8BC34A;
	margin-bottom: 10px;
}

.package-price {
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 5px;
}

.package-rate {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 8px;
}

.package-savings {
	font-size: 13px;
	font-weight: 600;
	color: #FF5722;
	background: rgba(255, 87, 34, 0.1);
	padding: 5px 10px;
	border-radius: 4px;
	display: inline-block;
}

/* Calculator Results */
.calculator-result {
	background: linear-gradient(135deg, rgba(139, 195, 74, 0.12), rgba(139, 195, 74, 0.08));
	border: 2px solid #8BC34A;
	border-radius: 16px;
	padding: 35px;
	margin-top: 40px;
	box-shadow: 0 10px 40px rgba(139, 195, 74, 0.25);
}

.cost-section {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
}

.cost-section:last-child {
	margin-bottom: 0;
}

.section-header {
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(139, 195, 74, 0.2);
}

.total-section {
	background: rgba(139, 195, 74, 0.1);
	border: 2px solid rgba(139, 195, 74, 0.3);
}

.result-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
}

.result-label {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.8);
}

.result-value {
	font-size: 18px;
	font-weight: 700;
	color: #8BC34A;
	transition: all 0.3s ease;
}

.result-value.dimmed {
	text-decoration: line-through;
	opacity: 0.5;
	font-size: 16px;
}

.result-value.savings {
	color: #FF5722;
	font-size: 20px;
}

.result-value.large {
	font-size: 24px;
}

.result-value.huge {
	font-size: 28px;
}

.highlight-row {
	background: rgba(139, 195, 74, 0.15);
	padding: 15px !important;
	margin: 10px -10px;
	border-radius: 8px;
}

.total-row {
	margin-top: 10px;
	padding-top: 15px !important;
	border-top: 2px solid rgba(139, 195, 74, 0.3);
}

.result-divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.1);
	margin: 15px 0;
}

.savings-message {
	margin-top: 20px;
	padding: 15px;
	background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(244, 67, 54, 0.2));
	border: 2px solid #FF5722;
	border-radius: 8px;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
}

.savings-message span {
	color: #FF5722;
	font-size: 20px;
	font-weight: 700;
}

.support-features {
	margin-top: 15px;
	padding: 15px;
	background: rgba(139, 195, 74, 0.05);
	border-radius: 8px;
	border: 1px solid rgba(139, 195, 74, 0.2);
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 8px;
}

.feature-item {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.8);
	padding: 6px 10px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.value-message {
	margin-top: 20px;
	padding: 20px;
	background: linear-gradient(135deg, rgba(139, 195, 74, 0.15), rgba(76, 175, 80, 0.15));
	border: 2px solid #8BC34A;
	border-radius: 10px;
	text-align: center;
	color: #fff;
}

.value-message strong {
	font-size: 15px;
	color: #8BC34A;
	display: block;
	margin-bottom: 5px;
}

#value-breakdown {
	text-align: left;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.8;
}

.comparison-message {
	margin-top: 20px;
	padding: 20px;
	background: linear-gradient(135deg, rgba(33, 150, 243, 0.08), rgba(3, 169, 244, 0.05));
	border: 2px solid rgba(33, 150, 243, 0.3);
	border-radius: 10px;
	text-align: center;
	color: #fff;
}

.comparison-message strong {
	font-size: 15px;
	color: #42A5F5;
	display: block;
	margin-bottom: 5px;
}

#commitment-section label:hover {
	background: rgba(255, 255, 255, 0.08);
}

.result-note {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
	text-align: center;
}

.result-note span {
	color: #8BC34A;
	font-weight: 600;
}

.result-note strong {
	color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
	#pricing-calculator {
		padding: 25px;
	}

	.calc-options {
		flex-direction: column;
	}

	.calc-option {
		min-width: 100%;
	}

	.option-content {
		padding: 15px;
	}

	.calculator-result {
		padding: 20px;
	}

	.cost-section {
		padding: 15px;
	}

	.result-value {
		font-size: 16px;
	}

	.result-value.large {
		font-size: 20px;
	}

	.result-value.huge {
		font-size: 24px;
	}

	.savings-message {
		font-size: 14px;
	}

	.savings-message span {
		font-size: 18px;
	}

	.card-header {
		padding: 14px 16px;
	}

	.project-card.active .card-header {
		padding: 16px;
	}

	.card-header::after {
		right: 16px;
		font-size: 10px;
	}

	.card-body {
		padding: 0 16px;
	}

	.project-card.active .card-body {
		padding: 16px;
		max-height: 1000px;
	}

	.card-icon {
		font-size: 24px;
	}

	.project-card.active .card-icon {
		font-size: 28px;
	}

	.card-title {
		font-size: 14px;
	}

	.project-card.active .card-title {
		font-size: 15px;
	}

	.card-hours {
		font-size: 11px;
	}

	.card-features li {
		font-size: 12px;
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}

	#value-breakdown {
		font-size: 13px;
	}

	/* Comparison grid should stack on mobile */
	.calculator-section > div[style*="grid-template-columns"] {
		grid-template-columns: 1fr !important;
	}
}
