/* Дизайн в стиле Модульбанка - чистый, современный, профессиональный */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: #ffffff;
	color: #1f2937;
	line-height: 1.6;
	font-size: 16px;
	font-weight: 400;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

@media (min-width: 768px) {
	.container {
		padding: 0 40px;
	}
}

@media (min-width: 1024px) {
	.container {
		padding: 0 20px;
	}
}

/* Header в стиле Модульбанка */
.header {
	background: #ffffff;
	border-bottom: 1px solid #f1f5f9;
	padding: 20px 0;
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	flex: 0 0 auto;
}

.logo-text {
	font-size: 28px;
	font-weight: 700;
	color: #2563eb;
	letter-spacing: -0.02em;
}

.nav {
	display: none;
}

@media (min-width: 768px) {
	.nav {
		display: flex;
		align-items: center;
		gap: 40px;
		margin-left: auto;
		margin-right: 40px;
	}
}

/* Адаптивные классы */
.desktop-only {
	display: none;
}

.mobile-only {
	display: none;
}

@media (min-width: 768px) {
	.desktop-only {
		display: block !important;
	}
	
	.burger {
		display: none !important;
	}
	
	.mobile-only {
		display: none !important;
	}
}

@media (max-width: 767px) {
	.mobile-only {
		display: block !important;
	}
	
	.desktop-only {
		display: none !important;
	}
	
	.burger {
		display: block !important;
	}
}

/* Бургер-кнопка */
.burger {
	position: relative;
	width: 40px;
	height: 30px;
	background: transparent;
	cursor: pointer;
	display: none;
	border: none;
	padding: 0;
}

.burger input {
	display: none;
}

.burger span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #2563eb;
	border-radius: 9px;
	opacity: 1;
	left: 0;
	transform: rotate(0deg);
	transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
	top: 0px;
	transform-origin: left center;
}

.burger span:nth-of-type(2) {
	top: 50%;
	transform: translateY(-50%);
	transform-origin: left center;
}

.burger span:nth-of-type(3) {
	top: 100%;
	transform-origin: left center;
	transform: translateY(-100%);
}

.burger.active span:nth-of-type(1) {
	transform: rotate(45deg);
	top: 0px;
	left: 5px;
}

.burger.active span:nth-of-type(2) {
	width: 0%;
	opacity: 0;
}

.burger.active span:nth-of-type(3) {
	transform: rotate(-45deg);
	top: 28px;
	left: 5px;
}

/* Мобильное меню */
.mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(10px);
	z-index: 999;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 32px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-20px);
	transition: all 0.3s ease;
}

.mobile-nav.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mobile-nav-link {
	color: #1f2937;
	text-decoration: none;
	font-size: 24px;
	font-weight: 600;
	transition: color 0.15s ease;
	position: relative;
}

.mobile-nav-link:hover {
	color: #2563eb;
}

.mobile-nav-link::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: #2563eb;
	border-radius: 2px;
	transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
	width: 100%;
}

.mobile-cta {
	margin-top: 20px;
	font-size: 18px;
	padding: 18px 36px;
}

/* Мобильные стили для бургера */
@media (max-width: 767px) {
	.burger {
		display: block !important;
		z-index: 1001;
		position: relative;
	}
	
	.mobile-nav {
		padding-top: 80px;
	}
	
	.mobile-nav-link {
		font-size: 20px;
	}
	
	.mobile-cta {
		font-size: 16px;
		padding: 16px 32px;
	}
}



.nav-link {
	color: #64748b;
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	transition: color 0.15s ease;
	position: relative;
}

.nav-link:hover {
	color: #2563eb;
}

.nav-link.active {
	color: #2563eb;
}

.nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	right: 0;
	height: 2px;
	background: #2563eb;
	border-radius: 1px;
}

.btn-primary {
	background: #2563eb;
	color: white;
	border: none;
	padding: 16px 32px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
	letter-spacing: -0.01em;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-secondary {
	background: transparent;
	color: #1e40af;
	border: 2px solid #1e40af;
	padding: 12px 26px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	letter-spacing: 0.025em;
	text-decoration: none;
	display: inline-block;
}

.btn-secondary:hover {
	background: #1e40af;
	color: white;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(30, 64, 175, 0.25);
}

/* Hero секция в стиле Модульбанка */
.hero {
	padding: 120px 0 100px;
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.03) 100%);
	transform: skewX(-15deg);
	transform-origin: top;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	align-items: center;
}

@media (min-width: 768px) {
	.hero-content {
		padding: 0 40px;
	}
}

@media (min-width: 1024px) {
	.hero-content {
		grid-template-columns: 1fr 1fr;
		padding: 0 20px;
		gap: 80px;
	}
}

.hero-text {
	text-align: left;
}

@media (max-width: 1023px) {
	.hero-text {
		text-align: center;
	}
}

.hero h1 {
	font-size: 56px;
	font-weight: 800;
	color: #1f2937;
	margin-bottom: 24px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

@media (max-width: 768px) {
	.hero h1 {
		font-size: 42px;
	}
}

.hero-subtitle {
	font-size: 20px;
	color: #64748b;
	margin-bottom: 40px;
	line-height: 1.6;
	font-weight: 400;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin: 48px 0;
}

@media (max-width: 768px) {
	.hero-stats {
		grid-template-columns: 1fr;
		gap: 24px;
		margin: 40px 0;
	}
}

.stat-box {
	text-align: center;
	padding: 32px 24px;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #f1f5f9;
	transition: all 0.15s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-number {
	font-size: 48px;
	font-weight: 700;
	color: #2563eb;
	margin-bottom: 8px;
}

.stat-text {
	font-size: 14px;
	color: #6b7280;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 32px;
	flex-wrap: wrap;
}

@media (max-width: 1023px) {
	.hero-actions {
		justify-content: center;
	}
}

/* Hero визуальная часть */
.hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
}

.hero-illustration {
	position: relative;
	width: 100%;
	max-width: 500px;
	height: 400px;
}

.hero-card {
	position: absolute;
	background: #ffffff;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #f1f5f9;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
	width: 180px;
}

.hero-card:hover {
	transform: translateY(-4px);
}

.hero-card-1 {
	top: 0;
	left: 0;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: white;
}

.hero-card-2 {
	top: 120px;
	right: 0;
	background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
	color: white;
}

.hero-card-3 {
	bottom: 0;
	left: 50px;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: white;
}

.card-icon {
	font-size: 32px;
	margin-bottom: 12px;
}

.card-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 4px;
}

.card-subtitle {
	font-size: 14px;
	opacity: 0.9;
}

/* Marketplaces секция */
.marketplaces {
	padding: 100px 0;
	background: #ffffff;
	text-align: center;
}

.marketplaces h2 {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 16px;
}

.section-description {
	font-size: 18px;
	color: #6b7280;
	margin-bottom: 48px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.marketplace-logos {
	display: flex;
	justify-content: center;
	gap: 100px;
	align-items: center;
	flex-wrap: wrap;
}

.marketplace-logo {
	height: 90px;
	width: auto;
}

/* Benefits */
.benefits {
	padding: 80px 0;
	background: #ffffff;
}

.benefits h2 {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	margin-bottom: 48px;
}

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

.benefit-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 32px;
	text-align: center;
}

.benefit-icon {
	font-size: 32px;
	margin-bottom: 16px;
}

.benefit-card h3 {
	font-size: 20px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 12px;
}

.benefit-card p {
	color: #6b7280;
	line-height: 1.6;
}

/* Map Section */
.map-section-main {
	padding: 80px 0;
	background: #eff6ff;
}

.map-section-main h2 {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	margin-bottom: 48px;
}

.map-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 48px;
	align-items: center;
}

.map-wrapper {
	height: 400px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

#map {
	width: 100%;
	height: 100%;
}

.map-stats {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.map-stat {
	text-align: center;
}

.map-stat-number {
	font-size: 48px;
	font-weight: 700;
	color: #2563eb;
	margin-bottom: 8px;
}

.map-stat-label {
	font-size: 18px;
	color: #6b7280;
	margin-bottom: 16px;
}

/* Calculator */
.calculator {
	padding: 80px 0;
	background: #ffffff;
}

.calculator h2 {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	margin-bottom: 48px;
}

.calculator-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
}

.calculator-form {
	background: #f8fafc;
	padding: 32px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
}

.calc-field {
	margin-bottom: 24px;
}

.calc-field label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: #1a1a1a;
}

.calc-field input,
.calc-field select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: white;
	color: #1a1a1a;
	font-size: 16px;
	font-family: inherit;
}

.calc-field input:focus,
.calc-field select:focus {
	outline: none;
	border-color: #2563eb;
}

.calc-suggestions {
	position: relative;
	margin-top: 4px;
}

.calc-suggestions:not([hidden]) {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: white;
	max-height: 200px;
	overflow-y: auto;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calc-sugg {
	padding: 12px 16px;
	cursor: pointer;
	border-bottom: 1px solid #f3f4f6;
	transition: background-color 0.2s;
}

.calc-sugg:last-child {
	border-bottom: none;
}

.calc-sugg:hover {
	background: #f8fafc;
}

.city-coeff {
	color: #6b7280;
	font-size: 12px;
}

.calculator-result {
	background: #ffffff;
	padding: 32px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
}

.calculator-result h3 {
	font-size: 24px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 24px;
}

.profit-item {
	display: flex;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid #e5e7eb;
}

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

.profit-label {
	color: #6b7280;
}

.profit-value {
	font-weight: 700;
	color: #2563eb;
	font-size: 18px;
}

.empty-state {
	text-align: center;
	color: #6b7280;
	padding: 40px 0;
}

.results-summary-compact {
	display: flex;
	gap: 24px;
	margin-bottom: 24px;
	justify-content: center;
}

.summary-item-compact {
	text-align: center;
}

.summary-item-compact .summary-value {
	font-size: 20px;
	font-weight: 700;
	color: #2563eb;
	margin-bottom: 4px;
}

.summary-item-compact .summary-label {
	font-size: 12px;
	color: #6b7280;
}

.monthly-breakdown h4 {
	margin-bottom: 16px;
	color: #1a1a1a;
	font-size: 16px;
	text-align: center;
}

.months-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}

.month-card {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.month-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.month-header {
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 12px;
	text-align: center;
	font-size: 14px;
}

.month-stat {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
}

.month-stat.profit {
	border-top: 1px solid #e5e7eb;
	padding-top: 8px;
	margin-top: 8px;
}

.stat-label {
	color: #6b7280;
	font-size: 13px;
}

.stat-value {
	font-weight: 600;
	color: #1a1a1a;
	font-size: 13px;
}

.stat-value.positive {
	color: #059669;
}

.stat-value.negative {
	color: #dc2626;
}

.month-note {
	font-size: 11px;
	color: #2563eb;
	text-align: center;
	margin-top: 8px;
	font-weight: 500;
}

.bar-tooltip {
	position: fixed;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	font-size: 14px;
	min-width: 180px;
}

.bar-tooltip .tooltip-header {
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 8px;
	text-align: center;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 4px;
}

.bar-tooltip .tooltip-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 4px;
}

.bar-tooltip .tooltip-row.profit {
	border-top: 1px solid #e5e7eb;
	padding-top: 4px;
	margin-top: 4px;
}

.bar-tooltip .tooltip-row span:first-child {
	color: #6b7280;
}

.bar-tooltip .tooltip-row span:last-child {
	font-weight: 600;
	color: #1a1a1a;
}

.bar-tooltip .positive {
	color: #059669;
}

.bar-tooltip .negative {
	color: #dc2626;
}

.bar-tooltip .tooltip-support {
	font-size: 12px;
	color: #2563eb;
	text-align: center;
	margin-top: 6px;
	font-weight: 500;
}

.chart-tooltip {
	position: fixed;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	font-size: 14px;
	min-width: 180px;
}

.tooltip-header {
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 8px;
	text-align: center;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 4px;
}

.tooltip-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 4px;
}

.tooltip-row.profit {
	border-top: 1px solid #e5e7eb;
	padding-top: 4px;
	margin-top: 4px;
}

.tooltip-row span:first-child {
	color: #6b7280;
}

.tooltip-row span:last-child {
	font-weight: 600;
	color: #1a1a1a;
}

.tooltip-row .positive {
	color: #059669;
}

.tooltip-row .negative {
	color: #dc2626;
}

.tooltip-support {
	font-size: 12px;
	color: #2563eb;
	text-align: center;
	margin-top: 6px;
	font-weight: 500;
}

/* FAQ */
.faq {
	padding: 80px 0;
	background: #f8fafc;
}

.faq h2 {
	font-size: 36px;
	font-weight: 700;
	color: #1a1a1a;
	text-align: center;
	margin-bottom: 48px;
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	margin-bottom: 16px;
	overflow: hidden;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px;
	cursor: pointer;
	transition: background-color 0.2s;
}

.faq-question:hover {
	background: #f8fafc;
}

.faq-question h3 {
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	margin: 0;
}

.faq-toggle {
	font-size: 24px;
	font-weight: 300;
	color: #6b7280;
	transition: transform 0.2s;
}

.faq-item.active .faq-toggle {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.faq-answer p {
	color: #6b7280;
	line-height: 1.6;
	padding: 0 24px 24px;
	margin: 0;
}

/* Footer */
.footer {
	background: #1f2937;
	color: white;
	padding: 48px 0 24px;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 32px;
}

.footer-col h4 {
	font-size: 16px;
	font-weight: 600;
	color: white;
	margin-bottom: 16px;
}

.footer-col a {
	display: block;
	color: #9ca3af;
	text-decoration: none;
	margin-bottom: 8px;
	font-size: 14px;
	transition: color 0.2s;
}

.footer-col a:hover {
	color: white;
}

.footer-cta {
	background: #3b82f6;
	color: white;
	border: none;
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
	margin-top: 12px;
	width: 100%;
}

.footer-cta:hover {
	background: #2563eb;
}

.footer-cta-link {
	color: #3b82f6 !important;
	font-weight: 600;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	transition: all 0.2s;
}

.footer-cta-link:hover {
	color: #2563eb !important;
	border-bottom-color: #2563eb;
}

.footer-address {
	color: #9ca3af;
	font-size: 13px;
	margin-top: 8px;
	line-height: 1.4;
}

.footer-company {
	color: #6b7280;
	font-size: 12px;
	margin-top: 8px;
	font-weight: 500;
	letter-spacing: 0.025em;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid #374151;
}

.footer-logo {
	font-size: 20px;
	font-weight: 700;
	color: white;
}

.footer-copy {
	color: #9ca3af;
	font-size: 14px;
}

/* Modal */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.modal-content {
	background: white;
	border-radius: 12px;
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow: auto;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px;
	border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
	font-size: 20px;
	font-weight: 600;
}

.modal-close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #6b7280;
}

.modal-body {
	padding: 24px;
}

.field {
	margin-bottom: 20px;
}

.field label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.field input,
.field textarea,
.field select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: white;
	font-size: 16px;
	font-family: inherit;
}

.contact-row {
	display: flex;
	gap: 12px;
}

.contact-row select {
	width: 140px;
}

.checkbox {
	display: inline-flex;
	align-items: center;
	margin-right: 16px;
	margin-bottom: 8px;
	gap: 8px;
}

.status {
	margin-top: 12px;
	color: #059669;
}

.suggestions:not([hidden]) {
	border: 1px solid #d1d5db;
	border-radius: 8px;
	background: white;
	margin-top: 4px;
}

.sugg {
	padding: 12px 16px;
	cursor: pointer;
}

.sugg:hover {
	background: #f3f4f6;
}

/* Results Modal */
.results-modal .modal-content {
	max-width: 1000px;
	width: 95%;
}

.results-content {
	max-height: 90vh;
	overflow: auto;
}

.results-body {
	padding: 32px;
}

.results-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	margin-bottom: 32px;
	padding: 24px;
	background: #f8fafc;
	border-radius: 12px;
}

.summary-item {
	text-align: center;
}

.summary-label {
	color: #6b7280;
	font-size: 14px;
	margin-bottom: 8px;
}

.summary-value {
	font-size: 24px;
	font-weight: 700;
	color: #2563eb;
}

.chart-container {
	margin-bottom: 32px;
	text-align: center;
}

#profitChart {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: white;
}

.monthly-table h3 {
	margin-bottom: 16px;
	color: #1a1a1a;
}

.table-wrapper {
	max-height: 400px;
	overflow-y: auto;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}

.monthly-table table {
	width: 100%;
	border-collapse: collapse;
	background: white;
}

.monthly-table th {
	background: #f8fafc;
	padding: 12px;
	text-align: left;
	font-weight: 600;
	color: #1a1a1a;
	border-bottom: 1px solid #e5e7eb;
	position: sticky;
	top: 0;
}

.monthly-table td {
	padding: 12px;
	border-bottom: 1px solid #f3f4f6;
}

.monthly-table tr:hover {
	background: #f8fafc;
}

.monthly-table tr.profitable {
	background: #f0fdf4;
}

.monthly-table .positive {
	color: #059669;
	font-weight: 600;
}

.monthly-table .negative {
	color: #dc2626;
	font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
	.header-content {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		gap: 16px;
	}
	
	.nav {
		display: none;
	}
	
	.hero h1 {
		font-size: 36px;
	}
	
	.hero-stats {
		gap: 16px;
		margin: 32px 0;
	}
	
	.stat-box {
		min-width: 140px;
		padding: 20px 24px;
	}
	
	.stat-number {
		font-size: 36px;
	}
	
	.hero-actions {
		flex-direction: column;
		gap: 16px;
		margin-top: 24px;
	}
	
	.btn-primary, .btn-secondary {
		width: 100%;
		max-width: 280px;
		text-align: center;
	}
	
	.calculator-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.map-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.map-wrapper {
		height: 300px;
	}
	
	.map-stats {
		flex-direction: row;
		justify-content: center;
		gap: 48px;
	}
	
	.results-summary-compact {
		flex-direction: column;
		gap: 16px;
	}
	
	.chart-tooltip {
		font-size: 12px;
		min-width: 160px;
	}
	
	.benefits-grid {
		grid-template-columns: 1fr;
	}
	
	.marketplace-logos {
		gap: 32px;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	
	.footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
}

/* Documents Modal */
.docs-modal {
	max-width: 600px;
	max-height: 80vh;
	overflow-y: auto;
}

.docs-section h3 {
	color: #374151;
	margin-bottom: 24px;
	font-size: 18px;
	font-weight: 600;
}

.docs-grid {
	display: grid;
	gap: 12px;
	margin-bottom: 20px;
}

.doc-item {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 12px;
	padding: 16px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
}

.doc-item strong {
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
}

.doc-item span {
	color: #374151;
	font-size: 14px;
}

.docs-links {
	text-align: center;
	padding-top: 16px;
	border-top: 1px solid #e5e7eb;
}

/* Requirements Modal */
.reqs-modal {
	max-width: 700px;
	max-height: 80vh;
	overflow-y: auto;
}

.reqs-section h3 {
	color: #1e40af;
	margin-bottom: 24px;
	font-size: 20px;
	font-weight: 600;
}

.req-list {
	display: grid;
	gap: 20px;
}

.req-item {
	display: flex;
	gap: 16px;
	padding: 20px;
	background: #f8fafc;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
}

.req-icon {
	font-size: 24px;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #dbeafe;
	border-radius: 50%;
}

.req-content h4 {
	color: #1f2937;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}

.req-content p {
	color: #6b7280;
	font-size: 14px;
	line-height: 1.5;
}

/* Modal responsive */
@media (max-width: 768px) {
	.docs-modal, .reqs-modal {
		max-width: 95vw;
		margin: 20px;
	}
	
	.doc-item {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	
	.req-item {
		flex-direction: column;
		text-align: center;
	}
	
	.req-icon {
		align-self: center;
	}
}

/* Cases Page Styles */
.hero-cases {
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	padding: 80px 0 60px;
	text-align: center;
}

.hero-cases h1 {
	font-size: 48px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 16px;
	line-height: 1.1;
}

.cases-grid {
	padding: 60px 0;
	background: #ffffff;
}

.cases-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 32px;
	margin-top: 32px;
}

.case-card {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: all 0.3s ease;
	border: 1px solid #e5e7eb;
}

.case-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	border-color: #3b82f6;
}

.case-image {
	position: relative;
	height: 240px;
	overflow: hidden;
	background: #f3f4f6;
}

.case-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
	transform: scale(1.05);
}

.case-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.placeholder-content {
	text-align: center;
	color: #6b7280;
}

.placeholder-content span {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 500;
}

.case-overlay {
	position: absolute;
	top: 16px;
	right: 16px;
}

.case-badge {
	background: #10b981;
	color: white;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.case-content {
	padding: 24px;
}

.case-header {
	margin-bottom: 16px;
}

.case-title {
	font-size: 20px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 8px;
	line-height: 1.3;
}

.case-meta {
	display: flex;
	gap: 12px;
	font-size: 14px;
	color: #6b7280;
}

.case-meta span::after {
	content: "•";
	margin-left: 12px;
	color: #d1d5db;
}

.case-meta span:last-child::after {
	display: none;
}

.case-description {
	margin-bottom: 20px;
}

.case-description p {
	color: #4b5563;
	line-height: 1.6;
	font-size: 15px;
}

.case-stats {
	display: flex;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid #f3f4f6;
}

.stat-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #6b7280;
}

.stat-icon {
	font-size: 16px;
}

/* Empty State */
.empty-state {
	padding: 80px 0;
	text-align: center;
}

.empty-content {
	max-width: 400px;
	margin: 0 auto;
}

.empty-icon {
	margin-bottom: 24px;
	opacity: 0.6;
}

.empty-content h3 {
	font-size: 24px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 12px;
}

.empty-content p {
	color: #6b7280;
	margin-bottom: 32px;
	line-height: 1.6;
}

/* Active nav link */
.nav-link.active {
	color: #3b82f6;
	font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
	.hero-cases h1 {
		font-size: 32px;
	}
	
	.cases-list {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	
	.case-card {
		margin: 0 16px;
	}
	
	.hero-cases {
		padding: 60px 0 40px;
	}
	
	.cases-grid {
		padding: 40px 0;
	}
}
