/* ------ Hero Section ------ */
#hero {
	position: relative;
	overflow: hidden;
}

#hero .hero-slider {
	position: relative;
	width: 100%;
	height: 100vh;
}

#hero .hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	text-align: center;
	color: var(--text-light);
	background: linear-gradient(
			to right,
			var(--primary-blue) 0%,
			transparent 100%
		),
		url("../images/hero-background.webp") no-repeat center/cover;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

#hero .hero-slide.active {
	opacity: 1;
}

#hero .hero-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	padding: 0 1rem;
	gap: 4rem;
	margin: 0 auto;
}

#hero .hero-image {
	flex: 1;
	max-width: 500px;
}

#hero .hero-image img {
	width: 100%;
	max-width: 100%;
	height: auto;
}

#hero .hero-content {
	flex: 1;
	text-align: left;
}

#hero .hero-content h1 {
	font-size: 3.5rem;
	font-weight: 700;
	text-align: left;
	margin-bottom: 1.5rem;
}

#hero .hero-content p {
	max-width: 600px;
	font-size: 1.2rem;
	text-align: left;
	margin: 0 0 2.5rem 0;
	opacity: 0.9;
}

/* --- Hero Button Styles --- */
#hero .hero-buttons {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 1rem;
	z-index: 20;
}

#hero .hero-buttons .btn-buy {
	display: inline-block;
	font-size: 1rem;
	text-decoration: none;
	color: #ffffff;
	border: 2px solid transparent;
	border-radius: 6px;
	padding: 1rem 3rem;
	background: linear-gradient(135deg, #fe9646 0%, #e55f2f 100%);
	box-shadow: 0 4px 12px rgba(254, 150, 70, 0.25);
	transition: all 0.3s ease;
	cursor: pointer;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
	user-select: none;
}

#hero .hero-buttons .btn-buy:hover {
	background: linear-gradient(135deg, #e55f2f 0%, #fe9646 100%);
	box-shadow: 0 8px 25px rgba(254, 150, 70, 0.4);
	transform: translateY(-3px);
}

#hero .hero-buttons .btn-learn {
	display: inline-block;
	font-size: 1rem;
	text-decoration: none;
	color: #ffffff;
	border: 2px solid #e5e7eb;
	border-radius: 6px;
	padding: 1rem 3rem;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: all 0.3s ease;
	cursor: pointer;
	font-weight: 500;
	text-align: center;
	white-space: nowrap;
	user-select: none;
}

#hero .hero-buttons .btn-learn:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
}

#hero .hero-slide .btn {
	animation: none !important;
	pointer-events: auto !important;
	opacity: 1 !important;
}

#hero .hero-slide.active .btn {
	pointer-events: auto !important;
	opacity: 1 !important;
}

#hero .hero-buttons.animate-fade-in .btn {
	animation: none !important;
	opacity: 1 !important;
	transition: all 0.3s ease !important;
}

/* --- Hero Slider Navigation --- */
#hero .hero-indicators {
	position: absolute;
	left: 50%;
	bottom: 2rem;
	display: flex;
	gap: 1rem;
	z-index: 100;
	transform: translateX(-50%);
}

#hero .hero-indicator {
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	transition: all 0.3s ease;
	cursor: pointer;
}

#hero .hero-indicator.active {
	background: var(--background);
	transform: scale(1.2);
}

#hero .hero-nav {
	position: absolute;
	top: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: var(--white);
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	transition: all 0.3s ease;
	transform: translateY(-50%);
	z-index: 100;
	cursor: pointer;
}

#hero .hero-nav:hover {
	border-color: var(--background);
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-50%) scale(1.1);
}

#hero .hero-nav.prev {
	color: rgba(255, 255, 255, 0.3);
	left: 30px;
}

#hero .hero-nav.next {
	color: rgba(255, 255, 255, 0.3);
	right: 30px;
}

#hero .hero-nav.prev i:hover,
#hero .hero-nav.next i:hover {
	color: var(--background);
}

/* --- Hero Animations --- */
.animate-slide-top {
	animation: slideInFromTop 1s ease-out;
}

.animate-slide-bottom {
	animation: slideInFromBottom 1s ease-out 0.3s both;
}

.animate-fade-in {
	animation: fadeIn 1s ease-out 0.6s both;
}

.animate-fade-in .btn {
	animation: none !important;
	opacity: 1 !important;
}

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

@keyframes slideInFromBottom {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 0.9;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* ------ Products ------ */

#products-section {
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-image: linear-gradient(to left, #44a7c7, #12374c) 1;
	background: radial-gradient(
			ellipse at top left,
			#07202b 0%,
			rgba(7, 32, 43, 0.7) 15%,
			rgba(7, 32, 43, 0.3) 45%,
			rgba(7, 32, 43, 0.1) 70%,
			transparent 90%
		),
		radial-gradient(
			ellipse at top right,
			#12374c 0%,
			rgba(18, 55, 76, 0.8) 20%,
			rgba(18, 55, 76, 0.4) 55%,
			rgba(18, 55, 76, 0.15) 80%,
			transparent 95%
		),
		radial-gradient(
			ellipse at bottom left,
			#12374c 0%,
			rgba(18, 55, 76, 0.6) 12%,
			rgba(18, 55, 76, 0.25) 40%,
			rgba(18, 55, 76, 0.08) 65%,
			transparent 88%
		),
		radial-gradient(
			ellipse at bottom right,
			#07202b 0%,
			rgba(7, 32, 43, 0.75) 18%,
			rgba(7, 32, 43, 0.35) 50%,
			rgba(7, 32, 43, 0.12) 75%,
			transparent 92%
		),
		url("../images/gps-map-texture.svg"), var(--background-secondary);
	background-size: auto, auto, auto, auto, 400px 400px, auto;
	background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat,
		no-repeat;
	background-position: center, center, center, center, center, center;
}

#body-title {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2rem;
	color: var(--title-light);
	padding-top: 4rem;
}

#product-01,
#product-02,
#product-03 {
	padding: 6rem 0;
}

#product-01 .product-card,
#product-02 .product-card,
#product-03 .product-card {
	position: relative;
	max-width: 1200px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 20px 40px rgba(7, 32, 43, 0.3), 0 8px 16px rgba(7, 32, 43, 0.2),
		0 4px 8px rgba(7, 32, 43, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	margin: 0 auto;
	overflow: hidden;
}

#product-01 .product-card::before,
#product-02 .product-card::before,
#product-03 .product-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.4),
		transparent
	);
	transition: left 0.6s ease;
}

#product-01 .product-card:hover,
#product-02 .product-card:hover,
#product-03 .product-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 30px 60px rgba(68, 167, 199, 0.4),
		0 12px 24px rgba(68, 167, 199, 0.25), 0 6px 12px rgba(68, 167, 199, 0.15),
		inset 0 1px 0 rgba(68, 167, 199, 0.8);
}

#product-01 .product-card:hover::before,
#product-02 .product-card:hover::before,
#product-03 .product-card:hover::before {
	left: 100%;
}

#product-01 .product-card-content,
#product-02 .product-card-content,
#product-03 .product-card-content {
	display: flex;
	align-items: center;
	gap: 4rem;
	padding: 3rem;
}

#product-01 .product-image,
#product-02 .product-image,
#product-03 .product-image {
	flex: 1;
	position: relative;
}

#product-01 .product-image .image-wrapper,
#product-02 .product-image .image-wrapper,
#product-03 .product-image .image-wrapper {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(145deg, #f8fafc, #e2e8f0);
	padding: 2rem;
}

#product-01 .product-image .image-wrapper::before,
#product-02 .product-image .image-wrapper::before,
#product-03 .product-image .image-wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--gradient-hero);
	opacity: 0;
	transition: opacity 0.3s ease;
}

#product-01 .product-card:hover .product-image .image-wrapper::before,
#product-02 .product-card:hover .product-image .image-wrapper::before,
#product-03 .product-card:hover .product-image .image-wrapper::before {
	opacity: 0.1;
}

#product-01 .product-image img,
#product-02 .product-image img,
#product-03 .product-image img {
	width: 100%;
	max-width: 450px;
	height: auto;
	border-radius: 16px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

#product-01 .product-card:hover .product-image img,
#product-02 .product-card:hover .product-image img,
#product-03 .product-card:hover .product-image img {
	transform: scale(1.05) rotate(2deg);
	filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

#product-01 .product-text,
#product-02 .product-text,
#product-03 .product-text {
	flex: 1;
	position: relative;
}

#product-01 .product-badge,
#product-02 .product-badge,
#product-03 .product-badge {
	display: inline-block;
	margin-bottom: 1rem;
}

#product-01 .product-badge span,
#product-02 .product-badge span,
#product-03 .product-badge span {
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-light);
	border-radius: 20px;
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, #fe9646, #e55f2f);
	box-shadow: 0 4px 12px rgba(254, 150, 70, 0.3);
}

#product-01 .product-text h2,
#product-02 .product-text h2,
#product-03 .product-text h2 {
	position: relative;
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-blue);
	margin-bottom: 1.5rem;
}

#product-01 .product-text h2::after,
#product-02 .product-text h2::after,
#product-03 .product-text h2::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 0;
	height: 4px;
	background: linear-gradient(135deg, #fe9646, #e55f2f);
	border-radius: 2px;
	transition: width 0.4s ease;
}

#product-01 .product-card:hover .product-text h2::after,
#product-02 .product-card:hover .product-text h2::after,
#product-03 .product-card:hover .product-text h2::after {
	width: 80px;
}

#product-01 .product-text p,
#product-02 .product-text p,
#product-03 .product-text p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: var(--text-primary);
	margin-bottom: 2rem;
	opacity: 0.9;
}

#product-01 .product-features,
#product-02 .product-features,
#product-03 .product-features {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2.5rem;
}

#product-01 .feature-tag,
#product-02 .feature-tag,
#product-03 .feature-tag {
	display: inline-flex;
	align-items: center;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--primary-blue);
	border-radius: 25px;
	border: 1px solid rgba(18, 55, 76, 0.2);
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: rgba(18, 55, 76, 0.1);
	transition: all 0.3s ease;
}

#product-01 .feature-tag:hover,
#product-02 .feature-tag:hover,
#product-03 .feature-tag:hover {
	background: var(--primary-blue);
	color: white;
	transform: translateY(-2px);
}

#product-01 .feature-tag i,
#product-02 .feature-tag i,
#product-03 .feature-tag i {
	font-size: 0.8rem;
}

#product-01 .product-buttons,
#product-02 .product-buttons,
#product-03 .product-buttons {
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

/* ------ Newsletter ------ */
.newsletter {
	position: relative;
	overflow: hidden;
	text-align: center;
	color: var(--text-light);
	background: linear-gradient(
			135deg,
			rgba(10, 43, 66, 0.85) 0%,
			rgba(30, 74, 102, 0.75) 50%,
			rgba(37, 99, 235, 0.8) 100%
		),
		url("../images/newsletter-background.webp") center/cover no-repeat;
	background-attachment: fixed;
	padding: 100px 0;
}

.newsletter-content h2 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.newsletter-content p {
	max-width: 600px;
	font-size: 1.2rem;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 3rem;
	opacity: 0.9;
}

.newsletter-form {
	max-width: 500px;
	margin: 0 auto;
}

.form-group {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.form-group input {
	flex: 1;
	font-size: 16px;
	outline: none;
	border: none;
	border-radius: 6px;
	padding: 15px 20px;
}

.form-group button {
	white-space: nowrap;
	padding: 15px 30px;
	font-size: 1rem;
	border-radius: 6px;
	background: var(--gradient-primary);
	color: var(--text-light);
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.form-checkbox {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.9rem;
}

.form-checkbox input {
	margin: 0;
}

.form-checkbox a {
	color: var(--text-light);
	text-decoration: underline;
}

/* ------ Responsive Design ------ */

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) {
	.container {
		max-width: 960px;
		padding: 0 1.5rem;
	}

	#hero .hero-content h1 {
		font-size: 3rem;
		text-align: center;
	}

	#product-01 .product-card-content,
	#product-02 .product-card-content,
	#product-03 .product-card-content {
		gap: 3rem;
	}

	#product-01 .product-badge,
	#product-02 .product-badge,
	#product-03 .product-badge {
		margin-top: 1rem;
	}

	#product-01 .product-text h2,
	#product-02 .product-text h2,
	#product-03 .product-text h2 {
		font-size: 2.2rem;
		margin-top: 1rem;
	}

	#product-01 .product-features,
	#product-02 .product-features,
	#product-03 .product-features {
		justify-content: center;
	}

	.newsletter {
		background-attachment: scroll;
	}
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
	.container {
		max-width: 720px;
		padding: 0 1rem;
	}

	/* Hero Section */
	#hero .hero-container {
		flex-direction: column;
		gap: 2rem;
		text-align: center;
	}

	#hero .hero-content {
		text-align: center;
		order: 2;
	}

	#hero .hero-image {
		order: 1;
		max-width: 400px;
	}

	#hero .hero-content h1 {
		font-size: 2.5rem;
	}

	#hero .hero-content p {
		text-align: center;
		margin: 0 auto 2rem auto;
		max-width: 500px;
	}

	#hero .hero-buttons {
		justify-content: center;
	}

	/* Products Section */
	.body-title h2 {
		font-size: 2.5rem;
	}

	#product-01 .product-card-content,
	#product-02 .product-card-content,
	#product-03 .product-card-content {
		flex-direction: column;
		gap: 2rem;
		text-align: center;
	}

	#product-01 .product-text h2::after,
	#product-02 .product-text h2::after,
	#product-03 .product-text h2::after {
		left: 50%;
		transform: translateX(-50%);
	}

	#product-01 .product-text h2,
	#product-02 .product-text h2,
	#product-03 .product-text h2 {
		font-size: 2rem;
	}

	#product-01 .product-buttons,
	#product-02 .product-buttons,
	#product-03 .product-buttons {
		justify-content: center;
		flex-wrap: wrap;
	}

	/* Newsletter */
	.newsletter-content h2 {
		font-size: 2rem;
	}

	.form-group {
		flex-direction: column;
		gap: 1rem;
	}
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
	.container {
		max-width: 540px;
		padding: 0 1rem;
	}

	/* Hero Section */
	#hero .hero-content h1 {
		font-size: 2rem;
	}

	#hero .hero-content p {
		font-size: 1rem;
	}

	#hero .hero-buttons {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}

	#hero .hero-buttons .btn-buy,
	#hero .hero-buttons .btn-learn {
		width: 100%;
		max-width: 280px;
		text-align: center;
	}

	/* Products Section */
	.body-title {
		padding: 3rem 0 2rem 0;
	}

	.body-title h2 {
		font-size: 2rem;
	}

	#product-01,
	#product-02,
	#product-03 {
		padding: 4rem 0;
	}

	#product-01 .product-card,
	#product-02 .product-card,
	#product-03 .product-card {
		margin: 0 1rem;
	}

	#product-01 .product-card-content,
	#product-02 .product-card-content,
	#product-03 .product-card-content {
		padding: 2rem;
	}

	#product-01 .product-text h2,
	#product-02 .product-text h2,
	#product-03 .product-text h2 {
		font-size: 1.75rem;
	}

	#product-01 .product-text p,
	#product-02 .product-text p,
	#product-03 .product-text p {
		font-size: 1rem;
	}

	#product-01 .product-features,
	#product-02 .product-features,
	#product-03 .product-features {
		justify-content: center;
	}

	#product-01 .product-buttons,
	#product-02 .product-buttons,
	#product-03 .product-buttons {
		flex-direction: column;
		gap: 1rem;
	}

	/* Newsletter */
	.newsletter {
		padding: 60px 0;
	}

	.newsletter-content h2 {
		font-size: 1.75rem;
	}

	.newsletter-content p {
		font-size: 1rem;
	}
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
	.container {
		padding: 0 0.75rem;
	}

	/* Hero Section */
	#hero .hero-container {
		padding: 0 0.5rem;
		gap: 1.5rem;
	}

	#hero .hero-image img {
		height: 100%;
		max-height: 200px;
	}

	#hero .hero-content h1 {
		font-size: 1.5rem;
	}

	#hero .hero-content p {
		font-size: 0.8rem;
	}

	#hero .hero-buttons .btn-buy,
	#hero .hero-buttons .btn-learn {
		padding: 0.75rem 1.5rem;
		font-size: 0.8rem;
	}

	#hero .hero-nav {
		display: none;
	}

	/* Products Section */
	#body-title h2 {
		font-size: 2rem;
		text-align: center;
	}

	#product-01 .product-card,
	#product-02 .product-card,
	#product-03 .product-card {
		margin: 0 0.5rem;
		border-radius: 16px;
	}

	#product-01 .product-card-content,
	#product-02 .product-card-content,
	#product-03 .product-card-content {
		padding: 1.5rem;
		gap: 1.5rem;
	}

	#product-01 .product-image .image-wrapper,
	#product-02 .product-image .image-wrapper,
	#product-03 .product-image .image-wrapper {
		padding: 1.5rem;
	}

	#product-01 .product-text h2,
	#product-02 .product-text h2,
	#product-03 .product-text h2 {
		font-size: 1.5rem;
	}

	#product-01 .product-text p,
	#product-02 .product-text p,
	#product-03 .product-text p {
		font-size: 0.95rem;
		line-height: 1.6;
	}

	#product-01 .product-badge span,
	#product-02 .product-badge span,
	#product-03 .product-badge span {
		font-size: 0.75rem;
		padding: 0.4rem 0.8rem;
	}

	#product-01 .feature-tag,
	#product-02 .feature-tag,
	#product-03 .feature-tag {
		font-size: 0.8rem;
		padding: 0.4rem 0.8rem;
	}

	#product-01 .product-buttons .btn-buy,
	#product-01 .product-buttons .btn-outline,
	#product-02 .product-buttons .btn-buy,
	#product-02 .product-buttons .btn-outline,
	#product-03 .product-buttons .btn-buy,
	#product-03 .product-buttons .btn-outline {
		width: 100%;
	}

	/* Newsletter */
	.newsletter {
		padding: 50px 0;
	}

	.newsletter-content h2 {
		font-size: 1.5rem;
	}

	.newsletter-content p {
		font-size: 0.9rem;
	}

	.newsletter-form {
		max-width: 100%;
	}

	.form-group input {
		padding: 12px 16px;
		font-size: 14px;
	}

	.form-group button {
		padding: 12px 20px;
		font-size: 14px;
	}

	.form-checkbox {
		font-size: 0.8rem;
	}
}
