.hero-row {
  position: relative;
  overflow: hidden;
  margin-top: -84px !important;
  padding: 108px 0 48px !important;
  min-height: calc(100vh - 72px);
  background: radial-gradient(1100px 760px at 72% 48%, #0e2170 0%, #06103f 45%, #040820 100%) !important;
  font-family: Sora, Inter, system-ui, sans-serif;
  color: #eef1fb;
}

.hv-flare {
  position: absolute;
  top: -20%;
  left: 0;
  width: 40%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(160, 190, 255, 0.1), transparent);
  pointer-events: none;
}

.hero-row .hero-content {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)) !important;
  align-items: center !important;
  gap: 24px !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 8px 40px 64px !important;
  text-align: left !important;
}

.hero-row .hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 3;
}

.hv-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffb21e;
}

.hv-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffb21e;
  box-shadow: 0 0 12px #ffb21e;
  animation: hv-pulse 2s infinite;
}

.hv-title {
  margin: 0;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  perspective: 600px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
  color: #eef1fb;
}

.hv-word { display: inline-block; opacity: 0; }
.hv-kicker,
.hv-laptop-in,
.hv-phone-in,
.hv-pop,
.hv-globe { opacity: 0; }

.hv-word-gold {
  background: linear-gradient(100deg, #ffe600, #ff9a1f 60%, #ff6a1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hv-lead {
  margin: 0;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.6;
  color: #b9c2e6;
  opacity: 0;
}

.hv-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
}

.hv-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none !important;
  cursor: pointer;
}

.hv-btn-fill {
  background: linear-gradient(100deg, #ffd000, #ff8a1f);
  color: #0a0f33 !important;
  font-weight: 600;
  box-shadow: 0 10px 40px -10px rgba(255, 150, 30, 0.7);
  transition: transform 0.2s;
}

.hv-btn-fill:hover { transform: translateY(-2px); color: #0a0f33 !important; }

.hv-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #eef1fb !important;
  font-weight: 500;
}

.hv-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff !important; }

.hv-visual {
  position: relative;
  height: 600px;
  perspective: 1500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hv-fit { transform-style: preserve-3d; }

.hv-stage {
  position: relative;
  width: 520px;
  height: 460px;
  transform-style: preserve-3d;
  transform: rotateX(12deg) rotateY(-22deg);
}

.hv-burst,
.hv-globe {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 640px;
  height: 640px;
  margin: -320px 0 0 -320px;
  pointer-events: none;
}

.hv-burst {
  border-radius: 50%;
  border: 2px solid rgba(255, 190, 60, 0.6);
}

.hv-globe canvas { width: 640px; height: 640px; display: block; }

.hv-shadow {
  position: absolute;
  left: 40px;
  top: 330px;
  width: 460px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 10, 0.65), transparent 70%);
  transform: translateY(40px) rotateX(90deg) translateZ(-120px);
  filter: blur(10px);
  pointer-events: none;
}

.hv-in,
.hv-pop,
.hv-float,
.hv-lid,
.hv-deck,
.hv-phone-float { transform-style: preserve-3d; }

.hv-laptop-in { position: absolute; left: 40px; top: 40px; width: 440px; height: 280px; }
.hv-phone-in { position: absolute; right: -50px; top: 130px; width: 150px; height: 300px; }

.hv-float { position: absolute; inset: 0; --z: 0px; --ry: 0deg; }

.hv-deck {
  position: absolute;
  left: -20px;
  top: 280px;
  width: 480px;
  height: 300px;
  transform-origin: 50% 0;
  transform: rotateX(90deg);
}

.hv-deck-z,
.hv-deck-top,
.hv-lid-z,
.hv-lid-face,
.hv-shell,
.hv-phone-face { position: absolute; inset: 0; }

.hv-deck-z1 { border-radius: 4px 4px 18px 18px; background: #141a40; transform: translateZ(-12px); }
.hv-deck-z2 { border-radius: 4px 4px 18px 18px; background: #1c2350; transform: translateZ(-8px); }
.hv-deck-z3 { border-radius: 4px 4px 18px 18px; background: #232b5c; transform: translateZ(-4px); }

.hv-deck-top {
  border-radius: 4px 4px 18px 18px;
  background: linear-gradient(180deg, #38427a, #262e62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 30px;
  box-sizing: border-box;
  gap: 18px;
}

.hv-keys {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  background-image:
    repeating-linear-gradient(90deg, #11173a 0 26px, transparent 26px 30px),
    repeating-linear-gradient(0deg, transparent 0 4px, #2a3266 4px 30px);
  opacity: 0.9;
}

.hv-trackpad {
  width: 150px;
  height: 80px;
  border-radius: 8px;
  background: rgba(10, 14, 40, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hv-lid { position: absolute; inset: 0; transform-origin: 50% 100%; transform: rotateX(12deg); }
.hv-lid-z1 { border-radius: 14px; background: #10163a; transform: translateZ(-8px); }
.hv-lid-z2 { border-radius: 14px; background: #181f4a; transform: translateZ(-5px); }
.hv-lid-z3 { border-radius: 14px; background: #222a58; transform: translateZ(-2px); }

.hv-lid-face {
  border-radius: 14px;
  padding: 10px;
  box-sizing: border-box;
  background: linear-gradient(160deg, #2c3566, #141a3d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.hv-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: #f4f6fc;
  display: flex;
  overflow: hidden;
  color: #0f1640;
}

.hv-side {
  width: 76px;
  background: #0b1446;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 10px;
  box-sizing: border-box;
}

.hv-side img { width: 22px; height: 22px; object-fit: contain; }
.hv-side i { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); width: 70%; }
.hv-side i:first-of-type { background: #ffb21e; width: 80%; }

.hv-main {
  flex: 1;
  min-width: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hv-screen-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
}

.hv-live {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 8px;
  color: #1f9d55;
}

.hv-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1f9d55;
  animation: hv-pulse 1.2s infinite;
}

.hv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hv-stats div { background: #fff; border-radius: 6px; padding: 7px; box-shadow: 0 1px 3px rgba(10, 20, 70, 0.08); }
.hv-stats small { display: block; font-size: 7px; color: #6a76a8; }
.hv-stats strong { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hv-stats .is-good { color: #1f9d55; }

.hv-bars {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(10, 20, 70, 0.08);
}

.hv-bars span {
  flex: 1;
  height: 40%;
  border-radius: 2px;
  background: #1e40c0;
  transition: height 0.9s cubic-bezier(0.3, 1.2, 0.5, 1);
}

.hv-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  pointer-events: none;
}

.hv-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, rgba(30, 64, 192, 0.12), transparent);
  pointer-events: none;
}

.hv-shell { border-radius: 26px; }
.hv-shell-1 { background: #0c1130; transform: translateZ(-10px); box-shadow: 0 50px 70px -20px rgba(0, 0, 0, 0.8); }
.hv-shell-2 { background: #141a40; transform: translateZ(-8px); }
.hv-shell-3 { background: #1b2250; transform: translateZ(-6px); }
.hv-shell-4 { background: #232b5e; transform: translateZ(-4px); }
.hv-shell-5 { background: #2c3568; transform: translateZ(-2px); }

.hv-phone-face {
  border-radius: 26px;
  padding: 7px;
  box-sizing: border-box;
  background: linear-gradient(160deg, #3a4580, #141a3e);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hv-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(180deg, #1336b8, #0a1a6a);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 10px 10px;
  box-sizing: border-box;
  gap: 8px;
  color: #fff;
}

.hv-notch { width: 40px; height: 5px; border-radius: 3px; background: rgba(0, 0, 0, 0.4); align-self: center; }
.hv-phone-screen small { font-size: 8px; color: #b9c6ff; }
.hv-phone-screen > strong { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hv-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.hv-track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #ffd000, #ff8a1f); transition: width 1s ease; }
.hv-task { background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 8px; font-size: 8px; display: flex; flex-direction: column; gap: 3px; opacity: 0; }
.hv-task b { font-size: 8px; }
.hv-task span { color: #b9c6ff; }
.hv-task .is-wait { color: #ffcf5a; }
.hv-task .is-done { color: #7fe0a8; }
.hv-sweep-phone { width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent); }

.hv-pop { width: max-content; height: max-content; }
.hv-pop > .hv-float { position: relative; inset: auto; }
.hv-pop-sync { position: absolute; left: -70px; top: -20px; }
.hv-pop-invoice { position: absolute; left: -50px; top: 340px; }
.hv-pop-uptime { position: absolute; right: 8px; top: 0; }

.hv-card-sync { --z: 110px; --ry: 14deg; }
.hv-card-invoice { --z: 220px; --ry: 10deg; }
.hv-card-uptime { --z: 80px; --ry: -14deg; }

.hv-card-back {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(120, 150, 255, 0.1);
  transform: translateZ(-8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hv-card-back-sm { border-radius: 14px; transform: translateZ(-6px); border: 0; }

.hv-card {
  position: relative;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.hv-card-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffd000, #ff8a1f);
  box-shadow: 0 6px 18px -4px rgba(255, 150, 30, 0.7);
  flex: none;
}

.hv-card b { display: block; font-size: 13px; font-weight: 600; }
.hv-card small { display: block; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; color: #b9c2e6; white-space: nowrap; }
.hv-card-col { flex-direction: column; align-items: stretch; gap: 8px; width: 170px; }
.hv-card-col > span { display: flex; justify-content: space-between; font-size: 11px; color: #b9c2e6; }
.hv-card-col em { font-style: normal; color: #7fe0a8; }
.hv-card-col strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hv-card-row { border-radius: 14px; padding: 12px 14px; gap: 10px; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.24); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55); }
.hv-card-row i { display: block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7fe0a8; box-shadow: 0 0 10px #7fe0a8; animation: hv-pulse 1.6s infinite; }
.hv-card-row span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; white-space: nowrap; }

.hv-phone-float { --z: 170px; --ry: -14deg; }

html:not(.hero-hold) .hv-kicker { animation: hv-rise 0.8s 0.1s both; }
html:not(.hero-hold) .hv-word { animation: hv-word 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
html:not(.hero-hold) .hv-word:nth-child(1) { animation-delay: 0.25s; }
html:not(.hero-hold) .hv-word:nth-child(2) { animation-delay: 0.35s; }
html:not(.hero-hold) .hv-word:nth-child(3) { animation-delay: 0.45s; }
html:not(.hero-hold) .hv-word:nth-child(4) { animation-delay: 0.6s; }
html:not(.hero-hold) .hv-word:nth-child(5) { animation-delay: 0.7s; }
html:not(.hero-hold) .hv-lead { animation: hv-rise 0.9s 0.9s both; }
html:not(.hero-hold) .hv-actions { animation: hv-rise 0.9s 1.05s both; }
html:not(.hero-hold) .hv-flare { animation: hv-flare 2.4s 1.2s ease-out both; }
html:not(.hero-hold) .hv-burst { animation: hv-burst 1.6s 0.15s ease-out both; }
html:not(.hero-hold) .hv-globe { animation: hv-globe 1.8s 0.1s cubic-bezier(0.16, 0.9, 0.3, 1) both; }
html:not(.hero-hold) .hv-laptop-in { animation: hv-in 1.5s 0.35s cubic-bezier(0.16, 0.9, 0.3, 1) both; }
html:not(.hero-hold) .hv-phone-in { animation: hv-in 1.4s 0.7s cubic-bezier(0.16, 0.9, 0.3, 1) both; }
html:not(.hero-hold) .hv-laptop-in .hv-float { animation: hv-float 8s 1.9s ease-in-out infinite; }
html:not(.hero-hold) .hv-phone-float { animation: hv-float 6.5s 2.1s ease-in-out infinite; }
html:not(.hero-hold) .hv-lid { animation: hv-lid 1.2s 1.2s cubic-bezier(0.3, 1.25, 0.5, 1) both; }
html:not(.hero-hold) .hv-sweep { animation: hv-sweep 5s 2.6s ease-in-out infinite; }
html:not(.hero-hold) .hv-sweep-phone { animation-delay: 3.4s; }
html:not(.hero-hold) .hv-scan { animation: hv-scan 4s linear infinite; }
html:not(.hero-hold) .hv-task:nth-child(5) { animation: hv-rise 0.6s 2.2s both; }
html:not(.hero-hold) .hv-task:nth-child(6) { animation: hv-rise 0.6s 2.35s both; }
html:not(.hero-hold) .hv-task:nth-child(7) { animation: hv-rise 0.6s 2.5s both; }
html:not(.hero-hold) .hv-pop-sync { animation: hv-pop 0.9s 1.9s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
html:not(.hero-hold) .hv-pop-invoice { animation: hv-pop 0.9s 2.15s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
html:not(.hero-hold) .hv-pop-uptime { animation: hv-pop 0.9s 2.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
html:not(.hero-hold) .hv-card-sync { animation: hv-float 8s 2.8s ease-in-out infinite; }
html:not(.hero-hold) .hv-card-invoice { animation: hv-float 7.5s 3.1s ease-in-out infinite; }
html:not(.hero-hold) .hv-card-uptime { animation: hv-float 9s 3.3s ease-in-out infinite; }

@keyframes hv-pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes hv-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hv-word {
  from { opacity: 0; transform: translateY(70%) rotateX(-80deg); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes hv-in {
  from { opacity: 0; transform: translate3d(0, 80px, -900px) rotateY(60deg) rotateX(25deg); }
  to { opacity: 1; transform: none; }
}
@keyframes hv-pop {
  0% { opacity: 0; transform: translateZ(-300px) scale(0.5); }
  70% { opacity: 1; transform: translateZ(30px) scale(1.05); }
  100% { opacity: 1; transform: none; }
}
@keyframes hv-globe {
  from { opacity: 0; transform: translateZ(-260px) scale(0.35) rotateZ(-40deg); }
  to { opacity: 1; transform: translateZ(-260px) scale(1); }
}
@keyframes hv-burst {
  0% { opacity: 0.9; transform: translateZ(-260px) scale(0.3); }
  100% { opacity: 0; transform: translateZ(-260px) scale(1.6); }
}
@keyframes hv-lid { from { transform: rotateX(-92deg); } to { transform: rotateX(12deg); } }
@keyframes hv-float {
  0%, 100% { transform: translate3d(0, 0, var(--z)) rotateY(var(--ry)); }
  50% { transform: translate3d(0, -12px, var(--z)) rotateY(var(--ry)); }
}
@keyframes hv-sweep {
  0%, 60% { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(320%) skewX(-20deg); }
}
@keyframes hv-scan { 0% { top: -10%; } 100% { top: 110%; } }
@keyframes hv-flare {
  0% { opacity: 0; transform: translateX(-60%) rotate(-25deg); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateX(160%) rotate(-25deg); }
}

@media (max-width: 1100px) {
  .hv-visual { height: 480px; }
  .hv-fit { transform: scale(0.72); }
}

@media (max-width: 720px) {
  .hero-row .hero-content { padding: 24px 20px 56px !important; }
  .hv-visual { height: 380px; }
  .hv-fit { transform: scale(0.55); }
  .hv-lead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-word,
  .hv-kicker,
  .hv-lead,
  .hv-actions,
  .hv-task { opacity: 1 !important; animation: none !important; transform: none !important; filter: none !important; }
  .hv-flare, .hv-burst, .hv-sweep, .hv-scan, .hv-kicker-dot, .hv-live i, .hv-card-row i { animation: none !important; }
}
