/* ==========================================================================
   GFX IFHAM — Premium dark electric-blue theme
   Loaded after style.css; overrides tokens + components and adds motion.
   ========================================================================== */

:root {
	--bg: #03050d;
	--bg-2: #060a19;
	--surface: #0a0f22;
	--surface-2: #0e1530;
	--electric: #2563eb;
	--electric-2: #3b82f6;
	--cyan: #67e8f9;
	--lav: #a5b4fc;

	/* remap legacy tokens used by style.css */
	--navy-deep: #050a1f;
	--blue-deep: #1d4ed8;
	--blue-mid: #3b82f6;
	--blue-light: #93c5fd;
	--sky: #3b82f6;
	--sky-soft: #93c5fd;
	--ice: #060a19;
	--ice-2: #0c1330;
	--ink: #f5f7ff;
	--slate: #a3adc8;
	--slate-soft: #6b7594;
	--white: #0a0f22;
	--line: rgba(148, 163, 255, 0.12);
	--line-soft: rgba(148, 163, 255, 0.06);

	--grad-brand: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	--grad-brand-diag: linear-gradient(120deg, #3b82f6 0%, #1d4ed8 100%);
	--grad-text: linear-gradient(100deg, #ffffff 0%, #c7d2fe 35%, #67e8f9 60%, #a5b4fc 100%);

	--font-display: 'Sora', 'Segoe UI', sans-serif;
	--font-serif: 'Instrument Serif', Georgia, serif;

	--shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
	--shadow-md: 0 14px 40px rgba(0, 0, 0, 0.5);
	--shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.6);
	--glow-blue: 0 0 40px rgba(59, 130, 246, 0.45);
}

html { background: var(--bg); color-scheme: dark; }
body { background: var(--bg); color: var(--ink); }
::selection { background: rgba(59, 130, 246, 0.45); color: #fff; }

/* Subtle noise + vignette over the whole page */
body::before {
	content: "";
	position: fixed; inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.18), transparent 70%),
		radial-gradient(ellipse 60% 40% at 100% 100%, rgba(99, 102, 241, 0.08), transparent 70%);
}
main, section, footer, header { position: relative; }

/* Cursor spotlight (desktop) */
.cursor-glow {
	position: fixed;
	top: 0; left: 0;
	width: 520px; height: 520px;
	margin: -260px 0 0 -260px;
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.13) 0%, rgba(59, 130, 246, 0.05) 35%, transparent 65%);
	transform: translate3d(-999px, -999px, 0);
	transition: opacity 0.4s ease;
	will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Typography accents ---------- */
h1 em, h2 em, .serif-accent {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
	background: var(--grad-text);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: text-shimmer 7s ease-in-out infinite;
	padding-right: 0.06em;
}
@keyframes text-shimmer {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

/* Eyebrow → glowing pill label */
.eyebrow {
	font-family: var(--font-body);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: none;
	color: #c7d2fe;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 255, 0.2);
	background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.03));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.eyebrow-dot { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: dot-blink 2.4s ease-in-out infinite; }
@keyframes dot-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.section-head { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { text-align: left; }
.section-head h2 { color: #fff; font-weight: 600; letter-spacing: -0.03em; }
.section-head p { color: var(--slate); }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
	content: "";
	position: absolute;
	top: 0; left: -120%;
	width: 60%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	transform: skewX(-20deg);
	transition: left 0.7s var(--ease);
	z-index: -1;
	pointer-events: none;
}
.btn:hover::after { left: 140%; }
.btn-primary {
	background: linear-gradient(180deg, #3b82f6, #1d4ed8);
	color: #fff;
	border: 1px solid rgba(147, 197, 253, 0.4);
	box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3), 0 8px 30px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5), 0 12px 44px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-white {
	background: #fff;
	color: #050816;
	border: 1px solid #fff;
	box-shadow: 0 0 30px rgba(255, 255, 255, 0.18), 0 10px 30px rgba(37, 99, 235, 0.25);
}
.btn-white::after { background: linear-gradient(100deg, transparent, rgba(59, 130, 246, 0.35), transparent); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(255, 255, 255, 0.3), 0 14px 40px rgba(37, 99, 235, 0.45); }
.btn-text {
	background: transparent;
	color: #e2e8ff;
	padding-left: 10px; padding-right: 10px;
}
.btn-text svg { transition: transform 0.3s var(--ease); }
.btn-text:hover { color: #fff; }
.btn-text:hover svg { transform: translateX(4px); }
.btn-text::after { display: none; }
.btn-ghost { color: #e2e8ff; border-color: rgba(148, 163, 255, 0.25); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--electric-2); color: #fff; box-shadow: var(--glow-blue); }

.link-arrow { color: #e2e8ff; border-color: rgba(148, 163, 255, 0.25); }
.link-arrow:hover { color: #fff; border-color: var(--cyan); }

/* ---------- Header ---------- */
.loop-progress {
	background: linear-gradient(90deg, #1d4ed8, #3b82f6, #67e8f9);
	box-shadow: 0 0 12px rgba(103, 232, 249, 0.8);
	height: 2px;
}
.site-header { background: linear-gradient(to bottom, rgba(3, 5, 13, 0.92) 40%, transparent); }
.header-inner {
	background: rgba(8, 12, 28, 0.6);
	border: 1px solid rgba(148, 163, 255, 0.12);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 40px rgba(0, 0, 0, 0.4);
	padding: 8px 10px 8px 12px;
}
.site-header.is-stuck .header-inner { background: rgba(6, 9, 22, 0.85); box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 14px 50px rgba(0, 0, 0, 0.6); }
.site-logo { gap: 10px; }
.logo-img {
	width: 40px; height: 40px;
	object-fit: cover; object-position: 50% 8%;
	border-radius: 50%;
	background: #fff;
	padding: 0;
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6), 0 0 18px rgba(59, 130, 246, 0.6);
	transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
.site-logo:hover .logo-img { transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 0 2px #67e8f9, 0 0 26px rgba(103, 232, 249, 0.8); }
.logo-text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.02em;
	color: #fff;
	white-space: nowrap;
}
.logo-text b { font-weight: 700; color: #93c5fd; }
.nav-menu li a { color: #a3adc8; font-weight: 500; position: relative; }
.nav-menu li a:hover,
.nav-menu li.current-menu-item a { background: rgba(59, 130, 246, 0.1); color: #fff; }
.nav-online {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; color: #cbd5e1; font-weight: 500;
	padding: 0 6px;
	white-space: nowrap;
}
.nav-online i {
	width: 8px; height: 8px; border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
	animation: online-ping 1.8s ease-out infinite;
}
@keyframes online-ping {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
	100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}
.theme-toggle { display: none !important; }
.menu-toggle { background: rgba(59, 130, 246, 0.15); }
.menu-toggle span { background: #fff; }
.mobile-nav { background: rgba(8, 12, 28, 0.96); backdrop-filter: blur(16px); border-color: rgba(148, 163, 255, 0.15); }
.mobile-nav-menu li a:hover { background: rgba(59, 130, 246, 0.12); }
@media (max-width: 900px) { .nav-online { display: none; } }
@media (max-width: 380px) { .logo-text { font-size: 14px; } }

/* Services ticker */
.marquee-strip {
	background: rgba(6, 10, 25, 0.8);
	border-top: 1px solid rgba(148, 163, 255, 0.08);
	border-bottom: 1px solid rgba(148, 163, 255, 0.08);
	color: #94a3c4;
	padding: 11px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; }
.marquee-track .dot { color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }

/* ==========================================================================
   HERO — centered, glowing arc, stars, motion ribbon, floating showcase
   ========================================================================== */
.hero--neo {
	padding: 70px 0 0;
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}
.hero-stars {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	z-index: -1;
	pointer-events: none;
}
.hero-arc {
	position: absolute;
	left: 50%; top: 40px;
	width: 1500px; height: 1500px;
	margin-left: -750px;
	border-radius: 50%;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(circle at 50% 50%, #050816 64%, transparent 64.4%);
	box-shadow:
		0 -2px 0 0 rgba(191, 219, 254, 0.9),
		0 -10px 40px 0 rgba(96, 165, 250, 0.9),
		0 -40px 120px 10px rgba(37, 99, 235, 0.55),
		inset 0 30px 60px -20px rgba(59, 130, 246, 0.35);
	animation: arc-breathe 6s ease-in-out infinite;
	will-change: transform, opacity;
}
/* transform + opacity only: runs on the GPU, no repaint of the huge glow */
@keyframes arc-breathe {
	0%, 100% { opacity: 0.8; transform: translate3d(0, 0, 0); }
	50% { opacity: 1; transform: translate3d(0, -6px, 0); }
}
.hero-beams {
	position: absolute;
	left: 50%; top: -80px;
	width: 900px; height: 520px;
	margin-left: -450px;
	z-index: -1;
	pointer-events: none;
	background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(96, 165, 250, 0.07) 46px 48px);
	-webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 50% 70% at 50% 30%, #000 20%, transparent 75%);
	animation: beams-move 8s linear infinite;
	will-change: transform;
}
@keyframes beams-move { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(48px, 0, 0); } }

.hero-center { position: relative; z-index: 2; padding-top: 110px; }
.hero-badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 5px 14px 5px 5px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 255, 0.22);
	background: rgba(10, 15, 34, 0.7);
	backdrop-filter: blur(10px);
	color: #cbd5e1;
	font-size: 13px;
	margin-bottom: 26px;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-badge:hover { border-color: rgba(103, 232, 249, 0.6); box-shadow: 0 0 24px rgba(59, 130, 246, 0.4); }
.hero-badge .badge-new {
	background: linear-gradient(180deg, #3b82f6, #1d4ed8);
	color: #fff;
	font-weight: 600;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	box-shadow: 0 0 14px rgba(59, 130, 246, 0.7);
}
.hero-badge svg { transition: transform 0.3s var(--ease); }
.hero-badge:hover svg { transform: translateX(3px); }

.hero--neo .hero-title {
	font-size: clamp(42px, 7vw, 92px);
	font-weight: 600;
	letter-spacing: -0.045em;
	line-height: 1.02;
	color: #fff;
	margin: 0 auto 24px;
	max-width: 980px;
	text-shadow: 0 0 60px rgba(59, 130, 246, 0.25);
}
.hero--neo .hero-title em { font-size: 1.08em; }
.hero--neo .hero-sub {
	font-size: 18px;
	color: #9aa6c4;
	max-width: 620px;
	margin: 0 auto 36px;
}
.hero--neo .hero-actions { justify-content: center; margin-bottom: 44px; }
.hero-features {
	display: flex; justify-content: center; flex-wrap: wrap;
	gap: 10px 0;
	margin: 0 auto;
}
.hero-feature {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 0 26px;
	color: #a3adc8;
	font-size: 14px;
	border-right: 1px solid rgba(148, 163, 255, 0.14);
}
.hero-feature:last-child { border-right: 0; }
.hero-feature-icon {
	width: 32px; height: 32px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9px;
	border: 1px solid rgba(148, 163, 255, 0.2);
	background: rgba(59, 130, 246, 0.08);
	color: #93c5fd;
}

/* Hero entrance */
.hero-in { opacity: 0; transform: translateY(26px); filter: blur(10px); animation: hero-in 1.1s var(--ease) forwards; }
.hero-in--1 { animation-delay: 0.1s; }
.hero-in--2 { animation-delay: 0.25s; }
.hero-in--3 { animation-delay: 0.4s; }
.hero-in--4 { animation-delay: 0.55s; }
.hero-in--5 { animation-delay: 0.7s; }
.hero-in--6 { animation-delay: 0.9s; }
@keyframes hero-in { to { opacity: 1; transform: translateY(0); filter: blur(0); } }

/* Word-by-word title reveal */
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(0.5em) rotateX(-60deg); filter: blur(8px); animation: word-in 0.9s var(--ease) forwards; }
@keyframes word-in { to { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); } }

/* Motion ribbon */
.hero-stage {
	position: relative;
	margin-top: 40px;
	height: 560px;
	z-index: 1;
}
.hero-ribbon {
	position: absolute;
	left: 50%; top: -40px;
	width: 1700px; max-width: none; height: 620px;
	margin-left: -850px;
	pointer-events: none;
	z-index: 0;
	will-change: transform;
	animation: ribbon-drift 12s ease-in-out infinite;
}
.hero-ribbon--fx { z-index: 1; }
/* The ribbon is drawn (and blurred) once, then only moved/stretched by the GPU */
@keyframes ribbon-drift {
	0%, 100% { transform: translate3d(0, 0, 0) scale(1, 1) skewY(0deg); }
	33% { transform: translate3d(-30px, -14px, 0) scale(1.03, 0.9) skewY(-1.5deg); }
	66% { transform: translate3d(24px, 10px, 0) scale(0.98, 1.08) skewY(1deg); }
}
.hero-ribbon .rib-glow { filter: blur(26px); opacity: 0.85; }
.hero-ribbon .rib-soft { filter: blur(6px); }
.hero-ribbon .rib-spark {
	stroke-dasharray: 160 1800;
	animation: rib-spark 5.5s linear infinite;
	filter: drop-shadow(0 0 6px #a5f3fc);
}
.hero-ribbon .rib-spark--2 { animation-duration: 7s; animation-delay: -2.5s; }
@keyframes rib-spark { from { stroke-dashoffset: 1960; } to { stroke-dashoffset: 0; } }

/* Floating showcase cards */
.hero-showcase {
	position: absolute; inset: 0;
	perspective: 1400px;
	z-index: 2;
}
.showcase-card {
	position: absolute;
	border-radius: 20px;
	overflow: hidden;
	background: #0b1124;
	border: 1px solid rgba(148, 163, 255, 0.22);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(59, 130, 246, 0.15), 0 0 50px rgba(37, 99, 235, 0.25);
	transform-style: preserve-3d;
	will-change: transform;
	transition: box-shadow 0.4s var(--ease);
}
.showcase-card:hover { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(103, 232, 249, 0.6), 0 0 70px rgba(59, 130, 246, 0.6); }
.showcase-card img, .showcase-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-card::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, transparent 30%, transparent 70%, rgba(59, 130, 246, 0.18) 100%);
	pointer-events: none;
}
.showcase-tag {
	position: absolute;
	left: 12px; bottom: 12px;
	z-index: 2;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px; font-weight: 600;
	color: #fff;
	background: rgba(5, 8, 22, 0.65);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.15);
}
.showcase-tag i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; margin-right: 6px; box-shadow: 0 0 8px #ef4444; animation: dot-blink 1.2s infinite; }
.showcase-inner { position: absolute; inset: 0; animation: card-float 7s ease-in-out infinite; }
.showcase-card--c { width: 300px; height: 420px; left: 50%; top: 40px; margin-left: -150px; z-index: 3; }
.showcase-card--l1 { width: 250px; height: 250px; left: calc(50% - 470px); top: 110px; z-index: 2; }
.showcase-card--r1 { width: 250px; height: 250px; left: calc(50% + 220px); top: 90px; z-index: 2; }
.showcase-card--l2 { width: 200px; height: 200px; left: calc(50% - 700px); top: 230px; z-index: 1; opacity: 0.85; }
.showcase-card--r2 { width: 200px; height: 200px; left: calc(50% + 500px); top: 250px; z-index: 1; opacity: 0.85; }
.showcase-card { animation: card-float 7s ease-in-out infinite; }
.showcase-card--l1 { animation-delay: -1.5s; }
.showcase-card--r1 { animation-delay: -3s; }
.showcase-card--l2 { animation-delay: -4.5s; }
.showcase-card--r2 { animation-delay: -2.2s; }
@keyframes card-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -18px; }
}
.showcase-chip {
	position: absolute;
	z-index: 4;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 14px;
	border-radius: 14px;
	background: rgba(10, 15, 34, 0.8);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(148, 163, 255, 0.25);
	color: #e2e8ff;
	font-size: 13px; font-weight: 600;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.25);
	animation: card-float 6s ease-in-out infinite;
}
.showcase-chip b { color: #22c55e; }
.showcase-chip--1 { left: calc(50% - 330px); top: 380px; animation-delay: -2s; }
.showcase-chip--2 { left: calc(50% + 150px); top: 20px; animation-delay: -4s; }
.showcase-chip--3 { left: calc(50% + 190px); top: 400px; animation-delay: -1s; }
.showcase-chip svg { color: #67e8f9; }

@media (max-width: 1100px) {
	.showcase-card--l2, .showcase-card--r2 { display: none; }
}
@media (max-width: 760px) {
	.hero-center { padding-top: 90px; }
	.hero-stage { height: 440px; }
	.showcase-card--c { width: 210px; height: 300px; margin-left: -105px; top: 40px; }
	.showcase-card--l1 { width: 130px; height: 130px; left: -24px; top: 190px; }
	.showcase-card--r1 { width: 130px; height: 130px; left: auto; right: -24px; top: 70px; }
	.showcase-card--l1 .showcase-tag, .showcase-card--r1 .showcase-tag { display: none; }
	.showcase-chip--1, .showcase-chip--2 { display: none; }
	.showcase-chip--3 { left: 50%; right: auto; top: 360px; transform: none; margin-left: -80px; }
	.hero-feature { padding: 4px 14px; border-right: 0; }
	.hero-arc { width: 1100px; height: 1100px; margin-left: -550px; }
}

/* ---------- Brands marquee ---------- */
.brands-strip {
	position: relative;
	z-index: 3;
	display: flex; align-items: center; gap: 40px;
	padding: 28px 0;
	margin-top: 10px;
	border-top: 1px solid rgba(148, 163, 255, 0.1);
	border-bottom: 1px solid rgba(148, 163, 255, 0.1);
	background: linear-gradient(180deg, rgba(3, 5, 13, 0.4), rgba(3, 5, 13, 0.9));
	backdrop-filter: blur(6px);
}
.brands-label {
	flex-shrink: 0;
	text-align: left;
	font-size: 13px; line-height: 1.4;
	color: #8b95b2;
	padding-left: 28px;
	max-width: 170px;
}
.brands-viewport {
	flex: 1;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands-track {
	display: flex; align-items: center; gap: 64px;
	width: max-content;
	animation: marquee 38s linear infinite;
}
.brands-viewport:hover .brands-track { animation-play-state: paused; }
.brand-mark {
	display: inline-flex; align-items: center; gap: 10px;
	color: #e5e9f7;
	white-space: nowrap;
	opacity: 0.75;
	transition: opacity 0.3s, color 0.3s, text-shadow 0.3s, transform 0.3s var(--ease);
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
}
.brand-mark:hover { opacity: 1; color: #fff; text-shadow: 0 0 18px rgba(103, 232, 249, 0.8); transform: translateY(-2px); }
.brand-mark svg { flex-shrink: 0; }
.brand-mark--serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 25px; }
.brand-mark--caps { text-transform: uppercase; letter-spacing: 0.16em; font-size: 15px; font-weight: 600; }
.brand-mark--light { font-weight: 400; }
@media (max-width: 700px) {
	.brands-strip { flex-direction: column; gap: 16px; }
	.brands-label { padding-left: 0; text-align: center; max-width: none; }
	.brands-viewport { width: 100%; }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-bar { background: transparent; border-color: rgba(148, 163, 255, 0.1); }
.stat-item { border-color: rgba(148, 163, 255, 0.1) !important; transition: background 0.4s; }
.stat-item:hover { background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.12), transparent 70%); }
.stat-number, .stat-plus {
	background: linear-gradient(180deg, #fff, #93c5fd);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
	font-weight: 600;
}
.stat-label { color: #8b95b2; }

/* ==========================================================================
   SERVICES — glowing neon cards
   ========================================================================== */
.services { overflow: hidden; }
.services::before {
	content: "";
	position: absolute;
	left: 50%; top: 120px;
	width: 900px; height: 500px;
	margin-left: -450px;
	background: radial-gradient(ellipse, rgba(37, 99, 235, 0.16), transparent 70%);
	pointer-events: none;
}
.services-grid--ten { gap: 26px; }
.services-grid--ten .service-card {
	--g1: #ff6b8b; --g2: #ff9f43;
	position: relative;
	overflow: visible;
	border: 0;
	border-radius: 22px;
	background: #0b0f1d;
	isolation: isolate;
	transform-style: preserve-3d;
	transition: transform 0.5s var(--ease);
}
/* gradient border */
.services-grid--ten .service-card::before {
	content: "";
	position: absolute; inset: 0;
	border-radius: inherit;
	padding: 2px;
	background: linear-gradient(140deg, var(--g1), var(--g2));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	pointer-events: none;
	z-index: 2;
	opacity: 0.85;
	transition: opacity 0.4s;
}
/* outer neon glow */
.services-grid--ten .service-card::after {
	content: "";
	position: absolute; inset: 6px;
	border-radius: inherit;
	background: linear-gradient(140deg, var(--g1), var(--g2));
	filter: blur(26px);
	opacity: 0.34;
	z-index: -1;
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.services-grid--ten .service-card:hover { transform: translateY(-8px); box-shadow: none; }
.services-grid--ten .service-card:hover::before { opacity: 1; }
.services-grid--ten .service-card:hover::after { opacity: 0.75; transform: scale(1.06); }

.services-grid--ten .service-card:nth-child(10n+1) { --g1: #a855f7; --g2: #6366f1; }
.services-grid--ten .service-card:nth-child(10n+2) { --g1: #3b82f6; --g2: #22d3ee; }
.services-grid--ten .service-card:nth-child(10n+3) { --g1: #ff5f8f; --g2: #ff9f43; }
.services-grid--ten .service-card:nth-child(10n+4) { --g1: #22c55e; --g2: #a3e635; }
.services-grid--ten .service-card:nth-child(10n+5) { --g1: #6366f1; --g2: #c084fc; }
.services-grid--ten .service-card:nth-child(10n+6) { --g1: #06b6d4; --g2: #3b82f6; }
.services-grid--ten .service-card:nth-child(10n+7) { --g1: #f43f5e; --g2: #f59e0b; }
.services-grid--ten .service-card:nth-child(10n+8) { --g1: #eab308; --g2: #f97316; }
.services-grid--ten .service-card:nth-child(10n+9) { --g1: #ec4899; --g2: #8b5cf6; }
.services-grid--ten .service-card:nth-child(10n+10) { --g1: #14b8a6; --g2: #3b82f6; }

.services-grid--ten .service-card-media {
	margin: 10px 10px 0;
	width: auto;
	border-radius: 14px;
	background: #070a14;
	z-index: 1;
}
.service-card-spot {
	position: absolute; inset: 0;
	border-radius: inherit;
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: opacity 0.3s;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.09), transparent 60%);
}
.service-card:hover .service-card-spot { opacity: 1; }
.service-card-icon-badge {
	background: rgba(5, 8, 22, 0.75);
	backdrop-filter: blur(8px);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 0 18px color-mix(in srgb, var(--g1, #3b82f6) 60%, transparent);
}
.services-grid--ten .service-card-body { position: relative; z-index: 1; }
.services-grid--ten .service-card h3 { color: #fff; font-weight: 600; }
.services-grid--ten .service-card p { color: #9aa3bd; }
.service-card-link { color: #fff; }
.service-card-link svg { color: var(--g2, #67e8f9); }

/* ==========================================================================
   WORK
   ========================================================================== */
.work-card--brand .work-media--img {
	border: 1px solid rgba(148, 163, 255, 0.15);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	position: relative;
}
.work-card--brand .work-media--img::after {
	content: "";
	position: absolute; inset: 0;
	border-radius: inherit;
	background: linear-gradient(180deg, transparent 60%, rgba(3, 5, 13, 0.6));
	pointer-events: none;
	transition: opacity 0.4s;
}
.work-card--brand:hover .work-media--img { box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.5), 0 24px 70px rgba(37, 99, 235, 0.45); }
.work-card--brand:hover .work-media--img::after { opacity: 0; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { background: linear-gradient(180deg, transparent, rgba(6, 10, 25, 0.9) 20%, rgba(6, 10, 25, 0.9) 80%, transparent); }
.loop-diagram-path { color: #3b82f6; opacity: 0.6; }
.loop-diagram::before {
	content: "";
	position: absolute;
	inset: 13%;
	border-radius: 50%;
	background: conic-gradient(from 0deg, transparent 0 70%, rgba(103, 232, 249, 0.9) 85%, transparent 100%);
	-webkit-mask: radial-gradient(circle, transparent 69.4%, #000 69.6%, #000 70.6%, transparent 70.8%);
	mask: radial-gradient(circle, transparent 69.4%, #000 69.6%, #000 70.6%, transparent 70.8%);
	animation: spin 6s linear infinite;
	filter: drop-shadow(0 0 6px #67e8f9);
}
.loop-center {
	background: radial-gradient(circle at 35% 30%, #60a5fa, #1d4ed8 60%, #0b1b5c);
	box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.08), 0 0 0 22px rgba(59, 130, 246, 0.04), 0 0 80px rgba(59, 130, 246, 0.8);
	letter-spacing: 0.08em;
}
/* pulse ring: transform + opacity only */
.loop-center::after {
	content: "";
	position: absolute; inset: -6px;
	border-radius: 50%;
	border: 2px solid rgba(103, 232, 249, 0.7);
	animation: core-ring 2.8s ease-out infinite;
	will-change: transform, opacity;
	pointer-events: none;
}
@keyframes core-ring {
	0% { transform: scale(1); opacity: 0.9; }
	100% { transform: scale(1.6); opacity: 0; }
}
.loop-step {
	background: rgba(10, 15, 34, 0.85);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(148, 163, 255, 0.16);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	transition: border-color 0.4s, box-shadow 0.4s, translate 0.4s var(--ease);
}
.loop-step:hover { border-color: rgba(103, 232, 249, 0.55); box-shadow: 0 0 40px rgba(59, 130, 246, 0.35); translate: 0 -4px; }
.loop-step h3 { color: #fff; }
.loop-step-num { color: #67e8f9; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
	position: relative;
	background: linear-gradient(180deg, rgba(14, 21, 48, 0.9), rgba(8, 12, 28, 0.9));
	border: 1px solid rgba(148, 163, 255, 0.14);
	overflow: hidden;
	transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.testimonial-card::before {
	content: "\201C";
	position: absolute;
	right: 20px; top: -10px;
	font-family: var(--font-serif);
	font-size: 120px;
	line-height: 1;
	color: rgba(59, 130, 246, 0.18);
	pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(103, 232, 249, 0.4); box-shadow: 0 0 50px rgba(37, 99, 235, 0.3); }
.testimonial-card p { color: #e2e8ff; }
.testimonial-card footer strong { color: #fff; }
.testimonial-stars { color: #fbbf24; letter-spacing: 3px; font-size: 14px; margin-bottom: 14px; text-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }

/* ==========================================================================
   SERVICE PAGES
   ========================================================================== */
.service-hero {
	background: transparent;
	overflow: hidden;
	padding: 90px 0 60px;
	isolation: isolate;
}
.service-hero::before {
	content: "";
	position: absolute;
	left: 50%; top: -1100px;
	width: 1400px; height: 1400px;
	margin-left: -700px;
	border-radius: 50%;
	background: #03050d;
	box-shadow: 0 2px 0 0 rgba(191, 219, 254, 0.7), 0 10px 50px rgba(96, 165, 250, 0.7), 0 40px 140px rgba(37, 99, 235, 0.45);
	z-index: -1;
	animation: arc-breathe 6s ease-in-out infinite;
}
.service-hero h1 { color: #fff; font-weight: 600; letter-spacing: -0.04em; font-size: clamp(36px, 5.5vw, 68px); }
.service-hero-sub { color: #9aa6c4; }
.service-gallery-item {
	border: 1px solid rgba(148, 163, 255, 0.14);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
	transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.4s;
	position: relative;
	cursor: zoom-in;
}
.service-gallery-item:hover { transform: translateY(-6px) scale(1.015); border-color: rgba(103, 232, 249, 0.5); box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.3), 0 24px 70px rgba(37, 99, 235, 0.45); }
.service-gallery-item img { transition: transform 0.7s var(--ease); }
.service-gallery-item:hover img { transform: scale(1.05); }
.service-other { background: transparent; }
.service-other-card {
	position: relative;
	background: #0b0f1d;
	border: 1px solid rgba(148, 163, 255, 0.14);
	transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.service-other-card:hover { transform: translateY(-6px); border-color: rgba(103, 232, 249, 0.5); box-shadow: 0 0 40px rgba(37, 99, 235, 0.4); }
.service-other-card h3 { color: #fff; }
.service-icon { background: linear-gradient(140deg, #3b82f6, #1d4ed8); box-shadow: 0 0 22px rgba(59, 130, 246, 0.5); }

/* Lightbox */
.lightbox {
	position: fixed; inset: 0;
	z-index: 2000;
	display: flex; align-items: center; justify-content: center;
	padding: 30px;
	background: rgba(2, 4, 12, 0.88);
	backdrop-filter: blur(10px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
	max-width: min(1100px, 100%);
	max-height: 88vh;
	border-radius: 16px;
	box-shadow: 0 0 0 1px rgba(148, 163, 255, 0.25), 0 30px 100px rgba(37, 99, 235, 0.4);
	transform: scale(0.92);
	transition: transform 0.45s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-close {
	position: absolute; top: 20px; right: 20px;
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
	color: #fff; font-size: 24px; line-height: 1;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section { background: transparent; overflow: hidden; }
.contact-section::before {
	content: "";
	position: absolute;
	left: 50%; top: 40%;
	width: 1000px; height: 600px;
	margin-left: -500px;
	background: radial-gradient(ellipse, rgba(37, 99, 235, 0.18), transparent 65%);
	pointer-events: none;
}
.contact-form, .contact-card, .contact-social-row {
	background: rgba(10, 15, 34, 0.75);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(148, 163, 255, 0.14);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
	position: relative;
}
.contact-form::before {
	content: "";
	position: absolute;
	top: -1px; left: 15%; right: 15%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #67e8f9, transparent);
	box-shadow: 0 0 12px #67e8f9;
}
.form-field input, .form-field select, .form-field textarea {
	background: rgba(3, 5, 13, 0.6);
	border-color: rgba(148, 163, 255, 0.14);
	color: #fff;
}
.form-field select option { background: #0a0f22; color: #fff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
	background: rgba(3, 5, 13, 0.8);
	border-color: #3b82f6;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18), 0 0 24px rgba(59, 130, 246, 0.25);
}
.form-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px 14px;
}
.contact-card h4 { color: #fff; }
.contact-card-list a { color: #e2e8ff; }
.contact-card-icon--wa { background: rgba(34, 197, 94, 0.14); color: #4ade80; }
.contact-card-icon--ig { background: rgba(236, 72, 153, 0.14); color: #f472b6; }
.contact-card-icon--fb { background: rgba(59, 130, 246, 0.16); color: #60a5fa; }
.contact-social-icon { transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.contact-social-icon--ig:hover { box-shadow: 0 0 24px rgba(221, 42, 123, 0.7); }
.contact-social-icon--fb:hover { box-shadow: 0 0 24px rgba(24, 119, 242, 0.7); }
.contact-social-icon--wa:hover { box-shadow: 0 0 24px rgba(37, 211, 102, 0.7); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
	background: #02030a;
	overflow: hidden;
	border-top: 1px solid rgba(148, 163, 255, 0.08);
}
.site-footer::before {
	content: "";
	position: absolute;
	top: 0; left: 10%; right: 10%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #3b82f6, #67e8f9, #3b82f6, transparent);
	box-shadow: 0 0 20px #3b82f6;
}
.site-footer::after {
	content: "GFX IFHAM";
	position: absolute;
	left: 50%; bottom: -0.28em;
	transform: translateX(-50%);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(70px, 16vw, 230px);
	letter-spacing: -0.05em;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(148, 163, 255, 0.08);
	background: linear-gradient(180deg, rgba(59, 130, 246, 0.12), transparent 70%);
	-webkit-background-clip: text; background-clip: text;
	pointer-events: none;
	z-index: 0;
}
.footer-grid, .footer-bottom { position: relative; z-index: 1; }
.footer-logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-logo {
	width: 64px; height: 64px;
	object-fit: cover; object-position: 50% 8%;
	border-radius: 50%;
	padding: 0;
	margin: 0;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6), 0 0 26px rgba(59, 130, 246, 0.55);
}
.footer-logo-row .logo-text { font-size: 22px; }
.footer-rule { background: linear-gradient(90deg, #3b82f6, #67e8f9); box-shadow: 0 0 10px #3b82f6; }
.footer-col ul a { position: relative; transition: color 0.25s, padding 0.3s var(--ease); }
.footer-col ul a:hover { color: #fff; padding-left: 6px; }
.footer-contact svg { color: #67e8f9; }

/* ==========================================================================
   SCROLL REVEAL (premium: blur + rise + stagger)
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(40px) scale(0.98);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
	transition-delay: var(--rd, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }
.services-grid--ten .service-card.reveal.in-view { transform: none; }
.services-grid--ten .service-card.reveal.in-view:hover { transform: translateY(-8px); }

/* Back to top */
.to-top {
	position: fixed;
	right: 30px; bottom: 96px;
	width: 46px; height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(148, 163, 255, 0.25);
	background: rgba(10, 15, 34, 0.8);
	backdrop-filter: blur(10px);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	z-index: 499;
	opacity: 0; transform: translateY(20px);
	pointer-events: none;
	transition: opacity 0.4s, transform 0.4s var(--ease), box-shadow 0.3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { box-shadow: 0 0 24px rgba(59, 130, 246, 0.7); }
.wa-widget.is-open ~ .to-top { opacity: 0; pointer-events: none; }
@media (max-width: 480px) { .to-top { right: 21px; bottom: 82px; } }

/* WhatsApp widget tuned for dark */
.wa-popup { background: #0b1124; color: #e2e8ff; border: 1px solid rgba(148, 163, 255, 0.18); }
.wa-popup-body { background: #070b18; background-image: radial-gradient(rgba(148, 163, 255, 0.06) 1px, transparent 1px); background-size: 14px 14px; }
.wa-bubble { background: #12203f; color: #e2e8ff; }
.wa-float { box-shadow: 0 0 30px rgba(37, 211, 102, 0.5); }

/* Thank-you & generic text */
.thank-you-hero h1, .content-page h1 { color: #fff; }

/* ==========================================================================
   PERFORMANCE: drop costly live-blur where the background is already dark
   ========================================================================== */
.brands-strip, .showcase-tag, .showcase-chip, .hero-badge, .loop-step,
.contact-form, .contact-card, .contact-social-row, .to-top, .service-card-icon-badge {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.showcase-tag { background: rgba(5, 8, 22, 0.85); }
.showcase-chip { background: rgba(10, 15, 34, 0.94); }
.contact-form, .contact-card, .contact-social-row { background: rgba(10, 15, 34, 0.92); }
.service-card-icon-badge { background: rgba(5, 8, 22, 0.85); }
.hero-showcase .showcase-card, .hero-showcase .showcase-chip { contain: layout paint; }
.service-hero::before, .loop-diagram::before { will-change: transform, opacity; }

/* Phones & tablets: keep the look, cut the heavy layers */
@media (max-width: 900px), (hover: none) {
	.header-inner, .site-header.is-stuck .header-inner, .mobile-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(6, 9, 22, 0.96); }
	.hero-ribbon .rib-glow { filter: blur(14px); }
	.hero-ribbon .rib-soft { filter: none; }
	.hero-beams { display: none; }
	.services-grid--ten .service-card::after { filter: blur(16px); opacity: 0.28; }
	.showcase-card { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(59, 130, 246, 0.2); }
	h1 em, h2 em, .serif-accent { animation: none; }
}

/* ---------- Speed pass 2 ---------- */
:root { --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace; }
/* sticky header blur re-paints on every scroll frame: use a solid glassy colour instead */
.header-inner, .site-header.is-stuck .header-inner, .mobile-nav { -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { background: rgba(8, 12, 28, 0.9); }
.site-header.is-stuck .header-inner { background: rgba(6, 9, 22, 0.97); }
/* animated gradient text re-paints constantly */
h1 em, h2 em, .serif-accent { animation: none; background-position: 30% 50%; }
/* lighter glows */
.hero-ribbon .rib-glow { filter: blur(18px); }
/* service card neon glow: full strength, like the first version (static, no breathing) */
.services-grid--ten .service-card::after { filter: blur(26px); opacity: 0.4; }
.services-grid--ten .service-card:hover::after { opacity: 0.85; transform: scale(1.08); }
/* browser skips painting sections until they come near the screen */
.work, .process, .testimonials, .contact-section, .site-footer, .service-other {
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}
.stats-bar { content-visibility: auto; contain-intrinsic-size: auto 160px; }
/* WhatsApp chat card never shows on phones; the button opens WhatsApp directly */
@media (max-width: 767px), (hover: none) {
	.wa-popup { display: none !important; }
	.wa-float-badge { display: none; }
}

/* ==========================================================================
   PLAY ONCE: every hero/home animation runs a single time on load, then rests
   ========================================================================== */
.hero-arc { animation: arc-in 1.6s var(--ease) both, arc-breathe 6s ease-in-out 1.6s infinite; }
@keyframes arc-in {
	from { opacity: 0; transform: translate3d(0, 40px, 0); }
	to { opacity: 0.95; transform: translate3d(0, 0, 0); }
}
.hero-beams { animation: beams-in 2s ease-out both, beams-move 8s linear 2s infinite; }
@keyframes beams-in { from { opacity: 0; } to { opacity: 1; } }

/* background keeps moving (GPU-only transforms); cards in front stay still */
.hero-ribbon { animation: ribbon-in 2.6s var(--ease) 0.6s both, ribbon-drift 12s ease-in-out 3.2s infinite; }
@keyframes ribbon-in {
	from { opacity: 0; transform: translate3d(-80px, 40px, 0) scale(1.06, 0.7) skewY(-3deg); }
	to { opacity: 1; transform: none; }
}
.hero-ribbon .rib-spark { animation: rib-spark-once 4.5s ease-in-out 1.4s infinite both; }
.hero-ribbon .rib-spark--2 { animation: rib-spark-once 6s ease-in-out 3s infinite both; }
@keyframes rib-spark-once {
	0% { stroke-dashoffset: 1960; opacity: 0; }
	10% { opacity: 1; }
	85% { opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}

.showcase-card, .showcase-chip { animation: showcase-in 1.1s var(--ease) both; }
.showcase-card--l2 { animation-delay: 1.0s; }
.showcase-card--l1 { animation-delay: 1.1s; }
.showcase-card--c  { animation-delay: 1.2s; }
.showcase-card--r1 { animation-delay: 1.3s; }
.showcase-card--r2 { animation-delay: 1.4s; }
.showcase-chip--1 { animation-delay: 1.7s; }
.showcase-chip--2 { animation-delay: 1.8s; }
.showcase-chip--3 { animation-delay: 1.9s; }
@keyframes showcase-in {
	from { opacity: 0; translate: 0 50px; scale: 0.94; }
	to { translate: 0 0; scale: 1; }
}
.showcase-tag i { animation: none; }

/* small loops elsewhere on the page: run once, then sit still */
.eyebrow-dot { animation: none; }
.nav-online i { animation: online-ping 1.8s ease-out 3; }
.loop-diagram-path { animation: none; }
.loop-diagram::before { animation: spin 2.4s var(--ease) 1 both; animation-play-state: paused; }
.loop-center::after { animation: core-ring 2.4s ease-out 2 both; animation-play-state: paused; }
/* start them only when the section scrolls into view */
.section-head.in-view + .loop-diagram::before,
.section-head.in-view + .loop-diagram .loop-center::after { animation-play-state: running; }
.service-hero::before { animation: arc-in 1.6s var(--ease) both; }
.wa-float::before { animation-iteration-count: 3; animation-fill-mode: forwards; }

/* ==========================================================================
   HERO MARKETING LAYER — e-commerce scaling scene (behind the portfolio cards)
   ========================================================================== */
.mkt-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mkt-growth {
	position: absolute;
	left: 50%; top: 0;
	width: 1700px; height: 100%;
	margin-left: -850px;
	opacity: 0.85;
}
.mkt-growth-line {
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
	filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.8));
	animation: growth-draw 7s cubic-bezier(.6, 0, .2, 1) 1.2s infinite;
}
.mkt-growth-area { opacity: 0; animation: growth-area 7s ease 1.2s infinite; }
.mkt-growth-dots circle { opacity: 0; animation: growth-dot 7s ease 1.2s infinite; filter: drop-shadow(0 0 6px #4ade80); }
.mkt-growth-dots circle:nth-child(2) { animation-delay: 1.6s; }
.mkt-growth-dots circle:nth-child(3) { animation-delay: 2s; }
.mkt-growth-dots circle:nth-child(4) { animation-delay: 2.4s; }
.mkt-growth-dots circle:nth-child(5) { animation-delay: 2.8s; }
@keyframes growth-draw {
	0% { stroke-dashoffset: 1000; opacity: 1; }
	55% { stroke-dashoffset: 0; opacity: 1; }
	88% { stroke-dashoffset: 0; opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes growth-area { 0%, 35% { opacity: 0; } 60%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes growth-dot { 0%, 40% { opacity: 0; } 50%, 88% { opacity: 1; } 100% { opacity: 0; } }

.mkt-card {
	position: absolute;
	width: 250px;
	padding: 14px 16px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(14, 21, 48, 0.96), rgba(8, 12, 28, 0.96));
	border: 1px solid rgba(148, 163, 255, 0.2);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 30px rgba(37, 99, 235, 0.18);
	color: #e2e8ff;
	font-size: 12px;
	text-align: left;
	animation: showcase-in 1.1s var(--ease) both;
}
.mkt-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 600; font-size: 12.5px; }
.mkt-muted { color: #7c88a8; font-weight: 500; font-size: 11px; }
.mkt-live { display: inline-flex; align-items: center; gap: 7px; }
.mkt-live i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: dot-blink 1.6s ease-in-out infinite; }

.mkt-ads { left: calc(50% - 730px); top: 0; animation-delay: 1.5s; }
.mkt-revenue { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; margin-bottom: 10px; border-radius: 12px; background: rgba(34, 197, 94, 0.07); border: 1px solid rgba(34, 197, 94, 0.18); }
.mkt-revenue strong { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color 0.4s; }
.mkt-revenue strong.is-bump { color: #4ade80; }
.mkt-revenue em { font-style: normal; color: #4ade80; font-size: 11px; font-weight: 600; }
.mkt-channels { display: flex; flex-direction: column; gap: 8px; }
.mkt-channels li { display: grid; grid-template-columns: 74px 1fr 34px; align-items: center; gap: 8px; }
.mkt-channels b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.mkt-ch { font-weight: 600; font-size: 11.5px; }
.mkt-ch--meta { color: #60a5fa; }
.mkt-ch--google { color: #fbbf24; }
.mkt-ch--tiktok { color: #f472b6; }
.mkt-bar, .mkt-step-bar { position: relative; height: 6px; border-radius: 99px; background: rgba(148, 163, 255, 0.12); overflow: hidden; }
.mkt-bar i, .mkt-step-bar i {
	position: absolute; left: 0; top: 0; bottom: 0;
	width: var(--w);
	border-radius: inherit;
	background: linear-gradient(90deg, #3b82f6, #22d3ee);
	transform-origin: left;
	animation: bar-grow 1.4s var(--ease) 2s both;
}
.mkt-bar i::after, .mkt-step-bar i::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
	transform: translateX(-100%);
	animation: bar-shine 3s ease-in-out 3.5s infinite;
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bar-shine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.mkt-foot { margin-top: 10px; }

.mkt-funnel { left: calc(50% + 480px); top: 400px; width: 240px; animation-delay: 2s; }
.mkt-step { display: grid; grid-template-columns: 70px 1fr 36px; align-items: center; gap: 8px; margin-top: 7px; }
.mkt-step > span:first-child { color: #a3adc8; }
.mkt-step b { text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.mkt-step-bar i { background: linear-gradient(90deg, #22c55e, #a3e635); }

.mkt-toast-stack { position: absolute; left: calc(50% + 470px); top: 30px; width: 250px; height: 70px; }
.mkt-toast {
	position: absolute; inset: 0 auto auto 0;
	width: 100%;
	display: flex; align-items: center; gap: 10px;
	padding: 11px 13px;
	border-radius: 14px;
	background: rgba(10, 15, 34, 0.96);
	border: 1px solid rgba(34, 197, 94, 0.35);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 26px rgba(34, 197, 94, 0.2);
	text-align: left;
	opacity: 0;
	transform: translate3d(0, 16px, 0) scale(0.96);
	transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.mkt-toast.is-in { opacity: 1; transform: none; }
.mkt-toast.is-out { opacity: 0; transform: translate3d(0, -16px, 0) scale(0.96); }
.mkt-toast-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.mkt-toast-text { display: flex; flex-direction: column; line-height: 1.3; }
.mkt-toast-text b { color: #fff; font-size: 13px; }
.mkt-toast-text span { color: #8b95b2; font-size: 11.5px; }

/* the marketing panels take the outer slots, so the two far cards step aside */
.showcase-card--l2, .showcase-card--r2 { display: none; }
.showcase-chip--2 { left: calc(50% + 160px); top: 6px; }
.mkt-ads { top: 70px; }
.mkt-funnel { top: 300px; }

/* keep the panels inside the screen on every desktop width */
.mkt-ads { left: max(14px, calc(50% - 730px)); }
.mkt-toast-stack { left: min(calc(50% + 470px), calc(100% - 264px)); }
.mkt-funnel { left: min(calc(50% + 480px), calc(100% - 254px)); }
@media (max-width: 1380px) {
	.mkt-ads { width: 220px; }
	.mkt-funnel, .mkt-toast-stack { width: 220px; }
	.mkt-toast-stack { left: calc(100% - 234px); }
	.mkt-funnel { left: calc(100% - 234px); }
	.mkt-ads { width: 200px; }
}
@media (min-width: 761px) and (max-width: 1380px) {
	.showcase-card--l1 { width: 210px; height: 210px; left: calc(50% - 400px); }
	.showcase-card--r1 { width: 210px; height: 210px; left: calc(50% + 190px); }
	.showcase-chip--1 { left: calc(50% - 300px); }
}
@media (max-width: 1100px) {
	.mkt-ads, .mkt-funnel { display: none; }
	.mkt-toast-stack { top: 0; }
}
@media (max-width: 760px) {
	.mkt-toast-stack { display: none; }
	.mkt-growth { opacity: 0.6; }
}

/* ---------- Round logo avatar: whole head fits inside the circle ---------- */
.logo-avatar {
	position: relative;
	display: inline-block;
	flex-shrink: 0;
	width: 40px; height: 40px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6), 0 0 18px rgba(59, 130, 246, 0.6);
	transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease);
}
.logo-avatar > img {
	position: absolute;
	left: 3%; top: 8%;
	width: 94%; height: auto;
	max-width: none;
	margin: 0; padding: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	object-fit: fill;
	transform: none;
}
.site-logo:hover .logo-avatar { transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 0 2px #67e8f9, 0 0 26px rgba(103, 232, 249, 0.8); }
.site-logo:hover .logo-avatar > img { transform: none; box-shadow: none; }
.logo-avatar--md { width: 44px; height: 44px; box-shadow: none; }
.logo-avatar--lg { width: 64px; height: 64px; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.6), 0 0 26px rgba(59, 130, 246, 0.55); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.hero-in, .hero-title .w, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
	.cursor-glow, .hero-stars { display: none; }
}
