/* ==========================================================================
   AutoNet Landing Page — Page-Specific Styles
   ========================================================================== */

/* ───────────────────────────── Hero ───────────────────────────── */

/* Dark hero box gets a subtle animated gradient shimmer */
.landing-hero-wrap {
	position: relative;
}
.landing-hero-wrap > .bg-dark {
	background: linear-gradient(160deg, #111 0%, #1a1a2e 40%, #0d0d1a 100%) !important;
}
.landing-hero-wrap > .bg-dark::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 50% at 65% 15%, rgba(var(--bs-primary-rgb), 0.12) 0%, transparent 70%),
		radial-gradient(ellipse 40% 40% at 20% 80%, rgba(var(--bs-primary-rgb), 0.06) 0%, transparent 60%);
	pointer-events: none;
	z-index: 0;
}
.landing-hero-wrap .inner-container-small,
.landing-hero-wrap .row {
	position: relative;
	z-index: 1;
}

/* Badge pill */
.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 1.1rem;
	border-radius: 50px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	font-size: 0.8rem;
	color: rgba(255,255,255,0.75);
	letter-spacing: 0.02em;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: all 0.3s ease;
}
.hero-badge:hover {
	background: rgba(255,255,255,0.08);
	border-color: rgba(var(--bs-primary-rgb), 0.3);
	color: #fff;
}

/* Hero headline */
.landing-hero-wrap h1 {
	letter-spacing: -0.02em;
}

/* Screenshot with glow */
.hero-screenshot {
	border-radius: 10px 10px 0 0;
	box-shadow:
		0 -2px 30px rgba(var(--bs-primary-rgb), 0.08),
		0 20px 60px rgba(0,0,0,0.35);
	transition: box-shadow 0.5s ease;
}
.hero-screenshot:hover {
	box-shadow:
		0 -4px 50px rgba(var(--bs-primary-rgb), 0.14),
		0 30px 80px rgba(0,0,0,0.4);
}


/* ───────────────────────── Section Labels ─────────────────────── */

.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--bs-primary);
	margin-bottom: 0.75rem;
}
.section-label::before {
	content: '';
	width: 22px;
	height: 2px;
	background: linear-gradient(90deg, var(--bs-primary), rgba(var(--bs-primary-rgb), 0.3));
	border-radius: 2px;
}


/* ───────────────────────── How It Works ───────────────────────── */

.process-step {
	position: relative;
	padding: 1.5rem;
	border-radius: 16px;
	background: rgba(var(--bs-primary-rgb), 0.02);
	border: 1px solid rgba(var(--bs-primary-rgb), 0.06);
	transition: all 0.35s ease;
}
.process-step:hover {
	background: rgba(var(--bs-primary-rgb), 0.04);
	border-color: rgba(var(--bs-primary-rgb), 0.12);
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(var(--bs-primary-rgb), 0.06);
}
.process-step .step-number {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1rem;
	background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.12), rgba(var(--bs-primary-rgb), 0.04));
	color: var(--bs-primary);
	margin-bottom: 1rem;
	border: 1px solid rgba(var(--bs-primary-rgb), 0.15);
	box-shadow: 0 0 20px rgba(var(--bs-primary-rgb), 0.06);
}

/* Connector lines */
@media (min-width: 768px) {
	.process-step::after {
		content: '';
		position: absolute;
		top: 35px;
		right: -24px;
		width: 48px;
		height: 1px;
		background: linear-gradient(90deg, rgba(var(--bs-primary-rgb), 0.3), transparent);
		pointer-events: none;
	}
	.col-md-4:last-child .process-step::after {
		display: none;
	}
}


/* ───────────────────────── Feature Showcase ───────────────────── */

.feature-img {
	border-radius: 16px;
	box-shadow:
		0 4px 20px rgba(0,0,0,0.06),
		0 0 0 1px rgba(0,0,0,0.04);
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.feature-img:hover {
	transform: translateY(-6px) scale(1.01);
	box-shadow:
		0 20px 60px rgba(0,0,0,0.1),
		0 0 0 1px rgba(var(--bs-primary-rgb), 0.08);
}


/* ───────────────────────── Module Cards ───────────────────────── */

/* Icon circle — half outside the card top edge */
#module1 .card .icon-lg.mt-n5 {
	margin-top: -1.75rem !important; /* half of 3.5rem icon height */
}

#module1 .card {
	border: 1px solid rgba(255,255,255,0.05);
	border-radius: 16px;
	background: rgba(255,255,255,0.03) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
}
#module1 .card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 16px;
	padding: 1px;
	background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 50%);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s ease;
}
#module1 .card:hover {
	transform: translateY(-6px);
	border-color: rgba(var(--bs-primary-rgb), 0.15);
	box-shadow:
		0 16px 48px rgba(0,0,0,0.15),
		0 0 30px rgba(var(--bs-primary-rgb), 0.04);
}
#module1 .card:hover::before {
	opacity: 1;
}
#module1 .card .icon-lg {
	box-shadow: 0 4px 16px rgba(0,0,0,0.06);
	transition: all 0.35s ease;
}
#module1 .card:hover .icon-lg {
	transform: scale(1.08);
	box-shadow:
		0 4px 16px rgba(0,0,0,0.08),
		0 0 16px rgba(var(--bs-primary-rgb), 0.1);
}
#module1 .card h5 a {
	transition: color 0.25s ease;
}
#module1 .card:hover h5 a {
	color: var(--bs-primary) !important;
}
#module1 .card .card-body {
	position: relative;
	z-index: 1;
}

/* Vehicle badges */
.vehicle-badges .rounded-pill {
	transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	border: 1px solid rgba(255,255,255,0.06);
	cursor: default;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.vehicle-badges .rounded-pill:hover {
	background: rgba(var(--bs-primary-rgb), 0.1) !important;
	border-color: rgba(var(--bs-primary-rgb), 0.2);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.08);
}


/* ───────────────────────── Integration Logos ──────────────────── */

.integration-logo {
	filter: grayscale(100%) brightness(0.7);
	opacity: 0.4;
	transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.integration-logo:hover {
	filter: grayscale(0%) brightness(1);
	opacity: 1;
	transform: scale(1.12) translateY(-2px);
}


/* ───────────────────────── Mobile App ─────────────────────────── */

.floating-badge {
	animation: float 5s ease-in-out infinite;
}
@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

/* Mobile app section */
.mobile-app-section .bg-light {
	border: 1px solid rgba(0,0,0,0.04);
}


/* ───────────────────────── Pricing ────────────────────────────── */

.pricing-card-highlight {
	border: 1px solid rgba(var(--bs-primary-rgb), 0.15);
	position: relative;
	overflow: hidden;
	border-radius: 16px !important;
	transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.pricing-card-highlight::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--bs-primary), #ff6b6b, var(--bs-primary));
	background-size: 200% 100%;
	animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
	0% { background-position: -200% 0; }
	100% { background-position: 200% 0; }
}
.pricing-card-highlight:hover {
	border-color: rgba(var(--bs-primary-rgb), 0.3);
	box-shadow:
		0 12px 40px rgba(0,0,0,0.12),
		0 0 30px rgba(var(--bs-primary-rgb), 0.05);
	transform: translateY(-3px);
}

/* Price number */
.pricing-card-highlight .fs-2 {
	background: linear-gradient(135deg, #fff 20%, rgba(var(--bs-primary-rgb), 0.8));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}


/* ───────────────────────── FAQ ────────────────────────────────── */

.accordion-bg-light .accordion-item {
	border-radius: 12px !important;
	transition: all 0.3s ease;
	border: 1px solid rgba(0,0,0,0.04) !important;
}
.accordion-bg-light .accordion-item:hover {
	box-shadow: 0 6px 24px rgba(0,0,0,0.04);
	border-color: rgba(var(--bs-primary-rgb), 0.08) !important;
}
.accordion-button {
	border-radius: 12px !important;
}
.accordion-button:not(.collapsed) {
	color: var(--bs-primary);
	background: transparent;
}
.accordion-button:focus {
	box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
}


/* ───────────────────────── Feature Check Items ────────────────── */

.d-flex.align-items-start.gap-2 {
	padding: 0.35rem 0;
	transition: transform 0.2s ease;
}
.d-flex.align-items-start.gap-2:hover {
	transform: translateX(3px);
}

/* Dark section SVG decoration */
#module1::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(var(--bs-primary-rgb), 0.15), transparent);
}
