/* =========================================================
   HostRiser home page: hero stage, marquee, bento, support chat,
   migration timeline. Motion is CSS; motion.js only toggles classes.
   Everything animated is disabled under prefers-reduced-motion.
   ========================================================= */

/* ---------- Shared ---------- */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 14px; font-weight: 800; font-size: 16px;
	text-decoration: none; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.hx-btn i { transition: transform .2s; }
.hx-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.hx-btn-light { background: #fff; color: var(--hr-ink); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
.hx-btn-light:hover { color: var(--hr-ink); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(6, 177, 110, .35); }
.hx-btn-glass { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(8px); }
.hx-btn-glass:hover { background: rgba(255, 255, 255, .14); color: #fff; transform: translateY(-2px); }
.hx-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--hr-primary); margin-bottom: 14px; }
.hx-eyebrow-dark { color: var(--hr-accent); }
.hx-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.hx-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--hr-ink); letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 14px; text-wrap: balance; }
.hx-head p { font-size: 17px; line-height: 1.7; margin: 0; }
.hx-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: hx-pulse 2s infinite; flex: none; }
@keyframes hx-pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* Above-the-fold entrance: transform only, never hidden, so it can't delay the first paint (LCP) */
.hx-in { animation: hx-in-up .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes hx-in-up { from { transform: translateY(18px); } to { transform: none; } }

/* Scroll reveal (motion.js adds .is-in) */
.hx-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.hx-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hx-hero { position: relative; overflow: hidden; color: #fff; padding: 170px 0 0; background: #06130E; isolation: isolate; }
.hx-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hx-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hx-blob-1 { width: 620px; height: 620px; left: -180px; top: -220px; background: radial-gradient(circle, #06B16E, transparent 65%); animation: hx-drift-1 18s ease-in-out infinite alternate; }
.hx-blob-2 { width: 560px; height: 560px; right: -160px; top: 80px; background: radial-gradient(circle, #0E7C5A, transparent 65%); animation: hx-drift-2 22s ease-in-out infinite alternate; }
.hx-blob-3 { width: 480px; height: 480px; left: 35%; bottom: -260px; background: radial-gradient(circle, rgba(124, 245, 196, .7), transparent 65%); opacity: .3; animation: hx-drift-3 26s ease-in-out infinite alternate; }
@keyframes hx-drift-1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes hx-drift-2 { to { transform: translate(-120px, 60px) scale(.9); } }
@keyframes hx-drift-3 { to { transform: translate(-160px, -70px) scale(1.2); } }
.hx-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 35%, #000 20%, transparent 72%); animation: hx-grid-pan 30s linear infinite; }
@keyframes hx-grid-pan { to { background-position: 64px 64px; } }

.hx-hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 700; color: var(--hr-accent);
	background: rgba(124, 245, 196, .08); border: 1px solid rgba(124, 245, 196, .22); margin-bottom: 26px; }
.hx-hero-title { color: #fff; font-size: clamp(42px, 6vw, 76px); font-weight: 800; line-height: 1.04; letter-spacing: -2.4px; margin-bottom: 24px; }
.hx-rotator { display: block; height: 1.1em; overflow: hidden; }
.hx-rotator-track { display: flex; flex-direction: column; animation: hx-rotate 10s cubic-bezier(.7, 0, .2, 1) infinite; }
.hx-rotator-track span { display: block; height: 1.1em; line-height: 1.1em; background: linear-gradient(90deg, #7CF5C4, #06B16E 55%, #3DDC97); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes hx-rotate {
	0%, 20% { transform: translateY(0); }
	25%, 45% { transform: translateY(-1.1em); }
	50%, 70% { transform: translateY(-2.2em); }
	75%, 95% { transform: translateY(-3.3em); }
	100% { transform: translateY(-4.4em); }
}
.hx-hero-text { font-size: 19px; line-height: 1.65; color: rgba(255, 255, 255, .72); max-width: 540px; margin-bottom: 34px; }
.hx-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hx-hero-from { margin: 22px 0 0; color: rgba(255, 255, 255, .6); font-size: 15px; }
.hx-hero-from strong { color: #fff; }
.hx-hero-from i { color: var(--hr-accent); margin: 0 4px 0 6px; }

/* Stage */
.hx-stage-wrap { position: relative; }
.hx-stage-wrap::before { content: ""; position: absolute; inset: -2px; border-radius: 30px; padding: 1px; z-index: 0;
	background: conic-gradient(from var(--hx-angle, 0deg), rgba(124, 245, 196, .0), rgba(124, 245, 196, .7), rgba(6, 177, 110, .0) 40%, rgba(124, 245, 196, .0) 60%, rgba(124, 245, 196, .5), rgba(124, 245, 196, .0));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hx-spin-angle 8s linear infinite; }
@property --hx-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hx-spin-angle { to { --hx-angle: 360deg; } }
.hx-stage { position: relative; z-index: 1; height: 430px; border-radius: 28px; overflow: hidden;
	background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 40px 90px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(14px); }
.hx-scene { position: absolute; inset: 0; padding: 30px; opacity: 0; visibility: hidden; transform: scale(.97); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1), visibility 0s .5s; }
.hx-scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .1s, transform .6s .1s cubic-bezier(.2, .7, .2, 1), visibility 0s; }

.hx-card { background: rgba(9, 26, 19, .82); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.hx-card-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 12px; }
.hx-toast { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #fff; color: var(--hr-ink);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35); opacity: 0; transform: translateY(14px) scale(.96); }
.hx-toast > i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--hr-primary-soft); color: var(--hr-primary); flex: none; }
.hx-toast strong { display: block; font-size: 14px; line-height: 1.2; }
.hx-toast small { display: block; font-size: 12px; color: var(--hr-muted); }
.is-active .hx-toast { animation: hx-toast-in .6s cubic-bezier(.2, .9, .3, 1.3) forwards, hx-float 4s ease-in-out infinite; animation-delay: var(--td, 1.6s), calc(var(--td, 1.6s) + .6s); }
@keyframes hx-toast-in { to { opacity: 1; transform: none; } }
@keyframes hx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Build scene */
.hx-browser { height: 100%; border-radius: 18px; overflow: hidden; background: #F7FAF9; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.hx-browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #E9EFEC; }
.hx-browser-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5D1; }
.hx-browser-bar > i:first-child { background: #F87171; } .hx-browser-bar > i:nth-child(2) { background: #FBBF24; } .hx-browser-bar > i:nth-child(3) { background: #34D399; }
.hx-url { margin-left: 12px; flex: 1; background: #fff; border-radius: 8px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; color: var(--hr-ink); }
.hx-url span { color: var(--hr-primary); margin-right: 4px; font-size: 11px; }
.hx-browser-body { position: relative; height: calc(100% - 42px); padding: 18px; }
.hx-install { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 78%; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(11, 29, 22, .12); z-index: 2; }
.hx-wp { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #21759B; color: #fff; font-size: 26px; flex: none; }
.hx-install-text { flex: 1; }
.hx-install-text strong { display: block; color: var(--hr-ink); font-size: 14.5px; margin-bottom: 8px; }
.hx-install-bar { display: block; height: 8px; border-radius: 8px; background: #E7ECEA; overflow: hidden; }
.hx-install-bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #06B16E, #7CF5C4); }
.hx-install-ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--hr-primary); color: #fff; font-size: 13px; transform: scale(0); }
.is-active .hx-install-bar b { animation: hx-fill 1.6s .3s cubic-bezier(.6, 0, .3, 1) forwards; }
.is-active .hx-install-ok { animation: hx-pop .4s 1.9s cubic-bezier(.2, .9, .3, 1.5) forwards; }
.is-active .hx-install { animation: hx-out .5s 2.6s forwards; }
@keyframes hx-fill { to { width: 100%; } }
@keyframes hx-pop { to { transform: scale(1); } }
@keyframes hx-out { to { opacity: 0; transform: translateY(-10px) scale(.95); } }
.hx-site > * { opacity: 0; transform: translateY(12px); }
.is-active .hx-site > * { animation: hx-rise .6s cubic-bezier(.2, .7, .2, 1) forwards; }
.is-active .hx-site-nav { animation-delay: 2.8s; } .is-active .hx-site-hero { animation-delay: 3s; } .is-active .hx-site-cards { animation-delay: 3.2s; }
@keyframes hx-rise { to { opacity: 1; transform: none; } }
.hx-site-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hx-site-nav b { width: 70px; height: 12px; border-radius: 6px; background: var(--hr-ink); margin-right: auto; }
.hx-site-nav i { width: 34px; height: 8px; border-radius: 4px; background: #CBD5D1; }
.hx-site-hero { border-radius: 14px; padding: 22px; background: linear-gradient(120deg, #0B1D16, #0F3325); margin-bottom: 14px; }
.hx-site-hero b { display: block; width: 62%; height: 14px; border-radius: 7px; background: #fff; margin-bottom: 10px; }
.hx-site-hero i { display: block; width: 44%; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .4); margin-bottom: 16px; }
.hx-site-hero em { display: block; width: 90px; height: 26px; border-radius: 8px; background: var(--hr-primary); }
.hx-site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hx-site-cards span { height: 64px; border-radius: 12px; background: #fff; border: 1px solid #E7ECEA; position: relative; overflow: hidden; }
.hx-site-cards span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(6, 177, 110, .12) 50%, transparent 70%); transform: translateX(-100%); animation: hx-shimmer 2.2s 3.6s infinite; }
@keyframes hx-shimmer { to { transform: translateX(100%); } }
.hx-toast-a { right: 18px; bottom: 22px; --td: 3.6s; }

/* Launch scene */
.hx-scene-launch { display: grid; place-items: center; }
.hx-domain { width: min(400px, 100%); }
.hx-domain-field { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(124, 245, 196, .35); font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.hx-domain-field > i { color: var(--hr-accent); }
.hx-type { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; }
.is-active .hx-type { animation: hx-typing 1.2s .4s steps(13) forwards; }
@keyframes hx-typing { to { width: var(--hx-type-w, 13ch); } }
.hx-caret { width: 2px; height: 22px; background: var(--hr-accent); animation: hx-blink 1s steps(1) infinite; }
@keyframes hx-blink { 50% { opacity: 0; } }
.hx-checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.hx-checks li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .82); opacity: .25; }
.hx-tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); position: relative; flex: none; }
.hx-tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); }
.is-active .hx-checks li { animation: hx-lit .4s forwards; }
.is-active .hx-checks li .hx-tick { animation: hx-tick-bg .4s forwards; }
.is-active .hx-checks li .hx-tick::after { animation: hx-tick-mark .3s forwards; }
.is-active .hx-checks li:nth-child(1), .is-active .hx-checks li:nth-child(1) .hx-tick, .is-active .hx-checks li:nth-child(1) .hx-tick::after { animation-delay: 1.8s; }
.is-active .hx-checks li:nth-child(2), .is-active .hx-checks li:nth-child(2) .hx-tick, .is-active .hx-checks li:nth-child(2) .hx-tick::after { animation-delay: 2.4s; }
.is-active .hx-checks li:nth-child(3), .is-active .hx-checks li:nth-child(3) .hx-tick, .is-active .hx-checks li:nth-child(3) .hx-tick::after { animation-delay: 3s; }
@keyframes hx-lit { to { opacity: 1; } }
@keyframes hx-tick-bg { to { background: var(--hr-primary); border-color: var(--hr-primary); } }
@keyframes hx-tick-mark { to { transform: rotate(45deg) scale(1); } }
.hx-live { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 100px; background: rgba(52, 211, 153, .14); color: #A7F3D0; font-weight: 800; font-size: 14px; opacity: 0; transform: scale(.9); }
.is-active .hx-live { animation: hx-pop-in .5s 3.6s cubic-bezier(.2, .9, .3, 1.4) forwards; }
@keyframes hx-pop-in { to { opacity: 1; transform: none; } }
.hx-toast-b { right: 22px; top: 26px; --td: 4.1s; }

/* Secure scene */
.hx-shield { position: absolute; left: 30%; top: 38%; translate: -50% -50%; width: 170px; height: 170px; display: grid; place-items: center; }
.hx-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(124, 245, 196, .9), transparent 35%); -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); mask: radial-gradient(circle, transparent 62%, #000 63%); animation: hx-rot 3s linear infinite; }
.hx-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(124, 245, 196, .2); }
@keyframes hx-rot { to { transform: rotate(360deg); } }
.hx-shield-core { width: 104px; height: 104px; border-radius: 30px; display: grid; place-items: center; font-size: 42px; color: #fff; background: linear-gradient(135deg, #06B16E, #0B5D3D);
	box-shadow: 0 0 0 10px rgba(6, 177, 110, .12), 0 20px 50px rgba(6, 177, 110, .45); transform: scale(.6); opacity: 0; }
.is-active .hx-shield-core { animation: hx-shield-in .7s .2s cubic-bezier(.2, .9, .3, 1.3) forwards; }
@keyframes hx-shield-in { to { transform: none; opacity: 1; } }
.hx-backups { position: absolute; left: 30px; right: 30px; bottom: 30px; padding: 16px 20px; }
.hx-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.hx-days span { height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.is-active .hx-days span { animation: hx-day .35s forwards; }
.is-active .hx-days span:nth-child(1) { animation-delay: .8s; } .is-active .hx-days span:nth-child(2) { animation-delay: .95s; } .is-active .hx-days span:nth-child(3) { animation-delay: 1.1s; }
.is-active .hx-days span:nth-child(4) { animation-delay: 1.25s; } .is-active .hx-days span:nth-child(5) { animation-delay: 1.4s; } .is-active .hx-days span:nth-child(6) { animation-delay: 1.55s; } .is-active .hx-days span:nth-child(7) { animation-delay: 1.7s; }
@keyframes hx-day { to { background: var(--hr-primary); color: #fff; } }
.hx-toast-c { right: 22px; top: 40px; --td: 1.2s; }
.hx-toast-d { right: 22px; top: 126px; --td: 2.2s; }

/* Grow scene */
.hx-chart { position: absolute; left: 30px; right: 30px; top: 30px; }
.hx-chart-head { display: flex; justify-content: space-between; align-items: flex-start; }
.hx-up { font-size: 13px; font-weight: 800; color: #A7F3D0; background: rgba(52, 211, 153, .14); padding: 5px 10px; border-radius: 100px; }
.hx-chart-svg { width: 100%; height: 150px; display: block; }
.hx-chart-line { stroke-dasharray: 520; stroke-dashoffset: 520; }
.hx-chart-area { opacity: 0; }
.is-active .hx-chart-line { animation: hx-draw 2s .3s cubic-bezier(.6, 0, .3, 1) forwards; }
.is-active .hx-chart-area { animation: hx-lit 1s 1.4s forwards; }
@keyframes hx-draw { to { stroke-dashoffset: 0; } }
.hx-gauge { position: absolute; left: 30px; bottom: 30px; width: 200px; text-align: center; padding: 16px 16px 14px; }
.hx-gauge-svg { width: 130px; display: block; margin: 0 auto 4px; }
.hx-gauge-arc { stroke-dasharray: 158; stroke-dashoffset: 158; }
.is-active .hx-gauge-arc { animation: hx-gauge 1.6s .6s cubic-bezier(.3, 0, .2, 1) forwards; }
@keyframes hx-gauge { to { stroke-dashoffset: 8; } }
.hx-gauge strong { display: block; font-size: 20px; }
.hx-gauge small { color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.hx-toast-e { right: 26px; bottom: 44px; --td: 2s; }

/* Tabs */
.hx-tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.hx-tab { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 9px; height: 52px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .7); font-weight: 800; font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.hx-tab:hover { color: #fff; background: rgba(255, 255, 255, .09); }
.hx-tab.is-active { color: #fff; background: rgba(6, 177, 110, .2); border-color: rgba(124, 245, 196, .35); }
.hx-tab i { color: var(--hr-accent); }
.hx-tab-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, #06B16E, #7CF5C4); }
.hx-tab.is-active .hx-tab-bar { animation: hx-fill var(--hx-cycle, 7s) linear forwards; }
.hx-stage-wrap.is-paused .hx-tab.is-active .hx-tab-bar { animation-play-state: paused; }

/* Marquee */
.hx-marquee { margin-top: 90px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .15); overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hx-marquee-track { display: flex; gap: 54px; width: max-content; animation: hx-marquee 40s linear infinite; }
.hx-marquee:hover .hx-marquee-track { animation-play-state: paused; }
.hx-marquee-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 700; font-size: 16px; color: rgba(255, 255, 255, .62); }
.hx-marquee-item i { color: var(--hr-accent); font-size: 18px; }
@keyframes hx-marquee { to { transform: translateX(-50%); } }

/* ---------- Pricing: animated glow on the featured plan ---------- */
.hr-plan-featured { isolation: isolate; }
.hr-plan-featured::before { content: ""; position: absolute; inset: -2px; border-radius: 20px; z-index: -1; padding: 2px;
	background: conic-gradient(from var(--hx-angle, 0deg), #06B16E, #7CF5C4, #0B1D16 35%, #0B1D16 65%, #7CF5C4, #06B16E);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: hx-spin-angle 6s linear infinite; }
.hx-js .hr-plan-row > div { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hx-js .hr-plan-row.is-in > div { opacity: 1; transform: none; }
.hx-js .hr-plan-row.is-in > div:nth-child(2) { transition-delay: .1s; } .hx-js .hr-plan-row.is-in > div:nth-child(3) { transition-delay: .2s; }

/* ---------- Bento ---------- */
.hx-bento-area { padding: 100px 0; background: var(--hr-bg); }
.hx-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hx-tile { position: relative; overflow: hidden; display: block; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--hr-line); color: var(--hr-text); text-decoration: none;
	box-shadow: var(--hr-shadow); transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.hx-tile:hover { transform: translateY(-6px); box-shadow: var(--hr-shadow-lg); border-color: rgba(6, 177, 110, .35); color: var(--hr-text); }
.hx-tile h3 { font-size: 20px; font-weight: 800; color: var(--hr-ink); margin: 0 0 8px; letter-spacing: -.3px; }
.hx-tile p { margin: 0; line-height: 1.6; font-size: 15px; }
.hx-tile > div[aria-hidden]:not(.hx-rack) { height: 120px; margin-bottom: 22px; border-radius: 16px; background: var(--hr-bg); position: relative; display: grid; place-items: center; overflow: hidden; }
.hx-tile-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.hx-tile-dark { background: radial-gradient(500px 260px at 100% 0%, rgba(6, 177, 110, .35), transparent 60%), linear-gradient(150deg, #0B1D16, #0F291F); border-color: transparent; color: rgba(255, 255, 255, .72); }
.hx-tile-dark:hover { color: rgba(255, 255, 255, .72); }
.hx-tile-dark h3 { color: #fff; font-size: 26px; }
.hx-tile-dark p { color: rgba(255, 255, 255, .74); }
.hx-tile-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(124, 245, 196, .12); color: var(--hr-accent); font-size: 20px; margin-bottom: 18px; }
.hx-tile-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; color: var(--hr-accent); }
.hx-tile:hover .hx-tile-link i { transform: translateX(4px); }
.hx-tile-link i { transition: transform .2s; }
.hx-rack { display: grid; gap: 12px; }
.hx-rack-unit { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.hx-rack-unit em { font-style: normal; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .45); font-family: ui-monospace, monospace; }
.hx-led { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: hx-blink-led 1.4s infinite; animation-delay: calc(var(--r) * .3s); }
.hx-led + .hx-led { background: var(--hr-accent); animation-duration: .9s; }
@keyframes hx-blink-led { 50% { opacity: .25; } }
.hx-rack-load { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 0 6px; }
.hx-rack-load b { display: block; height: 100%; width: 30%; border-radius: inherit; background: linear-gradient(90deg, #06B16E, #7CF5C4); animation: hx-load 3.2s ease-in-out infinite alternate; animation-delay: calc(var(--r) * -1.1s); }
@keyframes hx-load { to { width: 72%; } }
/* email */
.hx-mail-inbox { position: relative; width: 64px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--hr-line); display: grid; place-items: center; color: var(--hr-ink); font-size: 22px; box-shadow: var(--hr-shadow); }
.hx-mail-inbox b { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--hr-primary); color: #fff; font-size: 12px; display: grid; place-items: center; animation: hx-badge 3s infinite; }
.hx-mail-env { position: absolute; left: 22%; top: 30%; color: var(--hr-primary); font-size: 22px; animation: hx-fly 3s cubic-bezier(.5, 0, .3, 1) infinite; }
@keyframes hx-fly { 0% { transform: translate(-40px, -10px) rotate(-12deg); opacity: 0; } 20% { opacity: 1; } 60% { transform: translate(52px, 14px) rotate(0); opacity: 1; } 70%, 100% { transform: translate(60px, 16px) scale(.4); opacity: 0; } }
@keyframes hx-badge { 0%, 65% { transform: scale(1); } 75% { transform: scale(1.35); } 85%, 100% { transform: scale(1); } }
/* lock */
.hx-lock { gap: 0; }
.hx-lock-shackle { position: absolute; left: 50%; top: 24px; width: 34px; height: 30px; margin-left: -17px; border: 6px solid var(--hr-ink); border-bottom: 0; border-radius: 20px 20px 0 0; animation: hx-shackle 3s cubic-bezier(.5, 0, .3, 1.4) infinite; }
.hx-lock-body { position: absolute; left: 50%; top: 50px; width: 56px; height: 44px; margin-left: -28px; border-radius: 12px; background: linear-gradient(135deg, #06B16E, #0B5D3D); color: #fff; display: grid; place-items: center; font-size: 16px; box-shadow: 0 10px 22px rgba(6, 177, 110, .35); }
.hx-lock-body i { animation: hx-lock-check 3s infinite; }
@keyframes hx-shackle { 0%, 15% { transform: translateY(-10px) rotate(-14deg); transform-origin: right bottom; } 40%, 100% { transform: none; } }
@keyframes hx-lock-check { 0%, 35% { opacity: 0; transform: scale(.4); } 45%, 100% { opacity: 1; transform: none; } }
/* backup */
.hx-backup { display: flex !important; flex-direction: column; gap: 12px; }
.hx-backup > i { font-size: 34px; color: var(--hr-primary); animation: hx-rot 2.4s linear infinite; }
.hx-backup span { font-size: 13px; font-weight: 800; color: var(--hr-ink); background: #fff; border: 1px solid var(--hr-line); padding: 6px 12px; border-radius: 100px; display: inline-flex; gap: 8px; align-items: center; }
.hx-backup b { color: var(--hr-primary); }
/* move */
.hx-move { display: flex !important; align-items: center; justify-content: center; gap: 10px; }
.hx-move-box { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--hr-line); font-size: 12.5px; font-weight: 800; color: var(--hr-muted); box-shadow: var(--hr-shadow); }
.hx-move-us { padding: 8px; display: grid; place-items: center; }
.hx-move-path { position: relative; width: 70px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, #CBD5D1 0 6px, transparent 6px 12px); }
.hx-move-path i { position: absolute; top: -3px; left: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--hr-primary); animation: hx-travel 2.4s linear infinite; }
.hx-move-path i:nth-child(2) { animation-delay: .8s; } .hx-move-path i:nth-child(3) { animation-delay: 1.6s; }
@keyframes hx-travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 60px; opacity: 0; } }
/* toggles */
.hx-toggles { display: grid !important; gap: 10px; align-content: center; padding: 0 22px; justify-items: stretch !important; }
.hx-toggles span { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; color: var(--hr-ink); }
.hx-toggles em { font-style: normal; }
.hx-toggles b { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #CBD5D1; animation: hx-toggle-bg 4s infinite; }
.hx-toggles b::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); animation: hx-toggle-knob 4s infinite; }
.hx-toggles span:nth-child(2) b, .hx-toggles span:nth-child(2) b::after { animation-delay: .5s; }
.hx-toggles span:nth-child(3) b, .hx-toggles span:nth-child(3) b::after { animation-delay: 1s; }
@keyframes hx-toggle-bg { 0%, 15% { background: #CBD5D1; } 25%, 85% { background: var(--hr-primary); } 95%, 100% { background: #CBD5D1; } }
@keyframes hx-toggle-knob { 0%, 15% { transform: none; } 25%, 85% { transform: translateX(16px); } 95%, 100% { transform: none; } }

/* ---------- vs table rows cascade ---------- */
.hx-js .hr-vs-table .hr-vs-row { opacity: 0; transform: translateX(16px); transition: opacity .5s, transform .5s; transition-delay: calc(var(--i, 0) * .08s + .2s); }
.hx-js .is-in .hr-vs-table .hr-vs-row, .hx-js .hr-vs-table.is-in .hr-vs-row, .hx-js [data-reveal].is-in .hr-vs-row { opacity: 1; transform: none; }
.hx-js .hr-vs-head { opacity: 1 !important; transform: none !important; }

/* ---------- Support ---------- */
.hx-support { position: relative; overflow: hidden; isolation: isolate; padding: 110px 0; background: #06130E; color: rgba(255, 255, 255, .72); }
.hx-support .hx-blob-2 { top: -120px; }
.hx-support-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.hx-support h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.1; margin-bottom: 18px; }
.hx-support-copy > p { font-size: 17px; line-height: 1.7; margin-bottom: 24px; }
.hx-support-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.hx-support-points li { display: flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; }
.hx-support-points i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(124, 245, 196, .1); color: var(--hr-accent); flex: none; }
.hx-chat { border-radius: 24px; background: #fff; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); overflow: hidden; }
.hx-chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--hr-line); }
.hx-chat-head strong { display: block; color: var(--hr-ink); }
.hx-chat-head small { display: flex; align-items: center; gap: 8px; color: var(--hr-muted); font-weight: 600; }
.hx-chat-avatar { display: grid; place-items: center; }
.hx-chat-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; min-height: 330px; background: linear-gradient(180deg, #fff, var(--hr-bg)); }
.hx-msg { max-width: 82%; padding: 13px 16px; border-radius: 18px 18px 18px 6px; background: var(--hr-primary-soft); color: var(--hr-ink); font-size: 15px; line-height: 1.5; font-weight: 500; }
.hx-msg-me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: var(--hr-ink); color: #fff; }
.hx-msg-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--hr-primary-dark); }
.hx-typing { display: inline-flex; gap: 5px; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: var(--hr-primary-soft); width: max-content; }
.hx-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--hr-primary); animation: hx-dots 1.2s infinite; }
.hx-typing i:nth-child(2) { animation-delay: .15s; } .hx-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hx-dots { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.hx-js .hx-chat .hx-msg, .hx-js .hx-chat .hx-typing { opacity: 0; transform: translateY(12px) scale(.97); transform-origin: left bottom; }
.hx-js .hx-chat .hx-msg-me { transform-origin: right bottom; }
.hx-js .hx-chat.is-in .hx-msg { animation: hx-bubble .45s cubic-bezier(.2, .9, .3, 1.2) forwards; animation-delay: calc(var(--t) * 1.1s + .4s); }
.hx-js .hx-chat.is-in .hx-typing { animation: hx-bubble .3s forwards, hx-gone .3s forwards; animation-delay: 1.5s, 2.5s; }
.hx-js .hx-chat.is-in .hx-typing ~ .hx-msg:not(.hx-msg-me) { animation-delay: calc(var(--t) * 1.1s + .4s); }
@keyframes hx-bubble { to { opacity: 1; transform: none; } }
@keyframes hx-gone { to { opacity: 0; height: 0; padding: 0; margin: -6px 0; } }

/* ---------- Migration timeline ---------- */
.hx-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hx-steps-line { position: absolute; left: 12.5%; right: 12.5%; top: 31px; height: 2px; background: var(--hr-line); }
.hx-steps-line b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #06B16E, #7CF5C4); transition: width 1.6s .3s cubic-bezier(.6, 0, .3, 1); }
.hx-steps.is-in .hx-steps-line b, :not(.hx-js) .hx-steps-line b { width: 100%; }
.hx-step { position: relative; text-align: center; padding: 0 8px; }
.hx-step-dot { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; font-size: 22px; color: var(--hr-primary);
	background: #fff; border: 1px solid var(--hr-line); box-shadow: var(--hr-shadow); transition: background .4s, color .4s, transform .4s; transition-delay: calc(var(--i) * .4s + .3s); }
.hx-steps.is-in .hx-step-dot { background: var(--hr-primary); color: #fff; border-color: transparent; transform: translateY(-4px); box-shadow: 0 14px 28px rgba(6, 177, 110, .3); }
.hx-step-num { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--hr-primary); margin-bottom: 6px; }
.hx-step h3 { font-size: 19px; font-weight: 800; color: var(--hr-ink); }
.hx-step p { margin: 0; line-height: 1.6; font-size: 15px; }

/* ---------- CTA: drifting light ---------- */
.hr-cta-wrap::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); animation: hx-drift-2 14s ease-in-out infinite alternate; pointer-events: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.hx-hero-layout { gap: 36px; }
	.hx-stage { height: 400px; }
}
@media (max-width: 991px) {
	.hx-hero { padding-top: 140px; }
	.hx-hero-layout, .hx-support-layout { grid-template-columns: 1fr; }
	.hx-hero-copy { text-align: center; }
	.hx-hero-text { margin-left: auto; margin-right: auto; }
	.hx-hero-actions { justify-content: center; }
	.hx-stage-wrap { max-width: 620px; margin: 0 auto; width: 100%; }
	.hx-bento { grid-template-columns: repeat(2, 1fr); }
	.hx-tile-wide { grid-column: span 2; }
	.hx-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
	.hx-steps-line { display: none; }
	.hx-support-layout { gap: 50px; }
}
@media (max-width: 575px) {
	.hx-hero { padding-top: 120px; }
	.hx-hero-title { letter-spacing: -1.4px; }
	.hx-hero-actions .hx-btn { width: 100%; }
	.hx-stage { height: 380px; }
	.hx-scene { padding: 18px; }
	.hx-tabs { grid-template-columns: repeat(2, 1fr); }
	.hx-toast { padding: 10px 12px 10px 10px; }
	.hx-toast > i { width: 30px; height: 30px; }
	.hx-gauge { width: 160px; left: 18px; bottom: 18px; }
	.hx-chart, .hx-backups { left: 18px; right: 18px; }
	.hx-chart { top: 18px; }
	.hx-backups { bottom: 18px; }
	.hx-toast-e { right: 14px; bottom: 150px; }
	.hx-shield { left: 26%; scale: .78; }
	.hx-toast-d { display: none; }
	.hx-toast-c { top: 70px; }
	.hx-marquee { margin-top: 60px; }
	.hx-bento { grid-template-columns: 1fr; }
	.hx-tile-wide { grid-column: auto; grid-template-columns: 1fr; }
	.hx-steps { grid-template-columns: 1fr; }
	.hx-support { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
	.hx-in { animation: none !important; }
	.hx-js [data-reveal], .hx-js .hr-plan-row > div, .hx-js .hr-vs-table .hr-vs-row, .hx-js .hx-chat .hx-msg { opacity: 1 !important; transform: none !important; }
	.hx-js .hx-chat .hx-typing { display: none; }
	.hx-rotator-track { animation: none !important; }
	/* Show each scene's finished state instead of animating to it */
	.hx-toast, .hx-site > *, .hx-live, .hx-shield-core, .hx-chart-area, .hx-checks li { opacity: 1 !important; transform: none !important; }
	.hx-install { display: none !important; }
	.hx-type { width: auto !important; }
	.hx-tick { background: var(--hr-primary); border-color: var(--hr-primary); }
	.hx-tick::after { transform: rotate(45deg) scale(1) !important; }
	.hx-days span { background: var(--hr-primary); color: #fff; }
	.hx-chart-line { stroke-dashoffset: 0 !important; }
	.hx-gauge-arc { stroke-dashoffset: 8 !important; }
	.hx-lock-body i { opacity: 1 !important; }
	.hx-mail-env, .hx-move-path i { display: none; }
	.hx-steps-line b { width: 100% !important; }
}
