/* ROI Calculator Styles */

.roi-calculator {
	padding: 4rem 0;
	background: #f8fafc;
}

.calculator-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto;
}

.calculator-inputs,
.calculator-results {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.calculator-inputs h2,
.calculator-results h2 {
	margin-bottom: 1rem;
	color: var(--txt);
	font-size: 1.5rem;
	font-weight: 700;
}

.section-description {
	color: var(--muted);
	margin-bottom: 2rem;
	font-size: 0.95rem;
}

.input-group {
	margin-bottom: 1.5rem;
}

.input-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: var(--txt);
}

.input-group input {
	width: 100%;
	padding: 0.75rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 1rem;
	transition: border-color 0.2s;
}

.input-group input:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.input-group small {
	display: block;
	margin-top: 0.25rem;
	color: var(--muted);
	font-size: 0.85rem;
}

.results-summary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 2rem;
}

.result-card {
	background: #f8fafc;
	padding: 1.5rem;
	border-radius: 8px;
	text-align: center;
	border: 1px solid #e2e8f0;
}

.result-card--primary {
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
	color: white;
	border: none;
}

.result-card h3 {
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	opacity: 0.9;
}

.result-card--primary h3 {
	color: white;
	opacity: 1;
}

.result-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--brand);
	margin-bottom: 0.25rem;
}

.result-card--primary .result-value {
	color: white;
}

.result-card small {
	font-size: 0.8rem;
	opacity: 0.7;
}

.savings-breakdown {
	background: #f8fafc;
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 2rem;
}

.savings-breakdown h3 {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.breakdown-item {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid #e2e8f0;
}

.breakdown-item:last-child {
	border-bottom: none;
}

.breakdown-total {
	display: flex;
	justify-content: space-between;
	padding: 1rem 0 0.5rem 0;
	border-top: 2px solid var(--brand);
	margin-top: 1rem;
	font-size: 1.1rem;
}

.cost-comparison {
	background: #f8fafc;
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 2rem;
}

.cost-comparison h3 {
	margin-bottom: 1rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.comparison-item {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.comparison-label {
	font-weight: 600;
	font-size: 0.9rem;
}

.comparison-bar {
	height: 20px;
	background: #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
}

.bar {
	height: 100%;
	border-radius: 10px;
	transition: width 0.8s ease-in-out;
}

.bar--current {
	background: linear-gradient(90deg, #ef4444, #dc2626);
}

.bar--pace {
	background: linear-gradient(90deg, var(--brand), var(--brand-700));
}

.comparison-value {
	text-align: right;
	font-weight: 600;
	font-size: 0.9rem;
}

.cta-section {
	text-align: center;
	padding: 2rem 0;
	border-top: 1px solid #e2e8f0;
}

.cta-section p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	color: var(--txt);
}

.cta-section .btn {
	margin: 0 0.5rem;
}

.cta-section .btn--ghost {
	background: rgba(255,255,255,0.96);
	color: #059669;
	border: 2px solid #059669;
	font-weight: 700;
	box-shadow: 0 2px 12px rgba(0,0,0,.10);
}

.cta-section .btn--ghost:hover,
.cta-section .btn--ghost:focus-visible {
	background: #fff;
	color: #047857;
	border-color: #047857;
}

.assumptions {
	background: white;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	margin-top: 2rem;
}

.assumptions h3 {
	margin-bottom: 1rem;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--txt);
}

.assumptions p {
	margin-bottom: 1rem;
	color: var(--muted);
}

.assumptions ul {
	list-style: none;
	padding: 0;
}

.assumptions li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #f1f5f9;
}

.assumptions li:last-child {
	border-bottom: none;
}

.benefits-section {
	padding: 4rem 0;
	background: white;
}

.benefits-section h2 {
	text-align: center;
	margin-bottom: 3rem;
	font-size: 2rem;
	font-weight: 700;
	color: var(--txt);
}

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

.benefit-card {
	text-align: center;
	padding: 2rem;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: var(--brand);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 64px;
	height: 64px;
	background: rgba(5, 150, 105, 0.1);
	border-radius: 50%;
	margin: 0 auto 1rem auto;
}

.benefit-icon svg {
	width: 32px;
	height: 32px;
	stroke: var(--brand);
}

.benefit-card h3 {
	margin-bottom: 1rem;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--txt);
}

.benefit-card p {
	color: var(--muted);
	line-height: 1.6;
}

/* Hero Section for ROI - Use standard hero styling */

/* Responsive Design */
@media (max-width: 768px) {
	.calculator-wrapper {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.results-summary {
		grid-template-columns: 1fr;
	}
	
	.comparison-item {
		grid-template-columns: 1fr;
		gap: 0.5rem;
		text-align: center;
	}
	
	.comparison-bar {
		margin: 0.5rem 0;
	}
	
	.benefits-grid {
		grid-template-columns: 1fr;
	}
	
	.cta-section .btn {
		display: block;
		margin: 0.5rem 0;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.roi-calculator,
	.benefits-section {
		padding: 2rem 0;
	}
	
	.calculator-inputs,
	.calculator-results,
	.assumptions {
		padding: 1.5rem;
	}
	
	.result-value {
		font-size: 1.5rem;
	}
}

/* Disclaimer Styles */
.disclaimer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 2rem;
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	text-align: center;
}

.section--light {
	background: #f8fafc;
	width: 100%;
}

.disclaimer h3 {
	color: var(--txt);
	margin-bottom: 1.5rem;
	font-size: 1.25rem;
	font-weight: 600;
}

.disclaimer p {
	color: var(--muted);
	line-height: 1.6;
	margin-bottom: 1rem;
	font-size: 0.95rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.disclaimer p:last-child {
	margin-bottom: 0;
}

/* Responsive Disclaimer */
@media (max-width: 768px) {
	.disclaimer {
		padding: 2rem 1rem;
	}
}
