﻿/* Сброс стилей и базовые переменные */ :root { --bg:#060920; --panel: #101017; --text: #e9e9ee; --muted: #bdbdc7; --gold: #d4af37; --gold-strong: #f0c94a; --gold-soft: rgba(212, 175, 55, 0.35); --gold-darker: #8a6b1a; --gold-primary: #d4af37; --gold-light: #ffd86b; --gold-line: #f0c556;  --purple-dark: #1a0f2b; --purple-mid: #3b2063; --radius: 20px; --shadow-soft: 0 6px 18px rgba(0,0,0,.35); --trans: 160ms ease; } *, *::before, *::after { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; } img { max-width: 100%; height: auto; display: block; } a { color: inherit; text-decoration: none; } button { font: inherit; } .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

header {
	-background: linear-gradient(110deg, #060920, 60%, #214867, 90%, #25334e) !important;
	background: linear-gradient(110deg, #060920, 60%, #2d2820, 90%, #483f23) !important;
}

main {
    padding-bottom:40px;
}

.btn { --btn-h: 48px; display: inline-flex; align-items: center; justify-content: center; height: var(--btn-h); padding: 0 22px; border: 1px solid var(--gold-line); border-radius: calc(var(--btn-h) / 2); color: #2a1a00; font-weight: 700; letter-spacing: .2px; background-image: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-primary) 100%); box-shadow: inset 0 1px 0 rgba(255, 245, 200, .6), 0 4px 18px rgba(212, 175, 55, .25); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; cursor: pointer; white-space: nowrap; text-align: center; user-select: none; } 
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 245, 200, .75), 0 8px 26px rgba(255, 216, 107, .35); filter: saturate(1.1); } 
.btn:active { transform: translateY(0); box-shadow: inset 0 2px 3px rgba(0, 0, 0, .2), 0 2px 12px rgba(255, 216, 107, .18); } 
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } 
.btn.small { --btn-h: 40px; padding: 0 18px; font-size: .95rem; }


	/* Шапка и меню */
	header {
		position: relative;
		z-index: 20;
		border-bottom: 1px solid rgba(212,175,55,.6);
		background: linear-gradient(180deg, rgba(12,12,16,.9) 0%, rgba(10,10,13,.6) 100%);
		backdrop-filter: saturate(120%) blur(2px);
	}
	.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 76px;
		gap: 16px;
	}
	.logo {
		width: 250px;
		height: 90px;
		flex: 0 0 auto;
	}
	.logo img {
		width: 250px;
		height: 90px;
		object-fit: cover;
		border-radius: 6px;
	}
	.nav {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex: 1 1 auto;
		min-width: 0;
	}
	.menu {
		display: flex;
		align-items: center;
		gap: 18px;
		list-style: none;
		margin: 0;
		padding: 0;
		white-space: nowrap;
	}
	.menu > li {
		position: relative;
		flex: 0 0 auto;
	}
	.menu > li > a {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		padding: 10px 12px;
		color: var(--text);
		border-radius: 8px;
		transition: background-color var(--trans), color var(--trans);
	}
	.menu > li > a:hover {
		background: rgba(255,255,255,.06);
	}
	/* Подменю (двухуровневое) */
	.submenu {
		position: absolute;
		top: 100%;
		right: 0;
		min-width: 220px;
		list-style: none;
		margin: 6px 0 0 0;
		padding: 8px;
		-border: 1px solid rgba(255,255,255,.08);
		border: 1px solid rgba(212,175,55,.4);
		-background: linear-gradient(180deg, #14141b 0%, #0f0f14 100%);
		-background: linear-gradient(0deg, #060920, 60%, #214867, 90%, #25334e);
		background: linear-gradient(0deg, #060920, 60%, #2d2820, 90%, #483f23);
		border-radius: 12px;
		box-shadow: var(--shadow-soft);
		display: none;
	}
	.submenu li a {
		display: inline-block;
		padding: 10px 12px;
		border-radius: 8px;
		color: var(--text);
		transition: background-color var(--trans);
	}
	.submenu li a:hover {
		background: rgba(255,255,255,.06);
	}
	.menu > li:hover .submenu,
	.menu > li:focus-within .submenu {
		display: block;
	}

	/* Гамбургер для планшетов и мобильных */
	.hamburger {
		display: none;
		width: 44px;
		height: 44px;
		align-items: center;
		justify-content: center;
		border: 1px solid rgba(255,255,255,.1);
		background: transparent;
		border-radius: 10px;
		cursor: pointer;
		transition: background-color var(--trans), border-color var(--trans);
	}
	.hamburger:hover {
		background: rgba(255,255,255,.06);
		border-color: rgba(255,255,255,.16);
	}
	.hamburger .lines {
		position: relative;
		width: 22px;
		height: 2px;
		background: var(--text);
		border-radius: 2px;
	}
	.hamburger .lines::before,
	.hamburger .lines::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		height: 2px;
		background: var(--text);
		border-radius: 2px;
		transition: transform var(--trans), opacity var(--trans);
	}
	.hamburger .lines::before {
		top: -7px;
	}
	.hamburger .lines::after {
		top: 7px;
	}
	/* Мобильное меню (скрыто по умолчанию) */
	.mobile-panel {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		-background: linear-gradient(180deg, #14141b 0%, #0f0f14 100%);
		-background: linear-gradient(0deg, #060920, 60%, #214867, 90%, #25334e);
		background: linear-gradient(0deg, #060920, 60%, #2d2820, 90%, #483f23);
		border: 1px solid rgba(212,175,55,.4);
		box-shadow: 0 14px 30px rgba(0,0,0,.5);
	}
	.mobile-menu {
		list-style: none;
		margin: 0;
		padding: 10px;
	}
	.mobile-menu > li {
		border-bottom: 1px solid rgba(255,255,255,.06);
	}
	.mobile-menu > li:last-child {
		border-bottom: 0;
	}
	.mobile-menu a,
	.mobile-menu button.menu-link {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 10px;
		width: 100%;
		padding: 14px 10px;
		background: none;
		border: none;
		color: var(--text);
		text-align: left;
		cursor: pointer;
	}
	.mobile-submenu {
		list-style: none;
		margin: 0 0 10px 0;
		padding: 0 0 10px 14px;
		display: none;
	}
	.mobile-submenu li a {
		display: block;
		padding: 10px 0;
		color: var(--text);
		opacity: .95;
	}

	/* Секции */
	section {
		padding: 52px 0;
	}
	h1, h2, h3 {
		margin: 0 0 16px 0;
		line-height: 1.2;
	}
	p {
		margin: 0 0 12px 0;
		color: var(--muted);
	}

	/* Секция 2: Хиро */
	.hero {
		padding: 40px 0 0 0;
		background: linear-gradient(-45deg, #060920, 75%, #2f2548, 95%, #422b57);
		background-image: url('bg.jpg');
	}
	.hero-grid {
		padding: 40px 40px 60px 40px;
		display: grid;
		grid-template-columns: 3fr 2fr;
		align-items: center;
		gap: 28px;
		min-height:400px;
		background-image: url('wmn.png');
		background-position: center right;
		background-repeat:no-repeat;
		background-size: auto 100%;
		
		border: 1px solid var(--gold);
		background:
			radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%),
			radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%),
			linear-gradient(180deg, #14141b 0%, #060920 100%);
		box-shadow: var(--shadow-soft);
		filter: drop-shadow(0 0 0 #214867);
		border-radius: 16px;
		-margin: 40px auto 0 auto;
	}
	.hero-copy {padding:0 20px;}
	.hero-title {
		font-size: clamp(22px, 3vw, 36px);
		font-weight: 800;
		margin-bottom: 18px;
		line-height:150%;
		text-shadow: #060920 2px 0px, #060920 2px 2px, #060920 0px 2px, #060920 -2px 2px, #060920 -2px 0, #060920 -2px -2px, #060920 0px -2px, #060920 2px -2px;
	}
	.hero-actions {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
	}
	.hero-actions .btn, .modal-panel .btn { font-size: clamp(18px, 1.5vw, 22px); min-width:200px; margin-top:30px;}
	
	.hero-visual {
	
		background-image: url('https://ai-lion.ru/wmn2.png') !important;
		background-position: top center;
		background-repeat:no-repeat;
		background-size: auto 100%;
		width:100%;
		height:100%;
		background-size: contain;
		margin: 20px 0;
	}
	.hero-visual img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		aspect-ratio: 4 / 3;
		display:none;
	}
.main-first	{
	position: relative;
	padding-bottom: 8px;
}
	
.main-first:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, #d4af37 0%, #f0c94a 50%, transparent 100%);
}
	
	.fotosec {
	-background: linear-gradient(0deg, #060920, #183650);
	background-image: url('bg.jpg');
	}

	/* Секция 3: Популярные генерации */
	.section-title {
		font-size: clamp(24px, 30px, 36px);
		padding: 20px 40px;
		margin: 0 0 30px 0;
		text-align:center;
		line-height:150%;
		-background: linear-gradient(90deg, #2b4661 0%, #2d5169 50%, #2b4661 100%);
		-border-radius: 16px;
		-filter: drop-shadow(0 0 5px #214867);
		-border: 1px solid var(--gold);
		-background:
			radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%),
			radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%),
			linear-gradient(180deg, #14141b 0%, #060920 100%);
		-box-shadow: var(--shadow-soft);
		-filter: drop-shadow(0 0 0 #214867);
	}
	
	
	.section-title span {
		background-size:100% auto;
		background-position:center center;
		background-repeat:no-repeat;
		height:32px;
		display:inline-block;
		width:32px;
		vertical-align: middle;
	}
	.section-title .photo-icon {
		background-image: url('photo.png');
	}
	
	.section-title .video-icon {
		background-image: url('video.png');
	}
	
	.cards {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 36px;
	}
	.card {
		border-radius: 16px;
		overflow: hidden;
		padding: 12px;
		border: 1px solid rgba(255,255,255,.06);	
		background:
			radial-gradient(100% 100% at 50% 50%, rgba(33, 72, 103, 0.85) 35%, rgba(6, 9, 32, 0.5) 100%), linear-gradient(90deg, #2b4661 0%, #486c86 50%, #2b4661 100%);
		filter: drop-shadow(0 0 5px #214867);
		display: flex;
		flex-direction: column;
		gap: 10px;
		box-shadow: var(--shadow-soft);
		
		border: 1px solid var(--gold);
		background:
			radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%),
			radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%),
			linear-gradient(180deg, #14141b 0%, #060920 100%);
		box-shadow: var(--shadow-soft);
		filter: drop-shadow(0 0 0 #214867);
	}
	
	
	.card:hover {
		background:
			radial-gradient(120% 120% at 50% 50%, rgba(34, 0, 64, 0.85) 35%, rgba(76, 30, 124, 0.55) 75%, rgba(120, 60, 180, 0.35) 100%),
			linear-gradient(180deg, var(--purple-dark) 0%, #120b1e 100%);
	}
	
	.card img, .card iframe, .card video {
		width: 100%;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		border-radius: 12px;
	}
	.card .btn {
		align-self: stretch;
	}
	.cards-cta {
		margin-top: 18px;
		display: flex;
		justify-content: center;
	}
	
	
	.card {
		position:relative; 
		padding:0;
		width: 100%;
		aspect-ratio: 1 / 1;
		overflow: hidden; 
	}
	.card img, .card iframe, .card video {
		position:absolute;
		width:100%;
		height:100%;
		object-position: center top;
		display: block;
	}

	.card .btn {
		position:absolute;
		bottom:10px;
		left: 50%;
		width:90%;
		transform: translate(-50%, 0);
	}
	
	.all-btn {
		--btn-h: 56px;
		display: inline-flex;
		margin:15px 0;
		align-items: center;
		justify-content: center;
		height: var(--btn-h);
		padding: 0 36px;
		border: 1px solid #2f3649;
		border-radius: calc(var(--btn-h) / 2);
		color: #fafeff;
		font-weight: 700;
		letter-spacing: .8px;
		background-image: linear-gradient(90deg, #2b4661 0%, #486c86 50%, #2b4661 100%);
		filter: drop-shadow(0 0 5px #214867);
		transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
		cursor: pointer;
		white-space: nowrap;
		text-align: center;
		user-select: none;
		text-transform: uppercase;
	}
	
	.all-btn:hover {
		transform: scale(1.1);
		filter: drop-shadow(0 0 10px #214867);
	}
	

	/* Секция 4: Как это работает */
	.golden-panel, .gold-block {
		border: 1px solid var(--gold);
		background:
			radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%),
			radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%),
			linear-gradient(180deg, #14141b 0%, #060920 100%);
		box-shadow: var(--shadow-soft);
		filter: drop-shadow(0 0 0 #214867);
		border-radius: 16px;
	}
	
	.gold-block p {
		font-size: clamp(18px, 20px, 22px);
		color: #e6bf56;
		border-radius: 16px;
	}
	
	
	
	.how {
		padding-top: 34px;
		background-image: url('bg.jpg');
	}
	.how-grid {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 18px;
	}
	.how-item {
		border-radius: var(--radius);
		padding: 16px;
		display: grid;
		grid-template-rows: auto 1fr;
		gap: 12px;
	}
	.how-media {
		display: flex;
		align-items: center;
		text-align:center;
		justify-content: center;
	}
	.how-media img {
		width: 120px;
		height: 120px;
		object-fit: cover;
		border-radius: 12px;
		-border: 1px solid rgba(255,255,255,.06);
		margin:0 auto;
	}
	.how-text {
		color: var(--muted);
		text-align:center;
	}

	/* Варианты применения */

	.variants {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
	
	.variant {
		display: grid;
		align-items:start;
		height:100%;
		grid-template-columns: 2fr 1fr;
		gap:0;
		border-radius: 16px;
		overflow: hidden;
		padding: 30px 20px 20px 40px;	
		filter: drop-shadow(0 0 5px #214867);
		gap: 10px;
		box-shadow: var(--shadow-soft);
		border: 1px solid var(--gold);
		background:
			radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%),
			radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%),
			linear-gradient(180deg, #14141b 0%, #060920 100%);
		filter: drop-shadow(0 0 0 #214867);
	}
	.variant-text {
		display: grid;
		direction:column;
		grid-template-columns: 1fr;
		align-items:stretch;
		height:100%;
		-width:300px;
	}
	.variant .icon {
		width:150px;
		height:150px;
		background-size:100% auto;
		background-position:center center;
		background-repeat:no-repeat;
	}
	.variant:nth-child(1) .icon{
		background-image: url('gift.png');
	}
	.variant:nth-child(2) .icon{
		background-image: url('pets.png');
	}
	.variant:nth-child(4) .icon{
		background-image: url('heart.png');
	}
	.variant:nth-child(3) .icon{
		background-image: url('family.png');
	}
	.variant:nth-child(5) .icon{
		background-image: url('camera.png');
	}
	.variant:nth-child(6) .icon{
		background-image: url('smartphone.png');
	}

	/* Секция 5: Стоимость */
	.pricing {
		padding-top: 20px;
		background-image: url('bg.jpg');
	}
	.pricing-block {
		border-radius: var(--radius);
		padding: 20px;
		text-align: center;
	}
	.pricing-block img {
		width: 150px;
		height: 150px;
		object-fit: cover;
		margin: 0 auto 12px auto;
		border-radius: 12px;
		border: 1px solid rgba(255,255,255,.06);
	}

	/* Секция 6: О компании (футер) */
	footer, main, body {
		background-image: url('bg.jpg'); 
		background-repeat:repeat;
	}
	.footer-block {
		border-top-left-radius: var(--radius);
		border-top-right-radius: var(--radius);
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		padding: 20px;
	}
	.footer-title {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		font-weight: 800;
		font-size: 18px;
		margin-bottom: 10px;
		background-image: url('company.png');
		background-position: center left;
		background-repeat:no-repeat;
		height:48px;
		padding:5px 0 0 55px;
	}
	
	.footer-title span {
		font-size: clamp(20px, 24px, 28px);
	}
	.footer-links {
		display: flex;
		flex-wrap: wrap;
		gap: 16px;
		padding-top: 10px;
	}
	.footer-links a {
		color: var(--text);
		opacity: .9;
	}
	footer {
		padding: 0;
	}
	hr {
		border: none;
		border-top: 1px solid rgba(255,255,255,.08);
		margin: 12px 0;
	}
	
	/* Модальные окна */
	.modal-panel, .modal-fancy {
		display:none;
		margin:0 auto;
		text-align:center;
		padding:40px 40px 40px 40px !important;
		background: linear-gradient(0deg, #060920, 60%, #2d2820, 90%, #483f23);
		border: 1px solid rgba(212,175,55,.4);
		box-shadow: 0 14px 30px rgba(0,0,0,.5);
		border-radius: 16px;
		-min-width:300px;
		-max-width:600px;
		width:clamp(300px, 480px, 600px);
	}
	.fancybox__content {
		max-width: 90% !important;
	}
	
	.generation-management-index {
		position:absolute; bottom:0; width:100%;
		text-align:center;
	}
	
	.generation-management-index a {
		margin:20px auto;
	}
	
	.modal-panel h3 {
		font-size: clamp(20px, 24px, 30px);
		color: var(--text);
		font-weight: 800;
		margin-bottom: 18px;
		line-height: 150%;
		-text-shadow: #060920 2px 0px, #060920 2px 2px, #060920 0px 2px, #060920 -2px 2px, #060920 -2px 0, #060920 -2px -2px, #060920 0px -2px, #060920 2px -2px;
	}
	.modal-panel p {
		font-size: clamp(18px, 20px, 22px);
		color: var(--text);
	}
	.modal-panel .btn {
		color: #2a1a00 !important;
	}
	
	.modal-fancy p {
		font-size: clamp(18px, 20px, 22px);
		color: var(--text);
	}
	
	.modal-fancy p a {
		text-decoration:underline;
	}
	.modal-fancy p a:hover {
		color: #d4af37;
	}
	
	#index-login {
		border: 1px solid var(--gold);
		background: radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%), radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%), linear-gradient(180deg, #14141b 0%, #060920 100%);
		box-shadow: var(--shadow-soft);
		filter: drop-shadow(0 0 0 #214867);
		border-radius: 16px;
	}
	
	
	/* Адаптивность */
	@media (max-width: 1199px) {
		/* Без переноса текста в меню — переключаемся на мобильное меню */
		.menu {
			display: none;
		}
		.hamburger {
			display: inline-flex;
		}
		.header-inner {
			min-height: 70px;
		}
		.logo {
			width: 200px;
			height: 72px;
		}
		.logo img {
			width: 200px;
			height: 72px;
		}
		.mobile-panel.open {
			display: block;
		}
		/* Поворот и анимация гамбургера при открытии */
		.hamburger[aria-expanded="true"] .lines {
			background: transparent;
		}
		.hamburger[aria-expanded="true"] .lines::before {
			transform: translateY(7px) rotate(45deg);
		}
		.hamburger[aria-expanded="true"] .lines::after {
			transform: translateY(-7px) rotate(-45deg);
		}
	}
	@media (max-width: 991px) {
		.hero-grid {
			grid-template-columns: 1fr 1fr;
			-background-position: 105% center;
		}
		
		.variants {
			grid-template-columns: 1fr;
		}
		.variant {
			grid-template-columns: 1fr 4fr;
			padding: 30px 20px 20px 20px;
		}
		.variant-text {
			order:2; 
			padding:0 20px;
		}
		.variant .icon {order:1;}
		
		.cards {
			grid-template-columns: repeat(2, 1fr);
		}
		.how-grid {
			grid-template-columns: 1fr;
		}
		/* На планшетах: иконка слева от текста */
		.how-item {
			grid-template-columns: 150px 1fr;
			grid-template-rows: auto;
			align-items: center;
		}
		.how-media {
			justify-content: flex-start;
		}
	}
	@media (max-width: 599px) {
		.hero-grid {
			grid-template-columns: 1fr;
			padding: 20px 20px 40px 20px;
			text-align:center; 
		}
		.hero-visual {
			order:1;
		}
		.hero-copy {
			order:2;
		}
		.hero-title {
			text-align:center; 
			line-height:150%; 
			font-size:24px;
		}
		
		.variants {
			grid-template-columns: 1fr;
		}
		.variant {
			grid-template-columns: 1fr;
			padding: 20px 20px 20px 20px;
			text-align:center;
			justify-items:center;
		}
		.variant-text {
			order:2; 
			padding:0 20px;
		}
		.variant .icon {order:1;}
		
		.cards {
			grid-template-columns: 1fr;
		}
		/* На мобильных: иконка над текстом */
		.how-item {
			grid-template-columns: 1fr;
			grid-template-rows: auto 1fr;
			text-align: left;
		}
		.hero-actions .btn, .modal-panel .btn {
			width: 100%;
		}
	}

	/* Предпочтение уменьшенной анимации */
	@media (prefers-reduced-motion: reduce) {
		* {
			transition: none !important;
			animation: none !important;
		}
	}
	
	/* Форма регистрации */
	
	   .ailion_form {
            -background: linear-gradient(135deg, #101017 0%, #0f0f1a 100%);
            -border: 1px solid rgba(212, 175, 55, 0.2);
            -border-radius: 12px;
            padding: 40px;
            width: 100%;
            max-width: 600px;
            min-width: 300px;
            -box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(212, 175, 55, 0.1), 0 0 40px rgba(212, 175, 55, 0.1);
            position: relative;
            z-index: 1;
        }

        .ailion_form h1 {
            color: #d4af37;
            font-size: 28px;
            margin-bottom: 30px;
            text-align: center;
            text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
            letter-spacing: 1px;
        }

        .ailion_form .form-group {
            margin-bottom: 25px;
        }

        .ailion_form label {
            display: block;
            color: #e9e9ee;
            font-size: 14px;
            margin-bottom: 8px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
		
		.ailion_form label.otstup {
			padding: 0 0 0 15px;
        }

        .ailion_form .required::after {
            content: ' *';
            color: #f0c94a;
        }

        .ailion_form input[type="email"],
        .ailion_form input[type="tel"],
		.ailion_form input[type="password"],
		.ailion_form input[type="text"],
		.ailion_form input[type="number"]		
		{
            width: 100%;
            padding: 12px 16px;
            background: rgba(6, 9, 32, 0.6);
            border: 1px solid rgba(212, 175, 55, 0.3);
            border-radius: 6px;
            color: #e9e9ee;
            font-size: 14px;
            font-family: inherit;
            transition: all 0.3s ease;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .ailion_form input[type="email"]:focus,
        .ailion_form input[type="tel"]:focus, 
		.ailion_form input[type="password"]:focus,
		.ailion_form input[type="text"]:focus,
		.ailion_form input[type="number"]:focus		{
            outline: none;
            background: rgba(6, 9, 32, 0.8);
            border-color: #d4af37;
            box-shadow: 
                inset 0 2px 4px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(212, 175, 55, 0.4);
        }

        .ailion_form input[type="email"]::placeholder,
        .ailion_form input[type="tel"]::placeholder,
		.ailion_form input[type="password"]::placeholder,
		.ailion_form input[type="text"]::placeholder,
		.ailion_form input[type="number"]::placeholder
		{
            color: #bdbdc7;
        }

        .ailion_form input.error {
            border-color: #ff6b6b;
            box-shadow: 
                inset 0 2px 4px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(255, 107, 107, 0.3);
        }

        .ailion_form .error-message {
            color: #ff6b6b;
            font-size: 12px;
            margin-top: 5px;
            display: none;
        }

        .ailion_form .error-message.show {
            display: block;
        }

        .ailion_form .checkbox-wrapper {
            display: flex;
            align-items: flex-start;
            cursor: pointer;
            gap: 12px;
        }

        .ailion_form input[type="checkbox"] {
            appearance: none;
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid rgba(212, 175, 55, 0.4);
            border-radius: 4px;
            background: rgba(6, 9, 32, 0.6);
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
            margin-top: 2px;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .ailion_form input[type="checkbox"]:hover {
            border-color: #d4af37;
            box-shadow: 
                inset 0 2px 4px rgba(0, 0, 0, 0.3),
                0 0 10px rgba(212, 175, 55, 0.2);
        }

        .ailion_form input[type="checkbox"]:checked {
            background: linear-gradient(135deg, #d4af37 0%, #f0c94a 100%);
            border-color: #ffd86b;
            box-shadow: 
                0 0 15px rgba(212, 175, 55, 0.4),
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .ailion_form input[type="checkbox"]:checked::after {
            content: '✓';
            display: flex;
            align-items: center;
            justify-content: center;
            color: #060920;
            font-weight: bold;
        }

        .ailion_form input[type="checkbox"].error {
            border-color: #ff6b6b;
        }

        .ailion_form .checkbox-label {
            color: #e9e9ee;
            font-size: 14px;
            cursor: pointer;
            user-select: none;
            line-height: 1.4;
        }

        .ailion_form .checkbox-label a {
            color: #d4af37;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .ailion_form .checkbox-label a:hover {
            color: #ffd86b;
            text-decoration: underline;
        }

        .ailion_form .form-group button {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, #d4af37 0%, #f0c94a 100%);
            border: none;
            border-radius: 6px;
            color: #060920;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 
                0 8px 20px rgba(212, 175, 55, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .ailion_form .form-group button:hover:not(:disabled) {
            background: linear-gradient(135deg, #f0c94a 0%, #ffd86b 100%);
            box-shadow: 
                0 12px 30px rgba(212, 175, 55, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        .ailion_form .form-group button:active:not(:disabled) {
            transform: translateY(0);
            box-shadow: 
                0 4px 10px rgba(212, 175, 55, 0.3),
                inset 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .ailion_form .form-group button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .ailion_form .success-message {
            background: rgba(255, 0, 0, 0.3);
            border: 1px solid rgba(255, 0, 0, 0.5);
            color: #d4af37;
            padding: 15px;
            border-radius: 6px;
            margin-bottom: 20px;
            display: none;
            text-align: center;
        }

        .ailion_form .success-message.show {
            display: block;
        }
		
		.ailion_form .vk_reg iframe, .ailion_form .vk_block_div * {pointer-events: none;}
		
		.ailion_form .vk_reg {padding: 0 0 20px 0;}
		.ailion_form .vk_reg  .vk_block_div {
			cursor:pointer;
			z-index:1000;
			--position:absolute;
			width:100%;
			height:100%;
			opacity: 0.75;
			--background-color: rgba(0, 0, 0, 0.5);
		}
		
		.vkid-switch-account, .vkid__link--switch, .vkc__styles-module__SecondaryButtonText {
		  display: none !important;
		}
		
		#buttonContainerId {padding:12px 0;}
		
		.neural-network-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
  }

  .neural-network-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 350px;
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    background: linear-gradient(135deg, #101017 0%, #0f0f1a 100%);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,.75),
                inset 0 1px 0 rgba(212,175,55,.10),
                0 0 28px rgba(212,175,55,.12);
}

  .neural-network-table thead {
    background: rgba(212, 175, 55, 0.15);
  }

  .neural-network-table th {
    padding: 12px;
    text-align: left;
    color: #d4af37;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
  }

  .neural-network-table td {
    padding: 12px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: #e9e9ee;
  }

  .neural-network-table tbody tr:nth-child(even) {
    background: rgba(6, 9, 32, 0.3);
  }
  
  .try_btn {margin: 20px; }
  .price_text {max-width:720px; margin:15px auto;}

  @media(max-width: 768px) {
    .neural-network-table {
      font-size: 12px;
    }
  }

        @media (max-width: 600px) {
            .ailion_form {
                padding: 25px;
            }

            .ailion_form h1 {
                font-size: 24px;
                margin-bottom: 25px;
            }

            .ailion_form label {
                font-size: 13px;
            }

            .ailion_form input[type="email"],
            .ailion_form input[type="tel"], 
			.ailion_form input[type="password"],
			.ailion_form input[type="text"] {
                font-size: 16px;
                padding: 10px 14px;
            }
			.hero-grid {
				text-align:left !important;
			}
			.hero-actions .btn {
				width:250px !important;
			}
			
        }
		
	@media (max-width: 400px) {
			.ailion_form {
                padding:25px 10px;
				min-width:250px;
            }
			.hero-grid {
				padding: 0 0 0 0;
			}
			.hero-copy {
				padding: 0 0 0 0;
			}
			.hero-copy-index {
				padding: 30px 20px;
			}
			.hero-copy-index p {
				--text-align:center;
			}
			
			.ailion_form {
				padding: 20px 20px;
				margin: 0;
				min-width: 250px;
			}
		}
		
	@media (max-width:900px) {	
		.hero-grid {
			grid-template-columns: 1fr;
			justify-items:center;
			align-items:center;
		}
		.hero-visual {
			display:none;
		}
		.main-text-block {
			margin: 0 auto;
			display: table;
		}
		.main-first {
			position: relative;
			padding-bottom: 8px;
			line-height: 30px;
		}
		.main-first:after {
			width: 100px;
		}
		.hero-title {
			text-align: center;
			max-width: 500px;
		}
		.hero-actions{
			display: flex;
			flex-wrap: wrap;
			gap: 12px;
			justify-content: center;
		}
		.hero-actions .btn {
			width: 400px;
		}
	}
	
	/* Меню залогиненого */
	nav .user_balans {
		border-radius: 22px; 
		-border:2px solid #1c1a1b;
		outline:1px solid #d4af37;
		}
	nav .user_balans a {padding:10px 25px;}
	nav .user_ava>a {
		padding:10px; 
		display:inline-block;
		width:44px;
		height:44px;
		text-align:center;
		background: linear-gradient(135deg, #d4af37 0%, #f0c94a 100%);
		border-radius:50%;
		color: #060920;
		font-size: 14px;
		font-weight: 600;
		transition: all 0.3s ease;
		box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	}
	
	nav .user_ava>a:hover {
		background: linear-gradient(135deg, #f0c94a 0%, #ffd86b 100%);
		box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
		transform: translateY(-2px);
	}
	nav .user_ava {
		color:#fff;
	}
	

/* Иконки */
 @font-face {
            font-family: 'Font Awesome 6 Free';
            font-style: normal;
            font-weight: 900;
            font-display: block;
            src: url('https://ai-lion.ru/fa-solid-900.woff2') format('woff2');
        }

        .fas {
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            -webkit-font-smoothing: antialiased;
			display:inline-block;
        }

        .fa-history::before { content: '\f1da'; }
        .fa-user::before { content: '\f007'; }
        .fa-tools::before { content: '\f7d9'; }
        .fa-eye::before { content: '\f06e'; }
        .fa-headset::before { content: '\f590'; }
        .fa-handshake::before { content: '\f2b5'; }
        .fa-shield-alt::before { content: '\f3ed'; }
        .fa-gavel::before { content: '\f0e3'; }
        .fa-sign-out-alt::before { content: '\f2f5'; }
		.fa-money-bill::before { content:"\f51e"; }
		.fa-sign-in::before{content:"\f090"}
		.fa-angle-right::before{content:"\f105"}
		.fa-video-camera::before {content:"\f03d"}
		.fa-star::before{content:"\f005"}
		.fa-robot::before{content:"\f544"}
		.fa-brain::before{content:"\f5dc"}
		.fa-tag::before{content:"\f02b"}
		.fa-building::before{content:"\f1ad"}
		
		.mobile-panel .fas {padding-right: 10px; padding-left: 10px;}
		.mobile-panel .fas::before {display:inline-block;}
		
		div.attention {
			display:block; 
			text-align:center;
			box-shadow: var(--shadow-soft);
			border: 1px solid var(--gold);
			background: radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%), radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%), linear-gradient(180deg, #14141b 0%, #060920 100%);
			filter: drop-shadow(0 0 0 #214867);
			color: #fafeff;
			margin:0 auto 35px auto;
			width: fit-content;
			padding:10px 25px;
			border-radius:10px;
		}
		
		.history_title {margin: 0 0 0 0;}
		
		.cookies {
			display: block;
			position:fixed;
			bottom:0;
			width:100%;
			text-align: center;
			box-shadow: var(--shadow-soft);
			border-top: 1px solid var(--gold);
			background: radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%), radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%), linear-gradient(180deg, #14141b 0%, #060920 100%);
			filter: drop-shadow(0 0 0 #214867);
			z-index: 1000;
		}
		
		.cookies p {margin:10px 30px 10px 30px;}
		.cookies p>a {color:var(--gold);}
		.cookies p>a:hover {text-decoration:underline;}
		
		.cookie_yes {
	padding: 5px 10px;
	margin: 5px 10px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	min-width: 200px;
	display: inline-block;
	background: linear-gradient(135deg, #d4af37 0%, #f0c94a 100%);
	box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	color: #060920;
	border-radius: 4px;
	}
	
	.cookie_yes:hover {
	background: linear-gradient(135deg, #f0c94a 0%, #ffd86b 100%);
	box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

/* FAQ */
.neural-models-section {
  padding: 60px 20px !important;
  background-image: url('bg.jpg');
}

.neural-models-section .container {
  padding: 20px 40px !important;
}

.neural-models-section .section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 50px;
  text-align: center;
  padding: 30px 40px;
  --border: 1px solid var(--gold);
  --background:
    radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%),
    radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%),
    linear-gradient(180deg, #14141b 0%, #060920 100%);
  box-shadow: var(--shadow-soft);
  filter: drop-shadow(0 0 0 #214867);
  border-radius: 16px;
}

/* Категории моделей */
.models-category {
  margin-bottom: 50px;
}

.models-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--gold-light);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--gold-darker);
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-title .fas {
  font-size: 1.1em;
}

/* Карточки моделей с details */
.model-card {
  margin-bottom: 16px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(20, 20, 27, 0.6) 0%, rgba(15, 15, 26, 0.4) 100%);
  overflow: hidden;
  transition: all var(--trans);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.model-card:hover {
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, rgba(30, 30, 40, 0.8) 0%, rgba(20, 20, 32, 0.6) 100%);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.model-card[open] {
  border-color: var(--gold-primary);
  background:
    radial-gradient(300px circle at 0 0, var(--gold-soft), transparent 60%),
    radial-gradient(300px circle at 100% 100%, var(--gold-soft), transparent 60%),
    linear-gradient(180deg, #14141b 0%, #060920 100%);
  box-shadow: var(--shadow-soft);
}

/* Заголовок details (summary) */
.model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: rgba(0, 0, 0, 0.2);
  transition: background var(--trans);
}

.model-header:hover {
  background: rgba(212, 175, 55, 0.08);
}

.model-card[open] .model-header {
  background: rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.model-name {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}

.model-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
  font-weight: bold;
  transition: transform var(--trans);
  font-size: 14px;
}

.model-card[open] .model-icon {
  transform: rotate(180deg);
}

/* Контент details */
.model-content {
  padding: 24px 24px 20px 24px;
  animation: slideDown 300ms ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.model-content p {
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 16px);
  line-height: 1.7;
  margin: 0 0 18px 0;
}

.model-content p:last-of-type {
  margin-bottom: 0;
}

/* Значки с информацией */
.model-badge {
  display: inline-block;
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 991px) {
  .neural-models-section {
    padding: 40px 0;
  }
  
  .neural-models-section .section-title {
    padding: 25px 30px;
    font-size: 28px;
    margin-bottom: 35px;
  }
  
  .category-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .model-header {
    padding: 16px 20px;
  }
  
  .model-name {
    font-size: 16px;
  }
  
  .model-content {
    padding: 20px;
  }
  
  .model-content p {
    font-size: 15px;
  }
}

@media (max-width: 599px) {
  .neural-models-section {
    padding: 30px 0;
  }
  
	.neural-models-section .container {
	  padding: 20px 15px !important;
	}
  
  .neural-models-section .section-title {
    padding: 20px 16px;
    font-size: 22px;
    margin-bottom: 25px;
  }
  
  .category-title {
    font-size: 18px;
    margin-bottom: 16px;
    gap: 8px;
  }
  
  .category-title .fas {
    font-size: 1em;
  }
  
  .model-card {
    margin-bottom: 12px;
  }
  
  .model-header {
    padding: 14px 16px;
  }
  
  .model-name {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .model-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    font-size: 12px;
  }
  
  .model-content {
    padding: 16px;
  }
  
  .model-content p {
    font-size: 14px;
    margin-bottom: 14px;
  }
  
  .model-badge {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* Для поддержки пользователей с prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .model-card,
  .model-header,
  .model-icon,
  .model-content {
    transition: none !important;
    animation: none !important;
  }
}