/* ==========================================================================
   Advanced homepage hero
   ========================================================================== */
.ha-hero--advanced {
	position: relative;
	overflow: hidden;
	padding-block: clamp(56px, 8vw, 108px) clamp(64px, 9vw, 120px);
	background:
		radial-gradient(700px 380px at 88% 0%, rgba(244,183,64,.22), transparent 62%),
		radial-gradient(620px 460px at 4% 90%, rgba(41,196,164,.18), transparent 62%),
		linear-gradient(125deg, #052a24 0%, #0a4d40 52%, #0e7c66 100%);
	color: #fff;
}
.ha-hero__aurora {
	position: absolute; inset-block-start: -220px; inset-inline-start: 22%;
	width: 760px; height: 760px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,.10), transparent 68%);
	filter: blur(30px); pointer-events: none;
}
.ha-hero__grid-lines {
	position: absolute; inset: 0; pointer-events: none; opacity: .15;
	background-image:
		linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
	mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.ha-hero--advanced .ha-container { position: relative; z-index: 1; }
.ha-hero--advanced .ha-hero__grid { align-items: center; }

.ha-hero__pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 7px 15px; border-radius: 999px;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
	backdrop-filter: blur(8px); font-size: .8rem; font-weight: 800; color: #fff;
}
.ha-hero__pill .ha-dot { background: #f4b740; box-shadow: 0 0 0 4px rgba(244,183,64,.2); }
.ha-hero--advanced .ha-hero__title {
	color: #fff; font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.16;
	letter-spacing: -.02em; text-shadow: 0 8px 34px rgba(0,0,0,.22);
}
.ha-hero__gradient {
	background: linear-gradient(100deg, #ffd98a, #f4b740 55%, #ffe9b8);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ha-hero--advanced .ha-hero__lead { color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.4vw, 1.16rem); max-width: 40em; }
.ha-hero__rating { display: flex; align-items: center; gap: 9px; margin-block: 18px 10px; color: rgba(255,255,255,.75); font-size: .84rem; }
.ha-hero__rating .ha-stars { display: inline-flex; gap: 2px; color: #f4b740; }
.ha-hero__rating .ha-icon { fill: currentColor; stroke: none; }
.ha-hero--advanced .ha-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ha-btn--shine {
	background: linear-gradient(120deg, #f4b740, #ffd67e 55%, #f4b740);
	color: #3a2a05; box-shadow: 0 14px 34px rgba(244,183,64,.3);
}
.ha-btn--shine .ha-icon { color: #3a2a05; }
.ha-hero__wa {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff;
	transition: transform .2s var(--ha-ease), background .2s;
}
.ha-hero__wa:hover { transform: translateY(-2px); background: rgba(255,255,255,.22); color: #fff; }
.ha-hero--advanced .ha-btn--ghost { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.ha-hero--advanced .ha-btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }

.ha-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.ha-hero__stats li { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.ha-hero__stats strong { color: #ffd98a; font-size: 1.35rem; font-weight: 800; line-height: 1.2; direction: ltr; }
.ha-hero__stats span { color: rgba(255,255,255,.7); font-size: .76rem; }

.ha-hero--advanced .ha-hero__visual { position: relative; }
.ha-hero__visual-glow {
	position: absolute; inset-block-start: 12%; inset-inline-start: -10%;
	width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(244,183,64,.26), transparent 68%);
	filter: blur(26px); pointer-events: none;
}
.ha-browser--advanced {
	transform: perspective(1400px) rotateY(-7deg) rotateX(2deg) translateZ(0);
	box-shadow: 0 42px 90px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.16);
}
.ha-browser--advanced .ha-browser__url { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.12); }
.ha-hero__scroll {
	position: absolute; inset-block-end: 22px; inset-inline-start: 50%; transform: translateX(-50%);
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; z-index: 2;
	animation: ha-hero-bob 2s infinite ease-in-out;
}
@keyframes ha-hero-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

@media (max-width: 1024px) {
	.ha-browser--advanced { transform: none; }
	.ha-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ha-hero__scroll { display: none; }
}
@media (max-width: 640px) {
	.ha-hero--advanced .ha-hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
	.ha-hero--advanced .ha-btn--shine { width: 100%; }
	.ha-hero__stats strong { font-size: 1.15rem; }
}

/* ==========================================================================
   Hero v2 — premium split layout
   ========================================================================== */
.ha-hero2 {
	position: relative; overflow: hidden;
	padding: clamp(54px, 7vw, 100px) 0 0;
	color: #fff;
	background: linear-gradient(135deg, #041f1b 0%, #073a31 42%, #0e7c66 100%);
}
.ha-hero2__mesh {
	position: absolute; inset: 0; pointer-events: none; opacity: .13;
	background-image:
		linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
	background-size: 60px 60px;
	-webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000, transparent 75%);
	mask-image: radial-gradient(ellipse at 60% 30%, #000, transparent 75%);
}
.ha-hero2__orb { position: absolute; border-radius: 50%; filter: blur(48px); pointer-events: none; }
.ha-hero2__orb--one { width: 520px; height: 520px; inset-block-start: -160px; inset-inline-end: 4%; background: rgba(244,183,64,.22); }
.ha-hero2__orb--two { width: 460px; height: 460px; inset-block-end: -180px; inset-inline-start: -80px; background: rgba(41,196,164,.26); }
.ha-hero2__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 70px); align-items: center; padding-bottom: clamp(50px, 7vw, 90px); }

.ha-hero2__eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 7px 15px; border-radius: 999px;
	background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
	font-size: .78rem; font-weight: 800; backdrop-filter: blur(8px);
}
.ha-hero2__pulse { width: 8px; height: 8px; border-radius: 50%; background: #f4b740; box-shadow: 0 0 0 5px rgba(244,183,64,.18); }
.ha-hero2__title { margin: 18px 0 14px; font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1.12; letter-spacing: -.025em; color: #fff; text-shadow: 0 10px 36px rgba(0,0,0,.22); }
.ha-hero2__gradient { font-style: normal; background: linear-gradient(100deg, #ffe4a3, #f4b740 55%, #fff0c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ha-hero2__lead { max-width: 38em; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.ha-hero2__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.ha-hero2__primary {
	display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 14px;
	background: linear-gradient(120deg, #f4b740, #ffd67e); color: #3a2a05; font-weight: 800;
	text-decoration: none; box-shadow: 0 16px 34px rgba(244,183,64,.3);
	transition: transform .2s var(--ha-ease), box-shadow .2s;
}
.ha-hero2__primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(244,183,64,.42); color: #3a2a05; }
.ha-hero2__secondary {
	display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 14px;
	border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.07); color: #fff; font-weight: 700; text-decoration: none;
}
.ha-hero2__secondary:hover { background: rgba(255,255,255,.16); color: #fff; }
.ha-hero2__circle { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.ha-hero2__proof { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; color: rgba(255,255,255,.72); font-size: .82rem; }
.ha-hero2__avatars { display: inline-flex; }
.ha-hero2__avatars i { display: grid; place-items: center; width: 30px; height: 30px; margin-inline-start: -8px; border-radius: 50%; background: #f4b740; color: #3a2a05; font-size: .72rem; font-style: normal; font-weight: 800; border: 2px solid #073a31; }
.ha-hero2__avatars i:first-child { margin-inline-start: 0; }
.ha-hero2__stars { color: #f4b740; letter-spacing: 2px; }

.ha-hero2__stage { position: relative; min-height: 420px; }
.ha-hero2__halo { position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 66%); filter: blur(28px); }
.ha-hero2__window {
	position: relative; margin-inline: auto; max-width: 540px;
	border: 1px solid rgba(255,255,255,.2); border-radius: 20px; overflow: hidden;
	background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
	backdrop-filter: blur(14px);
	box-shadow: 0 46px 90px rgba(0,0,0,.42);
	transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) translateZ(0);
}
.ha-hero2__window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ha-hero2__window-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.ha-hero2__window-bar em { margin-inline-start: auto; padding: 3px 12px; border-radius: 999px; background: rgba(0,0,0,.2); font-size: .68rem; font-style: normal; direction: ltr; color: rgba(255,255,255,.75); }
.ha-hero2__window-body { padding: 22px; }
.ha-hero2__window-top { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.ha-hero2__logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f4b740; color: #3a2a05; font-size: .78rem; font-weight: 800; }
.ha-hero2__line { width: 62px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.24); }
.ha-hero2__line--short { width: 38px; }
.ha-hero2__pill { margin-inline-start: auto; width: 68px; height: 22px; border-radius: 999px; background: #f4b740; opacity: .9; }
.ha-hero2__window-main { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-bottom: 18px; }
.ha-hero2__window-copy b { display: block; width: 92%; height: 12px; margin-bottom: 9px; border-radius: 6px; background: rgba(255,255,255,.3); }
.ha-hero2__window-copy b.short { width: 74%; }
.ha-hero2__window-copy b.shorter { width: 52%; }
.ha-hero2__window-buttons { display: flex; gap: 8px; margin-top: 14px; }
.ha-hero2__window-buttons i { width: 68px; height: 24px; border-radius: 999px; background: #f4b740; }
.ha-hero2__window-buttons i.ghost { background: transparent; border: 1px solid rgba(255,255,255,.3); }
.ha-hero2__ring { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(#f4b740 0 96%, rgba(255,255,255,.14) 96% 100%); }
.ha-hero2__ring::before { content: ''; position: absolute; width: 70px; height: 70px; border-radius: 50%; background: #0a4d40; }
.ha-hero2__ring span { position: relative; color: #fff; font-weight: 800; font-size: 1.3rem; }
.ha-hero2__window-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ha-hero2__window-grid div { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.ha-hero2__window-grid span { display: block; height: 7px; width: 60%; border-radius: 999px; background: rgba(255,255,255,.3); margin-bottom: 8px; }
.ha-hero2__window-grid b { display: block; height: 14px; width: 80%; border-radius: 6px; background: #f4b740; opacity: .8; }
.ha-hero2__code { margin-top: 16px; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.26); font-family: ui-monospace, monospace; font-size: .72rem; direction: ltr; text-align: left; }
.ha-hero2__code span { color: #f4b740; }
.ha-hero2__code i { color: rgba(255,255,255,.4); font-style: normal; }
.ha-hero2__float {
	position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
	padding: 9px 14px; border-radius: 12px; font-size: .76rem; font-weight: 800; direction: rtl;
	background: rgba(6,30,25,.86); border: 1px solid rgba(255,255,255,.18); color: #fff;
	box-shadow: 0 16px 34px rgba(0,0,0,.3); backdrop-filter: blur(10px);
}
.ha-hero2__float .ha-icon { color: #f4b740; }
.ha-hero2__float--top { inset-block-start: 4%; inset-inline-end: -2%; }
.ha-hero2__float--mid { inset-block-start: 46%; inset-inline-start: -4%; }
.ha-hero2__float--bottom { inset-block-end: 4%; inset-inline-end: 4%; }

.ha-hero2__ticker { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.16); padding: 13px 0; }
.ha-hero2__ticker-track { display: flex; gap: 44px; width: max-content; animation: ha-hero2-scroll 26s linear infinite; }
.ha-hero2__ticker-track span { color: rgba(255,255,255,.66); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ha-hero2__ticker-track span::before { content: '◆'; color: #f4b740; margin-inline-end: 14px; font-size: .6rem; }
@keyframes ha-hero2-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 1024px) {
	.ha-hero2__inner { grid-template-columns: 1fr; }
	.ha-hero2__window { transform: none; }
	.ha-hero2__float { display: none; }
}
@media (max-width: 640px) {
	.ha-hero2__title { font-size: clamp(2rem, 9vw, 2.7rem); }
	.ha-hero2__primary { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Hyvä Orbit — premium animated globe hero
   ========================================================================== */
.ha-globe {
	position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto;
	display: grid; place-items: center; perspective: 900px;
}
.ha-globe__glow {
	position: absolute; inset: 8%; background: rgba(46,224,184,.18);
	filter: blur(60px); pointer-events: none; clip-path: circle(48% at 50% 50%);
}
.ha-globe__radar {
	position: absolute; inset: 4%; pointer-events: none; opacity: .55;
	background: conic-gradient(from 0deg, transparent 0 68%, rgba(244,183,64,.36) 76%, transparent 84%);
	clip-path: circle(48% at 50% 50%);
	animation: ha-orbit-spin 9s linear infinite;
}
.ha-globe__grid {
	position: absolute; inset: 0; pointer-events: none; opacity: .25;
	background-image: radial-gradient(rgba(255,255,255,.3) 1px, transparent 1px);
	background-size: 26px 26px;
	clip-path: circle(48% at 50% 50%);
}
.ha-globe__sphere {
	position: relative; width: 82%; height: 82%; overflow: visible;
	filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
}
.ha-globe__meridians { transform-origin: 300px 300px; transform-box: view-box; animation: ha-orbit-spin 26s linear infinite; }
.ha-globe__land { transform-origin: 300px 300px; transform-box: view-box; animation: ha-orbit-spin 38s linear infinite reverse; }
.ha-globe__dots { animation: ha-globe-flicker 3s ease-in-out infinite alternate; }
.ha-globe__magento { transform-origin: 300px 300px; transform-box: view-box; animation: ha-globe-float 6s ease-in-out infinite; }
.ha-globe__magento path { transition: opacity .4s; }
.ha-globe__hyva { transform-origin: 300px 300px; transform-box: view-box; animation: ha-globe-float 4s ease-in-out infinite; }
.ha-globe__wordmark { fill: #fff; font-family: var(--ha-font-heading); font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.ha-globe__hyva-dot { animation: ha-globe-flicker 2s ease-in-out infinite alternate; }
.ha-globe__label { fill: #f4b740; font-family: var(--ha-font-heading); font-size: 11px; font-weight: 800; letter-spacing: 3px; }
@keyframes ha-orbit-spin { to { transform: rotate(360deg); } }
@keyframes ha-globe-flicker { from { opacity: .4; } to { opacity: 1; } }
@keyframes ha-globe-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ha-mark-glow { from { stroke: #ffffff; } to { stroke: #f4b740; } }

.ha-globe__ring {
	position: absolute; inset: 6%; pointer-events: none;
	border: 1px dashed rgba(255,255,255,.28);
	transform: rotateX(70deg) rotateZ(0deg);
}
.ha-globe__ring--outer { inset: 2%; border-color: rgba(244,183,64,.5); animation: ha-ring-one 16s linear infinite; }
.ha-globe__ring--inner { inset: 15%; border-style: solid; border-color: rgba(46,224,184,.45); transform: rotateY(66deg) rotateZ(0deg); animation: ha-ring-two 21s linear infinite reverse; }
@keyframes ha-ring-one { to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes ha-ring-two { to { transform: rotateY(66deg) rotateZ(360deg); } }

.ha-globe__satellite {
	position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
	width: 8px; height: 8px; background: #f4b740; pointer-events: none;
}
.ha-globe__satellite--1 { animation: ha-sat-1 11s linear infinite; }
.ha-globe__satellite--2 { width: 6px; height: 6px; background: #2ee0b8; animation: ha-sat-2 14s linear infinite; }
.ha-globe__satellite--3 { width: 5px; height: 5px; animation: ha-sat-3 18s linear infinite; }
@keyframes ha-sat-1 { from { transform: rotate(0deg) translateX(238px) rotate(0deg); } to { transform: rotate(360deg) translateX(238px) rotate(-360deg); } }
@keyframes ha-sat-2 { from { transform: rotate(140deg) translateX(200px) rotate(-140deg); } to { transform: rotate(500deg) translateX(200px) rotate(-500deg); } }
@keyframes ha-sat-3 { from { transform: rotate(260deg) translateX(270px) rotate(-260deg); } to { transform: rotate(620deg) translateX(270px) rotate(-620deg); } }

.ha-globe__chip {
	position: absolute; inset-block-start: 0; inset-inline-start: 0;
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 12px; min-width: 132px;
	background: rgba(4,26,22,.94); border-inline-start: 3px solid #f4b740;
	color: #fff; font-size: .73rem; font-weight: 800; white-space: nowrap;
	backdrop-filter: blur(8px); will-change: transform; z-index: 5;
}
.ha-globe__chip i { width: 7px; height: 7px; background: #2ee0b8; flex: 0 0 auto; }
.ha-globe__chip:nth-child(even) { border-inline-start-color: #2ee0b8; }
.ha-globe__chip:nth-child(even) i { background: #f4b740; }
.ha-globe__chip span { direction: ltr; display: inline-block; }
.ha-globe__chip.is-bouncing { background: #f4b740; color: #052a24; border-inline-start-color: #fff; }
.ha-globe__chip.is-bouncing i { background: #052a24; }

@media (max-width: 1024px) {
	.ha-globe__chip { min-width: 112px; font-size: .66rem; }
}
@media (max-width: 640px) {
	.ha-globe { max-width: 340px; }
	.ha-globe__chip { padding: 6px 8px; min-width: 92px; font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ha-globe__radar, .ha-globe__meridians, .ha-globe__land,
	.ha-globe__magento, .ha-globe__hyva, .ha-globe__ring, .ha-globe__satellite { animation: none !important; }
}

/* Homepage hero — themed like the product hero */
.ha-hero__gradient {
	background: linear-gradient(100deg, #ffd98a, #f4b740 55%, #fff0c9);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ha-showcase__frame {
	position: relative; padding: 10px;
	background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
	border: 1px solid rgba(255,255,255,.16);
	backdrop-filter: blur(10px);
}
.ha-hero--themed .ha-product-hero__title { max-width: 16em; }
.ha-hero--themed .ha-product-hero__content { position: relative; z-index: 2; }
.ha-hero--themed .ha-product-hero__visual { position: relative; z-index: 1; }

/* ==========================================================================
   Homepage hero — contact shortcuts (WhatsApp + contact)
   ========================================================================== */
.ha-hero2__contact { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 14px 16px; }
.ha-hero2__contact-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 9px 16px 9px 12px;
	background: rgba(255,255,255,.06);
	color: #fff; text-decoration: none;
	transition: background .22s var(--ha-ease), transform .22s var(--ha-ease);
}
.ha-hero2__contact-btn:hover { background: rgba(255,255,255,.13); color: #fff; transform: translateY(-2px); }
.ha-hero2__contact-btn:focus-visible { outline: 2px solid #ffd98a; outline-offset: 3px; }
.ha-hero2__contact-icon {
	display: inline-grid; place-items: center;
	width: 34px; height: 34px; flex: none;
	background: rgba(255,255,255,.1); color: #ffd98a;
}
.ha-hero2__contact-copy { display: flex; flex-direction: column; line-height: 1.35; text-align: start; }
.ha-hero2__contact-copy strong { font-size: .88rem; font-weight: 800; }
.ha-hero2__contact-copy em { font-style: normal; font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.55); }
.ha-hero2__contact-btn--wa { background: rgba(37,211,102,.14); }
.ha-hero2__contact-btn--wa .ha-hero2__contact-icon { background: #25d366; color: #04231a; }
.ha-hero2__contact-btn--wa:hover { background: rgba(37,211,102,.24); }
.ha-hero2__contact-btn--wa .ha-hero2__contact-copy em { color: rgba(151,255,190,.72); }

/* ==========================================================================
   Homepage hero — animated code editor visual
   ========================================================================== */
.ha-hero-code { position: relative; padding-block: 30px 38px; }
.ha-hero--themed .ha-product-hero__visual { align-self: center; }
.ha-hero-code::before {
	content: ''; position: absolute; inset: 12% 6% 8%;
	background:
		radial-gradient(60% 60% at 78% 18%, rgba(244,183,64,.28), transparent 70%),
		radial-gradient(55% 55% at 18% 88%, rgba(45,212,170,.26), transparent 72%);
	filter: blur(38px); pointer-events: none;
}
.ha-hero-code__window {
	position: relative; z-index: 1; overflow: hidden;
	background: #04211b;
	border: 1px solid rgba(255,255,255,.14);
	box-shadow: 0 38px 80px rgba(0,0,0,.45);
}
.ha-hero-code__bar {
	display: flex; align-items: center; gap: 12px;
	padding: 10px 14px;
	background: rgba(255,255,255,.04);
	border-block-end: 1px solid rgba(255,255,255,.08);
}
.ha-hero-code__dots { display: inline-flex; gap: 6px; }
.ha-hero-code__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ha-hero-code__dots i:nth-child(1) { background: #ff7a6b; }
.ha-hero-code__dots i:nth-child(2) { background: #f4b740; }
.ha-hero-code__dots i:nth-child(3) { background: #4ade80; }
.ha-hero-code__file {
	display: inline-flex; align-items: center; gap: 6px;
	font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color: rgba(255,255,255,.55); direction: ltr;
}
.ha-hero-code__file .ha-icon { color: #5de0bd; }
.ha-hero-code__lang {
	margin-inline-start: auto;
	padding: 4px 8px;
	font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: .12em; text-transform: uppercase;
	color: #ffd98a; background: rgba(244,183,64,.12);
}
.ha-hero-code__pre {
	margin: 0; padding: 18px 16px 20px;
	overflow-x: auto;
	direction: ltr; text-align: left;
	font: 500 13px/1.85 ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
	color: rgba(255,255,255,.82);
	scrollbar-width: thin;
}
.ha-hero-code__pre code { font: inherit; color: inherit; background: none; padding: 0; }
.ha-hero-code__line { display: flex; align-items: baseline; gap: 14px; white-space: pre; }
.ha-hero-code__num {
	flex: none; min-width: 1.5em;
	font-size: .68rem; font-style: normal; font-weight: 600;
	color: rgba(255,255,255,.22); text-align: right;
	user-select: none;
}
.ha-hero-code__txt {
	display: inline-block; white-space: pre;
	animation: ha-code-type .42s steps(22, end) both;
	animation-delay: calc(.45s + var(--i) * .27s);
}
.ha-hero-code__caret {
	display: inline-block; width: 7px; height: 1.05em;
	margin-inline-start: 4px; vertical-align: -2px;
	background: #5de0bd;
	animation: ha-code-caret .9s steps(1, end) infinite;
}
.ha-tk-c { color: rgba(255,255,255,.34); font-style: italic; }
.ha-tk-k { color: #ff9d76; }
.ha-tk-v { color: #7dd3fc; }
.ha-tk-s { color: #ffd98a; }
.ha-tk-f { color: #5de0bd; }
.ha-tk-p { color: rgba(255,255,255,.52); }
.ha-hero-code__status {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
	padding: 9px 14px;
	border-block-start: 1px solid rgba(255,255,255,.08);
	background: rgba(0,0,0,.18);
	font: 700 10px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: .04em; color: rgba(255,255,255,.48);
}
.ha-hero-code__ok { display: inline-flex; align-items: center; gap: 7px; color: #7ef0c8; }
.ha-hero-code__ok i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
.ha-hero-code__meta { display: inline-flex; gap: 14px; }
.ha-hero-code__meta b { font-weight: 700; color: rgba(255,255,255,.56); }
.ha-hero-code__chip {
	position: absolute; z-index: 2;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 7px 12px;
	background: rgba(5, 38, 32, .92);
	border: 1px solid rgba(255,255,255,.16);
	color: #fff; font-size: .74rem; font-weight: 800;
	backdrop-filter: blur(8px);
}
.ha-hero-code__chip .ha-icon { color: #f4b740; }
.ha-hero-code__chip--top { inset-block-start: -12px; inset-inline-end: -10px; }
.ha-hero-code__chip--bottom { inset-block-end: -14px; inset-inline-start: 16px; }

@keyframes ha-code-type {
	from { clip-path: inset(0 100% 0 0); }
	to { clip-path: inset(0 0 0 0); }
}
@keyframes ha-code-caret {
	0%, 49% { opacity: 1; }
	50%, 100% { opacity: 0; }
}

@media (max-width: 1024px) {
	.ha-hero-code { max-width: 560px; margin-inline: auto; padding-block: 16px 10px; }
	.ha-hero-code__chip--top { inset-inline-end: 0; }
	.ha-hero-code__chip--bottom { inset-inline-start: 0; }
}
@media (max-width: 640px) {
	.ha-hero2__contact-btn { flex: 1 1 150px; padding: 8px 12px; }
	.ha-hero2__contact-icon { width: 30px; height: 30px; }
	.ha-hero-code__pre { padding: 14px 12px; font-size: 11.5px; }
	.ha-hero-code__line { gap: 10px; }
	.ha-hero-code__num { display: none; }
	.ha-hero-code__chip { font-size: .66rem; padding: 6px 10px; }
	.ha-hero-code__status { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
	.ha-hero-code__txt { animation: none !important; clip-path: none !important; }
	.ha-hero-code__caret { animation: none !important; opacity: .8; }
}
