.wangao-profit-analysis {
	background: #f8fafc;
}

.wangao-profit-wrap {
	padding-top: 120px; /* fixed nav space */
	padding-bottom: 40px;
	padding-left: 16px;
	padding-right: 16px;
}

body.admin-bar .wangao-profit-wrap {
	padding-top: 152px;
}

.roi-widget {
	font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
	background: var(--wangao-card-bg, #fff);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-width: var(--wangao-widget-max, 1000px);
	margin: 0 auto;
	border: 1px solid #e5e7eb;
}

.roi-header {
	background: #111827;
	padding: 20px;
	text-align: center;
	color: white;
}

.roi-font-oswald {
	font-family: "Oswald", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

.profit-value {
	font-size: var(--wangao-profit-size, 48px);
	color: var(--wangao-profit, #009B4D);
}

/* Industry switch cards */
.industry-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	padding: 20px;
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
	.industry-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
.ind-card {
	background: white;
	border: 2px solid #e5e7eb;
	border-radius: 10px;
	padding: 18px 10px;
	text-align: center;
	cursor: pointer;
	transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 120px;
	position: relative;
	overflow: hidden;
}
.ind-card::before {
	content: "";
	position: absolute;
	inset: -40px;
	background: radial-gradient(circle at 30% 30%, rgba(94, 234, 212, 0.18), transparent 60%);
	opacity: 0;
	transition: opacity 220ms ease;
}
.ind-card:hover {
	border-color: var(--wangao-green, #009B4D);
	transform: translateY(-2px);
}
.ind-card:hover::before {
	opacity: 1;
}
.ind-card.active {
	background: var(--wangao-green, #009B4D);
	border-color: var(--wangao-green, #009B4D);
	color: white;
	box-shadow: 0 10px 20px rgba(0, 155, 77, 0.3);
}
.ind-card i,
.ind-card span {
	position: relative;
	z-index: 1;
}
.ind-card i {
	font-size: 28px;
	margin-bottom: 8px;
}
.ind-card span {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.2;
	letter-spacing: 0.6px;
}

/* Content */
.roi-body {
	display: flex;
	flex-direction: column;
	padding: 30px;
	gap: 30px;
}
@media (min-width: 768px) {
	.roi-body {
		flex-direction: row;
	}
}
.roi-left {
	flex: 1;
}
.roi-right {
	flex: 1;
	background: #f0fdf4;
	border-radius: 10px;
	padding: 20px;
	border: 1px solid #dcfce7;
}

/* Inputs */
.input-group {
	margin-bottom: 20px;
}
.input-label {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 800;
	color: #4b5563;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.input-val {
	color: var(--wangao-blue, #0066CC);
}

/* Modal */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	backdrop-filter: none;
}
.modal-overlay.is-open {
	display: flex;
	animation: wangaoModalIn 160ms ease both;
}
@keyframes wangaoModalIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
.modal-box {
	background: white;
	padding: 30px;
	border-radius: 12px;
	width: 90%;
	max-width: 420px;
	position: relative;
	text-align: center;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

body.wangao-modal-open {
	overflow: hidden;
}
.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: rgba(255, 255, 255, 0.9);
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease;
}
.close-btn:hover {
	transform: rotate(6deg);
	background: #fff;
}
