/*
 * Homepage body (resources/views/website/themes/modern/home.blade.php), scoped to .hp.
 * Product visuals are real HTML/CSS/SVG mock-ups with sample data. Pricing (database driven) keeps the theme classes.
 * Rhythm: light hero -> channel marquee -> dark sticky product tour -> tinted bento -> dark steps -> tinted pricing -> white FAQ -> dark CTA.
 * Roll back: restore the previous home.blade.php and home.css from git.
 */
.hp { --g: #129b2e; --gd: #0b6f1f; --g2: #2fc24a; --soft: #eaf6ed; --ink: #070b08; --tx: #3a443d; --mu: #667269; --ln: #e4eae6; --bg: #f6faf7; --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-family: var(--font); color: var(--tx); overflow-x: clip; }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp h1, .hp h2, .hp h3, .hp h4, .hp p, .hp button, .hp a, .hp small, .hp b, .hp em, .hp label { font-family: var(--font); }
.hp .fa-solid, .hp .fa-brands, .hp .fa-regular { font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands"; }
.hp .fa-brands { font-family: "Font Awesome 6 Brands"; font-weight: 400; }
.hp .fa-solid { font-weight: 900; }
.hx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hp img { max-width: 100%; height: auto; display: block; }
.hp [id] { scroll-margin-top: 110px; }

/* ---------- type ---------- */
.hx-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--g); }
.hx-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hx-kicker-dark { color: #8be99b; }
.hx-h2 { margin: 16px 0 14px; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.hx-sub { margin: 0; font-size: 18px; line-height: 1.65; color: var(--mu); max-width: 620px; }
.hx-sub-left { margin: 0 0 22px; }
.hx-head { margin-bottom: 56px; }
.hx-head-center { text-align: center; }
.hx-head-center .hx-sub { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 12px; border: 1.5px solid transparent; font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hx-btn i { font-size: 14px; transition: transform .2s ease; }
.hx-btn:hover i.fa-arrow-right { transform: translateX(4px); }
.hx-btn-solid { background: var(--g); border-color: var(--g); color: #fff !important; box-shadow: 0 14px 30px -12px rgba(18, 155, 46, .7), inset 0 1px 0 rgba(255, 255, 255, .22); }
.hx-btn-solid:hover { background: var(--gd); border-color: var(--gd); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(18, 155, 46, .75), inset 0 1px 0 rgba(255, 255, 255, .22); }
.hx-btn-line { background: #fff; border-color: #d3dcd6; color: var(--ink) !important; }
.hx-btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }
.hx-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.hx-btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink) !important; transform: translateY(-2px); }
.hx-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-btn-mini { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; background: var(--g); color: #fff; font-size: 12px; font-weight: 600; }
.hx-btn-mini.full { width: 100%; justify-content: center; padding: 11px; font-size: 13px; margin-top: 6px; }
.hx-btn-mini i { font-size: 10px; }

/* ---------- hero ---------- */
.hx-hero { position: relative; padding: 76px 0 0; background: #fff; overflow: hidden; }
.hx-hero-bg { position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(60% 55% at 50% 0%, rgba(18, 155, 46, .14), transparent 70%),
    linear-gradient(rgba(7, 11, 8, .045) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(7, 11, 8, .045) 1px, transparent 1px) 0 0 / 56px 56px;
    -webkit-mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 55%, transparent 100%); }
.hx-hero-top { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hx-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border: 1px solid #d6e5da; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); font-size: 13.5px; font-weight: 600; color: var(--gd) !important; text-decoration: none; box-shadow: 0 6px 18px -10px rgba(10, 20, 12, .25); transition: border-color .2s ease; }
.hx-pill:hover { border-color: var(--g); }
.hx-pill i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); font-size: 10px; transition: transform .2s ease; }
.hx-pill:hover i { transform: translateX(2px); }
.hx-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 0 rgba(18, 155, 46, .5); animation: hx-ping 2s infinite; }
.hx-display { margin: 26px 0 0; max-width: 1020px; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.03; font-weight: 700; letter-spacing: -0.045em; color: var(--ink); }
.hx-display em { font-style: normal; background: linear-gradient(100deg, #0b6f1f 0%, #129b2e 45%, #2fc24a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hx-w { display: inline-block; opacity: 0; transform: translateY(.55em); animation: hx-up .75s calc(var(--i) * 55ms + 140ms) cubic-bezier(.2, .7, .2, 1) forwards; }
.hx-lead { margin: 24px 0 0; max-width: 640px; font-size: 19px; line-height: 1.65; color: var(--tx); }
.hx-hero-top .hx-actions { margin-top: 34px; justify-content: center; }
.hx-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; }
.hx-proof li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--tx); }
.hx-proof i { color: var(--g); }
.hx-in { opacity: 0; animation: hx-up .8s calc(var(--d, 0) * 90ms + 40ms) cubic-bezier(.2, .7, .2, 1) forwards; }

/* hero product mock-up */
.hx-hero-stage { position: relative; margin-top: 64px; perspective: 1800px; }
.hx-tilt { position: relative; max-width: 1060px; margin: 0 auto; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
.hx-app { border-radius: 16px 16px 0 0; border: 1px solid #dde6e0; border-bottom: 0; background: #fff; box-shadow: 0 50px 100px -40px rgba(7, 11, 8, .5), 0 0 0 8px rgba(255, 255, 255, .6); overflow: hidden; }
.hx-app-bar, .hx-win-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: #f1f5f2; border-bottom: 1px solid #e2e9e4; }
.hx-app-bar i, .hx-win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.hx-app-bar i:nth-child(2), .hx-win-bar i:nth-child(2) { background: #febc2e; }
.hx-app-bar i:nth-child(3), .hx-win-bar i:nth-child(3) { background: #28c840; }
.hx-url { margin: 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 16px; border-radius: 8px; background: #fff; border: 1px solid #e2e9e4; font-size: 12px; color: var(--mu); }
.hx-url i { width: auto; height: auto; background: none !important; font-size: 10px; color: var(--g); }
.hx-app-body { display: flex; min-height: 430px; text-align: left; }
.hx-side { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; background: #09100b; }
.hx-logo-mark { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 10px; background: var(--g); color: #fff; font-size: 19px; }
.hx-side a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #7d8d82; font-size: 15px; }
.hx-side a.is-on { background: rgba(18, 155, 46, .2); color: #8be99b; }
.hx-main { flex: 1; min-width: 0; padding: 20px 22px 26px; background: #f7faf8; }
.hx-main-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hx-main-head b { font-size: 17px; font-weight: 700; color: var(--ink); }
.hx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.hx-stat { padding: 14px 16px; border: 1px solid var(--ln); border-radius: 10px; background: #fff; }
.hx-stat small { display: block; font-size: 12px; color: var(--mu); }
.hx-stat b { display: block; margin: 4px 0 2px; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hx-stat em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--g); }
.hx-panel-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 12px; }
.hx-panel { padding: 16px; border: 1px solid var(--ln); border-radius: 10px; background: #fff; }
.hx-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 13.5px; }
.hx-panel-head b { font-weight: 700; color: var(--ink); }
.hx-panel-head span { font-size: 12px; color: var(--mu); }
.hx-chart svg { width: 100%; height: 150px; display: block; }
.hx-grid path { stroke: #e9eeea; stroke-width: 1; fill: none; }
.hx-line-path { stroke-dasharray: 760; stroke-dashoffset: 760; animation: hx-draw 2.2s .9s cubic-bezier(.4, 0, .2, 1) forwards; }
.hx-area { opacity: 0; animation: hx-fade 1.2s 1.8s ease forwards; }
.hx-li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #eef2ef; }
.hx-li:first-of-type { border-top: 0; }
.hx-li span { display: grid; gap: 1px; }
.hx-li b { font-size: 13px; font-weight: 600; color: var(--ink); }
.hx-li small { font-size: 11.5px; color: var(--mu); }
.hp em.ok, .hp em.run, .hp em.soon { font-style: normal; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.hp em.ok { background: #e3f6e8; color: #0b6f1f; }
.hp em.run { background: #e5f0ff; color: #1f5fc5; }
.hp em.soon { background: #fff1dc; color: #a45f06; }

.hx-phone { position: absolute; right: -14px; bottom: -64px; width: 252px; border: 7px solid #09100b; border-radius: 34px; background: #eef3ef; box-shadow: 0 40px 80px -30px rgba(7, 11, 8, .6); overflow: hidden; transform: translateZ(60px); }
.hx-phone-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #0b6f1f; color: #fff; }
.hx-phone-top span:nth-child(2) { display: grid; flex: 1; }
.hx-phone-top b { font-size: 13px; font-weight: 600; }
.hx-phone-top small { font-size: 10.5px; opacity: .8; }
.hx-phone-top i { font-size: 13px; opacity: .85; }
.hx-av { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: #dff3e3; color: var(--gd); font-size: 13px; font-weight: 700; }
.hx-av.sm { width: 22px; height: 22px; font-size: 10px; }
.hx-av.alt { background: #e5f0ff; color: #1f5fc5; }
.hx-av.alt2 { background: #fff1dc; color: #a45f06; }
.hx-av.alt3 { background: #f6e4ff; color: #7a2fa8; }
.hx-phone-chat { display: grid; gap: 8px; padding: 14px 12px 18px; min-height: 270px; align-content: start; }
.hx-phone-chat p { margin: 0; max-width: 88%; padding: 8px 11px; border-radius: 12px; font-size: 12px; line-height: 1.4; opacity: 0; transform: scale(.92) translateY(8px); animation: hx-pop .5s var(--t, 1s) cubic-bezier(.2, .7, .2, 1) forwards; }
.hx-phone-chat .in { justify-self: start; background: #fff; color: var(--tx); border-top-left-radius: 3px; }
.hx-phone-chat .out { justify-self: end; background: #d6f3dc; color: #0a2a12; border-top-right-radius: 3px; }
.hx-phone-chat .card { justify-self: end; width: 88%; padding: 10px 12px; border-radius: 12px; border-top-right-radius: 3px; background: #d6f3dc; opacity: 0; transform: scale(.92) translateY(8px); animation: hx-pop .5s var(--t, 1s) cubic-bezier(.2, .7, .2, 1) forwards; display: grid; gap: 2px; }
.hx-phone-chat .card b { font-size: 12.5px; color: #0a2a12; }
.hx-phone-chat .card small { font-size: 10.5px; color: #3a5a42; }
.hx-phone-chat .card span { margin-top: 6px; padding: 7px; border-radius: 8px; background: #fff; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--gd); }
.hx-phone-chat .typing { display: inline-flex; gap: 4px; padding: 10px 12px; }
.hx-phone-chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa89f; animation: hx-dot 1.2s infinite; }
.hx-phone-chat .typing i:nth-child(2) { animation-delay: .15s; }
.hx-phone-chat .typing i:nth-child(3) { animation-delay: .3s; }
.hx-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ln); border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ink); box-shadow: 0 18px 36px -16px rgba(7, 11, 8, .4); transform: translateZ(80px); animation: hx-float 5s ease-in-out infinite; }
.hx-chip i { color: var(--g); }
.hx-chip-a { left: -26px; top: 110px; }
.hx-chip-b { right: 30%; top: -18px; animation-delay: -2.4s; }

/* ---------- channels marquee ---------- */
.hx-marquee { position: relative; z-index: 1; padding: 96px 0 40px; background: #fff; border-bottom: 1px solid var(--ln); }
.hx-marquee-title { margin: 0 0 26px; text-align: center; font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mu); }
.hx-marquee-track { display: flex; width: max-content; animation: hx-marq 42s linear infinite; -webkit-mask-image: none; }
.hx-marquee:hover .hx-marquee-track { animation-play-state: paused; }
.hx-marquee-track ul { display: flex; flex: none; gap: 56px; margin: 0; padding: 0 28px; list-style: none; }
.hx-marquee-track li { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; color: #8a978f; white-space: nowrap; transition: color .2s ease; }
.hx-marquee-track li i { font-size: 26px; }
.hx-marquee-track li:hover { color: var(--g); }
.hx-marquee { overflow: hidden; }
.hx-marquee::before, .hx-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.hx-marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.hx-marquee::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }

/* ---------- sticky, scroll-linked product tour (dark) ---------- */
.hx-story { background: #070b08; color: rgba(255, 255, 255, .78); position: relative; }
.hx-story::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 40% at 85% 20%, rgba(18, 155, 46, .22), transparent 70%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 56px 56px; -webkit-mask-image: linear-gradient(#000, transparent 95%); mask-image: linear-gradient(#000, transparent 95%); }
.hx-story .hx-h2 { color: #fff; }
.hx-story-track { position: relative; }
.hx-story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; width: 100%; }
.hx-story-list { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.hx-story-list li { position: relative; display: flex; gap: 18px; padding: 18px 18px 18px 20px; border-radius: 12px; cursor: pointer; opacity: .5; transition: opacity .3s ease, background-color .3s ease; }
.hx-story-list li:hover { opacity: .85; }
.hx-story-list li.is-active { opacity: 1; background: rgba(255, 255, 255, .05); }
.hx-story-list li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.hx-story-list li::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--g2); transform: scaleY(0); transform-origin: top; transition: transform .45s ease; }
.hx-story-list li.is-active::after { transform: scaleY(1); }
.hx-story-list .n { flex: none; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #8be99b; padding-top: 5px; }
.hx-story-list h3 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.hx-story-list p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .7); transition: max-height .45s ease, opacity .35s ease, margin .35s ease; }
.hx-story-list li.is-active p { max-height: 160px; opacity: 1; margin-top: 8px; }
.hx-story-stage { position: relative; }
.hx-win { position: relative; height: 480px; border-radius: 14px; background: #fff; color: var(--tx); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 50px 110px -30px rgba(0, 0, 0, .8), 0 0 0 8px rgba(255, 255, 255, .04); overflow: hidden; }
.hx-win-title { margin: 0 auto; font-size: 12.5px; font-weight: 600; color: var(--mu); transform: translateX(-24px); }
.hx-screen { position: absolute; inset: 40px 0 0 0; padding: 22px; background: #f7faf8; opacity: 0; transform: translateY(14px) scale(.99); pointer-events: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1); overflow: hidden; }
.hx-screen.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* screen 1: composer */
.hx-comp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; height: 100%; }
.hx-form { display: grid; align-content: start; gap: 6px; }
.hx-form label { margin-top: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); }
.hx-field { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--ln); border-radius: 9px; background: #fff; font-size: 13.5px; color: var(--ink); }
.hx-field i { color: var(--g); font-size: 13px; }
.hx-field b { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--mu); }
.hx-field em { margin-left: auto; }
.hx-mini-phone { align-self: center; border: 6px solid #09100b; border-radius: 26px; background: #eef3ef; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(7, 11, 8, .5); }
.hx-mini-phone .bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #0b6f1f; color: #fff; font-size: 12px; font-weight: 600; }
.hx-mini-phone .body { display: grid; gap: 8px; padding: 16px 12px 18px; min-height: 210px; align-content: start; }
.hx-mini-phone p { margin: 0; padding: 9px 11px; border-radius: 12px; border-top-left-radius: 3px; background: #fff; font-size: 12px; line-height: 1.45; color: var(--tx); }
.hx-mini-phone .cta { padding: 8px; border-radius: 9px; background: #fff; text-align: center; font-size: 12px; font-weight: 600; color: var(--gd); }
.hx-mini-phone small { font-size: 10px; color: var(--mu); justify-self: end; }

/* screen 2: flow canvas */
.hx-flow { position: relative; height: 100%; background-image: radial-gradient(#d6dfd9 1px, transparent 1px); background-size: 18px 18px; border-radius: 10px; }
.hx-flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-flow-lines path { fill: none; stroke: #129b2e; stroke-width: 2; stroke-dasharray: 5 6; animation: hx-dash 1.2s linear infinite; opacity: .75; }
.hx-flow .node { position: absolute; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center; width: 190px; padding: 10px 12px; border: 1px solid #dbe5de; border-radius: 10px; background: #fff; box-shadow: 0 10px 22px -14px rgba(7, 11, 8, .35); }
.hx-flow .node i { grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--soft); color: var(--g); font-size: 13px; }
.hx-flow .node b { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.hx-flow .node small { font-size: 11px; color: var(--mu); line-height: 1.3; }
.hx-flow .node.end { width: 170px; grid-template-columns: 30px 1fr; background: #f1faf3; border-color: #cfe9d5; }
.hx-flow .n1 { left: 2%; top: 4%; }
.hx-flow .n2 { left: 32%; top: 4%; }
.hx-flow .n3 { left: 22%; top: 24%; width: 200px; }
.hx-flow .n4 { left: 2%; top: 56%; }
.hx-flow .n5 { left: 52%; top: 56%; }
.hx-flow .n6 { left: 2%; top: 84%; }
.hx-flow .n7 { left: 52%; top: 84%; }

/* screen 3: inbox */
.hx-inbox { display: grid; grid-template-columns: 1.05fr 1.35fr .8fr; gap: 12px; height: 100%; }
.hx-inbox .pn { border: 1px solid var(--ln); border-radius: 10px; background: #fff; padding: 10px; min-width: 0; }
.hx-inbox .rw { display: flex; align-items: center; gap: 9px; padding: 9px 8px; border-radius: 8px; font-size: 12px; }
.hx-inbox .rw.on { background: var(--soft); }
.hx-inbox .rw span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.hx-inbox .rw b { font-size: 12.5px; color: var(--ink); }
.hx-inbox .rw small { font-size: 11px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-inbox .rw em { font-style: normal; display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--g); color: #fff; font-size: 10.5px; font-weight: 700; }
.hx-inbox .thread { display: grid; gap: 8px; align-content: start; }
.hx-inbox .t-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 2px 8px; border-bottom: 1px solid var(--ln); }
.hx-inbox .t-head b { font-size: 13px; color: var(--ink); }
.hx-inbox .t-head small { font-size: 11px; color: var(--mu); }
.hx-inbox .thread p { margin: 0; max-width: 85%; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.4; }
.hx-inbox .thread .in { background: #f1f5f2; justify-self: start; border-top-left-radius: 3px; }
.hx-inbox .thread .out { background: #d6f3dc; color: #0a2a12; justify-self: end; border-top-right-radius: 3px; }
.hx-inbox .t-note { padding: 8px 10px; border-radius: 8px; background: #fff8e1; border: 1px dashed #efd98a; font-size: 11.5px; color: #8a6a06; }
.hx-inbox .info { display: grid; align-content: start; gap: 6px; }
.hx-inbox .info small { margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); }
.hx-inbox .chipx { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid var(--ln); border-radius: 8px; font-size: 12px; color: var(--ink); width: fit-content; }
.hx-inbox .chipx i { color: var(--g); }
.hx-inbox .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hx-inbox .tags span { padding: 4px 9px; border-radius: 999px; background: var(--soft); color: var(--gd); font-size: 11px; font-weight: 600; }

/* screen 4: ads */
.hx-ads { display: grid; gap: 14px; height: 100%; grid-template-rows: auto 1fr auto; }
.a-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.a-stats > div { padding: 12px 14px; border: 1px solid var(--ln); border-radius: 10px; background: #fff; }
.a-stats small { display: block; font-size: 11.5px; color: var(--mu); }
.a-stats b { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.a-bars { display: flex; align-items: flex-end; gap: 12px; padding: 14px 16px 0; border: 1px solid var(--ln); border-radius: 10px; background: #fff; }
.a-bars span, .mini-bars span { flex: 1; height: var(--h); min-height: 6px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #2fc24a, #129b2e); transform-origin: bottom; transform: scaleY(0); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.hx-screen.is-active .a-bars span, .tile.is-visible .mini-bars span { transform: none; }
.a-bars span:nth-child(2), .mini-bars span:nth-child(2) { transition-delay: .06s; }
.a-bars span:nth-child(3), .mini-bars span:nth-child(3) { transition-delay: .12s; }
.a-bars span:nth-child(4), .mini-bars span:nth-child(4) { transition-delay: .18s; }
.a-bars span:nth-child(5), .mini-bars span:nth-child(5) { transition-delay: .24s; }
.a-bars span:nth-child(6), .mini-bars span:nth-child(6) { transition-delay: .3s; }
.a-bars span:nth-child(7) { transition-delay: .36s; }
.a-table { display: grid; gap: 0; border: 1px solid var(--ln); border-radius: 10px; background: #fff; }
.a-table > div { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid #eef2ef; font-size: 12.5px; }
.a-table > div:first-child { border-top: 0; }
.a-table span { flex: 1; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; }
.a-table span i { color: #1877f2; font-size: 15px; }
.a-table span i.fa-instagram { color: #d6249f; }
.a-table b { font-weight: 600; color: var(--mu); }

/* ---------- bento ---------- */
.hx-section { padding: 110px 0; background: #fff; }
.hx-bento-sec { background: var(--bg); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.hx-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.hx-bento .tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--ln); border-radius: 16px; background: #fff; overflow: hidden; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.hx-bento .tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(18, 155, 46, .12), transparent 60%); opacity: 0; transition: opacity .3s ease; }
.hx-bento .tile:hover { border-color: #b9d8c0; box-shadow: 0 30px 50px -34px rgba(7, 11, 8, .35); }
.hx-bento .tile:hover::before { opacity: 1; }
.hx-bento .tile > * { position: relative; }
.t-api { grid-column: 1 / 6; grid-row: span 2; }
.t-tpl { grid-column: 6 / 13; }
.t-ana { grid-column: 6 / 10; }
.t-seg { grid-column: 10 / 13; }
.t-bot { grid-column: 1 / 7; }
.t-dev { grid-column: 7 / 13; background: #070b08 !important; border-color: #17231a !important; }
.tile-top { display: flex; align-items: center; gap: 12px; }
.tile-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--soft); color: var(--g); font-size: 17px; }
.tile h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.tile p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--mu); }
.t-api .api-card { margin-top: auto; padding: 16px; border: 1px solid var(--ln); border-radius: 12px; background: var(--bg); display: grid; gap: 12px; }
.t-api .verified { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--gd); }
.t-api .api-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--ln); }
.t-api .api-row > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--g); color: #fff; font-size: 20px; }
.t-api .api-row span { display: grid; flex: 1; }
.t-api .api-row b { font-size: 14px; color: var(--ink); }
.t-api .api-row small { font-size: 12px; color: var(--mu); }
.tpl-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.tpl { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--ln); border-radius: 12px; background: var(--bg); transition: transform .3s ease; }
.tile:hover .tpl:nth-child(1) { transform: translateY(-4px); }
.tile:hover .tpl:nth-child(2) { transform: translateY(-7px); }
.tile:hover .tpl:nth-child(3) { transform: translateY(-4px); }
.tpl small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); }
.tpl b { font-size: 14px; color: var(--ink); }
.tpl span { justify-self: start; margin-top: 4px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.tpl span.ok { background: #e3f6e8; color: #0b6f1f; }
.tpl span.soon { background: #fff1dc; color: #a45f06; }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips span { padding: 7px 12px; border: 1px solid var(--ln); border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 500; color: var(--ink); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.chips span:hover { background: var(--g); border-color: var(--g); color: #fff; }
.mini-chat { display: grid; gap: 8px; margin-top: auto; }
.mini-chat p { margin: 0; max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.mini-chat .in { background: #f1f5f2; color: var(--tx); border-top-left-radius: 4px; justify-self: start; }
.mini-chat .out { background: var(--g); color: #fff; border-top-right-radius: 4px; justify-self: end; }
.t-dev h3 { color: #fff; }
.t-dev p { color: rgba(255, 255, 255, .65); }
.t-dev .tile-ico { background: rgba(18, 155, 46, .2); color: #8be99b; }
.code { margin: auto 0 0; padding: 16px 18px; border-radius: 10px; background: #0f1a12; border: 1px solid #1d2c21; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; color: #c9d6cd; overflow: hidden; white-space: pre; }
.code .c { color: #8be99b; font-weight: 700; }
.code .k { color: #7ec8ff; }
.code .s { color: #f4c78a; }

/* ---------- dark steps ---------- */
.hx-dark { background: #070b08; color: rgba(255, 255, 255, .78); padding: 110px 0; position: relative; overflow: hidden; }
.hx-dark .hx-h2 { color: #fff; }
.hx-dark .hx-sub { color: rgba(255, 255, 255, .7); }
.hx-steps::before, .hx-cta::before { content: ""; position: absolute; pointer-events: none; background: radial-gradient(closest-side, rgba(18, 155, 46, .26), transparent); }
.hx-steps::before { left: 50%; top: -40%; width: 70%; height: 90%; transform: translateX(-50%); }
.hx-step-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.hx-step-grid::before { content: ""; position: absolute; left: 7%; right: 7%; top: 23px; height: 2px; background: linear-gradient(90deg, #129b2e, #2fc24a); transform: scaleX(0); transform-origin: left; transition: transform 1.4s .3s cubic-bezier(.4, 0, .2, 1); opacity: .6; }
.hx-step-grid.is-visible::before { transform: scaleX(1); }
.hx-step { position: relative; padding-top: 0; }
.hx-step-no { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 26px; border: 2px solid var(--g); border-radius: 50%; background: #0a120c; font-size: 18px; font-weight: 700; color: #8be99b; position: relative; z-index: 1; box-shadow: 0 0 0 8px #070b08; }
.hx-step h3 { margin: 0 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.hx-step p { margin: 0; max-width: 340px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .68); }

/* ---------- accordion + FAQ ---------- */
.hx-acc { margin-top: 0; border-top: 1px solid var(--ln); }
.hx-acc-item { border-bottom: 1px solid var(--ln); transition: border-color .25s ease; }
.hx-acc-item.is-open { border-bottom-color: var(--g); }
.hx-acc-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 4px; border: 0; background: transparent; text-align: left; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); cursor: pointer; transition: color .2s ease; }
.hx-acc-btn:hover, .hx-acc-item.is-open .hx-acc-btn { color: var(--gd); }
.hx-acc-ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); font-size: 11px; color: var(--mu); transition: transform .3s ease, background-color .2s ease, color .2s ease; }
.hx-acc-item.is-open .hx-acc-ico { transform: rotate(45deg); background: var(--g); color: #fff; }
.hx-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.hx-acc-item.is-open .hx-acc-panel { grid-template-rows: 1fr; }
.hx-acc-panel > div { overflow: hidden; }
.hx-acc-panel p { margin: 0; padding: 0 4px 24px; font-size: 16.5px; line-height: 1.7; color: var(--mu); max-width: 640px; }
.hx-acc-btn:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; border-radius: 6px; }
.hx-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.hx-faq-head { position: sticky; top: 120px; }
.hx-faq-head .hx-btn { margin-top: 6px; }

/* ---------- pricing frame (cards and logic untouched) ---------- */
.hp .pricing__section { background: var(--bg); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); padding-top: 110px; padding-bottom: 110px; }
.hp .pricing__section .container { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
.hp .pricing__section .section__title .title { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); font-family: var(--font); }
.hp .pricing__section .section__title .subtitle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--soft); color: var(--gd); font-size: 14px; font-weight: 600; }
.hp .pricing__section .section__title p, .hp .pricing__section .section__title .desc { font-size: 18px; line-height: 1.65; color: var(--mu); }

/* ---------- CTA ---------- */
.hx-cta { padding: 96px 0; }
.hx-cta::before { right: -8%; top: -80%; width: 60%; height: 260%; }
.hx-cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hx-cta-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hx-cta-in > div:first-child { max-width: 680px; }
.hx-cta .hx-h2 { margin-top: 0; font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.hx-cta .hx-actions { flex: none; }

/* ---------- motion ---------- */
.hp.hx-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0) * 110ms), transform .8s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0) * 110ms); }
.hp.hx-js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes hx-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hx-pop { to { opacity: 1; transform: none; } }
@keyframes hx-draw { to { stroke-dashoffset: 0; } }
@keyframes hx-fade { to { opacity: 1; } }
@keyframes hx-dash { to { stroke-dashoffset: -22; } }
@keyframes hx-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes hx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes hx-ping { 0% { box-shadow: 0 0 0 0 rgba(18, 155, 46, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(18, 155, 46, 0); } }
@keyframes hx-marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .hx-in, .hx-w, .hx-phone-chat p, .hx-phone-chat .card { animation: none; opacity: 1; transform: none; }
    .hx-line-path { animation: none; stroke-dashoffset: 0; }
    .hx-area { animation: none; opacity: 1; }
    .hx-chip, .hx-pill-dot, .hx-marquee-track, .hx-flow-lines path { animation: none; }
    .hp.hx-js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hx-tilt { transform: none !important; }
}

/* ---------- laptop / tablet ---------- */
@media (min-width: 1024px) {
    .hx-story-track { height: 380vh; }
    .hx-story-pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; padding-top: 96px; }
}
@media (max-width: 1199.98px) {
    .hx-phone { right: 4px; width: 224px; }
    .hx-chip-a { left: 6px; }
}
@media (max-width: 1023.98px) {
    .hx-hero { padding-top: 56px; }
    .hx-section, .hx-dark, .hp .pricing__section { padding-top: 80px; padding-bottom: 80px; }
    .hx-story { padding: 80px 0; }
    .hx-story-grid, .hx-faq { grid-template-columns: 1fr; gap: 40px; }
    .hx-faq-head { position: static; }
    .hx-story-list li { padding: 16px 14px 16px 18px; }
    .hx-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .hx-bento .t-api, .hx-bento .t-tpl, .hx-bento .t-bot, .hx-bento .t-dev { grid-column: 1 / -1; grid-row: auto; }
    .hx-bento .t-ana { grid-column: 1 / 4; }
    .hx-bento .t-seg { grid-column: 4 / 7; }
    .hx-step-grid { grid-template-columns: 1fr; gap: 40px; }
    .hx-step-grid::before { display: none; }
    .hx-cta-in { flex-direction: column; align-items: flex-start; }
    .hx-marquee { padding-top: 72px; }
}

/* ---------- phone ---------- */
@media (max-width: 767.98px) {
    .hx-wrap, .hp .pricing__section .container { padding-left: 18px; padding-right: 18px; }
    .hx-hero { padding-top: 40px; }
    .hx-display { letter-spacing: -0.04em; }
    .hx-lead { font-size: 17px; }
    .hx-hero-top .hx-actions { width: 100%; flex-direction: column; }
    .hx-hero-top .hx-btn { width: 100%; }
    .hx-hero-stage { margin-top: 44px; }
    .hx-side { display: none; }
    .hx-app-body { min-height: 0; }
    .hx-main { padding: 14px; }
    .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-panel-row { grid-template-columns: 1fr; }
    .hx-list { display: none; }
    .hx-phone, .hx-chip, .hx-url { display: none; }
    .hx-app { border-radius: 12px 12px 0 0; box-shadow: 0 30px 60px -30px rgba(7, 11, 8, .5); }
    .hx-section, .hx-dark, .hp .pricing__section { padding-top: 64px; padding-bottom: 64px; }
    .hx-head { margin-bottom: 36px; }
    .hx-win { height: 440px; }
    .hx-screen { padding: 14px; }
    .hx-comp { grid-template-columns: 1fr; }
    .hx-mini-phone { display: none; }
    .hx-flow { transform: scale(.72); transform-origin: top left; width: 138%; height: 138%; }
    .hx-inbox { grid-template-columns: 1fr; }
    .hx-inbox .list, .hx-inbox .info { display: none; }
    .hx-bento { grid-template-columns: 1fr; gap: 16px; }
    .hx-bento .tile, .hx-bento .t-ana, .hx-bento .t-seg { grid-column: 1 / -1; padding: 22px; }
    .tpl-row { grid-template-columns: 1fr; }
    .code { font-size: 12px; padding: 14px; }
    .hx-marquee-track li { font-size: 17px; }
    .hx-acc-btn { font-size: 17px; }
    .hx-cta .hx-actions { width: 100%; flex-direction: column; }
    .hx-cta .hx-btn { width: 100%; }
}

/* ---------- review fixes ---------- */
.hx-display em { background: none; -webkit-text-fill-color: initial; color: inherit; }
.hx-display em .hx-w { background: linear-gradient(100deg, #0b6f1f 0%, #129b2e 55%, #2fc24a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .06em; }
.hx-hero-stage { padding-bottom: 96px; }
.hx-app { border-radius: 16px; border-bottom: 1px solid #dde6e0; }
.hx-chip-a { left: -92px; top: 150px; }
.hx-chip-b { right: 6%; top: -22px; }
.hx-phone { right: -56px; bottom: -48px; }
@media (max-width: 1299.98px) { .hx-chip { display: none; } .hx-phone { right: 8px; } }

/* flow canvas: everything in percentages so it scales with the window */
.hx-flow-lines path { vector-effect: non-scaling-stroke; stroke-width: 2px; }
.hx-flow .node { width: 42%; min-width: 0; padding: 9px 10px; grid-template-columns: 28px minmax(0, 1fr); column-gap: 9px; }
.hx-flow .node b, .hx-flow .node small { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-flow .node.end { width: 42%; }
.hx-flow .node i { width: 28px; height: 28px; }
.hx-flow .n1 { left: 3%; top: 3%; }
.hx-flow .n2 { left: 55%; top: 3%; }
.hx-flow .n3 { left: 29%; top: 30%; width: 42%; }
.hx-flow .n4 { left: 3%; top: 58%; }
.hx-flow .n5 { left: 55%; top: 58%; }
.hx-flow .n6 { left: 3%; top: 84%; }
.hx-flow .n7 { left: 55%; top: 84%; }

.hx-step-grid::before { left: 24px; right: calc(33.33% - 24px); }
.t-api .api-list { margin: 8px 0 18px; padding: 0; list-style: none; display: grid; gap: 12px; }
.t-api .api-list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--tx); }
.t-api .api-list i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: var(--g); font-size: 10px; flex: none; }


/* ---------- restored sections: spotlights, channel tabs, why-us ---------- */
.hx-display em { background: linear-gradient(100deg, #0b6f1f 0%, #129b2e 55%, #2fc24a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .08em; }
.hx-spot .hx-row + .hx-row { margin-top: 110px; }
.hx-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.hx-row-rev .hx-row-media { order: -1; }
.hx-row-body { max-width: 540px; }
.hx-list { margin: 0 0 30px; padding: 0; list-style: none; display: grid; gap: 14px; }
.hx-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.55; color: var(--tx); }
.hx-list i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--soft); color: var(--g); font-size: 11px; }

.hx-vis { position: relative; padding: 26px; border: 1px solid var(--ln); border-radius: 16px; background: #fff; box-shadow: 0 40px 80px -40px rgba(7, 11, 8, .4); }
.vis-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.vis-head b { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.vis-prog { height: 10px; border-radius: 6px; background: #eaf0ec; overflow: hidden; }
.vis-prog span { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #129b2e, #2fc24a); transform-origin: left; transform: scaleX(0); transition: transform 1.4s .3s cubic-bezier(.2, .7, .2, 1); }
.is-visible .vis-prog span, .hx-js .vis-prog span.go { transform: none; }
.hp:not(.hx-js) .vis-prog span { transform: none; }
.vis-cap { display: block; margin: 8px 0 20px; font-size: 13px; color: var(--mu); }
.vis-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
.vis-stats > div { padding: 14px; border: 1px solid var(--ln); border-radius: 12px; background: var(--bg); }
.vis-stats b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.vis-stats small { font-size: 12.5px; color: var(--mu); }
.vis-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.vis-steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--mu); }
.vis-steps li i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #eef2ef; font-size: 10px; }
.vis-steps li.done { color: var(--ink); }
.vis-steps li.done i { background: var(--g); color: #fff; }
.vis-steps li.now { color: var(--gd); font-weight: 600; }
.vis-steps li.now i { background: var(--soft); color: var(--g); animation: hx-ping 2s infinite; }
.vis-badge { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; background: #070b08; color: #fff; font-size: 14px; font-weight: 600; }
.vis-badge i { font-size: 20px; color: #7ec8ff; }
.vis-badge em { margin-left: auto; }
.vis-checks { margin: 0 0 18px; padding: 0; list-style: none; display: grid; }
.vis-checks li { display: flex; align-items: center; gap: 14px; padding: 13px 2px; border-bottom: 1px solid #eef2ef; }
.vis-checks li:last-child { border-bottom: 0; }
.vis-checks i { color: var(--g); font-size: 20px; }
.vis-checks span { display: grid; gap: 1px; }
.vis-checks b { font-size: 15px; font-weight: 600; color: var(--ink); }
.vis-checks small { font-size: 12.5px; color: var(--mu); }
.vis-meter { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--ln); font-size: 14px; color: var(--mu); }
.vis-meter b { display: inline-flex; align-items: center; gap: 8px; color: var(--gd); }

.hx-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 64px; }
.hx-head-row > div:first-child { max-width: 600px; }
.hx-head-side { max-width: 480px; display: grid; gap: 20px; }
.hx-tabs { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border: 1px solid var(--ln); border-radius: 12px; background: #fff; width: fit-content; }
.hx-tab { padding: 10px 18px; border: 0; border-radius: 9px; background: transparent; font-size: 15px; font-weight: 600; line-height: 1; color: var(--tx); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.hx-tab:hover { color: var(--gd); }
.hx-tab.is-active { background: var(--ink); color: #fff; }
.hx-pane { display: none; }
.hx-pane.is-active { display: block; animation: hx-up .5s cubic-bezier(.2, .7, .2, 1); }
.hx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hx-card { padding: 28px; border: 1px solid var(--ln); border-radius: 14px; background: #fff; transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.hx-card:hover { border-color: #b9d8c0; transform: translateY(-5px); box-shadow: 0 24px 44px -28px rgba(7, 11, 8, .35); }
.hx-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; background: var(--soft); color: var(--g); font-size: 19px; flex: none; transition: background-color .25s ease, color .25s ease; }
.hx-card:hover .hx-ico { background: var(--g); color: #fff; }
.hx-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.hx-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--mu); }

.hx-why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.hx-why-head { position: sticky; top: 120px; }
.hx-why-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ln); }
.hx-why-list li { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--ln); }
.hx-why-list .hx-ico { margin: 0; }
.hx-why-list h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.hx-why-list p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--mu); max-width: 560px; }
.hx-why-list li:hover .hx-ico { background: var(--g); color: #fff; }

@media (max-width: 1023.98px) {
    .hx-row, .hx-why { grid-template-columns: 1fr; gap: 40px; }
    .hx-row-rev .hx-row-media { order: 0; }
    .hx-row-body { max-width: none; }
    .hx-why-head { position: static; }
    .hx-head-row { flex-direction: column; align-items: flex-start; }
    .hx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-spot .hx-row + .hx-row { margin-top: 72px; }
}
@media (max-width: 639.98px) {
    .hx-cards { grid-template-columns: 1fr; gap: 14px; }
    .hx-card { padding: 22px; }
    .hx-tabs { display: flex; width: 100%; }
    .hx-tab { flex: 1 1 0; padding: 10px 6px; font-size: 13.5px; }
    .vis-stats { gap: 8px; }
    .vis-stats > div { padding: 10px; }
    .hx-vis { padding: 18px; }
    .hx-why-list li { gap: 16px; padding: 22px 0; }
}


/* ---------- platform section: intro, in-step links, CTAs ---------- */
.hx-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hx-story-intro { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.hx-story-list { margin-top: 28px; }
.hx-story-list p { max-height: none; overflow: visible; opacity: 1; margin: 0; transition: none; }
.hx-story-list li.is-active p { max-height: none; margin: 0; }
.hx-story-body { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s ease, margin .35s ease; }
.hx-story-list li.is-active .hx-story-body { max-height: 220px; opacity: 1; margin-top: 8px; }
.hx-story-list h3 { font-size: 20px; }
.hx-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; font-weight: 600; color: #8be99b !important; text-decoration: none; }
.hx-more i { font-size: 12px; transition: transform .2s ease; }
.hx-more:hover { color: #fff !important; }
.hx-more:hover i { transform: translateX(4px); }
.hx-story-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 639.98px) { .hx-story-cta { flex-direction: column; } .hx-story-cta .hx-btn { width: 100%; } }

/* platform section: keep heading + list + CTAs inside one laptop screen */
.hx-story .hx-h2 { font-size: clamp(1.65rem, 2.6vw, 2.35rem); margin: 12px 0 10px; }
.hx-story-intro { font-size: 16px; line-height: 1.6; }
.hx-story-list { margin-top: 18px; }
.hx-story-list li { padding: 13px 16px 13px 20px; }
.hx-story-list h3 { font-size: 18.5px; }
.hx-story-cta { margin-top: 20px; }
@media (min-width: 1024px) { .hx-story-pin { padding-top: 84px; } }


/* ======================================================================
   MORE MOTION AND CONTENT: progress bar, hero glow, stats, use cases, comparison
   ====================================================================== */
.hx-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.hx-progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #129b2e, #2fc24a, #8be99b); box-shadow: 0 0 12px rgba(47, 194, 74, .6); }

/* hero: drifting colour orbs and a soft cursor glow */
.hx-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .55; }
.hx-orb-a { width: 380px; height: 380px; left: 6%; top: 40px; background: rgba(47, 194, 74, .35); animation: hx-drift 14s ease-in-out infinite; }
.hx-orb-b { width: 320px; height: 320px; right: 4%; top: 160px; background: rgba(126, 200, 255, .28); animation: hx-drift 17s ease-in-out infinite reverse; }
.hx-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--hx, 50%) var(--hy, 30%), rgba(18, 155, 46, .12), transparent 70%); transition: background-position .2s; }
@keyframes hx-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }
.hx-pill { background-size: 200% 100%; }
.hx-btn-solid[data-magnet] { will-change: transform; }
.hx-btn-solid::after { content: ""; position: absolute; }
.hx-btn { position: relative; overflow: hidden; }
.hx-btn-solid::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.hx-btn-solid:hover::before { left: 130%; }

/* at a glance */
.hx-glance { background: #fff; border-bottom: 1px solid var(--ln); }
.hx-glance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hx-glance .g { padding: 44px 28px; border-left: 1px solid var(--ln); display: grid; gap: 6px; align-content: start; }
.hx-glance .g:first-child { border-left: 0; padding-left: 0; }
.hx-glance b { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hx-glance b i { font-style: normal; color: var(--g); }
.hx-glance .g > span { font-size: 16px; font-weight: 600; color: var(--ink); }
.hx-glance small { font-size: 14px; line-height: 1.5; color: var(--mu); }

/* use cases */
.hx-uc { background: #fff; }
.hx-uc-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.hx-uc-tabs { display: grid; gap: 8px; }
.hx-uc-tab { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--ln); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color .25s ease, background-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.hx-uc-tab > i { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--soft); color: var(--g); font-size: 18px; transition: background-color .25s ease, color .25s ease; }
.hx-uc-tab span { display: grid; gap: 2px; }
.hx-uc-tab b { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.hx-uc-tab small { font-size: 13.5px; color: var(--mu); }
.hx-uc-tab:hover { border-color: #b9d8c0; transform: translateX(4px); }
.hx-uc-tab.is-active { border-color: var(--g); background: var(--bg); box-shadow: 0 18px 34px -24px rgba(18, 155, 46, .6); }
.hx-uc-tab.is-active > i { background: var(--g); color: #fff; }
.hx-uc-stage { position: relative; min-height: 470px; display: grid; place-items: center; border-radius: 20px; background: linear-gradient(160deg, #0b140e, #070b08); overflow: hidden; padding: 30px; }
.hx-uc-stage::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -120px; background: radial-gradient(closest-side, rgba(18, 155, 46, .4), transparent); pointer-events: none; }
.hx-uc-pane { display: none; width: 100%; max-width: 330px; position: relative; }
.hx-uc-pane.is-active { display: block; animation: hx-up .5s cubic-bezier(.2, .7, .2, 1); }
.hx-uc-phone { border: 7px solid #1b2a20; border-radius: 34px; background: #eef3ef; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.hx-uc-phone .top { display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: #0b6f1f; color: #fff; font-size: 14px; }
.hx-uc-phone .top b { font-weight: 600; }
.hx-uc-phone .chat { display: grid; gap: 9px; padding: 16px 13px 22px; min-height: 290px; align-content: start; }
.hx-uc-phone .chat p { margin: 0; max-width: 86%; padding: 9px 12px; border-radius: 13px; font-size: 13px; line-height: 1.45; opacity: 0; transform: translateY(8px) scale(.96); }
.hx-uc-pane.is-active .chat p { animation: hx-pop .5s var(--t, 0s) cubic-bezier(.2, .7, .2, 1) forwards; }
.hx-uc-phone .in { justify-self: start; background: #fff; color: var(--tx); border-top-left-radius: 3px; }
.hx-uc-phone .out { justify-self: end; background: #d6f3dc; color: #0a2a12; border-top-right-radius: 3px; }
.hx-uc-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hx-uc-tags li { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .86); }

/* comparison */
.hx-table { max-width: 980px; margin: 0 auto; border: 1px solid var(--ln); border-radius: 16px; background: #fff; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(7, 11, 8, .4); }
.hx-table .row { display: grid; grid-template-columns: 1.1fr 1.5fr 1.7fr; align-items: center; border-top: 1px solid var(--ln); }
.hx-table .row:first-child { border-top: 0; }
.hx-table .row > * { padding: 20px 24px; font-size: 15.5px; line-height: 1.5; color: var(--tx); display: flex; align-items: flex-start; gap: 10px; }
.hx-table .row > b { font-weight: 600; color: var(--ink); }
.hx-table .row .us { background: #f1faf3; color: var(--ink); font-weight: 500; }
.hx-table .row i { margin-top: 5px; font-size: 12px; flex: none; }
.hx-table .row span:not(.us) i { color: #b4beb7; }
.hx-table .row .us i { color: var(--g); }
.hx-table .row.head > * { padding: 18px 24px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mu); }
.hx-table .row.head .us { color: var(--gd); }
.hx-table .row:not(.head):hover > * { background-color: #fafcfb; }
.hx-table .row:not(.head):hover .us { background-color: #e8f6eb; }
.hx-compare-cta { margin-top: 34px; text-align: center; }

/* animated emphasis on key words and numbers, headings fade their words in */
.hx-h2 { background-image: none; }
.hp.hx-js .hx-head .hx-h2, .hp.hx-js .hx-why-head .hx-h2 { transition: letter-spacing .9s cubic-bezier(.2, .7, .2, 1); }
.hp.hx-js .hx-head:not(.is-visible) .hx-h2 { letter-spacing: -0.01em; }

@media (max-width: 1023.98px) {
    .hx-glance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hx-glance .g { padding: 30px 20px; border-top: 1px solid var(--ln); }
    .hx-glance .g:nth-child(-n+2) { border-top: 0; }
    .hx-glance .g:nth-child(odd) { border-left: 0; padding-left: 0; }
    .hx-uc-grid { grid-template-columns: 1fr; gap: 28px; }
    .hx-uc-tabs { grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; scroll-snap-type: x mandatory; }
    .hx-uc-tabs::-webkit-scrollbar { display: none; }
    .hx-uc-tab { scroll-snap-align: start; }
    .hx-uc-tab:hover { transform: none; }
    .hx-uc-stage { min-height: 440px; }
    .hx-orb { opacity: .35; }
}
@media (max-width: 767.98px) {
    .hx-table .row { grid-template-columns: 1fr; }
    .hx-table .row.head { display: none; }
    .hx-table .row > b { padding: 16px 18px 4px; background: #fafcfb; }
    .hx-table .row > span { padding: 10px 18px; }
    .hx-table .row .us { padding-bottom: 16px; }
    .hx-glance b { font-size: 2.3rem; }
    .hx-uc-stage { padding: 22px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .hx-orb { animation: none; }
    .hx-uc-phone .chat p { opacity: 1; transform: none; animation: none !important; }
    .hx-btn-solid::before { display: none; }
}
