*,
*::before,
*::after {
	box-sizing: border-box;
}
body {
	margin: 0;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}

:root {
	--primary: #3f33cd;
	--primary-dark: #2a2290;
	--bg-dark: #141e30;
	--bg-gradient: linear-gradient(90deg, #141e30 0%, #243b55 100%);
	--text: #333;
	--text-light: #666;
	--white: #fff;
	--radius: 12px;
	--shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	--transition: 0.3s ease;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Montserrat", "Segoe UI", sans-serif;
	color: var(--text);
	line-height: 1.6;
	background: #f8f9fa;
}

/* ====== SECTIONS ====== */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
.section {
	padding: 80px 0;
}
.section-title {
	font-size: clamp(24px, 4vw, 36px);
	font-weight: 700;
	color: var(--primary);
	text-align: center;
	margin-bottom: 50px;
	position: relative;
}
.section-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background: var(--primary);
	margin: 15px auto 0;
	border-radius: 2px;
}

/* ====== BENEFITS ====== */
.benefits-banner {
	background: var(--primary);
	color: var(--white);
	padding: 25px 30px;
	border-radius: var(--radius);
	display: inline-flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 50px;
	font-weight: 700;
	font-size: clamp(18px, 3vw, 28px);
	box-shadow: var(--shadow);
}
.benefits-banner img {
	width: 40px;
}
.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-bottom: 50px;
}
.benefit-card {
	background: var(--white);
	padding: 30px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transition: transform var(--transition);
}
.benefit-card:hover {
	transform: translateY(-5px);
}
.benefit-card h3 {
	color: var(--primary);
	margin-top: 0;
	font-size: 20px;
}
.benefit-card ul {
	padding: 0;
	list-style: none;
	margin: 0;
}
.benefit-card li {
	padding: 10px 0;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.5;
}
.benefit-card li::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	background: var(--primary);
	border-radius: 50%;
	margin-top: 8px;
	flex-shrink: 0;
}

/* ====== ABOUT / SEO ====== */
.about-card {
	background: var(--white);
	padding: 50px 60px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}
.about-card h2 {
	margin-top: 0;
}
.about-card p {
	font-size: 17px;
	line-height: 1.8;
	color: var(--text-light);
	margin: 0 0 15px;
}
.about-card p:last-child {
	margin-bottom: 0;
}
.about-card strong {
	color: var(--primary);
}

/* ====== PRODUCTS ====== */
.products {
	background: var(--white);
}
.product-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
	padding: 60px 0;
	border-bottom: 1px solid #eee;
}
.product-card:last-child {
	border-bottom: none;
}
.product-card:nth-child(even) {
	direction: rtl;
}
.product-card:nth-child(even) > * {
	direction: ltr;
}
.product-text h3 {
	color: var(--primary);
	font-size: clamp(20px, 3vw, 28px);
	margin: 0 0 20px;
	font-weight: 700;
}
.product-text p {
	font-size: 16px;
	line-height: 1.8;
	color: var(--text-light);
	margin: 0 0 20px;
}
.product-text .specs {
	background: #f0f0f8;
	padding: 20px;
	border-radius: var(--radius);
	font-size: 14px;
	color: var(--text);
}
.product-img {
	width: 100%;
	max-width: 500px;
	height: auto;
	/* border-radius: var(--radius);
	box-shadow: var(--shadow); */
}

/* ====== VIDEOS ====== */
.videos {
	background: var(--bg-gradient);
	color: var(--white);
}
.videos .section-title {
	color: var(--white);
}
.videos .section-title::after {
	background: var(--white);
}
.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 25px;
}
.video-card {
	background: rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	overflow: hidden;
	transition:
		background var(--transition),
		transform var(--transition),
		box-shadow var(--transition);
	text-decoration: none;
	color: var(--white);
	display: flex;
	flex-direction: column;
}
.video-card:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.video-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	display: block;
}
.video-card:hover .video-thumb img {
	transform: scale(1.05);
}
.video-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	transition: background 0.3s ease;
}
.video-card:hover .video-play {
	background: rgba(0, 0, 0, 0.2);
}
.video-play svg {
	width: 56px;
	height: 56px;
	color: var(--white);
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
	transition: transform 0.3s ease;
}
.video-card:hover .video-play svg {
	transform: scale(1.15);
}
.video-title {
	padding: 15px 20px;
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	line-height: 1.4;
}

/* ====== FIGMA ====== */
.figma-section {
	background: var(--white);
}
.figma-wrap {
	position: relative;
	width: 100%;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}
.figma-wrap iframe {
	width: 100%;
	height: 600px;
	border: 0;
	display: block;
}

/* ====== CONTACTS / FORM ====== */
.contacts-section {
	background: #f8f9fa;
}
.contacts-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: start;
}
.contacts-info h3 {
	color: var(--primary);
	margin-top: 0;
}
.contact-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	font-size: 16px;
}
.contact-row img,
.contact-row svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--primary);
}
.contact-row a {
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition);
}
.contact-row a:hover {
	border-color: var(--primary);
}

/* Form */
.form-card {
	background: var(--white);
	padding: 40px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.form-group {
	margin-bottom: 20px;
}
.form-group label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}
.form-group label .req {
	color: #c0392b;
}
.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-family: inherit;
	font-size: 15px;
	transition:
		border-color var(--transition),
		box-shadow var(--transition);
	box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(63, 51, 205, 0.1);
}
.form-group textarea {
	resize: vertical;
	min-height: 120px;
}
.honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
}
.btn {
	background: var(--primary);
	color: var(--white);
	border: none;
	padding: 14px 35px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	transition:
		background var(--transition),
		transform var(--transition);
	font-family: inherit;
}
.btn:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
}
.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}
.form-message {
	margin-top: 15px;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	display: none;
}
.form-message.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}
.form-message.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* ====== FOOTER ====== */
footer {
	background: #0f1724;
	color: rgba(255, 255, 255, 0.7);
	padding: 40px 0;
	text-align: center;
	font-size: 14px;
}
footer a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
}

/* ====== UTILS ====== */
.text-center {
	text-align: center;
}
.mt-4 {
	margin-top: 40px;
}
.mb-0 {
	margin-bottom: 0;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-100%);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
@keyframes gradientMove {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
@keyframes floatShape {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	33% {
		transform: translate(30px, -30px) scale(1.1);
	}
	66% {
		transform: translate(-20px, 20px) scale(0.95);
	}
}
@keyframes glowPulse {
	0%,
	100% {
		text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	}
	50% {
		text-shadow:
			0 2px 20px rgba(96, 165, 250, 0.4),
			0 0 40px rgba(63, 51, 205, 0.2);
	}
}

/* Scroll reveal */
.scroll-reveal {
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}
.scroll-reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Stagger delays for grids */
.benefits-grid .benefit-card:nth-child(1) {
	transition-delay: 0.1s;
}
.benefits-grid .benefit-card:nth-child(2) {
	transition-delay: 0.2s;
}
.benefits-grid .benefit-card:nth-child(3) {
	transition-delay: 0.3s;
}

.video-grid .video-card:nth-child(1) {
	transition-delay: 0.1s;
}
.video-grid .video-card:nth-child(2) {
	transition-delay: 0.2s;
}
.video-grid .video-card:nth-child(3) {
	transition-delay: 0.3s;
}
.video-grid .video-card:nth-child(4) {
	transition-delay: 0.4s;
}

/* Product image hover */
.product-img {
	transition:
		transform 0.5s ease,
		box-shadow 0.5s ease;
}
.product-card:hover .product-img {
	transform: scale(1.03);
}

/* Section title entrance */
.section-title {
	animation: fadeInUp 0.8s ease forwards;
}

/* Form focus glow */
.form-group input:focus,
.form-group textarea:focus {
	box-shadow: 0 0 0 4px rgba(63, 51, 205, 0.15);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
	.product-card {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.product-card:nth-child(even) {
		direction: ltr;
	}
	.contacts-wrap {
		grid-template-columns: 1fr;
	}
	.benefits-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 600px) {
	.section {
		padding: 50px 0;
	}
	.form-card {
		padding: 25px;
	}
	.video-grid {
		grid-template-columns: 1fr;
	}
}
