:root {
	--primary: #0d9488;       /* Teal-600 */
	--primary-hover: #0f766e; /* Teal-700 */
	--primary-light: #f0fdfa; /* Teal-50 */
	--accent: #ea580c;        /* Orange-600 */
	--accent-light: #fff7ed;  /* Orange-50 */
	--indigo: #4f46e5;        /* Indigo-600 */
	--bg-color: #f8fafc;      /* Slate-50 */
	--text-main: #0f172a;     /* Slate-900 */
	--text-muted: #475569;    /* Slate-600 */
	--border: #e2e8f0;        /* Slate-200 */
	--card-bg: #ffffff;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--text-main);
	background-color: var(--bg-color);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

/* === Навигация === */
header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	z-index: 1000;
}

.nav-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.logo {
	font-size: 24px;
	font-weight: 800;
	text-decoration: none;
	color: var(--text-main);
	display: flex;
	align-items: center;
	gap: 8px;
	letter-spacing: -0.02em;
}

.logo span {
	color: var(--indigo);
	font-size: 18px;
	font-weight: 700;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
}

.nav-links a {
	text-decoration: none;
	color: var(--text-muted);
	font-size: 14px;
	font-weight: 600;
	transition: color 0.2s ease;
}

.nav-links a:hover {
	color: var(--primary);
}

.btn-primary {
	background-color: var(--primary);
	color: white;
	padding: 10px 22px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(13, 148, 136, 0.22);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-primary:hover {
	background-color: var(--primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-outline {
	background-color: white;
	color: var(--text-main);
	padding: 12px 28px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	border: 1px solid var(--border);
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-outline:hover {
	border-color: var(--primary);
	color: var(--primary);
	background-color: var(--primary-light);
}

/* === Hero Секция === */
.hero {
	padding: 150px 24px 80px;
	text-align: center;
	background: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.08) 0%, rgba(79, 70, 229, 0.04) 45%, transparent 75%), #ffffff;
	border-bottom: 1px solid var(--border);
}

.hero-content {
	max-width: 900px;
	margin: 0 auto;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background-color: var(--primary-light);
	border: 1px solid #99f6e4;
	color: var(--primary-hover);
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 24px;
}

.hero h1 {
	font-size: 52px;
	font-weight: 800;
	line-height: 1.12;
	margin-bottom: 24px;
	letter-spacing: -0.025em;
	color: var(--text-main);
}

.hero h1 em {
	font-style: normal;
	background: linear-gradient(135deg, var(--primary) 0%, var(--indigo) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero p {
	font-size: 20px;
	color: var(--text-muted);
	margin-bottom: 36px;
	max-width: 740px;
	margin-left: auto;
	margin-right: auto;
}

.hero-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 48px;
}

.hero-actions .btn-primary {
	font-size: 16px;
	padding: 13px 32px;
}

.hero-metrics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	max-width: 880px;
	margin: 0 auto;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.metric-item {
	text-align: center;
}

.metric-value {
	font-size: 26px;
	font-weight: 800;
	color: var(--text-main);
	letter-spacing: -0.02em;
}

.metric-label {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 4px;
}

/* === Универсальные секции === */
.section {
	padding: 88px 24px;
	max-width: 1240px;
	margin: 0 auto;
}

.section-header {
	text-align: center;
	margin-bottom: 64px;
}

.section-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--primary);
	margin-bottom: 10px;
}

.section-header h2 {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}

.section-header p {
	font-size: 18px;
	color: var(--text-muted);
	max-width: 680px;
	margin: 0 auto;
}

/* === Секция с крупными фичами и скриншотами === */
.feature-grid {
	display: flex;
	flex-direction: column;
	gap: 96px;
}

.feature-card {
	display: flex;
	align-items: center;
	gap: 56px;
}

.feature-card:nth-child(even) {
	flex-direction: row-reverse;
}

.feature-text {
	flex: 1;
}

.feature-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 14px;
	background-color: #f1f5f9;
	color: #334155;
}

.feature-badge.orange {
	background-color: var(--accent-light);
	color: var(--accent);
	border: 1px solid #fed7aa;
}

.feature-badge.teal {
	background-color: var(--primary-light);
	color: var(--primary-hover);
	border: 1px solid #99f6e4;
}

.feature-badge.purple {
	background-color: #f3e8ff;
	color: #7e22ce;
	border: 1px solid #e9d5ff;
}

.feature-text h3 {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 16px;
	color: var(--text-main);
}

.feature-text p {
	font-size: 16px;
	color: var(--text-muted);
	margin-bottom: 24px;
	line-height: 1.7;
}

.feature-list {
	list-style: none;
}

.feature-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	font-size: 15px;
	color: var(--text-main);
}

.feature-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--primary);
	font-weight: 800;
	font-size: 16px;
}

.feature-image {
	flex: 1.25;
	position: relative;
}

.feature-image img {
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05);
	border: 1px solid var(--border);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background-color: white;
	padding: 8px;
	cursor: zoom-in;
}

.feature-image img:hover {
	transform: translateY(-4px);
	box-shadow: 0 28px 56px rgba(15, 23, 42, 0.14), 0 4px 10px rgba(15, 23, 42, 0.06);
}

/* === Витрина 7 Автоинсайтов === */
.insights-showcase {
	background-color: #ffffff;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.insights-legend {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.legend-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--bg-color);
	border: 1px solid var(--border);
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-main);
}

.dot-red {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.dot-green {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.dot-orange {
	width: 18px;
	height: 4px;
	border-radius: 2px;
	background: repeating-linear-gradient(90deg, #ea580c, #ea580c 5px, transparent 5px, transparent 8px);
}

.insights-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.insight-card {
	background: var(--bg-color);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.25s ease;
}

.insight-card:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.07);
}

.insight-card.featured {
	grid-column: span 2;
	background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
	border-color: #99f6e4;
}

.insight-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.insight-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	flex-shrink: 0;
}

.insight-method {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid var(--border);
	color: var(--text-muted);
}

.insight-card h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	color: var(--text-main);
}

.insight-card p {
	font-size: 14.5px;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 18px;
}

.insight-example {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 12.5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.ex-bad {
	color: #b91c1c;
	font-weight: 700;
}

.ex-good {
	color: #047857;
	font-weight: 700;
}

/* Баннер про двухрежимное время */
.time-mode-banner {
	margin-top: 32px;
	background: #0f172a;
	color: #ffffff;
	border-radius: 16px;
	padding: 28px 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.time-mode-text {
	flex: 1;
	min-width: 280px;
}

.time-mode-text h4 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 8px;
	color: #f8fafc;
}

.time-mode-text p {
	font-size: 14.5px;
	color: #94a3b8;
	line-height: 1.6;
}

.time-badges {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.time-pill {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	padding: 12px 18px;
	border-radius: 12px;
	font-size: 13px;
}

.time-pill strong {
	display: block;
	color: #2dd4bf;
	font-size: 14px;
	margin-bottom: 2px;
}

.time-pill span {
	color: #cbd5e1;
	font-size: 12px;
}

/* === Блок «Как это работает» === */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.step-card {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 24px;
	position: relative;
}

.step-num {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--primary-light);
	color: var(--primary-hover);
	font-weight: 800;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.step-card h4 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 8px;
}

.step-card p {
	font-size: 14px;
	color: var(--text-muted);
}

/* === Финальный CTA === */
.cta-section {
	padding: 72px 24px;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: white;
	text-align: center;
}

.cta-container {
	max-width: 720px;
	margin: 0 auto;
}

.cta-container h2 {
	font-size: 36px;
	font-weight: 800;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
}

.cta-container p {
	font-size: 18px;
	color: #94a3b8;
	margin-bottom: 32px;
}

/* === Лайтбокс для просмотра скриншотов === */
.lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(6px);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	padding: 24px;
	cursor: zoom-out;
}

.lightbox.active {
	display: flex;
}

.lightbox img {
	max-width: 94vw;
	max-height: 92vh;
	border-radius: 12px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
	background: white;
	padding: 6px;
}

/* === Подвал === */
footer {
	background-color: white;
	border-top: 1px solid var(--border);
	padding: 36px 24px;
	text-align: center;
	color: var(--text-muted);
	font-size: 14px;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    font-family: inherit;
}
.lang-switcher a {
    padding: 6px 10px;
    color: #64748b;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.lang-switcher a:hover { background: #f1f5f9; color: #0f172a; }
.lang-switcher a.active { background: var(--primary, #0d9488); color: #fff; }

/* === Адаптивность === */
@media (max-width: 1024px) {
	.insights-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.insight-card.featured {
		grid-column: span 2;
	}
	.steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.feature-card, .feature-card:nth-child(even) {
		flex-direction: column;
		gap: 36px;
	}
	.feature-image, .feature-text {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}
	.hero h1 {
		font-size: 34px;
	}
	.hero p {
		font-size: 17px;
	}
	.hero-metrics {
		grid-template-columns: repeat(2, 1fr);
	}
	.insights-grid, .steps-grid {
		grid-template-columns: 1fr;
	}
	.insight-card.featured {
		grid-column: span 1;
	}
	.section-header h2 {
		font-size: 28px;
	}
}