@charset "utf-8";

/* CSS Document */
:root {
	--pink: #ff4db8;
	--purple: #8d35ff;
	--dark: #091133;
	--text: #5d6282;
	--bg: #fffafd;
	--white: #ffffff;
	--border: #f3d7ea;
}

body {
	font-family: 'Poppins', sans-serif;
	background:
		radial-gradient(circle at top right, rgba(255, 63, 180, .12), transparent 28%),
		linear-gradient(180deg, #fffafd 0%, #ffffff 100%);
	color: var(--dark);
	overflow-x: hidden;
}

.btn {
	height: 68px;
	padding: 0 34px;
	border-radius: 22px;
	display: flex;
	align-items: center;
	text-decoration: none;
	font-weight: 600;
	transition: .35s;
	width: auto;
}

/* =========================
SECTION
========================= */
.ai-section {
	position: relative;
	padding: 200px 40px 40px;
	overflow: hidden;
}

/* Deko */
.ai-section::before {
	content: "";
	position: absolute;
	left: 40px;
	top: 260px;
	width: 80px;
	height: 80px;
	background-image: radial-gradient(rgba(255, 63, 180, .25) 2px, transparent 2px);
	background-size: 16px 16px;
}

.ai-section::after {
	content: "";
	position: absolute;
	top: 60px;
	right: -100px;
	width: 600px;
	max-width: 100%;
	height: 180px;
	border-top: 3px solid rgba(255, 63, 180, .45);
	border-radius: 100%;
	transform: rotate(-8deg);
}

.container {
	width: 1500px;
	max-width: 100%;
	margin: auto;
}

.ai-grid {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 60px;
	align-items: center;
}

/* =========================
LEFT
========================= */
.ai-left {
	position: relative;
	z-index: 2;
}

.ai-subtitle {
	color: var(--pink);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.line {
	width: 80px;
	height: 4px;
	border-radius: 20px;
	background: linear-gradient(90deg, var(--pink), var(--purple));
	margin-bottom: 34px;
}

.ai-title {
	font-size: 42px;
	line-height: 1.3;
	font-weight: 800;
	margin-bottom: 36px;
}

.ai-title span {
	background: linear-gradient(90deg, var(--pink), var(--purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ai-text {
	font-size: 22px;
	line-height: 1.6;
	color: var(--text);
	margin-bottom: 46px;
}

.features {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin-bottom: 50px;
}

.feature {
	display: flex !important;
	align-items: center !important;
	gap: 18px !important;
	font-size: 21px !important;
	color: var(--text) !important;
	padding: 0 !important;
	border-right: 0 !important;
	text-align: left !important;
}

.feature-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--pink), var(--purple));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	flex-shrink: 0;
}

.ai-button {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 22px 38px;
	border-radius: 60px;
	background: linear-gradient(90deg, var(--pink), var(--purple));
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 18px 40px rgba(255, 63, 180, .28);
	transition: .35s ease;
}

.ai-button:hover {
	transform: translateY(-4px);
}

/* =========================
RIGHT
========================= */
.gallery-card {
	background: rgba(255, 255, 255, .8);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, .7);
	border-radius: 34px;
	padding: 28px;
	box-shadow: 0 30px 60px rgba(255, 60, 170, .08);
}

.gallery-top {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 24px;
}

.gallery-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #fff4fb;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--pink);
	font-size: 26px;
}

.gallery-label {
	color: var(--pink);
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
}

/* =========================
MAIN IMAGE
========================= */
n {
	position: relative;
	border-radius: 26px;
	overflow: hidden;
	aspect-ratio: 16/9;
	margin-bottom: 22px;
	background: #f5f5f5;
    width: 100%;
    max-width: 960px;
}

n img {
	width: auto;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity .4s ease, transform .5s ease;
	margin: 0 auto;
}

n img.fade {
	opacity: 0;
	transform: scale(1.02);
}

.counter {
	position: absolute;
	top: 22px;
	right: 22px;
	background: rgba(9, 17, 51, .9);
	color: #fff;
	padding: 12px 18px;
	border-radius: 30px;
	font-size: 18px;
	font-weight: 600;
	z-index: 2;
}

/* =========================
ARROWS
========================= */
.arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 64px;
	height: 64px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .95);
	color: var(--pink);
	font-size: 34px;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
	z-index: 3;
	transition: .3s ease;
}

.arrow:hover {
	transform: translateY(-50%) scale(1.08);
}

.arrow.left {
	left: 22px;
}

.arrow.right {
	right: 22px;
}

/* =========================
THUMBNAILS
========================= */
.thumbs {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 6px;
}

.thumb {
	min-width: 150px;
	height: 110px;
	border-radius: 18px;
	overflow: hidden;
	cursor: pointer;
	border: 4px solid transparent;
	transition: .3s ease;
	background: #fff;
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thumb.active {
	border-color: var(--pink);
	transform: translateY(-4px);
}

.thumbs {
	scrollbar-width: thin;
	scrollbar-color: #ff4db8 #ece8f2;
	max-width: 999px;
	width: 100%;
}

.thumbs::-webkit-scrollbar {
	height: 10px;
}

.thumbs::-webkit-scrollbar-track {
	background: #ece8f2;
	border-radius: 999px;
}

.thumbs::-webkit-scrollbar-thumb {
	background: linear-gradient(90deg, #ff3f9f, #8e42ff);
	border-radius: 999px;
}

.gallery-wrap {
	width: 760px;
	max-width: 100%;
}

#mainImage {
	width: 100%;
	height: auto;
	max-height: 70vh;
	background: #fff;
	border-radius: 28px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #f1dceb;
	box-shadow: 0 20px 60px rgba(255, 70, 170, .08);
}

#mainImage img {
	width: 100%;
	height: 100%;
	padding: 20px;
	background: #fff;
}

.thumbs {
	display: flex !important;
	gap: 14px;
	overflow-x: auto;
	padding: 22px 5px 10px;
	margin-top: 18px;
	width: 100%;
}

.thumbs::-webkit-scrollbar {
	height: 8px;
}

.thumbs::-webkit-scrollbar-thumb {
	background: #ff4db8;
	border-radius: 50px;
}

.thumb {
	width: 110px !important;
	min-width: 110px !important;
	height: 85px !important;
	border-radius: 18px;
	overflow: hidden;
	cursor: pointer;
	background: #fff;
	border: 2px solid transparent;
	flex-shrink: 0;
	transition: .35s ease;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thumb.active {
	border-color: #ff4db8;
	transform: translateY(-3px);
	box-shadow: 0 12px 25px rgba(255, 77, 184, .25);
}

.thumb:hover {
	border-color: #ff4db8;
	transform: translateY(-3px);
}

/* =========================
RESPONSIVE
========================= */
@media(max-width:1200px) {
	.ai-grid {
		grid-template-columns: 1fr;
	}
}

@media(max-width:991px) {
	.gallery-wrap {
		max-width: 100% !important;
	}

}

@media(max-width:768px) {
	.ai-section {
		padding: 80px 20px;
	}

	.ai-title {
		font-size: 52px;
	}

	.ai-text {
		font-size: 18px;
	}

	.gallery-label {
		font-size: 20px;
	}

	.arrow {
		width: 54px;
		height: 54px;
		font-size: 28px;
	}

	.thumb {
		min-width: 110px;
		height: 82px;
	}

	.thumb {
		width: 88px !important;
		min-width: 88px !important;
		height: 70px !important;
	}
}

/* =====================================
MOBILE
===================================== */

@media (max-width: 575px) {

    .ai-section {
        padding: 50px 15px;
    }

    .ai-grid {
        gap: 30px;
    }

    .ai-subtitle {
        font-size: 16px;
        text-align: center;
    }

    .line {
        margin: 0 auto 25px;
    }

    .ai-title {
        font-size: 34px;
        text-align: center;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .ai-text {
        font-size: 16px;
        text-align: center;
        margin-bottom: 30px;
    }

    .features {
        gap: 14px;
        margin-bottom: 30px;
    }

    .feature {
        font-size: 16px !important;
        gap: 12px !important;
    }

    .hero-buttons {
        text-align: center;
    }

    .btn,
    .ai-button {
        width: 100%;
        justify-content: center;
        padding: 18px 20px;
        font-size: 16px;
    }

    .gallery-card {
        padding: 15px;
        border-radius: 22px;
    }

    .gallery-top {
        gap: 12px;
        margin-bottom: 15px;
    }

    .gallery-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .gallery-label {
        font-size: 16px;
    }

    .counter {
        top: 10px;
        right: 10px;s
        font-size: 13px;
        padding: 7px 12px;
    }

    .arrow {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .arrow.left {
        left: 8px;
    }

    .arrow.right {
        right: 8px;
    }

    .thumb {
        width: 70px !important;
        min-width: 70px !important;
        height: 55px !important;
    }

    .thumbs {
        gap: 8px;
        padding-top: 15px;
    }
}

@media (max-width: 380px) {

    .ai-title {
        font-size: 28px;
    }

    .thumb {
        width: 60px !important;
        min-width: 60px !important;
        height: 48px !important;
    }

    .feature {
        font-size: 15px !important;
    }
}