/* ===== БАЗА ===== */

body {
	margin: 0;
	font-family: 'Segoe UI', Arial, sans-serif;
	background: linear-gradient(135deg, #f4f6f9, #e9eef5);
	color: #222;
}

.container {
	max-width: 900px;
	margin: auto;
	padding: 40px 20px;
}

/* ===== НАВИГАЦИЯ ===== */

nav {
	text-align: center;
	margin-bottom: 40px;
}

nav a {
	display: inline-block;
	padding: 10px 18px;
	margin: 5px;
	background: white;
	border-radius: 8px;
	text-decoration: none;
	color: #333;
	font-weight: 500;
	transition: all 0.3s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

nav a:hover {
	background: #0088cc;
	color: white;
	transform: translateY(-2px);
}

.lang {
	background: #222;
	color: white;
}

/* ===== СЕКЦИИ ===== */

.section {
	background: white;
	padding: 30px;
	margin-bottom: 25px;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

h1 {
	font-size: 34px;
	margin-bottom: 20px;
}

h2 {
	margin-top: 20px;
}

p {
	font-size: 18px;
	line-height: 1.6;
}

ul {
	text-align: left;
	padding-left: 20px;
}

/* ===== КНОПКА ===== */

.button {
	display: inline-block;
	padding: 15px 30px;
	background: #0088cc;
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-size: 18px;
	margin-top: 20px;
	transition: 0.3s;
}

.button:hover {
	background: #006fa3;
	transform: translateY(-2px);
}

/* ===== ФУТЕР ===== */

.footer {
	text-align: center;
	margin-top: 40px;
	font-size: 14px;
	color: #666;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 768px) {
	.section {
		padding: 20px;
	}

	h1 {
		font-size: 26px;
	}

	nav a {
		padding: 8px 12px;
		font-size: 14px;
	}
}

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */

.section {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.6s ease;
}

.section.visible {
	opacity: 1;
	transform: translateY(0);
}

.section:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ===== ПУЛЬС С ВОЛНОЙ ===== */

.telegram-float {
	position: fixed;
	right: 25px;
	bottom: 25px;
	width: 65px;
	height: 65px;
	border-radius: 50%;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	animation: pulse 2.7s infinite;
}

.telegram-float img {
	width: 36px;
	height: 36px;
}

.telegram-float:hover {
	transform: scale(1.12);
}

/* Основная пульсация */
@keyframes pulse {
	0% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.5);
	}

	30% {
		transform: scale(1.12);
		box-shadow: 0 0 0 15px rgba(0, 136, 204, 0);
	}

	60% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
	}

	100% {
		transform: scale(1);
		box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
	}
}