html, body {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Убедитесь, что все элементы не выходят за пределы */
img, video, canvas {
	max-width: 100%;
	height: auto;
}
	
/* Сброс и базовые стили */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #2D3748;
	--secondary: #4A5568;
	--accent: #4299E1;
	--accent-dark: #3182CE;
	--light: #F7FAFC;
	--gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--gradient-accent: linear-gradient(135deg, #4299E1 0%, #3182CE 100%);
	--shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
	--shadow-md: 0 4px 6px rgba(0,0,0,0.07);
	--shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
	--shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.6;
	color: var(--primary);
	background: var(--light);
	overflow-x: hidden;
}

/* Контейнер с уникальной формой */
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 40px;
	position: relative;
}

/* Уникальная шапка */
.header {
	min-height: 100vh;
	position: relative;
	overflow: hidden;
	padding: 60px 0;
}

.header-bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--gradient);
	clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
	z-index: -1;
}

.header-bg::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
	opacity: 0.3;
}

.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 80px;
}

.logo {
	font-size: 28px;
	font-weight: 800;
	color: white;
	text-decoration: none;
	position: relative;
	padding: 10px 20px;
}

.logo::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255,255,255,0.1);
	border-radius: var(--radius-md);
	transform: skewX(-15deg);
}

.logo span {
	position: relative;
	z-index: 1;
}

.hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
	color: white;
}

.hero-content h1 {
	font-size: 56px;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 30px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
	font-size: 20px;
	opacity: 0.9;
	margin-bottom: 40px;
	max-width: 500px;
}

.hero-stats {
	display: flex;
	gap: 40px;
	margin-top: 60px;
}

.stat {
	text-align: center;
}

.stat-number {
	display: block;
	font-size: 36px;
	font-weight: 700;
	color: #FFD700;
}

.stat-label {
	font-size: 14px;
	opacity: 0.8;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hero-visual {
	position: relative;
}

.server-visual {
	width: 100%;
	height: 400px;
	background: rgba(255,255,255,0.1);
	border-radius: var(--radius-xl);
	position: relative;
	overflow: hidden;
	transform: perspective(1000px) rotateY(-10deg);
	box-shadow: var(--shadow-xl);
}
        
/* Логотип в центре */
.server-visual::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		url('/logo/logo.svg') center/contain no-repeat;
	animation: shine 3s infinite;
	z-index: 1;
}
		
@keyframes shine {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}
		
/* Асимметричная сетка скидок */
.discounts-section {
	padding: 120px 0;
	position: relative;
}
.discounts-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 5%;
	right: 5%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.section-title {
	font-size: 42px;
	font-weight: 800;
	text-align: center;
	margin-bottom: 80px;
	position: relative;
}
.section-title::after {
	content: '';
	position: absolute;
	bottom: -20px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: var(--gradient-accent);
	border-radius: 2px;
}
.discount-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	position: relative;
}
/* Создаем асимметричную сетку */
.discount-grid::before {
	content: '';
	position: absolute;
	top: -30px;
	left: -30px;
	right: -30px;
	bottom: -30px;
	background: radial-gradient(circle at 30% 30%, rgba(66, 153, 225, 0.05) 0%, transparent 50%);
	z-index: -1;
}
.discount-card {
	background: white;
	border-radius: var(--radius-lg);
	padding: 40px 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: var(--shadow-md);
	border: 1px solid rgba(0,0,0,0.05);
}
/* Разные формы для карточек - ПЕРВЫЙ РЯД: 6, 12, 24 месяца */
.discount-card:nth-child(1) {
	transform: rotate(-2deg);
	grid-column: span 1;
}
.discount-card:nth-child(2) {
	transform: rotate(1deg);
	grid-column: span 1;
	margin-top: 20px;
}
.discount-card:nth-child(3) {
	transform: rotate(-1deg);
	grid-column: span 1;
}
.discount-card:nth-child(4) {
	transform: rotate(2deg);
	grid-column: span 1;
	margin-top: -20px;
}

/* ВТОРОЙ РЯД: 6, 12, 24 месяца в одном ряду */
.discount-card:nth-child(5) {
	transform: rotate(1deg);
	grid-column: 1 / span 1; /* 6 месяцев - 1 колонка */
	margin-top: 40px;
}
.discount-card:nth-child(6) {
	transform: rotate(-1deg);
	grid-column: 2 / span 1; /* 12 месяцев - 2 колонка */
	margin-top: 40px;
}
.discount-card:nth-child(7) {
	transform: rotate(2deg);
	grid-column: 3 / span 2; /* 24 месяца - занимает 3 и 4 колонки */
	margin-top: 40px;
	background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
	color: white;
}
.discount-card:nth-child(7) .period {
	color: #FFD700;
}
.discount-card:nth-child(7) .discount {
	color: #FFD700;
	font-size: 52px;
}
.discount-card:nth-child(7) .discount-sub {
	color: rgba(255,255,255,0.8);
}
.discount-card:nth-child(7)::before {
	background: linear-gradient(90deg, #FFD700, #4299E1, #FFD700);
}

.discount-card:hover {
	transform: translateY(-10px) rotate(0deg) !important;
	box-shadow: var(--shadow-xl);
	z-index: 10;
}
.discount-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: var(--gradient-accent);
}
.period {
	font-size: 18px;
	font-weight: 600;
	color: var(--secondary);
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.discount {
	font-size: 48px;
	font-weight: 800;
	color: var(--accent);
	line-height: 1;
	margin-bottom: 10px;
}
.discount-sub {
	font-size: 14px;
	color: var(--secondary);
	opacity: 0.7;
}
        
/* Особенности в виде диагональной сетки */
.features-section {
	padding: 50px 0;
	background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
	position: relative;
	overflow: hidden;
}

.features-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		linear-gradient(45deg, transparent 48%, rgba(66, 153, 225, 0.03) 50%, transparent 52%),
		linear-gradient(-45deg, transparent 48%, rgba(66, 153, 225, 0.03) 50%, transparent 52%);
	background-size: 100px 100px;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 60px;
	position: relative;
	z-index: 1;
}

.feature-card {
	background: white;
	border-radius: var(--radius-lg);
	padding: 50px 40px;
	position: relative;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	transition: all 0.3s ease;
}

.feature-card:nth-child(odd) {
	transform: translateX(-20px);
}

.feature-card:nth-child(even) {
	transform: translateX(20px);
	margin-top: 40px;
}

.feature-card:hover {
	transform: translateX(0) !important;
	box-shadow: var(--shadow-xl);
}

.feature-icon {
	font-size: 48px;
	margin-bottom: 30px;
	color: var(--accent);
	display: inline-block;
	transform: rotate(-5deg);
}

.feature-card:hover .feature-icon {
	transform: rotate(0deg);
}

.feature-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--primary);
}

.feature-desc {
	color: var(--secondary);
	line-height: 1.7;
}

/* Уникальная секция CTA */
.cta-section {
	padding: 50px 0;
	position: relative;
	background: var(--primary);
	color: white;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
	animation: rotate 20s linear infinite;
}

@keyframes rotate {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.cta-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
	position: relative;
	z-index: 1;
}

.cta-title {
	font-size: 52px;
	font-weight: 800;
	margin-bottom: 30px;
	line-height: 1.1;
}

.cta-desc {
	font-size: 20px;
	opacity: 0.9;
	margin-bottom: 30px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.sale-desc {
	font-size: 18px;
	opacity: 0.9;
	margin-top: 10px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.cta-button {
	display: inline-block;
	padding: 22px 60px;
	background: var(--gradient-accent);
	color: white;
	border: none;
	border-radius: 50px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(66, 153, 225, 0.3);
	letter-spacing: 1px;
}

.cta-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
	transform: translateX(-100%);
}

.cta-button:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(66, 153, 225, 0.4);
}

.cta-button:hover::before {
	animation: shine 0.6s ease;
}

/* Футер с уникальной формой */
.footer {
	background: var(--secondary);
	color: white;
	padding: 80px 0 40px;
	position: relative;
	overflow: hidden;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100px;
	background: var(--primary);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 60px;
	margin-bottom: 60px;
	position: relative;
	z-index: 1;
}

.footer-column h4 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 25px;
	color: #FFD700;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: rgba(255,255,255,0.8);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: white;
}

.footer-bottom {
	text-align: center;
	padding-top: 40px;
	border-top: 1px solid rgba(255,255,255,0.1);
	position: relative;
	z-index: 1;
}
        
/* Адаптивность */
@media (max-width: 1200px) {
	.container {
		padding: 0 30px;
	}
	.hero-content h1 {
		font-size: 48px;
	}
	.discount-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.discount-card:nth-child(5) {
		grid-column: 1 / span 1;
	}
	.discount-card:nth-child(6) {
		grid-column: 2 / span 1;
	}
	.discount-card:nth-child(7) {
		grid-column: 3 / span 1;
		margin-top: 40px;
	}
}
        
@media (max-width: 992px) {
	.hero {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	.hero-visual {
		order: -1;
	}
	.features-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.feature-card:nth-child(odd),
	.feature-card:nth-child(even) {
		transform: none;
		margin-top: 0;
	}
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}
        
@media (max-width: 768px) {
	.container {
		padding: 0 20px;
	}
	.header {
		padding: 40px 0;
	}
	.nav {
		margin-bottom: 60px;
	}
	.hero-content h1 {
		font-size: 36px;
	}
	.hero-stats {
		flex-wrap: wrap;
		gap: 30px;
	}
	.discount-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.discount-card {
		transform: none !important;
		margin: 0 !important;
		grid-column: span 1 !important;
	}
	.discount-card:hover {
		transform: translateY(-10px) !important;
	}
	.section-title {
		font-size: 32px;
	}
	.cta-title {
		font-size: 36px;
	}
}
        
@media (max-width: 576px) {
	.discount-grid {
		grid-template-columns: 1fr;
	}
	.footer-content {
		grid-template-columns: 1fr;
	}
	.cta-button {
		padding: 18px 40px;
		font-size: 16px;
}
        
/* Анимации появления */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate {
	animation: fadeInUp 0.8s ease-out;
}

/* Утилиты */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }