/* Homepage premium layer — scoped to body.home */

body.home {
	--home-gold: #c9a227;
	--home-navy: #0b1f3a;
}

body.home::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 3;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ── Hero ── */
body.home .hero {
	padding-top: calc(var(--header-height, 88px) + 2.75rem);
	padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
	overflow: visible;
}

body.home .hero .container {
	width: min(100% - 2rem, 1240px);
}

body.home .hero__title {
	max-width: none;
	font-size: clamp(2.2rem, 4.1vw, 3.55rem);
	line-height: 1.12;
	letter-spacing: -0.04em;
}

body.home .hero__title-accent {
	white-space: nowrap;
}

body.home .glow--gold {
	bottom: 8%;
	left: 38%;
	width: 18rem;
	height: 18rem;
	background: rgba(212, 160, 23, 0.22);
	filter: blur(70px);
	opacity: 0.55;
}

body.home .hero__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}

body.home .hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	max-width: none;
	margin-inline: 0;
	justify-items: start;
}

body.home .hero__tagline {
	max-width: 48ch;
}

body.home .hero__badge {
	box-shadow: 0 10px 30px rgba(15, 44, 94, 0.08);
	letter-spacing: 0.01em;
}

body.home .pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #16a34a;
	box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
	animation: home-pulse 1.8s ease-out infinite;
}

body.home .hero__cta-group,
body.home .hero__stats {
	justify-content: flex-start;
}

body.home .hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0 0 1.6rem;
}

body.home .hero-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.38rem 0.8rem;
	border-radius: 999px;
	border: 1px solid rgba(14, 165, 255, 0.18);
	background: rgba(255, 255, 255, 0.72);
	color: #334155;
	font-size: 0.82rem;
	font-weight: 700;
	backdrop-filter: blur(10px);
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.home .hero-chip img {
	width: 18px;
	height: 18px;
	border-radius: 5px;
	object-fit: cover;
}

body.home .hero-chip:hover {
	transform: translateY(-2px);
	border-color: rgba(14, 165, 255, 0.4);
	box-shadow: 0 10px 22px rgba(15, 44, 94, 0.1);
	color: #0f5fb3;
}

body.home .hero__stats {
	padding: 1.1rem 1.35rem;
	backdrop-filter: blur(16px);
	box-shadow: 0 18px 40px rgba(15, 44, 94, 0.1);
}

/* Orbit showcase */
body.home .hero__showcase {
	position: relative;
	min-height: 420px;
	display: grid;
	place-items: center;
}

body.home .hero-orbit {
	position: relative;
	width: min(100%, 420px);
	aspect-ratio: 1;
}

body.home .hero-orbit__ring {
	position: absolute;
	inset: 8%;
	border-radius: 50%;
	border: 1px dashed rgba(14, 165, 255, 0.28);
	animation: home-spin 28s linear infinite;
}

body.home .hero-orbit__ring--inner {
	inset: 24%;
	border-style: solid;
	border-color: rgba(140, 91, 255, 0.16);
	animation-duration: 18s;
	animation-direction: reverse;
}

body.home .hero-app {
	position: absolute;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(14, 165, 255, 0.16);
	box-shadow: 0 16px 32px rgba(15, 44, 94, 0.12);
	color: #0ea5ff;
	font-size: 1.45rem;
}

body.home .hero-app--center {
	inset: 50% auto auto 50%;
	width: 168px;
	height: 168px;
	transform: translate(-50%, -50%);
	border-radius: 36px;
	flex-direction: column;
	gap: 0.45rem;
	background: linear-gradient(180deg, #fff, #fff8e8);
	border-color: rgba(212, 160, 23, 0.32);
	box-shadow: 0 24px 50px rgba(180, 130, 20, 0.18);
}

body.home .hero-app--center img {
	width: 88px;
	height: 88px;
	object-fit: cover;
	border-radius: 20px;
}

body.home .hero-app--center span {
	font-family: "Space Grotesk", sans-serif;
	font-size: 0.82rem;
	font-weight: 700;
	color: #7a5a10;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.home .hero-app--1 { top: 6%; left: 42%; }
body.home .hero-app--2 { top: 28%; right: 2%; color: #0ea5ff; }
body.home .hero-app--3 { bottom: 16%; right: 10%; color: #6366f1; }
body.home .hero-app--4 { bottom: 8%; left: 18%; color: #059669; }
body.home .hero-app--5 { top: 34%; left: 4%; color: #8c5bff; }

body.home .hero-app--1,
body.home .hero-app--3,
body.home .hero-app--5 {
	animation: home-float 4.6s ease-in-out infinite;
}

body.home .hero-app--2,
body.home .hero-app--4 {
	animation: home-float 5.4s ease-in-out infinite reverse;
}

body.home .hero-app img {
	width: 34px;
	height: 34px;
	border-radius: 10px;
}

@keyframes home-spin {
	to { transform: rotate(360deg); }
}

@keyframes home-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

@keyframes home-pulse {
	0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
	70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
	100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ── Products ── */
body.home #products .container {
	max-width: 1200px;
}

body.home .products-grid {
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 1.5rem;
}

body.home .product-card {
	padding: 1.7rem;
	box-shadow: 0 18px 40px rgba(15, 44, 94, 0.07);
}

body.home .product-card::before {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 42%);
}

body.home .product-card--featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
	align-items: center;
	gap: 2rem;
	padding: 2rem 2.1rem;
	background:
		radial-gradient(circle at 8% 20%, rgba(212, 160, 23, 0.16), transparent 42%),
		linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 230, 0.92));
	border: 1px solid rgba(212, 160, 23, 0.28);
	box-shadow: 0 28px 60px rgba(180, 130, 20, 0.12);
}

body.home .product-card--featured .product-card__media {
	display: grid;
	place-items: center;
}

body.home .product-card--featured .product-card__media img {
	width: min(100%, 168px);
	height: auto;
	border-radius: 28px;
	box-shadow: 0 18px 40px rgba(15, 44, 94, 0.12);
}

body.home .product-card--featured .product-card__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

body.home .product-card--featured .product-card__flash-badge {
	top: 0;
	right: 0;
}

body.home .product-card--featured .product-card__title {
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	margin: 0.55rem 0 0.7rem;
}

body.home .product-card--featured .product-card__desc {
	max-width: 62ch;
	margin-bottom: 1rem;
}

body.home .product-card__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 1.15rem;
}

body.home .product-card__pills span {
	padding: 0.28rem 0.7rem;
	border-radius: 999px;
	background: rgba(212, 160, 23, 0.1);
	border: 1px solid rgba(212, 160, 23, 0.22);
	color: #8a6410;
	font-size: 0.75rem;
	font-weight: 700;
}

body.home .product-card--featured .btn {
	width: auto;
	min-width: 180px;
}

body.home .products-more {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

/* ── How it works ── */
body.home .hiw-step {
	padding: 2.15rem 1.7rem 1.8rem;
	box-shadow: 0 16px 36px rgba(15, 44, 94, 0.07);
}

body.home .hiw-step__number {
	color: rgba(14, 165, 255, 0.16);
	font-size: 3rem;
}

/* ── Proof / testimonials ── */
body.home .proof-score {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 1.1rem auto 0;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(251, 191, 36, 0.35);
	color: #64748b;
	font-size: 0.88rem;
}

body.home .proof-score i {
	color: #f59e0b;
}

body.home .proof-score strong {
	color: #0f172a;
}

body.home .testimonial-card {
	padding: 2.1rem 1.8rem 1.7rem;
}

/* ── Compare + services ── */
body.home .compare-table thead th {
	background: rgba(14, 165, 255, 0.06);
	color: #52607a;
}

body.home .compare-table tbody tr:hover {
	background: rgba(14, 165, 255, 0.05);
}

body.home .services-teaser__item {
	box-shadow: 0 10px 24px rgba(15, 44, 94, 0.05);
}

body.home .newsletter-banner {
	position: relative;
	overflow: hidden;
	margin: 0 1rem 2rem;
	border-radius: 32px;
	border: 1px solid rgba(14, 165, 255, 0.16);
	background:
		radial-gradient(circle at 12% 20%, rgba(14, 165, 255, 0.16), transparent 36%),
		radial-gradient(circle at 88% 80%, rgba(140, 91, 255, 0.14), transparent 32%),
		linear-gradient(165deg, #f8fbff, #eef4ff 55%, #fff8ef);
	box-shadow: 0 24px 50px rgba(15, 44, 94, 0.08);
}

body.home .section-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

/* ── Color + design polish (light theme leftovers) ── */
body.home .text-gradient {
	background: linear-gradient(120deg, #0284c7, #6366f1 52%, #c9a227);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

body.home .text-neon {
	color: #0369a1;
	text-shadow: 0 0 18px rgba(14, 165, 255, 0.18);
}

body.home .btn--primary {
	background: linear-gradient(135deg, #0ea5ff 0%, #3b6cff 100%);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 14px 32px rgba(14, 165, 255, 0.28);
}

body.home .btn--gold {
	background: linear-gradient(135deg, #d4a017, #b45309);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 14px 32px rgba(180, 130, 20, 0.28);
}

body.home .product-card,
body.home .why-item,
body.home .blog-card,
body.home .glass-card,
body.home .hero__stats,
body.home .hero__badge,
body.home .about-stat {
	border-radius: 22px;
}

body.home .product-card:nth-child(even),
body.home .blog-card:nth-child(even) {
	border-radius: 22px;
}

body.home .product-card:hover,
body.home .product-card:focus-within,
body.home .why-item:hover,
body.home .blog-card:hover {
	transform: translateY(-8px);
}

body.home .product-card__flash-badge {
	background: linear-gradient(135deg, #f59e0b, #d97706);
}

body.home .marquee-strip {
	background: rgba(15, 44, 94, 0.045);
	border-top: 1px solid rgba(15, 44, 94, 0.08);
	border-bottom: 1px solid rgba(15, 44, 94, 0.08);
}

body.home .marquee-strip__sep {
	color: rgba(15, 44, 94, 0.28);
}

body.home .featured-in__logo,
body.home .tech-stack__item {
	color: #64748b;
}

body.home .featured-in__logo:hover,
body.home .tech-stack__item:hover {
	color: #0f2744;
}

body.home .tech-stack {
	border-top: 1px solid rgba(15, 44, 94, 0.08);
	border-bottom: 1px solid rgba(15, 44, 94, 0.08);
}

body.home .newsletter-banner__input-group {
	background: #fff;
	border: 1px solid rgba(15, 44, 94, 0.12);
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(15, 44, 94, 0.06);
}

body.home .section:nth-of-type(even) {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(241, 248, 255, 0.4));
}

body.home .hiw-connector {
	color: #38bdf8;
}

@media (max-width: 1020px) {
	body.home .hero__layout {
		grid-template-columns: 1fr;
		text-align: center;
	}

	body.home .hero__content,
	body.home .hero__cta-group,
	body.home .hero__stats,
	body.home .hero__chips {
		align-items: center;
		justify-content: center;
		text-align: center;
	}

	body.home .hero__title,
	body.home .hero__tagline {
		margin-inline: auto;
	}

	body.home .hero__showcase {
		min-height: 340px;
		order: -1;
	}

	body.home .hero-orbit {
		width: min(100%, 340px);
	}

	body.home .hero-app--center {
		width: 140px;
		height: 140px;
	}

	body.home .hero-app--center img {
		width: 72px;
		height: 72px;
	}

	body.home .products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	body.home .hero__showcase {
		min-height: 280px;
	}

	body.home .hero-app {
		width: 48px;
		height: 48px;
		font-size: 1.2rem;
	}

	body.home .hero-app--center {
		width: 120px;
		height: 120px;
		border-radius: 28px;
	}

	body.home .products-grid,
	body.home .product-card--featured {
		grid-template-columns: 1fr;
	}

	body.home .product-card--featured {
		text-align: center;
		padding: 1.5rem;
		gap: 1.1rem;
	}

	body.home .product-card--featured .product-card__copy {
		align-items: center;
	}

	body.home .product-card--featured .product-card__pills,
	body.home .product-card--featured .product-card__meta {
		justify-content: center;
	}

	body.home .product-card--featured .btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.home .hero-orbit__ring,
	body.home .hero-app--1,
	body.home .hero-app--2,
	body.home .hero-app--3,
	body.home .hero-app--4,
	body.home .hero-app--5,
	body.home .pulse-dot {
		animation: none;
	}
}
