/* ==========================================================================
   Public website design system
   Deep navy · electric blue · white · soft gray · subtle violet
   ========================================================================== */
:root {
  --ink: #0b1b3f;
  --ink-2: #26365a;
  --muted: #5a6a88;
  --muted-2: #8392ad;
  --line: #e4e9f3;
  --line-2: #eef2f8;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-tint: #eef3ff;
  --navy: #0a1633;
  --navy-2: #0e1f47;
  --blue: #2f6bff;
  --blue-600: #1f56e6;
  --blue-50: #ecf2ff;
  --violet: #7c5cff;
  --violet-50: #f2efff;
  --green: #12a575;
  --amber: #d98a0b;
  --grad: linear-gradient(120deg, #2f6bff 0%, #5a63ff 55%, #7c5cff 100%);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(11, 27, 63, .06);
  --shadow-sm: 0 2px 8px rgba(11, 27, 63, .06), 0 1px 2px rgba(11, 27, 63, .04);
  --shadow: 0 12px 32px -12px rgba(11, 27, 63, .18), 0 2px 6px rgba(11, 27, 63, .05);
  --shadow-lg: 0 30px 60px -24px rgba(11, 27, 63, .28), 0 8px 20px -8px rgba(11, 27, 63, .10);
  --font-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;

  --bs-primary: #2f6bff;
  --bs-primary-rgb: 47, 107, 255;
  --bs-link-color: #1f56e6;
  --bs-link-color-rgb: 31, 86, 230;
  --bs-link-hover-color: #0b1b3f;
  --bs-body-color: #26365a;
  --bs-body-font-family: var(--font-body);
  --bs-border-color: #e4e9f3;
}

/* ---------------------------------------------------------------- base */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  color: var(--ink-2);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -.02em;
  font-weight: 700;
}
a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }
::selection { background: rgba(47, 107, 255, .18); }
:focus-visible { outline: 3px solid rgba(47, 107, 255, .55); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { --bs-gutter-x: 2rem; }
@media (min-width: 1400px) { .container { max-width: 1240px; } }

/* ---------------------------------------------------------------- buttons */
.btn { --bs-btn-font-weight: 600; border-radius: 12px; letter-spacing: -.005em; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn-lg { --bs-btn-padding-y: .8rem; --bs-btn-padding-x: 1.5rem; --bs-btn-font-size: 1rem; border-radius: 14px; }
.btn-sm { border-radius: 10px; --bs-btn-padding-x: .85rem; --bs-btn-padding-y: .42rem; }
.btn i { transition: transform .25s var(--ease); display: inline-block; }
.btn:hover i.bi-arrow-right, .btn:hover i.bi-arrow-right-short { transform: translateX(3px); }
.btn:hover i.bi-arrow-down-right { transform: translate(2px, 2px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--blue); --bs-btn-border-color: var(--blue);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--blue-600); --bs-btn-hover-border-color: var(--blue-600);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--blue-600); --bs-btn-active-border-color: var(--blue-600);
  --bs-btn-disabled-bg: var(--blue); --bs-btn-disabled-border-color: var(--blue);
  box-shadow: 0 8px 20px -8px rgba(47, 107, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-brand:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(47, 107, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-ghost {
  --bs-btn-color: var(--ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--line);
  --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #c9d4ea;
  --bs-btn-active-bg: var(--bg-soft); --bs-btn-active-border-color: #c9d4ea; --bs-btn-active-color: var(--ink);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-link-plain { color: var(--ink); background: none; border: 0; font-weight: 600; }
.btn-link-plain:hover { color: var(--blue-600); }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; color: var(--blue-600); position: relative; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 1.3em; bottom: -2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }

/* ---------------------------------------------------------------- typography helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .85rem;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -.03em; margin-bottom: .8rem; font-weight: 800; }
.display-title { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.section-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); margin-bottom: 0; }
.req { color: #d6336c; }
.opt { color: var(--muted-2); font-weight: 400; font-size: .85em; }

/* ---------------------------------------------------------------- scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

/* ---------------------------------------------------------------- header / navbar */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s, height .3s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header .navbar { width: 100%; padding: 0; }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(228, 233, 243, .9);
  box-shadow: 0 6px 24px -18px rgba(11, 27, 63, .35);
  --header-h: 66px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--grad); color: #fff; font-size: .85rem; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 8px 18px -8px rgba(47, 107, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.brand-logo { width: auto; height: 36px; max-width: 140px; object-fit: contain; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }

.main-nav { gap: .25rem; }
.main-nav .nav-link {
  color: var(--ink-2); font-weight: 500; font-size: .95rem; padding: .5rem .85rem !important; border-radius: 10px; position: relative;
}
.main-nav .nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav .nav-link:hover, .main-nav .nav-link.active, .main-nav .nav-link.show { color: var(--ink); }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .dropdown-toggle::after { display: none; }
.main-nav .dropdown-toggle { padding-right: 1.6rem !important; }
.main-nav .dropdown-toggle::before {
  content: "\F282"; font-family: "bootstrap-icons"; position: absolute; right: .55rem; top: 50%; font-size: .7rem;
  transform: translateY(-50%); transition: transform .25s var(--ease);
}
.main-nav .dropdown-toggle.show::before { transform: translateY(-50%) rotate(180deg); }
.btn-nav { padding: .55rem 1.05rem; }

.mega { position: static; }
@media (min-width: 992px) { .mega { position: relative; } }
.mega-menu {
  --bs-dropdown-border-width: 0; padding: 0; margin-top: .9rem !important; border-radius: 20px;
  width: min(820px, 92vw); left: 50% !important; transform: translateX(-50%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(11, 27, 63, .05);
  overflow: hidden;
}
.mega-menu.show { animation: megaIn .28s var(--ease) both; }
@keyframes megaIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mega-grid { display: grid; grid-template-columns: 1fr 240px; }
.mega-products { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: 1rem; }
.mega-item { display: flex; gap: .8rem; padding: .75rem; border-radius: 14px; color: var(--ink); transition: background-color .2s; align-items: flex-start; }
.mega-item:hover, .mega-item:focus-visible { background: var(--bg-soft); color: var(--ink); }
.mega-icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 1.15rem;
  background: var(--blue-50); color: var(--blue-600); transition: transform .3s var(--ease), background-color .3s;
}
.mega-item:hover .mega-icon { transform: translateY(-2px) rotate(-4deg); background: var(--blue); color: #fff; }
.mega-icon img { width: 24px; height: 24px; object-fit: contain; }
.mega-title { display: block; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.mega-desc { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: .15rem; }
.mega-aside { background: linear-gradient(160deg, var(--bg-tint), var(--violet-50)); padding: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.mega-aside p { font-size: .88rem; color: var(--ink-2); }
.mega-aside-link { margin-top: auto; padding-top: 1rem; font-size: .85rem; font-weight: 600; }

/* burger */
.nav-burger { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; display: grid; place-content: center; gap: 5px; padding: 0; }
.nav-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-burger:hover span:nth-child(2) { transform: translateX(3px); }

.mobile-nav { --bs-offcanvas-width: min(360px, 88vw); border-left: 0 !important; }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line-2); }
.mobile-links { list-style: none; padding: 0; margin: 0; }
.mobile-links > li { border-bottom: 1px solid var(--line-2); opacity: 0; transform: translateX(16px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.mobile-nav.show .mobile-links > li, .mobile-nav.showing .mobile-links > li { opacity: 1; transform: none; }
.mobile-links > li:nth-child(2) { transition-delay: .04s; } .mobile-links > li:nth-child(3) { transition-delay: .08s; }
.mobile-links > li:nth-child(4) { transition-delay: .12s; } .mobile-links > li:nth-child(5) { transition-delay: .16s; }
.mobile-links > li:nth-child(6) { transition-delay: .2s; }
.mobile-links a, .mobile-sub-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 1rem .25rem; color: var(--ink); font-weight: 600; font-size: 1.05rem; background: none; border: 0; text-align: left; }
.mobile-sub-toggle i { transition: transform .25s; }
.mobile-sub-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.mobile-sub { list-style: none; padding: 0 0 .75rem; margin: 0; }
.mobile-sub a { font-size: .95rem; font-weight: 500; padding: .55rem .5rem; justify-content: flex-start; gap: .6rem; color: var(--ink-2); }
.mobile-sub i { color: var(--blue); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)) 0 clamp(4rem, 8vw, 6rem);
  min-height: min(100vh, 980px); display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, #e9efff 0%, rgba(233, 239, 255, 0) 60%), linear-gradient(180deg, #fbfcff 0%, #fff 100%);
}
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(47, 107, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 107, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.orb-a { width: 460px; height: 460px; right: -80px; top: 6%; background: radial-gradient(circle, rgba(47, 107, 255, .45), transparent 65%); }
.orb-b { width: 380px; height: 380px; left: -120px; bottom: -60px; background: radial-gradient(circle, rgba(124, 92, 255, .32), transparent 65%); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .7rem; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 1.4rem;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(18, 165, 117, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 165, 117, .45); } 70% { box-shadow: 0 0 0 9px rgba(18, 165, 117, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 165, 117, 0); } }
.hero-title { font-size: clamp(2.4rem, 4.4vw, 3.85rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; margin-bottom: 1.4rem; }
.hero-title span { display: inline; }
@media (min-width: 992px) { .hero-title span { display: block; } }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-chips { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-chips-label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.hero-chips ul { display: flex; list-style: none; padding: 0; margin: 0; }
.hero-chips li + li { margin-left: -8px; }
.hero-chips a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-600);
  border: 2px solid #fff; box-shadow: 0 4px 12px -4px rgba(11, 27, 63, .25); font-size: 1.05rem; transition: transform .25s var(--ease);
  position: relative;
}
.hero-chips li:nth-child(even) a { color: var(--violet); }
.hero-chips a:hover { transform: translateY(-4px); z-index: 2; }

/* hero visual composition */
.hero-visual { position: relative; aspect-ratio: 1.08 / 1; max-width: 640px; margin-left: auto; }
.hero-canvas { position: absolute; inset: -8%; width: 116%; height: 116%; z-index: 0; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.hero-canvas.is-ready { opacity: 1; }
.hero-stage { position: absolute; inset: 0; z-index: 1; }
.hv-layer { position: absolute; will-change: transform; transition: transform .6s var(--ease); }
.hv-main { inset: 12% 4% 10% 8%; transform: perspective(1600px) rotateY(-14deg) rotateX(7deg) rotateZ(1deg); z-index: 1; }
.hv-window {
  height: 100%; border-radius: 20px; background: rgba(255, 255, 255, .92); overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 50px 90px -40px rgba(11, 27, 63, .45), 0 18px 36px -18px rgba(47, 107, 255, .35), 0 0 0 1px rgba(11, 27, 63, .06);
}
.hv-bar { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line-2); background: #fbfcff; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #e3e8f2; display: block; }
.dots i:nth-child(1) { background: #ff8a8a; } .dots i:nth-child(2) { background: #ffd36b; } .dots i:nth-child(3) { background: #6fdc9f; }
.hv-url { font-size: .72rem; color: var(--muted-2); background: var(--bg-soft); padding: .2rem .7rem; border-radius: 6px; }
.hv-body { flex: 1; display: flex; min-height: 0; }
.hv-side { width: 52px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .8rem 0; background: #fcfdff; }
.hv-side span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--muted-2); font-size: .9rem; }
.hv-side span.is-on { background: var(--blue); color: #fff; box-shadow: 0 6px 14px -6px rgba(47, 107, 255, .8); }
.hv-content { flex: 1; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.hv-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); color: var(--ink); font-size: .9rem; }
.hv-pill { font-size: .68rem; background: var(--bg-soft); border: 1px solid var(--line); padding: .15rem .55rem; border-radius: 999px; color: var(--muted); font-family: var(--font-body); }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.hv-kpis div { border: 1px solid var(--line-2); border-radius: 12px; padding: .55rem .65rem; background: #fff; display: flex; flex-direction: column; }
.hv-kpis small { font-size: .64rem; color: var(--muted-2); }
.hv-kpis b { font-family: var(--font-head); color: var(--ink); font-size: .98rem; line-height: 1.3; }
.hv-kpis em { font-style: normal; font-size: .62rem; font-weight: 600; }
em.up, .up { color: var(--green); } em.down, .down { color: #e5484d; }
.hv-chart { flex: 1; min-height: 70px; border: 1px solid var(--line-2); border-radius: 12px; padding: .4rem; }
.hv-chart svg { width: 100%; height: 100%; display: block; }
.hv-gridlines line { stroke: #eef2f8; stroke-width: 1; }
.hv-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .hv-line { animation: drawLine 2.2s .5s var(--ease) both; }
.hv-line-2 { animation: none !important; }
@keyframes drawLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hv-rows { display: flex; flex-direction: column; gap: .35rem; }
.hv-rows div { display: flex; align-items: center; gap: .5rem; font-size: .7rem; color: var(--ink-2); padding: .35rem .5rem; border-radius: 8px; background: var(--bg-soft); }
.hv-rows i { color: var(--blue); }
.hv-rows em { margin-left: auto; font-style: normal; color: var(--muted-2); }
.hv-float { z-index: 3; }
.float-card {
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .95); border-radius: 16px; padding: .75rem .9rem; display: flex; gap: .7rem; align-items: center;
  box-shadow: 0 24px 40px -20px rgba(11, 27, 63, .4), 0 0 0 1px rgba(11, 27, 63, .05);
}
.float-card small { display: block; font-size: .7rem; color: var(--muted); }
.float-card b { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.fc-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #e7f8f1; color: var(--green); font-size: 1.1rem; }
.hv-float-a { left: -2%; bottom: 14%; }
.hv-float-b { right: -3%; top: 5%; }
.hv-float-c { right: 2%; bottom: 2%; }
.float-donut svg { width: 42px; height: 42px; transform: rotate(-90deg); }
.float-list { flex-direction: column; align-items: stretch; gap: .35rem; padding: .7rem; }
.float-list span { display: flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 600; color: var(--ink); padding: .3rem .55rem; border-radius: 9px; background: var(--bg-soft); }
.float-list i { color: var(--blue); }
.js .hv-float .float-card { animation: bob 7s ease-in-out infinite; }
.hv-float-b .float-card { animation-delay: -2.5s !important; }
.hv-float-c .float-card { animation-delay: -4.5s !important; animation-duration: 8s !important; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hv-shape { position: absolute; pointer-events: none; z-index: 2; }
.hv-cube { width: 46px; height: 46px; left: 2%; top: 4%; transform-style: preserve-3d; }
.hv-cube i { position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(135deg, rgba(47, 107, 255, .85), rgba(124, 92, 255, .85)); border: 1px solid rgba(255, 255, 255, .5); }
.hv-cube i:nth-child(1) { transform: translateZ(23px); } .hv-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(23px); }
.hv-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(23px); opacity: .85; } .hv-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(23px); opacity: .85; }
.hv-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(23px); opacity: .7; } .hv-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(23px); opacity: .7; }
.js .hv-cube { animation: spin3d 18s linear infinite; }
@keyframes spin3d { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
.hv-ring { width: 120px; height: 120px; right: 22%; top: -2%; border-radius: 50%; border: 2px dashed rgba(124, 92, 255, .35); }
.js .hv-ring { animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hv-note { position: absolute; left: 10%; bottom: -1.5rem; font-size: .72rem; color: var(--muted-2); letter-spacing: .02em; z-index: 4; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; width: 26px; height: 42px; border: 2px solid #c8d3ea; border-radius: 14px; transform: translateX(-50%); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (min-width: 992px) and (min-height: 760px) { .scroll-cue { display: block; } }

/* ---------------------------------------------------------------- product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.5rem; }
.product-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), transform .5s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: #d3ddf2; }
.card-glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 107, 255, .10), transparent 45%);
}
.product-card:hover .card-glow { opacity: 1; }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.pc-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; flex: none; font-size: 1.45rem; color: #fff;
  background: var(--grad); box-shadow: 0 12px 22px -12px rgba(47, 107, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .45s var(--ease);
}
.pc-icon img { width: 30px; height: 30px; object-fit: contain; }
.pc-icon:has(img) { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pc-icon-lg { width: 60px; height: 60px; font-size: 1.6rem; border-radius: 17px; }
.pc-icon-xl { width: 68px; height: 68px; font-size: 1.9rem; border-radius: 20px; }
.pc-icon-xl img { width: 40px; height: 40px; }
.product-card:hover .pc-icon { transform: translateZ(30px) rotate(-6deg) scale(1.04); }
.pc-cat { font-size: .74rem; font-weight: 600; color: var(--blue-600); background: var(--blue-50); padding: .28rem .65rem; border-radius: 999px; white-space: nowrap; }
.pc-title { font-size: 1.22rem; margin-bottom: .5rem; line-height: 1.3; }
.pc-title a { color: var(--ink); }
.pc-title a:hover { color: var(--blue-600); }
.pc-desc { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.pc-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; }
.pc-features li { display: flex; gap: .55rem; font-size: .9rem; color: var(--ink-2); align-items: flex-start; }
.pc-features i { color: var(--blue); font-size: 1rem; line-height: 1.4; }
.pc-actions { margin-top: auto; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.pc-preview {
  margin-left: auto; width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  display: grid; place-items: center; transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.pc-preview:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }

/* ---------------------------------------------------------------- showcase (tabs) */
.showcase-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; align-items: start; }
.showcase-wrap > *, .eco-layout > *, .article-layout > *, .showcase-panel > *, .mockup-panels > * { min-width: 0; }
.showcase-tabs { display: flex; flex-direction: column; gap: .5rem; }
.showcase-tab {
  display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: 16px; border: 1px solid transparent; background: transparent;
  text-align: left; color: var(--ink-2); transition: background-color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease); width: 100%;
}
.showcase-tab:hover { background: rgba(255, 255, 255, .7); }
.showcase-tab.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.st-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue-600); font-size: 1.15rem; transition: all .3s var(--ease); }
.showcase-tab.is-active .st-icon { background: var(--grad); color: #fff; border-color: transparent; }
.st-text { display: flex; flex-direction: column; min-width: 0; }
.st-text b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; line-height: 1.3; }
.st-text small { color: var(--muted); font-size: .78rem; }
.st-arrow { margin-left: auto; color: var(--muted-2); transition: transform .3s var(--ease), color .3s; }
.showcase-tab.is-active .st-arrow { color: var(--blue); transform: translateX(3px); }
.showcase-panels { position: relative; min-height: 460px; }
.showcase-panel {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 28px; padding: 2rem; box-shadow: var(--shadow-lg);
}
.showcase-panel[hidden] { display: none; }
.showcase-panel.is-entering { animation: panelIn .55s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.sp-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.sp-title { font-size: 1.5rem; margin: .35rem 0 0; }
.sp-desc { color: var(--muted); }
.sp-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.sp-features li { display: flex; gap: .6rem; color: var(--ink-2); font-size: .95rem; }
.sp-features i { color: var(--blue); }
.sp-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.screenshot-frame { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.screenshot-frame img { display: block; width: 100%; }
.screenshot-frame figcaption { font-size: .75rem; color: var(--muted); padding: .5rem .8rem; border-top: 1px solid var(--line-2); }

/* ---------------------------------------------------------------- mockups */
.mockup {
  margin: 0; background: #fff; border-radius: 18px; overflow: hidden; color: var(--blue);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 12px; line-height: 1.35; width: 100%;
}
.mockup--school, .mockup--library { color: var(--violet); }
.mockup--pos, .mockup--sales { color: #0e9f6e; }
.mockup-bar { display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; border-bottom: 1px solid var(--line-2); background: #fbfcff; }
.mockup-title { font-weight: 600; color: var(--ink); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-title i { color: currentColor; }
.mockup-badge { margin-left: auto; font-size: .62rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px dashed #cbd5e6; padding: .12rem .5rem; border-radius: 999px; white-space: nowrap; }
.mockup-body { display: flex; min-height: 250px; }
.mockup-side { width: 44px; border-right: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .7rem 0; background: #fcfdff; }
.mockup-side span { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--muted-2); font-size: .85rem; }
.mockup-side span.is-on { background: currentColor; }
.mockup-side span.is-on i { color: #fff; }
.mockup-main { flex: 1; padding: .8rem; display: flex; flex-direction: column; gap: .65rem; min-width: 0; }
.mockup-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.kpi { border: 1px solid var(--line-2); border-radius: 10px; padding: .5rem .6rem; position: relative; display: flex; flex-direction: column; min-width: 0; }
.kpi-label { font-size: .64rem; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-value { font-family: var(--font-head); color: var(--ink); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.kpi-trend { position: absolute; right: .45rem; top: .4rem; font-size: .65rem; }
.kpi-trend.up { color: var(--green); } .kpi-trend.down { color: #e5484d; }
.mockup-panels { display: grid; grid-template-columns: 1.1fr 1fr; gap: .55rem; flex: 1; }
.mockup-chart, .mockup-list { border: 1px solid var(--line-2); border-radius: 10px; padding: .55rem .6rem; display: flex; flex-direction: column; min-width: 0; }
.panel-title { font-size: .66rem; font-weight: 600; color: var(--ink-2); margin-bottom: .4rem; }
.chart-line { width: 100%; flex: 1; min-height: 90px; }
.chart-line .stroke { stroke-dasharray: 1; stroke-dashoffset: 0; }
.chart-line .stroke-2 { stroke: #c6d1e8; stroke-dasharray: 3 4; }
.chart-bars { flex: 1; display: flex; align-items: flex-end; gap: 6%; min-height: 90px; padding-top: .3rem; }
.chart-bars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: currentColor; opacity: .25; transform-origin: bottom; }
.chart-bars span:nth-child(6) { opacity: 1; }
.chart-bars span:nth-child(4) { opacity: .6; }
.chart-donut-wrap { display: flex; align-items: center; gap: .7rem; flex: 1; }
.chart-donut { width: 80px; height: 80px; transform: rotate(-90deg); flex: none; }
.chart-donut .track { stroke: #eef2f8; }
.chart-donut .seg-1 { stroke: currentColor; }
.chart-donut .seg-2 { stroke: #c9bcff; }
.legend { list-style: none; padding: 0; margin: 0; font-size: .64rem; color: var(--muted); display: grid; gap: .25rem; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: .3rem; }
.legend .l1 { background: currentColor; color: var(--violet); } .legend .l2 { background: #c9bcff; } .legend .l3 { background: #eef2f8; }
.chart-funnel { display: grid; gap: .35rem; flex: 1; align-content: center; }
.chart-funnel span { width: var(--w); margin: 0 auto; text-align: center; font-size: .62rem; font-weight: 600; color: #fff; padding: .32rem 0; border-radius: 6px; background: currentColor; transform-origin: center; }
.chart-funnel span:nth-child(1) { opacity: .45; } .chart-funnel span:nth-child(2) { opacity: .6; } .chart-funnel span:nth-child(3) { opacity: .8; }
.chart-funnel span { color: inherit; }
.chart-funnel span { -webkit-text-fill-color: #fff; }
.row-item { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: .38rem 0; border-bottom: 1px solid var(--line-2); }
.row-item:last-child { border-bottom: 0; }
.ri-main { display: flex; flex-direction: column; min-width: 0; }
.ri-main b { font-weight: 600; color: var(--ink); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-main small { font-size: .6rem; color: var(--muted-2); }
.chip { font-size: .58rem; font-weight: 600; padding: .14rem .45rem; border-radius: 999px; white-space: nowrap; }
.chip-ok { background: #e7f8f1; color: #0b8a60; } .chip-warn { background: #fff4e0; color: #b16d00; } .chip-info { background: var(--blue-50); color: var(--blue-600); }
/* mockup in-view animations */
.js .mockup.is-inview .chart-bars span { animation: growY .9s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.js .mockup.is-inview .chart-line .stroke { animation: drawLine 1.6s var(--ease) both; }
.js .mockup.is-inview .chart-funnel span { animation: growX .8s var(--ease) both; }
.js .mockup.is-inview .chart-funnel span:nth-child(2) { animation-delay: .08s; } .js .mockup.is-inview .chart-funnel span:nth-child(3) { animation-delay: .16s; } .js .mockup.is-inview .chart-funnel span:nth-child(4) { animation-delay: .24s; }
.js .mockup.is-inview .chart-donut .seg { animation: donut 1.2s var(--ease) both; }
@keyframes growY { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes donut { from { stroke-dasharray: 0 100; } }

/* ---------------------------------------------------------------- ecosystem */
.ecosystem { background: linear-gradient(180deg, #fff 0%, #f7f9fe 100%); }
.eco-pills { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.eco-pills li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; color: var(--muted); transition: all .4s var(--ease); }
.eco-pills li i { color: var(--muted-2); transition: color .4s; }
.eco-pills li.is-active { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.eco-pills li.is-active i { color: #9fb8ff; }
.eco-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
.eco-step { padding: 2rem 0; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; transition: opacity .5s var(--ease); }
.eco-ready .eco-step:not(.is-active) { opacity: .35; }
.eco-index { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--blue); margin-bottom: .6rem; letter-spacing: .08em; }
.eco-cat { display: inline-flex; gap: .45rem; align-items: center; font-weight: 600; font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.eco-cat i { color: var(--violet); }
.eco-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; font-weight: 800; }
.eco-step p { color: var(--muted); font-size: 1.05rem; max-width: 480px; }
.eco-feats { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.eco-feats li { font-size: .8rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.eco-stage-wrap { position: relative; }
.eco-stage { position: sticky; top: calc(50vh - 220px); height: 440px; perspective: 1400px; }
.eco-orbit { position: absolute; inset: -6% -2%; border-radius: 40px; background: radial-gradient(60% 60% at 50% 45%, rgba(47, 107, 255, .14), transparent 70%), radial-gradient(40% 40% at 80% 80%, rgba(124, 92, 255, .14), transparent 70%); }
.eco-visual {
  position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden;
  transform: translateY(26px) rotateX(8deg) scale(.96); transform-origin: 50% 100%;
  transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.eco-visual.is-active { opacity: 1; visibility: visible; transform: rotateY(-8deg) rotateX(4deg); transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s; }
.eco-visual .mockup { box-shadow: 0 50px 90px -40px rgba(11, 27, 63, .45), 0 0 0 1px rgba(11, 27, 63, .05); }
.eco-counter { position: absolute; right: 0; bottom: -2.5rem; font-family: var(--font-head); color: var(--muted-2); font-weight: 600; }
.eco-counter b { color: var(--ink); }

/* ---------------------------------------------------------------- features / why */
.why-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.feature-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-tile h3 { font-size: 1.08rem; margin: 1rem 0 .4rem; }
.feature-tile p { color: var(--muted); font-size: .94rem; margin: 0; }
.ft-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; background: var(--blue-50); color: var(--blue-600); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.feature-tile:nth-child(3n+2) .ft-icon { background: var(--violet-50); color: var(--violet); }
.feature-tile:hover .ft-icon { transform: rotate(-8deg) scale(1.08); }

/* ---------------------------------------------------------------- industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; perspective: 1200px; }
.industry-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 1.8rem; background: #fff; border: 1px solid var(--line);
  min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.industry-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
  background: linear-gradient(150deg, var(--navy-2), #1b2f6b 60%, #3b2f8f);
}
.industry-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.industry-card:hover::before { opacity: 1; }
.industry-card:hover h3, .industry-card:hover p { color: #fff; }
.industry-card:hover p { color: rgba(255, 255, 255, .78); }
.ind-art { position: absolute; right: -12px; top: -18px; font-size: 7.5rem; line-height: 1; color: var(--bg-tint); z-index: -1; transition: transform .7s var(--ease), color .5s; }
.industry-card:hover .ind-art { transform: translate(-10px, 10px) rotate(-8deg) scale(1.05); color: rgba(255, 255, 255, .07); }
.ind-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 1.2rem; margin-bottom: auto; box-shadow: 0 10px 20px -10px rgba(47, 107, 255, .9); }
.industry-card h3 { font-size: 1.12rem; margin: 1.5rem 0 .35rem; transition: color .4s; }
.industry-card p { font-size: .92rem; color: var(--muted); margin: 0; transition: color .4s; }

/* ---------------------------------------------------------------- posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.4rem; color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, #3d74ff, #7c5cff); position: relative; overflow: hidden; transition: transform .8s var(--ease); }
.post-placeholder::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 28px 28px; }
.post-card:hover .post-placeholder { transform: scale(1.06); }
.post-placeholder-lg { aspect-ratio: 21 / 8; font-size: 3.5rem; border-radius: var(--radius-lg); }
.post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: .75rem; font-size: .8rem; color: var(--muted); margin-bottom: .6rem; flex-wrap: wrap; }
.post-cat { font-size: .75rem; font-weight: 600; color: var(--blue-600); background: var(--blue-50); padding: .25rem .65rem; border-radius: 999px; position: relative; z-index: 1; display: inline-block; }
.post-cat:hover { background: var(--blue); color: #fff; }
.post-title { font-size: 1.15rem; line-height: 1.35; margin-bottom: .5rem; }
.post-title a { color: var(--ink); background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease), color .2s; }
.post-title a:hover { color: var(--blue-600); background-size: 100% 2px; }
.post-excerpt { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.post-body .link-arrow { margin-top: auto; font-size: .9rem; }

/* ---------------------------------------------------------------- CTA */
.cta-section { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.section + .cta-section, .section-soft + .cta-section { padding-top: clamp(3rem, 6vw, 4.5rem); }
.cta-panel {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(2.5rem, 6vw, 4.5rem); color: #fff; isolation: isolate;
  background: radial-gradient(800px 400px at 100% 0%, rgba(124, 92, 255, .45), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(47, 107, 255, .45), transparent 60%), var(--navy);
  box-shadow: 0 40px 80px -40px rgba(10, 22, 51, .7);
}
.cta-lines { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.cta-orb { position: absolute; width: 300px; height: 300px; right: 8%; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .55), transparent 65%); filter: blur(30px); z-index: -1; }
.cta-inner { max-width: 640px; }
.cta-panel h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.035em; font-weight: 800; }
.cta-panel p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-panel .btn-light { --bs-btn-color: var(--ink); }
.cta-panel .btn-light:hover { transform: translateY(-1px); }

/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .72); padding: clamp(4rem, 8vw, 5.5rem) 0 2rem; font-size: .94rem; }
.footer-glow { position: absolute; width: 700px; height: 400px; left: 50%; top: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(47, 107, 255, .35), transparent); filter: blur(10px); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124, 92, 255, .7), rgba(47, 107, 255, .7), transparent); }
.brand-light, .brand-light:hover { color: #fff; }
.footer-about { max-width: 360px; }
.footer-title { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; font-weight: 700; }
.footer-links, .footer-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.footer-links a { position: relative; }
.footer-posts li { display: flex; flex-direction: column; }
.footer-posts time { font-size: .78rem; color: rgba(255, 255, 255, .45); }
.footer-contact li { display: flex; gap: .65rem; margin-bottom: .55rem; align-items: flex-start; }
.footer-contact i { color: #8fb0ff; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); transition: transform .25s var(--ease), background-color .25s; }
.footer-social a:hover { transform: translateY(-3px); background: var(--blue); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .86rem; }
.footer-legal { list-style: none; display: flex; gap: 1.25rem; padding: 0; margin: 0; flex-wrap: wrap; }

/* ---------------------------------------------------------------- inner pages */
.page-hero, .product-hero, .article-hero, .error-page { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 3rem) 0 3rem; background: linear-gradient(180deg, #f8faff, #fff); }
.product-hero { padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero .orb-a, .article-hero .orb-a { width: 380px; height: 380px; right: -100px; top: -100px; }
.crumbs { font-size: .85rem; margin-bottom: 1.75rem; --bs-breadcrumb-divider-color: var(--muted-2); --bs-breadcrumb-item-active-color: var(--muted); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--blue-600); }
.page-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 1rem; }
.page-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 680px; margin-bottom: 1.75rem; }
.product-visual { max-width: 600px; margin-left: auto; transform-style: preserve-3d; transition: transform .5s var(--ease); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); top: calc(var(--header-h) + 1.5rem) !important; }
.side-url { margin: 1rem 0 0; font-size: .82rem; color: var(--muted); display: flex; gap: .4rem; align-items: center; word-break: break-all; }
.feature-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.feature-li { display: flex; gap: .7rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line-2); color: var(--ink); font-weight: 500; }
.feature-li i { color: var(--blue); font-size: 1.15rem; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.shot-thumb { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.shot-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot-thumb:hover img { transform: scale(1.05); }

/* prose (rich text) */
.prose { color: var(--ink-2); font-size: 1.06rem; line-height: 1.8; }
.prose-page { max-width: 780px; }
.prose-sm { font-size: 1rem; }
.prose h2 { font-size: 1.65rem; margin: 2.2rem 0 .9rem; letter-spacing: -.025em; }
.prose h3 { font-size: 1.3rem; margin: 1.8rem 0 .7rem; }
.prose h4 { font-size: 1.1rem; margin: 1.5rem 0 .6rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.2rem; }
.prose a { color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul li::marker { color: var(--blue); }
.prose blockquote { border-left: 4px solid var(--blue); background: var(--bg-soft); padding: 1rem 1.25rem; border-radius: 0 12px 12px 0; margin: 1.5rem 0; color: var(--ink); font-style: italic; }
.prose img { border-radius: 14px; margin: 1rem 0; height: auto; }
.prose pre { background: var(--navy); color: #e6ecff; padding: 1rem 1.2rem; border-radius: 12px; font-size: .9rem; }
.prose code { color: #c2255c; }
.prose pre code { color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose hr { margin: 2rem 0; opacity: .15; }
.page-updated { margin-top: 2.5rem; font-size: .85rem; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 1rem; }

/* blog listing */
.blog-search { display: flex; align-items: center; gap: .5rem; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .4rem .4rem .4rem 1rem; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.blog-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 107, 255, .14); }
.blog-search i { color: var(--muted-2); }
.blog-search input { border: 0; outline: 0; flex: 1; min-width: 0; background: transparent; padding: .4rem 0; color: var(--ink); }
.cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.cat-chips a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 500; font-size: .9rem; transition: all .25s var(--ease); }
.cat-chips a span { font-size: .75rem; color: var(--muted-2); margin-left: .2rem; }
.cat-chips a:hover { border-color: #c9d4ea; transform: translateY(-1px); }
.cat-chips a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chips a.is-active span { color: rgba(255, 255, 255, .6); }
.cat-chips .chip-link { border-style: dashed; }
.search-summary { color: var(--muted); margin-bottom: 1.5rem; }
.pagination { --bs-pagination-border-radius: 12px; --bs-pagination-color: var(--ink); --bs-pagination-active-bg: var(--blue); --bs-pagination-active-border-color: var(--blue); --bs-pagination-border-color: var(--line); --bs-pagination-hover-bg: var(--bg-soft); gap: .35rem; }
.pagination .page-link { border-radius: 12px !important; min-width: 42px; text-align: center; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.25rem; }
.category-card { display: flex; flex-direction: column; padding: 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.category-card h2 { font-size: 1.2rem; margin: 1rem 0 .4rem; }
.category-card p { color: var(--muted); font-size: .93rem; }
.cat-count { margin-top: auto; font-weight: 600; color: var(--blue-600); font-size: .9rem; }

/* article */
.article-head { max-width: 820px; }
.article-title { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 1rem 0; }
.article-meta { display: flex; align-items: center; gap: .85rem; font-size: .9rem; color: var(--muted); }
.article-meta b { color: var(--ink); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; font-size: .9rem; flex: none; }
.avatar-lg { width: 60px; height: 60px; font-size: 1.1rem; }
.article-cover { margin: 0 0 3rem; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 3.5rem; padding-bottom: 4rem; }
.article-layout.has-toc { grid-template-columns: 240px minmax(0, 760px); }
.article-toc { position: relative; }
.toc-card { position: sticky; top: calc(var(--header-h) + 1.5rem); border-left: 2px solid var(--line); padding-left: 1.1rem; }
.toc-title { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .8rem; }
.toc-card ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.toc-card li.lvl-3 { padding-left: .85rem; }
.toc-card a { color: var(--muted); font-size: .9rem; line-height: 1.4; display: block; transition: color .2s, transform .2s var(--ease); }
.toc-card a:hover { color: var(--ink); }
.toc-card a.is-active { color: var(--blue-600); font-weight: 600; transform: translateX(3px); }
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 1.5rem; }
.article-tags a { font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.article-tags a:hover { border-color: var(--blue); color: var(--blue-600); }
.share-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-row > span { font-weight: 600; color: var(--ink); margin-right: .5rem; font-size: .92rem; }
.share-row a, .share-row button { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all .25s var(--ease); }
.share-row a:hover, .share-row button:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.share-row .copy-link { width: auto; padding: 0 .85rem; display: inline-flex; gap: .35rem; font-size: .85rem; font-weight: 600; }
.author-box { display: flex; gap: 1.1rem; align-items: center; margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line-2); }

/* contact */
.contact-info { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.contact-list { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: center; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a, .contact-list span { color: var(--ink); font-weight: 500; }
.ci-icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-size: 1.15rem; }
.next-steps { background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.next-steps ol { margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .93rem; display: grid; gap: .35rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); }
.form-label { font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .4rem; }
.form-control, .form-select { border-radius: 12px; border-color: var(--line); padding: .72rem .95rem; color: var(--ink); background-color: #fbfcff; transition: border-color .25s, box-shadow .25s, background-color .25s, transform .25s var(--ease); }
.form-control:hover, .form-select:hover { border-color: #cdd7ea; }
.form-control:focus, .form-select:focus { border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .14); }
.form-control.is-invalid, .form-select.is-invalid { background-color: #fffafa; }
.invalid-feedback { font-weight: 500; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); }
.btn-loading { display: none; }
.is-loading .btn-label { display: none; }
.is-loading .btn-loading { display: inline-flex; align-items: center; gap: .5rem; }
.form-success { text-align: center; padding: 2rem 1rem; outline: none; }
.success-check { display: inline-block; width: 76px; height: 76px; margin-bottom: 1rem; }
.success-check svg { width: 100%; height: 100%; }
.success-check circle { stroke: var(--green); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: dash .8s var(--ease) forwards; }
.success-check path { stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash .45s .6s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* empty state, errors */
.empty-state { text-align: center; padding: 4rem 1rem; border: 1px dashed #cfd8ea; border-radius: var(--radius-lg); background: var(--bg-soft); color: var(--muted); }
.empty-state i { font-size: 2.4rem; color: var(--muted-2); display: block; margin-bottom: .75rem; }
.error-page { min-height: 80vh; display: flex; align-items: center; }
.error-code { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }

/* admin preview banner */
.preview-banner { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 1200; background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow-lg); max-width: calc(100% - 2rem); }
.preview-banner a { color: #9fb8ff; text-decoration: underline; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1199.98px) {
  .showcase-wrap { grid-template-columns: 1fr; }
  .showcase-tabs { flex-direction: row; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .showcase-tab { flex: 0 0 auto; width: auto; scroll-snap-align: start; }
  .st-arrow { display: none; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  :root { --header-h: 66px; }
  .site-header { background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--line-2); }
  .hero { min-height: 0; }
  .hero-visual { margin: 0 auto; max-width: 560px; }
  .hv-main { transform: perspective(1600px) rotateY(-6deg) rotateX(4deg); }
  .showcase-panel { grid-template-columns: 1fr; padding: 1.5rem; }
  .eco-layout { grid-template-columns: 1fr; }
  .eco-stage-wrap { display: none; }
  .eco-step { min-height: 0; opacity: 1; padding: 1.75rem; margin-bottom: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
  .why-intro { position: static; }
  .article-layout.has-toc { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .toc-card { position: static; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
  .contact-info { position: static; }
  .mega-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .feature-grid, .industry-grid, .feature-list-grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -.035em; }
  .hv-float-c { display: none; }
  .hv-float-a { left: 0; bottom: 6%; }
  .hv-float-b { right: 0; top: 0; }
  .hv-kpis div:nth-child(3) { display: none; }
  .hv-kpis { grid-template-columns: repeat(2, 1fr); }
  .mockup-panels { grid-template-columns: 1fr; }
  .mockup-list .row-item:nth-child(n+4) { display: none; }
  .product-card { padding: 1.4rem; }
  .section-head-split { align-items: flex-start; }
  .cta-panel { border-radius: 24px; }
  .footer-bottom { flex-direction: column; }
  .brand-name { max-width: 170px; }
  .industry-card { min-height: 0; }
}
@media (max-width: 419.98px) {
  .hero-ctas .btn { width: 100%; }
  .mockup-kpis { grid-template-columns: repeat(2, 1fr); }
  .mockup-kpis .kpi:nth-child(3) { display: none; }
}

/* Touch devices: no hover-only tilt */
@media (hover: none) {
  .product-card:hover .pc-icon { transform: none; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-orb, .hv-layer { transform: none !important; }
  .hv-main { transform: perspective(1600px) rotateY(-8deg) rotateX(4deg) !important; }
  .js .hv-cube, .js .hv-ring, .js .hv-float .float-card { animation: none !important; }
  .eco-step { opacity: 1; }
}

/* print */
@media print {
  .site-header, .site-footer, .scroll-progress, .cta-section, .share-row, .hero-visual { display: none !important; }
  .page-hero, .article-hero { padding-top: 1rem; }
}
