/* ==========================================================================
   Component: datpro_home_v2 — Homepage V4 ("Bản 2", 2026-09-29)

   Page-scoped system for the Homepage only (every selector is prefixed
   .hv- or scoped under .dp-header.hv-overlay), so linking this file from
   any other page changes nothing there. Replaces the V3 inline <style>
   block that used to live inside index.html.

   Why a transparent header only here: the header markup stays byte-for-byte
   the shared one (CLAUDE.md: never redesign it per page) — the Homepage
   just adds the .hv-overlay modifier. Until ui.js sets .is-stuck (scrollY
   > 8) the bar floats over the dark hero with white text; after that it
   is the normal white header, frosted.

   Motion rules: every loop is a slow transform/opacity animation (GPU
   friendly, no layout thrash) and base.css's prefers-reduced-motion block
   already collapses all of them to 0.01ms — we add one more guard below
   for the decorative layers so they also stop *moving* position.
   ========================================================================== */

.hv {
  --hv-ink: #04163a;
  --hv-night: #040d24;
  --hv-night-2: #06132e;
  --hv-body: #4a5a70;
  --hv-soft: #f4f7fc;
  --hv-line: #e3e9f1;
  --hv-grad-hero: linear-gradient(90deg, #67e8f9, #60a5fa, #a78bfa, #67e8f9);
  --hv-grad-ink: linear-gradient(90deg, #005aba, #7c3aed, #0891b2, #005aba);
  --hv-btn-grad: linear-gradient(135deg, #2f8cff, #005aba);
  --hv-py: clamp(4.5rem, 8vw, 7rem);
  overflow-x: clip;
}

/* ---------- Header overlay (Homepage only) -------------------------------- */

.dp-header.hv-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
  transition: background-color 320ms var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.dp-header.hv-overlay.is-stuck {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-logo img {
  filter: brightness(0) invert(1);
}

body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-nav__list > li > .dp-nav__link,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-header__actions .dp-icon-btn,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-header__actions .dp-lang__toggle,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-burger {
  color: rgba(255, 255, 255, 0.86);
}

body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-nav__list > li > .dp-nav__link:hover,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-nav__list > li > .dp-nav__link[aria-current="page"] {
  color: #fff;
}

body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-nav__link::after {
  background: #67e8f9;
}

body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-icon-btn:hover,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-lang__toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-header__divider {
  background: rgba(255, 255, 255, 0.18);
}

body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-lang__chevron {
  color: rgba(255, 255, 255, 0.6);
}

body.dp-no-scroll .dp-header.hv-overlay {
  background: #fff;
}

/* ---------- Shared building blocks ---------------------------------------- */

.hv-dark {
  position: relative;
  background: var(--hv-night);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hv-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
  will-change: transform;
}

.hv-orb--1 { animation: hv-drift1 18s ease-in-out infinite; }
.hv-orb--2 { animation: hv-drift2 22s ease-in-out infinite; }
.hv-orb--3 { animation: hv-drift3 26s ease-in-out infinite; }

@keyframes hv-drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(9vw, 5vw) scale(1.15); } }
@keyframes hv-drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-10vw, 6vw) scale(0.9); } }
@keyframes hv-drift3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6vw, -7vw); } }

.hv-gridlines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 35%, #000 25%, transparent 72%);
}

.hv-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.hv-grad {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: hv-shine 6s linear infinite;
}

.hv-grad--hero { background-image: var(--hv-grad-hero); }
.hv-grad--ink { background-image: var(--hv-grad-ink); }
.hv-grad--eco { background-image: linear-gradient(90deg, #12a05c, #005aba, #7c3aed, #12a05c); }

@keyframes hv-shine { to { background-position: 200% center; } }

.hv-float { animation: hv-float 6s ease-in-out infinite; }
.hv-float--b { animation-duration: 7s; animation-delay: -2s; }
.hv-float--c { animation-duration: 8s; animation-delay: -4s; }

@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hv-bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  transform-origin: bottom;
  animation: hv-grow 2.4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite alternate;
}

@keyframes hv-grow { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }

.hv-sheen { position: relative; overflow: hidden; }
.hv-sheen::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: hv-sheen 5s ease-in-out infinite;
}

@keyframes hv-sheen { 0%, 55% { left: -60%; } 100% { left: 140%; } }

.hv-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: hv-spin 40s linear infinite;
}

@keyframes hv-spin { to { transform: rotate(360deg); } }

.hv-pulse { animation: hv-pulse 2s ease-out infinite; }
@keyframes hv-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.65); }
  100% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
}

/* staggered scroll reveal on top of base.css .dp-reveal */
.hv .dp-reveal { transition-delay: var(--d, 0ms); transition-duration: 760ms; }
.hv .dp-reveal:not(.is-visible) { transform: translateY(26px); }

/* ---------- Buttons ------------------------------------------------------- */

.hv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 56px;
  padding: 0 1.75rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  text-decoration: none;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), background-color var(--dur) var(--ease);
}

.hv-btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.hv-btn:hover svg { transform: translateX(3px); }

.hv-btn--primary {
  background: var(--hv-btn-grad);
  color: #fff;
  box-shadow: 0 14px 40px -12px rgba(47, 140, 255, 0.8);
}

.hv-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(47, 140, 255, 0.85); }

.hv-btn--glass { color: #fff; }
.hv-btn--glass:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

.hv-btn--light { background: #fff; color: var(--hv-ink); font-weight: var(--fw-bold); }
.hv-btn--light:hover { color: var(--hv-ink); transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(255, 255, 255, 0.5); }

.hv-btn--outline { border: 1px solid #d5e0ee; color: var(--dp-blue); min-height: 48px; padding: 0 1.25rem; border-radius: 12px; }
.hv-btn--outline:hover { border-color: var(--dp-blue); }

/* ---------- Section heading ----------------------------------------------- */

.hv-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dp-blue);
}

.hv-title {
  margin: 0;
  font-size: clamp(2.375rem, 1.5rem + 3.2vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hv-ink);
}

.hv-title > span { display: block; }

.hv-lead {
  margin: 0;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--hv-body);
}

/* ==========================================================================
   01 · Hero
   ========================================================================== */

.hv-hero {
  min-height: min(100svh, 980px);
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
}

.hv-hero__spot {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 62%) var(--my, 40%), rgba(96, 165, 250, 0.17), transparent 60%);
}

.hv-hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 11fr 10fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.hv-hero__copy { display: flex; flex-direction: column; gap: 1.75rem; }

.hv-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
}

.hv-chip__dot { width: 8px; height: 8px; border-radius: 99px; background: #22d3ee; }

.hv-hero__title {
  margin: 0;
  font-size: clamp(3.25rem, 1.6rem + 5.6vw, 5.75rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.hv-hero__title > span { display: block; }

.hv-hero__desc {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
}

.hv-hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* hero visual — drawn in CSS so no raster collage and no baked-in claims */
.hv-stage { position: relative; height: 600px; }

.hv-stage__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  animation: hv-spin 40s linear infinite;
}

.hv-stage__orbit::before,
.hv-stage__orbit::after {
  content: "";
  position: absolute;
  border-radius: 99px;
}

.hv-stage__orbit::before { left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; background: #22d3ee; box-shadow: 0 0 18px 4px rgba(34, 211, 238, 0.7); }
.hv-stage__orbit::after { left: -4px; top: 50%; width: 8px; height: 8px; background: #a78bfa; box-shadow: 0 0 16px 4px rgba(167, 139, 250, 0.7); }

.hv-stage__orbit2 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.07);
}

.hv-dash {
  position: absolute;
  left: 20px;
  top: 110px;
  width: 520px;
  height: 350px;
  display: flex;
  overflow: hidden;
  border-radius: 22px;
  transform: perspective(1400px) rotateY(-14deg) rotateX(8deg);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
}

.hv-dash__side { width: 60px; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 18px; background: rgba(255, 255, 255, 0.05); border-right: 1px solid rgba(255, 255, 255, 0.08); }
.hv-dash__logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #2f8cff, #22d3ee); margin-bottom: 10px; }
.hv-dash__nav { width: 24px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.hv-dash__main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.hv-dash__top { display: flex; justify-content: space-between; align-items: center; }
.hv-dots { display: flex; gap: 6px; }
.hv-dots i { width: 8px; height: 8px; border-radius: 99px; background: #f87171; }
.hv-dots i:nth-child(2) { background: #fbbf24; }
.hv-dots i:nth-child(3) { background: #34d399; }
.hv-dash__search { width: 120px; height: 22px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); }
.hv-dash__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hv-dash__tile { border-radius: 12px; padding: 12px; background: rgba(255, 255, 255, 0.06); display: flex; flex-direction: column; gap: 8px; }
.hv-dash__tile i { width: 24px; height: 24px; border-radius: 7px; }
.hv-dash__tile b { width: 68%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.55); }
.hv-dash__tile s { width: 45%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.2); }
.hv-dash__chart { position: relative; flex: 1; display: flex; align-items: flex-end; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.hv-dash__line { position: absolute; left: 14px; top: 14px; width: calc(100% - 28px); height: 60%; overflow: visible; }
.hv-dash__line polyline { stroke-dasharray: 600; stroke-dashoffset: 600; animation: hv-draw 4s ease-out infinite; }

@keyframes hv-draw { 0% { stroke-dashoffset: 600; } 55%, 100% { stroke-dashoffset: 0; } }

.hv-phone {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  border: 7px solid #0b1328;
  border-radius: 34px;
  background: #f5f9f7;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.hv-phone__head { height: 110px; padding: 26px 16px 0; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(135deg, #22c983, #0f8f55); }
.hv-phone__head b { width: 60%; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, 0.9); }
.hv-phone__head s { width: 40%; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.6); }
.hv-phone__body { padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.hv-phone__row { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: #fff; }
.hv-phone__row i { width: 24px; height: 24px; border-radius: 99px; background: #dcf3e7; }
.hv-phone__row s { flex: 1; height: 7px; border-radius: 4px; background: #d5dde8; }
.hv-phone__chart { height: 86px; padding: 10px; display: flex; align-items: flex-end; gap: 6px; border-radius: 12px; background: #fff; }

.hv-stage .hv-phone { right: 0; bottom: 20px; width: 188px; height: 376px; }

.hv-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.hv-tag i { width: 10px; height: 10px; border-radius: 99px; background: var(--c); box-shadow: 0 0 12px var(--c); }

.hv-marquee {
  position: relative;
  height: 84px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hv-marquee__track { display: flex; width: max-content; animation: hv-marquee 34s linear infinite; }
.hv-marquee__item { display: inline-flex; align-items: center; gap: 12px; padding-right: 4rem; font-size: 1.25rem; font-weight: var(--fw-bold); color: rgba(255, 255, 255, 0.62); white-space: nowrap; }
.hv-marquee__item i { width: 9px; height: 9px; border-radius: 99px; background: var(--c); }

@keyframes hv-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   02 · Enterprise bento
   ========================================================================== */

.hv-section { padding-block: var(--hv-py); }
.hv-section--soft { background: var(--hv-soft); }

.hv-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: clamp(1.25rem, 4vw, 4rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.hv-head__main { display: flex; flex-direction: column; gap: 1rem; }
.hv-head--split { display: flex; justify-content: space-between; }

.hv-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 20px;
}

.hv-flagship {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 28px;
  background: var(--hv-night-2);
}

.hv-flagship__kicker { font-size: 0.8125rem; font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase; color: #7dd3fc; }
.hv-flagship__title { margin: 0.875rem 0 0; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.375rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.hv-flagship__title > span { display: block; }

.hv-flow { position: relative; display: flex; align-items: center; justify-content: space-between; height: 96px; }
.hv-flow__rail { position: absolute; left: 44px; right: 44px; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(90deg, #60a5fa, #c084fc, #34d399, #fbbf24); opacity: 0.6; }
.hv-flow__spark { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 99px; background: #fff; box-shadow: 0 0 16px 5px var(--c, rgba(96, 165, 250, 0.9)); animation: hv-travel 3.6s linear infinite; }

@keyframes hv-travel { 0% { left: 0; opacity: 0; } 8%, 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.hv-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 99px;
  background: #0d2150;
  border: 2px solid var(--c);
  box-shadow: 0 0 30px -6px var(--c);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
}

.hv-node--sm { font-size: 0.8125rem; }

.hv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.875rem;
  border: 1px solid var(--hv-line);
  border-radius: 24px;
  background: #fff;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 350ms, border-color 350ms;
}

.hv-card:hover { transform: translateY(-6px); border-color: #b9d3f3; box-shadow: 0 28px 60px -24px rgba(0, 40, 104, 0.4); }

.hv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 0.75rem;
  border-radius: 16px;
  color: #fff;
  background: var(--g);
  box-shadow: 0 12px 24px -10px var(--s);
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hv-card:hover .hv-icon { transform: scale(1.1) rotate(-6deg); }
.hv-icon svg { width: 24px; height: 24px; }

.hv-card__title { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--hv-ink); }
.hv-card__desc { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--hv-body); }

/* ==========================================================================
   03 · Ecosystem cards (real, approved product imagery)
   ========================================================================== */

.hv-eco { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.hv-prod {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hv-line);
  border-radius: 26px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 350ms, border-color 350ms;
}

.hv-prod:hover { transform: translateY(-6px); border-color: #b9d3f3; box-shadow: 0 28px 60px -24px rgba(0, 40, 104, 0.4); color: inherit; }

.hv-prod__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--c) 45%, #fff) 0%, color-mix(in srgb, var(--c) 10%, #fff) 65%);
}

.hv-prod__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hv-prod:hover .hv-prod__media img { transform: scale(1.06); }

.hv-prod__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 22, 58, 0.18));
  pointer-events: none;
}

.hv-prod__arrow {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 99px;
  background: var(--hv-ink);
  color: #fff;
  transition: transform 300ms var(--ease);
}

.hv-prod__arrow svg { width: 18px; height: 18px; }
.hv-prod:hover .hv-prod__arrow { transform: rotate(-45deg); }

.hv-prod__status {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--hv-ink);
  font-size: 0.75rem;
  font-weight: var(--fw-semibold);
}

.hv-prod__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem 1.625rem 1.75rem; }
.hv-prod__name { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.4375rem; font-weight: 800; color: var(--hv-ink); }
.hv-prod__name i { width: 10px; height: 10px; border-radius: 99px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.hv-prod__desc { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--hv-body); }

.hv-all {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 100%;
  padding: 2.25rem;
  border-radius: 26px;
  background: var(--hv-night-2);
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 350ms;
}

.hv-all:hover { color: #fff; transform: translateY(-6px); box-shadow: 0 28px 60px -24px rgba(0, 20, 60, 0.6); }
.hv-all__title { margin: 0.875rem 0 0; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hv-all__title > span { display: block; }
.hv-all .hv-btn { align-self: flex-start; min-height: 52px; }

/* ==========================================================================
   04 · Why DATPRO
   ========================================================================== */

.hv-why { position: relative; display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(2.5rem, 5vw, 4rem); }

.hv-why__grid {
  position: absolute;
  inset: calc(var(--hv-py) * -1) 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 40, 104, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 40, 104, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 50%, #000 10%, transparent 62%);
  mask-image: radial-gradient(ellipse at 72% 50%, #000 10%, transparent 62%);
}

.hv-why__copy { position: relative; display: flex; flex-direction: column; gap: 1.75rem; }
.hv-why__list { display: flex; flex-direction: column; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }

.hv-why__row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.125rem;
  border-radius: 18px;
  transition: background-color 300ms, transform 300ms var(--ease), box-shadow 300ms;
}

.hv-why__row:hover { background: #fff; transform: translateX(6px); box-shadow: 0 14px 30px -20px rgba(0, 40, 104, 0.35); }

.hv-why__num {
  flex: none;
  width: 3.25rem;
  font-size: 1.875rem;
  font-weight: 800;
  background-image: linear-gradient(135deg, #2f8cff, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hv-why__t { display: block; font-size: 1.1875rem; font-weight: 800; color: var(--hv-ink); }
.hv-why__d { display: block; font-size: 0.9375rem; color: var(--hv-body); }

.hv-devices { position: relative; height: 520px; }
.hv-devices .hv-orb { z-index: 0; filter: blur(80px); }

.hv-laptop { position: absolute; left: 70px; top: 50px; width: 560px; }
.hv-laptop__screen {
  height: 340px;
  display: flex;
  overflow: hidden;
  border: 12px solid #0b1328;
  border-bottom-width: 16px;
  border-radius: 22px 22px 6px 6px;
  background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 40, 104, 0.5);
}

.hv-laptop__side { width: 56px; background: var(--hv-ink); }
.hv-laptop__main { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #f5f8fc; }
.hv-laptop__bar { width: 140px; height: 10px; border-radius: 5px; background: #c9d6e6; }
.hv-laptop__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hv-laptop__tiles i { height: 60px; border-radius: 10px; background: #fff; border: 1px solid var(--hv-line); }
.hv-laptop__chart { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--hv-line); }
.hv-laptop__base { height: 14px; margin: 0 -40px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #d6dee8, #b8c4d2); }

.hv-tablet { position: absolute; left: 0; bottom: 20px; width: 210px; height: 280px; overflow: hidden; border: 9px solid #0b1328; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 40, 104, 0.55); }
.hv-tablet__head { height: 54px; background: linear-gradient(135deg, #b18cf0, #7a4fcf); }
.hv-tablet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; }
.hv-tablet__grid i { height: 44px; border-radius: 10px; background: color-mix(in srgb, var(--c) 16%, #fff); }

.hv-devices .hv-phone { right: 10px; bottom: 0; width: 140px; height: 284px; border-width: 6px; border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 40, 104, 0.55); }
.hv-devices .hv-phone__head { height: 70px; padding: 0; }

.hv-badge {
  position: absolute;
  right: 150px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--hv-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--hv-ink);
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  box-shadow: 0 16px 30px -16px rgba(0, 40, 104, 0.4);
}

.hv-badge i { width: 8px; height: 8px; border-radius: 99px; background: var(--dp-product-care); }

/* ==========================================================================
   05 · Philosophy CTA
   ========================================================================== */

.hv-cta { padding-block: clamp(5.5rem, 10vw, 8rem); text-align: center; }
.hv-cta__inner { display: flex; flex-direction: column; align-items: center; gap: 2.25rem; }
.hv-cta .hv-chip { align-self: center; padding: 0.5rem 1rem; font-weight: var(--fw-semibold); }

.hv-cta__title {
  margin: 0;
  max-width: 62rem;
  font-size: clamp(2.125rem, 1.2rem + 3.6vw, 3.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.hv-cta__title > span { display: block; }
.hv-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.875rem; }
.hv-cta__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

.hv-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 1.125rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  text-decoration: none;
}

.hv-pill:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.hv-pill svg { width: 18px; height: 18px; }

.hv-cta .hv-ring { left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; z-index: -1;
  background: conic-gradient(from 0deg, transparent, rgba(125, 211, 252, 0.55), transparent 25%, transparent 50%, rgba(167, 139, 250, 0.5), transparent 75%); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
  .hv-hero__inner { grid-template-columns: 1fr; }
  .hv-stage { height: 520px; max-width: 620px; width: 100%; margin-inline: auto; }
  .hv-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-eco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-why { grid-template-columns: 1fr; }
  .hv-devices { max-width: 660px; width: 100%; margin-inline: auto; }
}

@media (max-width: 767px) {
  .hv-hero { min-height: 0; }
  .hv-hero__inner { padding-block: 2.5rem 2rem; gap: 2.5rem; }
  .hv-hero__actions { flex-direction: column; }
  .hv-hero__actions .hv-btn { width: 100%; }
  .hv-stage { height: 320px; }
  .hv-stage__orbit { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
  .hv-stage__orbit2 { display: none; }
  .hv-dash { left: 0; top: 40px; width: 290px; height: 200px; border-radius: 18px; transform: none; }
  .hv-dash__side { width: 38px; padding-top: 12px; gap: 10px; }
  .hv-dash__logo { width: 18px; height: 18px; }
  .hv-dash__main { padding: 12px; gap: 10px; }
  .hv-dash__tile { padding: 8px; }
  .hv-dash__tile s, .hv-dash__search { display: none; }
  .hv-dash__chart { gap: 7px; padding: 8px; }
  .hv-stage .hv-phone { width: 118px; height: 236px; border-width: 5px; border-radius: 24px; bottom: 0; }
  .hv-stage .hv-phone__head { height: 64px; padding: 16px 10px 0; }
  .hv-stage .hv-phone__chart { display: none; }
  .hv-tag--hide-sm { display: none; }
  .hv-marquee { height: 64px; }
  .hv-marquee__item { font-size: 1rem; padding-right: 2.5rem; }

  .hv-head, .hv-head--split { display: flex; flex-direction: column; align-items: flex-start; }
  .hv-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 12px; }
  .hv-flagship { grid-column: 1 / -1; grid-row: auto; border-radius: 24px; }
  .hv-flow { height: 64px; }
  .hv-flow__rail { left: 28px; right: 28px; }
  .hv-node { width: 58px; height: 58px; font-size: 0.75rem; }
  .hv-node--sm { font-size: 0.625rem; }
  .hv-card { padding: 1.125rem; border-radius: 20px; }
  .hv-icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 0.25rem; }
  .hv-icon svg { width: 22px; height: 22px; }
  .hv-card__title { font-size: 1.125rem; }
  .hv-card__desc { font-size: 0.875rem; }
  .hv-flagship .hv-btn { width: 100%; }

  .hv-eco { grid-template-columns: 1fr; gap: 16px; }
  .hv-prod { border-radius: 22px; }
  .hv-prod__body { padding: 1.125rem 1.25rem 1.25rem; }
  .hv-prod__name { font-size: 1.25rem; }
  .hv-all { padding: 1.75rem 1.5rem; border-radius: 22px; }
  .hv-all .hv-btn { width: 100%; }

  .hv-devices { height: 260px; }
  .hv-laptop { left: 10px; top: 10px; width: 300px; }
  .hv-laptop__screen { height: 180px; border-width: 8px; border-bottom-width: 10px; border-radius: 14px 14px 4px 4px; }
  .hv-laptop__side { width: 30px; }
  .hv-laptop__main { padding: 10px; gap: 8px; }
  .hv-laptop__tiles i { height: 30px; }
  .hv-laptop__base { height: 8px; margin: 0 -22px; }
  .hv-tablet, .hv-badge { display: none; }
  .hv-devices .hv-phone { right: 0; width: 96px; height: 192px; border-width: 5px; border-radius: 20px; }
  .hv-devices .hv-phone__head { height: 48px; }
  .hv-devices .hv-phone__body { display: none; }
  .hv-why__row { background: #fff; border: 1px solid var(--hv-line); padding: 0.875rem 1rem; }
  .hv-why__num { width: 2.5rem; font-size: 1.5rem; }
  .hv-why__t { font-size: 1.0625rem; }

  .hv-cta { text-align: left; }
  .hv-cta__inner { align-items: stretch; gap: 1.5rem; }
  .hv-cta .hv-chip { align-self: flex-start; }
  .hv-cta__actions { flex-direction: column; }
  .hv-cta__actions .hv-btn { width: 100%; }
  .hv-cta__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-pill { justify-content: center; }
  .hv-cta .hv-ring { width: 420px; height: 420px; margin: -210px 0 0 -210px; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-orb, .hv-ring, .hv-stage__orbit, .hv-marquee__track, .hv-float, .hv-bar,
  .hv-grad, .hv-sheen::after, .hv-flow__spark, .hv-pulse, .hv-dash__line polyline {
    animation: none !important;
  }
  .hv-dash__line polyline { stroke-dashoffset: 0; }
  .hv-flow__spark { display: none; }
}

/* ==========================================================================
   Light edition (2026-10-10) — the hero and the closing CTA were the last
   two dark-navy blocks on the site. Client asked for the light/glossy look
   that the inner pages got from site-v2.css, so these overrides repaint the
   .hv-dark blocks as a soft aurora. Markup is unchanged; deleting this block
   restores the night version exactly.
   ========================================================================== */
.hv-dark {
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(167, 139, 250, 0.22), transparent 70%),
    radial-gradient(55% 60% at 10% 90%, rgba(103, 232, 249, 0.25), transparent 70%),
    linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
  color: var(--hv-ink);
}
.hv-dark .hv-orb { opacity: 0.32; }
.hv-dark .hv-gridlines {
  background-image: linear-gradient(rgba(0, 90, 186, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 90, 186, 0.06) 1px, transparent 1px);
}
.hv-dark .hv-hero__spot { background: radial-gradient(520px circle at var(--mx, 62%) var(--my, 40%), rgba(96, 165, 250, 0.16), transparent 60%); }
.hv-dark .hv-glass {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 90, 186, 0.12);
  box-shadow: 0 18px 40px -26px rgba(0, 40, 104, 0.35);
}
.hv-dark .hv-chip,
.hv-dark .hv-pill,
.hv-dark .hv-tag { color: #24364f; }
.hv-dark .hv-hero__title,
.hv-dark .hv-cta__title { color: var(--hv-ink); }
.hv-dark .hv-hero__desc { color: var(--hv-body); }
.hv-dark { --hv-grad-hero: linear-gradient(90deg, #005aba, #2f8cff, #7c3aed, #005aba); }
.hv-dark .hv-btn--glass { color: var(--hv-ink); background: #fff; border: 1px solid #d5e0ee; }
.hv-dark .hv-btn--glass:hover { color: var(--dp-blue); background: #fff; }
.hv-dark .hv-pill:hover { color: var(--dp-blue); background: #fff; }
.hv-dark .hv-stage__orbit { border-color: rgba(0, 90, 186, 0.14); }
.hv-dark .hv-stage__orbit2 { border-color: rgba(0, 90, 186, 0.1); }
.hv-dark .hv-dash__side { background: rgba(0, 90, 186, 0.04); border-right-color: rgba(0, 90, 186, 0.08); }
.hv-dark .hv-dash__nav,
.hv-dark .hv-dash__search { background: rgba(0, 90, 186, 0.12); }
.hv-dark .hv-dash__tile,
.hv-dark .hv-dash__chart { background: #fff; border: 1px solid var(--hv-line); }
.hv-dark .hv-dash__tile b { background: rgba(4, 22, 58, 0.55); }
.hv-dark .hv-dash__tile s { background: rgba(4, 22, 58, 0.18); }
.hv-dark .hv-phone { box-shadow: 0 40px 80px -30px rgba(0, 40, 104, 0.45), 0 0 0 1px rgba(0, 90, 186, 0.1); }
.hv-dark .hv-marquee { border-top-color: rgba(0, 90, 186, 0.1); }
.hv-dark .hv-marquee__item { color: rgba(4, 22, 58, 0.5); }
.hv-dark .hv-sheen::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent); }

/* The header no longer floats over a dark hero: keep its normal dark text. */
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-logo img { filter: none; }
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-nav__list > li > .dp-nav__link,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-header__actions .dp-icon-btn,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-header__actions .dp-lang__toggle,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-burger { color: var(--dp-text, #24364f); }
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-nav__list > li > .dp-nav__link:hover,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-nav__list > li > .dp-nav__link[aria-current="page"] { color: var(--dp-blue); }
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-nav__link::after { background: var(--dp-blue); }
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-icon-btn:hover,
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-lang__toggle:hover { background: rgba(0, 90, 186, 0.06); color: var(--dp-blue); }
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-header__divider { background: var(--hv-line, #e3e9f1); }
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) .dp-lang__chevron { color: #7a8aa0; }
body:not(.dp-no-scroll) .dp-header.hv-overlay:not(.is-stuck) { border-bottom-color: transparent; }

/* Phones: the two floating hero tags collided (inline left/top positions are
   tuned for desktop width) — pin them to opposite corners instead. */
@media (max-width: 767px) {
  .hv-stage .hv-tag.hv-float--b { left: 0 !important; top: 0 !important; }
  .hv-stage .hv-tag.hv-float--c { right: 0 !important; top: auto !important; bottom: 24px; }
}

/* Work/QMS/ERP/Analytics cards: client found them too big with content stuck
   top-left — shorter rows, content centred in the card. */
.hv-bento { grid-auto-rows: minmax(200px, auto); }
.hv-bento .hv-card { justify-content: center; align-items: center; text-align: center; padding: 1.5rem; }
.hv-bento .hv-icon { margin-bottom: 0.25rem; }
.hv-bento .hv-card__title { font-size: 1.3125rem; }
.hv-bento .hv-card__desc { font-size: 0.9375rem; max-width: 22ch; }

/* The ENTERPRISE flagship panel also carries .hv-dark but holds white text:
   keep it a solid colour panel (bright blue, matching the light theme). */
.hv-flagship.hv-dark {
  background: linear-gradient(135deg, #0b4f9c 0%, #1d6fe0 55%, #5b5bf0 100%);
  color: #fff;
}
.hv-flagship.hv-dark .hv-gridlines {
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}
.hv-flagship.hv-dark .hv-flagship__kicker { color: #cfe6ff; }

/* Hero headline is now a longer sentence — client asked for it a bit smaller. */
.hv-hero__title { font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4rem); line-height: 1.08; }
