.home-page {
	overflow: clip;
}

/* Hero */
.home-hero {
	padding: 3rem 0 2rem;
}

.home-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(360px, 420px);
	gap: 3.25rem;
	align-items: center;
}

.home-hero__content h1 {
	max-width: 12.5ch;
	margin: 0 0 1.5rem;
	font-size: clamp(3.5rem, 6vw, 5.4rem);
	line-height: 0.94;
	letter-spacing: -0.05em;
}

.hero-subhead {
	max-width: 39rem;
	margin: 0 0 2rem;
	font-size: 1.14rem;
	line-height: 1.65;
	color: var(--text-light);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-bottom: 1.4rem;
}

.hero-highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 42rem;
}

.hero-highlights li {
	padding: 0.95rem 1rem;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--shadow-sm);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.45;
	color: var(--text);
}

.home-hero__aside {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.hero-panel {
	position: relative;
	width: 100%;
	padding: 1.8rem;
	background: linear-gradient(180deg, #ffffff, #f8fbff);
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-panel::before {
	content: "";
	position: absolute;
	right: -24px;
	bottom: -24px;
	width: 140px;
	height: 140px;
	background: radial-gradient(circle, rgba(79, 70, 229, 0.14), rgba(79, 70, 229, 0));
	pointer-events: none;
}

.hero-panel__eyebrow {
	margin: 0 0 1rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--brand);
}

.hero-panel__item + .hero-panel__item {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.hero-panel__item h3 {
	margin-bottom: 0.45rem;
	font-size: 1rem;
}

.hero-panel__item p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--text-light);
}

/* Proof bar */
.home-proofbar {
	padding: 0 0 1rem;
}

.proofbar {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: var(--shadow-sm);
}

.proofbar__item {
	padding: 1rem 1.15rem;
	background: var(--surface-soft);
	border: 1px solid #e6edf7;
	border-radius: 16px;
}

.proofbar__label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brand);
}

.proofbar__item strong {
	display: block;
	font-size: 0.98rem;
	line-height: 1.45;
	color: var(--heading);
}

/* Shared home sections */
.home-section {
	padding: 5.5rem 0;
}

.home-section--services {
	padding-top: 4.5rem;
}

.home-section--testimonial {
	padding-top: 1rem;
	padding-bottom: 4.5rem;
}

/* Services */
.service-card {
	height: 100%;
}

.service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 1rem;
	background: var(--brand-soft);
	border-radius: 14px;
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--brand-dark);
}

.service-card h3 {
	margin-bottom: 0.8rem;
}

.service-card p {
	color: var(--text-light);
}

.service-card ul {
	margin: 1rem 0 0;
	padding-left: 1.15rem;
	color: var(--text);
}

.service-card li + li {
	margin-top: 0.35rem;
}

/* Process */
.home-section--process {
	background: linear-gradient(180deg, rgba(238, 243, 251, 0.56), rgba(238, 243, 251, 0.2));
	border-top: 1px solid rgba(217, 226, 239, 0.7);
	border-bottom: 1px solid rgba(217, 226, 239, 0.7);
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.process-step {
	position: relative;
	padding: 1.5rem;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow: var(--shadow-sm);
}

.process-step__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 1rem;
	background: var(--brand);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 800;
	color: #ffffff;
}

.process-step h3 {
	margin-bottom: 0.65rem;
}

.process-step p {
	margin: 0;
	color: var(--text-light);
}

/* Why */
.why-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.why-card {
	padding: 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow-sm);
}

.why-card h3 {
	margin-bottom: 0.6rem;
}

.why-card p {
	margin: 0;
	color: var(--text-light);
}

/* Testimonial */
.testimonial-block {
	padding: 2rem 2.2rem;
	background: linear-gradient(135deg, #121a33, #1d2954);
	border-radius: 26px;
	box-shadow: var(--shadow-lg);
	color: rgba(255, 255, 255, 0.88);
}

.testimonial-block__quote {
	margin: 0 0 1rem;
	font-size: clamp(1.25rem, 2.4vw, 1.8rem);
	line-height: 1.45;
	letter-spacing: -0.02em;
	color: #ffffff;
}

.testimonial-block__meta {
	margin: 0;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.68);
}

/* About */
.home-about {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 1.5rem;
	align-items: start;
}

.home-about__content p:not(.section-kicker) {
	max-width: 50rem;
	color: var(--text-light);
}

.home-about__actions {
	margin-top: 1.5rem;
}

.about-panel {
	padding: 1.75rem;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.about-panel h3 {
	margin-bottom: 1rem;
}

.about-panel ul {
	margin: 0;
	padding-left: 1.15rem;
}

.about-panel li + li {
	margin-top: 0.5rem;
}

/* Final CTA */
.home-cta {
	padding: 0 0 1.5rem;
}

.cta-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.5rem;
	align-items: center;
	padding: 2rem;
	background: linear-gradient(135deg, var(--brand), var(--brand-dark));
	border-radius: 28px;
	box-shadow: 0 28px 50px rgba(79, 70, 229, 0.28);
}

.cta-band .section-kicker,
.cta-band h2,
.cta-band p {
	color: #ffffff;
}

.cta-band .section-kicker {
	opacity: 0.86;
}

.cta-band__content p:last-child {
	margin-bottom: 0;
	opacity: 0.88;
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	justify-content: flex-end;
}

/* Responsive */
@media (max-width: 1100px) {
	.home-hero__inner,
	.home-about,
	.cta-band {
		grid-template-columns: 1fr;
	}

	.home-hero__content h1 {
		max-width: 10.5ch;
	}

	.home-hero__aside {
		justify-content: flex-start;
	}

	.cta-band__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 960px) {
	.hero-highlights,
	.proofbar,
	.process-grid,
	.why-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 720px) {
	.home-hero {
		padding-top: 2.4rem;
	}

	.home-section {
		padding: 4rem 0;
	}

	.home-section--testimonial {
		padding-top: 0;
		padding-bottom: 3.5rem;
	}

	.home-hero__content h1 {
		max-width: 100%;
		font-size: clamp(2.9rem, 11vw, 4.4rem);
		line-height: 0.96;
	}

	.hero-highlights,
	.proofbar,
	.process-grid,
	.why-grid {
		grid-template-columns: 1fr;
	}

	.hero-actions,
	.cta-band__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.testimonial-block,
	.cta-band {
		padding: 1.5rem;
	}
}

@media (max-width: 560px) {
	.hero-panel,
	.about-panel,
	.testimonial-block,
	.cta-band {
		border-radius: 20px;
	}
}

.home-section--clients {
	padding: 4.5rem 0 1.5rem;
	overflow: hidden;
}

.section-heading--center {
	text-align: center;
	max-width: 860px;
	margin: 0 auto 2rem;
}

.section-heading--center h2 {
	margin-bottom: 0;
}

.logo-marquee {
	position: relative;
	overflow: hidden;
	width: 100%;
	mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logo-track {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	width: max-content;
	animation: scroll-logos 42s linear infinite;
	padding: 1rem 0;
}

.logo-marquee:hover .logo-track {
	animation-play-state: paused;
}

.logo-item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	height: 110px;
	padding: 1.1rem 1.4rem;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid rgba(23, 32, 51, 0.08);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.logo-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.10);
	border-color: rgba(79, 124, 255, 0.20);
}

.logo-item img {
	max-width: 180px;
	max-height: 62px;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.78;
	transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.logo-item:hover img {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.02);
}

@keyframes scroll-logos {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (max-width: 991px) {
	.home-section--clients {
		padding: 4rem 0 1rem;
	}

	.logo-item {
		min-width: 190px;
		height: 96px;
		padding: 1rem 1.1rem;
	}

	.logo-item img {
		max-width: 150px;
		max-height: 54px;
	}
}

@media (max-width: 767px) {
	.logo-track {
		gap: 1rem;
		animation-duration: 34s;
	}

	.logo-item {
		min-width: 165px;
		height: 84px;
		padding: 0.85rem 1rem;
		border-radius: 16px;
	}

	.logo-item img {
		max-width: 130px;
		max-height: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.logo-track {
		animation: none;
	}
}

.home-network-cta {
	position: relative;
	overflow: hidden;
	padding: 5.5rem 0;
	background: #0f172a;
	color: #ffffff;
	isolation: isolate;
}

.home-network-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("https://theaidude.ai/wp-content/uploads/2024/09/Neural-network-1.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.56;
	transform: scale(1.04);
	z-index: -2;
}

.home-network-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			135deg,
			rgba(8, 12, 24, 0.94) 0%,
			rgba(11, 19, 38, 0.88) 45%,
			rgba(15, 23, 42, 0.94) 100%
		);
	z-index: -1;
}

.home-network-cta__inner {
	display: flex;
	align-items: center;
	min-height: 340px;
}

.home-network-cta__content {
	max-width: 700px;
}

.home-network-cta .section-kicker {
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 1rem;
}

.home-network-cta h2 {
	margin: 0 0 1.25rem;
	font-size: clamp(2.25rem, 4vw, 3.5rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
	color: #ffffff;
	max-width: 12ch;
}

.home-network-cta p:not(.section-kicker) {
	margin: 0;
	max-width: 42rem;
	font-size: 1.08rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.84);
}

.home-network-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

.button--secondary-light {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #ffffff;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.button--secondary-light:hover,
.button--secondary-light:focus-visible {
	background: #ffffff;
	border-color: #ffffff;
	color: #111827;
}

@media (max-width: 767px) {
	.home-network-cta {
		padding: 4.5rem 0;
	}

	.home-network-cta__inner {
		min-height: auto;
	}

	.home-network-cta h2 {
		max-width: none;
	}

	.home-network-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.home-network-cta__actions .button {
		width: 100%;
		justify-content: center;
	}
}