:root {
	--primary: #1a1a1a;
	--secondary: #666666;
	--accent: #0066ff;
	--light-gray: #f8f9fa;
	--border: #e5e7eb;
	--success: #10b981;
	--recommended: #f0f9ff;
	--recommended-border: #0066ff;
	--font-default: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  	--text-balance: balance;
}

* {
	font-family: var(--font-default);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-default);
  font-weight: 600;
  line-height: 1.2;
  margin: 0.5em 0 0.5em 0;
  text-wrap: balance; /* Красивое выравнивание (если поддерживается) */
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem); /* Адаптивный размер */
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 1.5rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.25rem);
}

h5 {
  font-size: clamp(1.1rem, 2vw, 1rem);
}

h6 {
  font-size: clamp(1rem, 1.5vw, 0.75rem);
}
p:has(> strong){
	margin-bottom: 10px;
}

.hero-gradient {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.text-primary {
	color: var(--primary);
}

.text-secondary {
	color: var(--secondary);
}

.text-accent {
	color: var(--accent);
}

.bg-accent {
	background-color: var(--accent);
}

.border-custom {
	border-color: var(--border);
}

.btn-primary {
	background: var(--accent);
	color: white;
	padding: 16px 32px;
	border-radius: 12px;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.btn-primary:hover {
	background: #0052cc;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 102, 255, 0.25);
}

.card {
	background: white;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border: 1px solid var(--border);
	transition: all 0.3s ease;
}

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

.mobile-menu {
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.mobile-menu.active {
	transform: translateX(0);
}

.faq-item {
	border-bottom: 1px solid var(--border);
}

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

.faq-answer.active {
	max-height: 500px;
}

.feature-icon {
	width: 60px;
	height: 60px;
	background: var(--light-gray);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: var(--accent);
	font-size: 24px;
}

@media (max-width: 768px) {
	.mobile-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.mobile-table table {
		min-width: 700px;
	}
}

.model-table {
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.model-table th {
	background: var(--light-gray);
	font-weight: 600;
	padding: 20px 16px;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

.model-table th:nth-child(2),
.model-table th:nth-child(3),
.model-table td:nth-child(2),
.model-table td:nth-child(3) {
	text-align: center;
}

.model-table td {
	padding: 16px;
	border-bottom: 1px solid var(--border);
	background: white;
}

.model-table tbody tr:hover {
	background: #f8f9fa;
}

.model-table .recommended-row {
	background: var(--recommended) !important;
	border-left: 4px solid var(--recommended-border);
	position: relative;
}

.model-table .recommended-row:hover {
	background: var(--recommended) !important;
}

.recommended-badge {
	background: var(--accent);
	color: white;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
}

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

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 1rem;
	line-height: 1.2;
}

.quality-stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.star-icon {
	width: 16px;
	height: 16px;
	fill: #fbbf24;
}

.star-icon.empty {
	fill: #e5e7eb;
}

.speed-indicator {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

.speed-icon {
	width: 16px;
	height: 16px;
}

.speed-very-high {
	color: #059669;
}

.speed-high {
	color: #0891b2;
}

.speed-medium {
	color: #7c3aed;
}

.speed-slow {
	color: #dc2626;
}

.table-note {
	background: #f8f9fa;
	border-left: 4px solid var(--accent);
	padding: 16px;
	margin-top: 16px;
	border-radius: 0 8px 8px 0;
}

.payment-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	margin: 24px 0;
}

.payment-icon {
	width: 60px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: white;
}

@media (max-width: 768px) {
	.section-title {
		font-size: 2rem;
	}

	.payment-icons {
		gap: 16px;
	}

	.payment-icon {
		width: 50px;
		height: 35px;
	}
}

.star-gold {
	color: gold;
	font-size: 12px;
	margin-right: 4px;
}

.star-gray {
	color: #eee;
	font-size: 12px;
	margin-right: 4px;
}