* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-bg: #f8f9fa;
	--header-dark: #1a202c;
	--accent-blue: #3182ce;
	--accent-green: #00bd00;			
	--text-main: #2d3748;
	--card-bg: #ffffff;
	--border-color: #e2e8f0;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
	color: var(--text-main);
	background-color: var(--primary-bg);
	margin: 0;
	padding: 0;
}

/* ========== ШАПКА С ВИДЕО (только для index.html) ========== */
header {	
	background-color: var(--header-dark);
	background-image: url('img/wboz_head.jpg'); 
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: contain;			
	color: white;
	text-align: center;
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;		
}

header h1 {
	font-size: 3rem;	
	opacity: 0.9;
	padding-top: 0px;			
	margin-bottom: 0px;
	letter-spacing: -1px;
}

header p {
	font-size: 1.25rem;
	opacity: 0.9;
	max-width: 700px;
	margin: 0px auto 130px;
}

header a {
	opacity: 0.9;
}		

.bg-video-width {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: auto;
	transform: translateY(-50%);
	z-index: 0;			
}

/* ========== УНИВЕРСАЛЬНАЯ ШАПКА (без видео) ========== */
.site-header {
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
	padding: 20px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.site-header.sticky-shadow {
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	padding: 12px 0;
	transition: all 0.3s ease;
}

.header-inner {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ========== МЕНЮ (общее для всех страниц) ========== */
.menu-header {
	position: sticky;	
	top: 0;
	left: 0;
	padding-left: 50px;
	padding-right: 50px;
	display: flex;	
	flex-wrap: wrap;	
	align-items: baseline;	
	background: #ffffff;
	justify-content: space-between;	
	z-index: 1000;
}

.logo-area {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}

.logo {
	font-size: 1.7rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, #1e293b, #2d4a8c);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	text-decoration: none;
}

.badge {
	background: #eef2ff;
	color: #1e40af;
	font-size: 0.7rem;
	font-weight: 500;
	padding: 4px 8px;
	border-radius: 40px;
	white-space: nowrap;
}

.nav-links {
	display: flex;
	gap: 28px;
	align-items: center;
	z-index:10;
}

.nav-links a {
	text-decoration: none;
	color: #334155;
	font-weight: 500;
	transition: color 0.2s;
}

.nav-links a:hover {
	color: #2563eb;
}

/* ========== ВЫПАДАЮЩЕЕ МЕНЮ ========== */
.dropdown {
	position: relative;
	display: inline-block;
}

.dropbtn {
	background: none;
	border: none;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 500;
	color: #334155;
	cursor: pointer;
	padding: 0;
	transition: color 0.2s;
}

.dropbtn:hover {
	color: #2563eb;
}

.dropbtn::after {
	content: " ▼";
	font-size: 0.7rem;
	display: inline-block;
	transition: transform 0.2s;
}

.dropdown:hover .dropbtn::after {
	transform: rotate(180deg);
}

.dropdown-content {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	background-color: #ffffff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	padding: 8px 0;
	z-index: 1001;
	border: 1px solid #e2e8f0;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.dropdown-content a {
	color: #334155;
	padding: 10px 20px;
	text-decoration: none;
	display: block;
	font-size: 0.9rem;
	transition: all 0.2s;
}

.dropdown-content a:hover {
	background-color: #f1f5f9;
	color: #2563eb;
}

/* ========== КНОПКИ ========== */
.btn-demo {
	display: inline-block;
	background-color: var(--accent-blue);
	color: white;
	padding: 15px 35px;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: transform 0.2s, background 0.2s;
	z-index: 10;
}

.btn-demo:hover {
	background-color: #2b6cb0;
	transform: translateY(-2px);
}

/* ========== СЕКЦИИ И КАРТОЧКИ ========== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

section {
	padding: 80px 0;
}

h2 {
	text-align: center;
	font-size: 2.25rem;
	margin-bottom: 50px;
}

.principles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.card {
	background: var(--card-bg);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card h3 {
	color: var(--accent-blue);
	margin-top: 0;
}

.price_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
	gap: 30px;
}

.price_card {
	background: var(--card-bg);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid var(--border-color);
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.price_card h3 {
	color: var(--accent-green);
	margin-top: 0;
}

.features-list {
	list-style: none;
	padding: 0;
}

.features-list li {
	padding: 10px 0;
	padding-left: 30px;
	position: relative;
}

.features-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #48bb78;
	font-weight: bold;
}

/* ========== СКРИНШОТЫ ========== */
.screenshots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
	gap: 40px;
}

.screenshot-item {
	text-align: center;
}

.screenshot-box {
	background: #cbd5e0;
	border-radius: 10px;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #4a5568;
	font-weight: 500;
	border: 2px solid #a0aec0;
	margin-bottom: 15px;
	overflow: hidden;
	cursor: pointer;
}

.screenshot-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	cursor: zoom-in;
}

/* ========== УСТАНОВКА И КОНТАКТЫ ========== */
.install {
	text-align: center;
	background: #edf2f7;
	border-radius: 12px;
	font-size: 19px;
	padding: 50px;
	margin-top: 50px;
}	

.contact {
	text-align: center;
	background: #edf2f7;
	border-radius: 12px;
	font-size: 19px;
	padding: 50px;
	margin-top: 50px;
}	

/* ========== ФУТЕР ========== */
footer {
	background: var(--header-dark);
	color: white;
	margin-top: 50px;
	padding: 40px 0;
}

.footer_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.footer_links {
	display: flex;
	gap: 28px;
	align-items: center;
	justify-content: flex-end;
}

.footer_links a {
	text-decoration: none;
	color: white;
	font-weight: 500;
	transition: color 0.2s;
}

.footer_links a:hover {
	color: #2563eb;
}

.tech-stack {
	font-family: monospace;
	background: #edf2f7;
	padding: 2px 6px;
	border-radius: 4px;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.modal {
	display: none; 
	position: fixed;
	z-index: 1000;
	padding-top: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.9);
	cursor: zoom-out;
}

.modal-content {
	margin: auto;
	display: block;
	width: 90%;
	max-width: 1200px;
	border-radius: 8px;
	animation: zoom 0.3s;
}

@keyframes zoom {
	from {transform: scale(0)} 
	to {transform: scale(1)}
}

.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #f1f1f1;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
}

/* ========== COOKIE БАННЕР ========== */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #1e293b;
	color: #f1f5f9;
	padding: 20px 24px;
	z-index: 9999;
	transform: translateY(100%);
	transition: transform 0.4s ease;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.show {
	transform: translateY(0);
}

.cookie-banner-content {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cookie-text {
	flex: 2;
	font-size: 0.9rem;
	line-height: 1.4;
}

.cookie-text a {
	color: #94a3f8;
	text-decoration: underline;
}

.cookie-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cookie-btn {
	padding: 8px 20px;
	border-radius: 40px;
	border: none;
	font-weight: 500;
	cursor: pointer;
	font-size: 0.85rem;
	transition: 0.2s;
}

.cookie-btn-accept {
	background: #3b82f6;
	color: white;
}

.cookie-btn-accept:hover {
	background: #2563eb;
}

.cookie-btn-decline {
	background: transparent;
	color: #cbd5e1;
	border: 1px solid #475569;
}

.cookie-btn-decline:hover {
	background: #334155;
	color: white;
}

.cookie-revoke {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #334155;
	color: #e2e8f0;
	border: none;
	border-radius: 40px;
	padding: 8px 16px;
	font-size: 0.75rem;
	cursor: pointer;
	z-index: 9998;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	transition: 0.2s;
	opacity: 0;
	visibility: hidden;
}

.cookie-revoke.visible {
	opacity: 1;
	visibility: visible;
}

.cookie-revoke:hover {
	background: #475569;
}

/* ========== СТИЛИ ДЛЯ СТРАНИЦ ПОЛИТИКИ И ОФЕРТЫ ========== */
.privacy-section {
	flex: 1;
	padding: 48px 0 80px;
}

.privacy-title {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	letter-spacing: -0.01em;
	background: linear-gradient(to right, #0f172a, #2c3e66);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}

.last-updated {
	color: #5b6e8c;
	border-bottom: 1px solid #e9edf2;
	padding-bottom: 20px;
	margin-bottom: 32px;
	font-size: 0.9rem;
	display: inline-block;
}

.policy-content p {
	margin-bottom: 1.5rem;
	font-size: 1.02rem;
	color: #1e293b;
}

.policy-content h2 {
	text-align: left;
	font-size: 1.6rem;
	margin: 1.8rem 0 1rem;
	border-left: 5px solid #3b82f6;
	padding-left: 18px;
}

.policy-content ul {
	margin-left: 2rem;
	margin-bottom: 1.5rem;
}

.policy-content li {
	margin-bottom: 0.5rem;
}

.note-box {
	background: #fef9e3;
	border-left: 5px solid #eab308;
	padding: 18px 24px;
	border-radius: 16px;
	margin: 28px 0;
}

.footer-reqs {
	background: #f1f5f9;
	border-radius: 20px;
	padding: 24px;
	margin-top: 40px;
	font-size: 0.9rem;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	background: #f1f5f9;
	padding: 10px 20px;
	border-radius: 60px;
	text-decoration: none;
	color: #2c3e66;
	font-weight: 500;
	transition: all 0.2s;
}

.back-link:hover {
	background: #e6edf5;
	color: #1e40af;
}

.tariff-desc {
	list-style: none;
	padding-left: 0;
}

.tariff-desc li {
	padding: 8px 0;
	padding-left: 24px;
	position: relative;
}

.tariff-desc li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: bold;
}

.tariff-price {
	font-size: 1.3rem;
	font-weight: 700;
	color: #2563eb;
	margin: 12px 0;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
	.screenshots-grid {
		grid-template-columns: 1fr;
	}
	header h1 { 
		font-size: 2rem; 
	}
	.nav-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}
	.dropdown-content {
		position: static;
		box-shadow: none;
		padding-left: 20px;
		border-left: 2px solid #e2e8f0;
		border-radius: 0;
		margin-top: 8px;
	}
	.dropdown:hover .dropdown-content {
		display: none;
	}
	.dropdown.active .dropdown-content {
		display: block;
	}
	.dropbtn::after {
		content: " ▶";
		font-size: 0.7rem;
	}
	.dropdown.active .dropbtn::after {
		transform: rotate(90deg);
	}
	.cookie-banner {
		padding: 16px;
	}
	.cookie-buttons {
		width: 100%;
		justify-content: flex-end;
	}
	.card {
		padding: 28px 20px;
	}
	.privacy-title {
		font-size: 1.8rem;
	}
	.header-inner {
		flex-direction: column;
	}
	.container {
		padding: 0 18px;
	}
}


/* ========== ДЛЯ СТРАНИЦ БЕЗ ВИДЕО (offer, privacy) ========== */
/* Убираем лишние отступы у body для страниц без видео-шапки */
body:has(.site-header) {
    background: #f8fafc;
}

/* Компактная шапка для offer/privacy — без дополнительной высоты */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 0; /* Убираем отступ снизу */
}

/* Убираем возможные лишние отступы у main после шапки */
.privacy-section {
    padding-top: 48px;
}