:root {
	--primary-color: #4a6bff;
	--primary-light: #6d8aff;
	--secondary-color: #ff6b6b;
	--accent-color: #4ecdc4;
	--dark-color: #2d3748;
	--light-color: #f8f9fa;
	--gray-color: #718096;
	--border-radius: 12px;
	--box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	--transition: all 0.3s ease;
	--cat-color: #ff9a3c;

	/* Цвета для видов спорта */
	--taekwondo-color: #4a6bff;
	--hapkido-color: #4ecdc4;
	--parkour-color: #ff6b6b;
	--gymnastics-color: #ff9a3c;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: var(--dark-color);
	line-height: 1.6;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	line-height: 1.3;
}

h1 {
	font-size: 2.8rem;
	margin-bottom: 1.5rem;
}

h2 {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
	position: relative;
}

h2:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 60px;
	height: 4px;
	background-color: var(--primary-color);
	border-radius: 2px;
}

h3 {
	font-size: 1.6rem;
	margin-bottom: 1rem;
}

p {
	margin-bottom: 1.2rem;
}

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

section {
	padding: 80px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
}

.section-title h2 {
	display: inline-block;
}

.section-title h2:after {
	left: 50%;
	transform: translateX(-50%);
}

/* Кнопки - все синие */
.btn {
	display: inline-block;
	padding: 14px 32px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: var(--border-radius);
	font-weight: 600;
	font-size: 1.1rem;
	cursor: pointer;
	text-decoration: none;
	transition: var(--transition);
	box-shadow: 0 4px 12px rgba(74, 107, 255, 0.3);
}

.btn:hover {
	background-color: var(--primary-light);
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(74, 107, 255, 0.4);
}

.highlight {
	color: var(--primary-color);
	font-weight: 700;
}

.cat-highlight {
	color: var(--cat-color);
	font-weight: 700;
}

/* Header */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	z-index: 1000;
	padding: 18px 0;
}

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

.logo {
	display: flex;
	align-items: center;
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primary-color);
	text-decoration: none;
}

.logo i {
	margin-right: 10px;
	font-size: 2rem;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 30px;
}

nav ul li a {
	text-decoration: none;
	color: var(--dark-color);
	font-weight: 600;
	transition: var(--transition);
	padding: 5px 0;
	position: relative;
}

nav ul li a:hover {
	color: var(--primary-color);
}

nav ul li a:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: var(--transition);
}

nav ul li a:hover:after {
	width: 100%;
}

.mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-color);
	cursor: pointer;
}

/* Hero Section */
.hero {
	padding-top: 150px;
	background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
	overflow: hidden;
	position: relative;
}

.hero:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 300px;
	height: 300px;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 Q40,5 60,20 T100,20" stroke="%23ff9a3c" fill="none" stroke-width="2" opacity="0.2"/><circle cx="30" cy="40" r="3" fill="%23ff9a3c" opacity="0.3"/><circle cx="70" cy="35" r="2" fill="%23ff9a3c" opacity="0.3"/><path d="M15,70 Q35,55 55,70 T95,70" stroke="%234a6bff" fill="none" stroke-width="2" opacity="0.2"/></svg>');
	background-repeat: no-repeat;
	opacity: 0.3;
}

.hero-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 1;
}

.hero-content {
	flex: 1;
	padding-right: 40px;
}

.hero-image {
	flex: 1;
	display: flex;
	justify-content: center;
	position: relative;
}

.hero-image img {
	max-width: 100%;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.hero-btns {
	display: flex;
	gap: 20px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.sports-list {
	margin-top: 30px;
	display: flex;
	flex-wrap: nowrap;
	gap: 15px;
	overflow-x: auto;
	padding-bottom: 10px;
	scrollbar-width: thin;
}

.sports-list::-webkit-scrollbar {
	height: 4px;
}

.sports-list::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 2px;
}

.sports-list::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 2px;
}

.sport-badge {
	padding: 10px 20px;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 30px;
	font-weight: 600;
	font-size: 1rem;
	white-space: nowrap;
	flex-shrink: 0;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
	border: 2px solid transparent;
	transition: var(--transition);
}

/* Цвета для каждого вида спорта */
.sport-badge:nth-child(1) {
	color: var(--taekwondo-color);
	border-color: var(--taekwondo-color);
	background-color: rgba(74, 107, 255, 0.08);
}

.sport-badge:nth-child(2) {
	color: var(--hapkido-color);
	border-color: var(--hapkido-color);
	background-color: rgba(78, 205, 196, 0.08);
}

.sport-badge:nth-child(3) {
	color: var(--parkour-color);
	border-color: var(--parkour-color);
	background-color: rgba(255, 107, 107, 0.08);
}

.sport-badge:nth-child(4) {
	color: var(--gymnastics-color);
	border-color: var(--gymnastics-color);
	background-color: rgba(255, 154, 60, 0.08);
}

/* Эффект при наведении */
.sport-badge:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sport-badge:nth-child(1):hover {
	background-color: rgba(74, 107, 255, 0.15);
}

.sport-badge:nth-child(2):hover {
	background-color: rgba(78, 205, 196, 0.15);
}

.sport-badge:nth-child(3):hover {
	background-color: rgba(255, 107, 107, 0.15);
}

.sport-badge:nth-child(4):hover {
	background-color: rgba(255, 154, 60, 0.15);
}

/* Cat Mascot */
.cat-mascot {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	z-index: 999;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	border: 4px solid white;
	transition: var(--transition);
	cursor: pointer;
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.cat-mascot:hover {
	animation: none;
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cat-mascot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-bubble {
	position: absolute;
	bottom: 100%;
	right: 0;
	background-color: white;
	padding: 12px 18px;
	border-radius: 20px;
	margin-bottom: 15px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	max-width: 250px;
	font-size: 0.9rem;
	opacity: 0;
	transform: translateY(10px);
	transition: var(--transition);
	pointer-events: none;
}

.cat-bubble:after {
	content: '';
	position: absolute;
	top: 100%;
	right: 20px;
	border-width: 10px;
	border-style: solid;
	border-color: white transparent transparent transparent;
}

.cat-mascot:hover .cat-bubble {
	opacity: 1;
	transform: translateY(0);
}

/* Screenshots Section - Слайд-шоу */
.screenshots {
	background-color: white;
}

.screenshot-slider {
	max-width: 900px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.slides-container {
	display: flex;
	transition: transform 0.5s ease-in-out;
	height: 500px;
}

.slide {
	min-width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	background-color: #f8f9fa;
}

.slide img {
	max-width: 100%;
	max-height: 400px;
	object-fit: contain;
	border-radius: var(--border-radius);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slide-caption {
	margin-top: 20px;
	text-align: center;
	padding: 15px 30px;
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: var(--border-radius);
	max-width: 80%;
}

.slide-caption h3 {
	color: var(--primary-color);
	margin-bottom: 5px;
}

.slide-caption p {
	color: var(--gray-color);
	font-style: italic;
	margin-bottom: 0;
}

.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.8);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.5rem;
	color: var(--primary-color);
	transition: var(--transition);
	z-index: 10;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav:hover {
	background-color: var(--primary-color);
	color: white;
	transform: translateY(-50%) scale(1.1);
}

.prev-slide {
	left: 20px;
}

.next-slide {
	right: 20px;
}

.slider-dots {
	display: flex;
	justify-content: center;
	margin-top: 30px;
	gap: 10px;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #ddd;
	border: none;
	cursor: pointer;
	transition: var(--transition);
}

.slider-dot.active {
	background-color: var(--primary-color);
	transform: scale(1.2);
}

.slider-dot:hover {
	background-color: var(--primary-light);
}

/* Architecture Section */
.architecture {
	background-color: #f8f9fa;
}

.architecture-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.architecture-diagram {
	width: 100%;
	max-width: 900px;
	margin: 40px auto;
	background-color: white;
	border-radius: var(--border-radius);
	padding: 30px;
	box-shadow: var(--box-shadow);
}

/* SVG Diagram Styles */
.diagram-container {
	width: 100%;
	height: 400px;
	position: relative;
}

.diagram-svg {
	width: 100%;
	height: 100%;
}

.connection-line {
	stroke: var(--primary-color);
	stroke-width: 3;
	stroke-dasharray: 10, 5;
	animation: flow 2s linear infinite;
}

@keyframes flow {
	0% { stroke-dashoffset: 0; }
	100% { stroke-dashoffset: 15; }
}

.device-label {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 16px;
	fill: var(--dark-color);
	text-anchor: middle;
}

.device-description {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	fill: var(--gray-color);
	text-anchor: middle;
}

.network-cloud {
	fill: #e8f4ff;
	stroke: var(--primary-color);
	stroke-width: 2;
}

.network-text {
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	font-size: 18px;
	fill: var(--primary-color);
	text-anchor: middle;
}

/* Device Icons */
.computer-icon {
	fill: #4a6bff;
}

.computer-screen {
	fill: #e0e7ff;
}

.computer-stand {
	fill: #3a5ce5;
}

.phone-icon {
	fill: #4ecdc4;
}

.phone-screen {
	fill: #e0f7f5;
}

.router-icon {
	fill: #ffb74d;
}

.router-light {
	fill: #4caf50;
}

.architecture-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 30px;
	margin-top: 40px;
	width: 100%;
}

.architecture-item {
	padding: 25px;
	background-color: white;
	border-radius: var(--border-radius);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
}

.architecture-item:hover {
	transform: translateY(-10px);
	box-shadow: var(--box-shadow);
}

.architecture-item i {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 20px;
}

/* History Section */
.history {
	background-color: white;
	position: relative;
	overflow: hidden;
}

.history-content {
	display: flex;
	align-items: center;
	gap: 50px;
	position: relative;
	z-index: 1;
}

.history-text {
	flex: 1;
}

.history-image {
	flex: 1;
	text-align: center;
	position: relative;
}

.history-image img {
	max-width: 100%;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
}

.cat-photo {
	position: absolute;
	bottom: -30px;
	right: -30px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	overflow: hidden;
	border: 6px solid white;
	box-shadow: var(--box-shadow);
	z-index: 2;
	transition: var(--transition);
}

.cat-photo:hover {
	transform: scale(1.05) rotate(5deg);
}

.cat-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-photo-label {
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 8px;
	font-size: 0.8rem;
	text-align: center;
	font-weight: 600;
	color: var(--dark-color);
}

/* Services Section */
.services {
	background-color: #f8f9fa;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.service-card {
	background-color: white;
	border-radius: var(--border-radius);
	padding: 35px 30px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.service-card:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background-color: var(--primary-color);
}

.service-card:nth-child(2):before {
	background-color: var(--accent-color);
}

.service-card:nth-child(3):before {
	background-color: var(--cat-color);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--box-shadow);
}

.service-card i {
	font-size: 3rem;
	color: var(--primary-color);
	margin-bottom: 25px;
}

.service-card:nth-child(2) i {
	color: var(--accent-color);
}

.service-card:nth-child(3) i {
	color: var(--cat-color);
}

/* Cat Team Section */
.cat-team {
	background-color: white;
	text-align: center;
}

.cat-team-content {
	max-width: 800px;
	margin: 0 auto;
}

.cat-team-image {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 30px;
	border: 8px solid #f0f7ff;
	box-shadow: var(--box-shadow);
}

.cat-team-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-team-text {
	background-color: #f9f9ff;
	padding: 30px;
	border-radius: var(--border-radius);
	border-left: 5px solid var(--cat-color);
}

.cat-team-text p {
	font-style: italic;
	color: var(--gray-color);
}

/* Form Section */
.contact-form {
	background-color: white;
	text-align: center;
}

.form-container {
	max-width: 700px;
	margin: 0 auto;
	background-color: #f8f9fa;
	padding: 50px;
	border-radius: var(--border-radius);
	box-shadow: var(--box-shadow);
	position: relative;
	overflow: hidden;
}

.form-cat {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 100px;
	height: 100px;
	opacity: 0.1;
	transform: rotate(15deg);
}

.form-cat img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.form-group {
	margin-bottom: 25px;
	text-align: left;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	transition: var(--transition);
}

.form-control:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
}

.form-row {
	display: flex;
	gap: 20px;
}

.form-row .form-group {
	flex: 1;
}

/* Footer */
footer {
	background-color: var(--dark-color);
	color: white;
	padding: 60px 0 30px;
	position: relative;
}

.footer-container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.footer-column {
	flex: 1;
	min-width: 250px;
	margin-bottom: 30px;
}

.footer-column h3 {
	margin-bottom: 25px;
	color: white;
}

.footer-column ul {
	list-style: none;
}

.footer-column ul li {
	margin-bottom: 15px;
}

.footer-column ul li a {
	color: #cbd5e0;
	text-decoration: none;
	transition: var(--transition);
}

.footer-column ul li a:hover {
	color: white;
}

.footer-column p {
	color: #cbd5e0;
}

.footer-cat {
	position: absolute;
	bottom: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	opacity: 0.7;
	transition: var(--transition);
}

.footer-cat:hover {
	opacity: 1;
	transform: scale(1.1);
}

.footer-cat img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.copyright {
	text-align: center;
	margin-top: 50px;
	padding-top: 20px;
	border-top: 1px solid #4a5568;
	color: #a0aec0;
	font-size: 0.9rem;
}

/* Success Message */
.success-message {
	display: none;
	padding: 20px;
	background-color: #d4edda;
	color: #155724;
	border-radius: var(--border-radius);
	margin-top: 30px;
	text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
	/* На экранах меньше 1200px разрешаем перенос бейджей */
	.sports-list {
		flex-wrap: wrap;
		overflow-x: visible;
	}
}

@media (max-width: 992px) {
	h1 {
		font-size: 2.3rem;
	}

	h2 {
		font-size: 1.9rem;
	}

	.hero-container,
	.history-content,
	.screenshot-container {
		flex-direction: column;
	}

	.hero-content {
		padding-right: 0;
		margin-bottom: 50px;
	}

	.history-image {
		order: -1;
		margin-bottom: 100px;
	}

	.cat-photo {
		bottom: -50px;
		right: 50%;
		transform: translateX(50%);
		width: 150px;
		height: 150px;
	}

	.diagram-container {
		height: 350px;
	}

	.cat-mascot {
		width: 70px;
		height: 70px;
		bottom: 20px;
		right: 20px;
	}

	.slides-container {
		height: 450px;
	}

	.slide img {
		max-height: 350px;
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 0 15px;
	}

	nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: white;
		box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
		padding: 20px;
	}

	nav.active {
		display: block;
	}

	nav ul {
		flex-direction: column;
	}

	nav ul li {
		margin: 0 0 15px 0;
	}

	.mobile-menu-btn {
		display: block;
	}

	.hero-btns {
		flex-direction: column;
	}

	.form-row {
		flex-direction: column;
		gap: 0;
	}

	.form-container {
		padding: 30px;
	}

	.diagram-container {
		height: 300px;
	}

	.device-label {
		font-size: 14px;
	}

	.device-description {
		font-size: 12px;
	}

	.cat-photo {
		width: 120px;
		height: 120px;
	}

	.slides-container {
		height: 400px;
	}

	.slide img {
		max-height: 300px;
	}

	.slider-nav {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.prev-slide {
		left: 10px;
	}

	.next-slide {
		right: 10px;
	}
}

@media (max-width: 576px) {
	section {
		padding: 60px 0;
	}

	.diagram-container {
		height: 250px;
	}

	.architecture-diagram {
		padding: 20px;
	}

	.network-text {
		font-size: 14px;
	}

	.cat-mascot {
		width: 60px;
		height: 60px;
		bottom: 15px;
		right: 15px;
	}

	.cat-bubble {
		max-width: 200px;
		font-size: 0.8rem;
	}

	.slides-container {
		height: 350px;
	}

	.slide img {
		max-height: 250px;
	}

	.slide-caption {
		padding: 10px 15px;
		max-width: 90%;
	}

	.slide-caption h3 {
		font-size: 1.2rem;
	}

	/* На маленьких экранах уменьшаем отступы бейджей */
	.sport-badge {
		padding: 8px 16px;
		font-size: 0.9rem;
	}
}
