/* ═══════════════════════════════════════
   HERO SECTION — 2-COLUMN LAYOUT
═══════════════════════════════════════ */
.hero {
  /* sticky navbar is in flow — hero starts right below it */
  min-height: calc(100vh - var(--navbar-height));
  min-height: calc(100dvh - var(--navbar-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  contain: layout style paint;
}

/* Hero 2-column grid */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
  padding: var(--space-lg) 0;
}

@media (min-width: 768px) {
  .hero__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
  }
  .hero__content { max-width: none; }
}

@media (min-width: 1024px) {
  .hero__layout {
    grid-template-columns: 55% 45%;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
  }
}

/* Hide scene on mobile, show on tablet+ */
.hero__scene {
  display: none;
  position: relative;
  height: clamp(320px, 46vw, 460px);
}

@media (min-width: 768px) {
  .hero__scene { display: block; }
}

@media (min-width: 1024px) {
  .hero__scene { height: clamp(380px, calc(100dvh - 220px), 520px); }
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0,212,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 65%, rgba(123,97,255,0.06) 0%, transparent 55%),
    var(--color-bg);
  z-index: 0;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  pointer-events: none;
}
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

/* ─── Hero Badge ─── */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  animation: slideInUp 0.6s ease both;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: badge-blink 2s ease-in-out infinite;
}
@keyframes badge-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ─── Hero Typography ─── */
.hero__title {
  margin-bottom: var(--space-md);
  animation: slideInUp 0.7s 0.1s ease both;
}
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 580px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  animation: slideInUp 0.7s 0.2s ease both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  animation: slideInUp 0.7s 0.3s ease both;
}

/* ─── Hero Scroll Indicator ─── */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeIn 1s 1s ease both;
}
.scroll-indicator__mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(0,212,255,0.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator__wheel {
  width: 3px; height: 7px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}

/* ═══════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════ */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scroll-wheel {
  0%   { opacity: 1; transform: translateY(0); }
  80%  { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(10px); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0,212,255,0.2); }
  50%       { box-shadow: 0 0 24px rgba(0,212,255,0.5); }
}

/* ─── Entrance Utility Classes ─── */
.anim-up    { animation: slideInUp 0.7s ease both; }
.anim-up-d1 { animation: slideInUp 0.7s 0.1s ease both; }
.anim-up-d2 { animation: slideInUp 0.7s 0.2s ease both; }
.anim-up-d3 { animation: slideInUp 0.7s 0.3s ease both; }
.anim-up-d4 { animation: slideInUp 0.7s 0.4s ease both; }
.anim-fade  { animation: fadeIn 0.8s ease both; }

/* ═══════════════════════════════════════
   SERVICE ICON POP
═══════════════════════════════════════ */
@keyframes icon-pop {
  0%   { transform: scale(1) rotate(0deg); }
  40%  { transform: scale(1.18) rotate(-6deg); }
  70%  { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.service-card:hover .service-card__icon { animation: icon-pop 0.45s ease; }

/* ═══════════════════════════════════════
   HERO SCENE — DEVICE SHOWCASE
═══════════════════════════════════════ */

/* Ambient glow */
.scene__glow-platform {
  position: absolute;
  bottom: 60px; left: 50%;
  transform: translateX(-50%);
  width: 75%; height: 80px;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.18) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.scene__glow-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* SVG connecting lines */
.scene__lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Generic device wrapper */
.scene-device {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.scene-device__label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.scene-device:hover .scene-device__label {
  opacity: 1;
  transform: translateY(0);
}

/* LED indicators */
.scene-led {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-block;
}

.scene-led--on {
  background: #00ff41;
  box-shadow: 0 0 6px rgba(0,255,65,0.8);
  animation: led-blink 2.2s ease-in-out infinite;
}

.scene-led--warn {
  background: #ffa500;
  box-shadow: 0 0 5px rgba(255,165,0,0.7);
}

@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Receipt text classes */
.rc {
  font-family: 'Courier New', monospace;
  font-size: 6px;
  color: #1a1a1a;
  line-height: 1.75;
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.rc-center { justify-content: center; text-align: center; display: block; }
.rc-bold   { font-weight: 700; }
.rc-xs     { font-size: 5px; color: #555; }
.rc-dots   { color: #bbb; display: block; text-align: center; }
.rc-row    { display: flex; justify-content: space-between; }

/* ── DATECS FP-700X CASH REGISTER (Main, center) ── */
.scene-reg {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  animation: device-float-center 4.2s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,212,255,0.25));
}

.scene-reg__body {
  width: 162px;
  background: linear-gradient(160deg, #2e3347 0%, #1d2235 50%, #14182a 100%);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}

.scene-reg__body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.055) 0%, transparent 100%);
  border-radius: 14px 14px 0 0;
  pointer-events: none;
}

.scene-reg__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px 7px;
}

.scene-reg__brand {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
}

.scene-reg__leds { display: flex; gap: 4px; }

/* LCD Display */
.scene-reg__display {
  background: #050d06;
  border: 1px solid rgba(0,255,65,0.12);
  border-radius: 7px;
  margin: 0 11px 7px;
  padding: 8px 11px 7px;
  box-shadow: inset 0 0 18px rgba(0,255,65,0.04), 0 0 10px rgba(0,255,65,0.08);
}

.scene-reg__display-inner {
  display: flex;
  align-items: baseline;
  gap: 4px;
  justify-content: flex-end;
  margin-bottom: 5px;
}

.scene-reg__row-label {
  font-size: 7px;
  color: rgba(0,255,65,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: auto;
  font-family: 'Courier New', monospace;
}

.scene-reg__amount {
  font-family: 'Courier New', monospace;
  font-size: 21px;
  font-weight: 700;
  color: #00ff41;
  text-shadow: 0 0 12px rgba(0,255,65,0.65);
  letter-spacing: 1px;
  line-height: 1;
}

.scene-reg__decimal { font-size: 15px; }

.scene-reg__currency {
  font-size: 8px;
  color: rgba(0,255,65,0.55);
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: 'Courier New', monospace;
}

.scene-reg__display-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scene-reg__time,
.scene-reg__date {
  font-family: 'Courier New', monospace;
  font-size: 6.5px;
  color: rgba(0,255,65,0.35);
}

.scene-reg__status-txt {
  font-family: 'Courier New', monospace;
  font-size: 6px;
  color: rgba(0,255,65,0.55);
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Paper slot */
.scene-reg__slot-wrap {
  background: #090e1d;
  margin: 0 11px 0;
  padding: 5px 8px;
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-reg__slot {
  width: 65%;
  height: 4px;
  background: rgba(0,0,0,0.6);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.04);
}

/* Receipt paper */
.scene-reg__receipt {
  background: linear-gradient(180deg, #f6f2ea 0%, #ece8df 100%);
  margin: 0 11px;
  padding: 8px 10px;
  position: relative;
}

.scene-reg__receipt::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 0; right: 0;
  height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='7'%3E%3Cpath d='M0 0 Q3.5 7 7 0 Q10.5 7 14 0' fill='%23ece8df'/%3E%3C/svg%3E") repeat-x bottom;
}

/* Ports bar */
.scene-reg__ports {
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-radius: 0 0 14px 14px;
  margin-top: 8px;
}

.scene-port {
  border-radius: 2px;
  background: #0c1020;
  border: 1px solid rgba(255,255,255,0.14);
}

.scene-port--usb  { width: 12px; height: 7px; }
.scene-port--rj45 { width: 14px; height: 9px; }
.scene-port--pwr  { width: 8px; height: 8px; border-radius: 50%; }

.scene-reg__model {
  font-size: 7px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-left: auto;
  text-transform: uppercase;
}

/* ── BARCODE SCANNER (left) ── */
.scene-scanner {
  top: 80px;
  left: 8px;
  filter: drop-shadow(0 12px 28px rgba(0,212,255,0.18));
  animation: device-float-left 4.8s 0.8s ease-in-out infinite;
}

.scene-scanner__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scene-scanner__head {
  width: 74px;
  height: 56px;
  background: linear-gradient(150deg, #303448 0%, #1d2032 100%);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 9px 9px 5px 5px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.scene-scanner__head::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent);
  border-radius: 9px 9px 0 0;
}

.scene-scanner__brand-txt {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
}

.scene-scanner__window {
  position: absolute;
  bottom: 8px;
  left: 7px; right: 7px;
  height: 22px;
  background: rgba(0,8,18,0.96);
  border: 1px solid rgba(0,212,255,0.35);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0,212,255,0.08);
}

.scene-scanner__laser {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, #ff2020 50%, transparent 95%);
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(255,32,32,0.9);
  animation: laser-scan 2s ease-in-out infinite;
}

@keyframes laser-scan {
  0%, 100% { opacity: 0.35; transform: translateY(-50%) scaleX(0.65); }
  50%       { opacity: 1;   transform: translateY(-50%) scaleX(1); }
}

.scene-scanner__grip {
  width: 38px;
  height: 52px;
  background: linear-gradient(160deg, #282c3a 0%, #171a28 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-top: none;
  border-radius: 0 0 12px 7px;
  position: relative;
}

.scene-scanner__trigger {
  position: absolute;
  top: 11px;
  left: -9px;
  width: 13px; height: 17px;
  background: linear-gradient(90deg, #1a1d2a, #24273a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px 3px 3px 4px;
}

.scene-scanner__led {
  position: absolute;
  top: 6px;
  right: 7px;
}

/* ── FISCAL PRINTER (right) ── */
.scene-printer {
  top: 80px;
  right: 8px;
  filter: drop-shadow(0 12px 28px rgba(123,97,255,0.2));
  animation: device-float-right 5s 1.6s ease-in-out infinite;
}

.scene-printer__body {
  width: 124px;
  background: linear-gradient(155deg, #2b2e40 0%, #191c2d 100%);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 11px;
  overflow: visible;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.scene-printer__top {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent);
}

.scene-printer__leds { display: flex; gap: 4px; }

.scene-printer__brand-txt {
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  flex: 1;
  text-align: center;
}

.scene-printer__btns { display: flex; gap: 4px; }

.scene-btn {
  width: 16px; height: 8px;
  background: linear-gradient(180deg, #2d3144, #1c2030);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
}

.scene-printer__slot-area {
  background: #0b0f1e;
  margin: 2px 9px 0;
  padding: 5px 7px 6px;
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-printer__slot {
  width: 70%;
  height: 5px;
  background: #070c18;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 2px;
}

.scene-printer__receipt {
  background: linear-gradient(180deg, #f3efe6 0%, #e9e5dc 100%);
  margin: 0 9px;
  padding: 7px 9px;
  position: relative;
}

.scene-printer__receipt .rc {
  justify-content: center;
}

.scene-printer__base {
  padding: 7px 11px;
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-radius: 0 0 11px 11px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 8px;
}

.scene-printer__model {
  font-size: 6.5px;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ── Float animations ── */
@keyframes device-float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-14px); }
}

@keyframes device-float-left {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes device-float-right {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── Floating Badges ── */
.scene-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(8,13,28,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,212,255,0.28);
  border-radius: var(--radius-full);
  padding: 6px 13px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
}

.scene-badge i { font-size: 9px; }

.sb-anaf   { bottom: 100px; left: 12px;  animation: badge-float 3.2s ease-in-out infinite; }
.sb-wifi   { bottom: 60px;  right: 12px; animation: badge-float 3.8s 0.5s ease-in-out infinite; }
.sb-fiscal { top: 30px;     right: 0px;  animation: badge-float 4s 1s ease-in-out infinite; }
.sb-speed  { bottom: 20px;  left: 50%;   animation: badge-float-center 3.5s 0.3s ease-in-out infinite; }

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

@keyframes badge-float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-7px); }
}

/* Device hover: intensify glow */
.scene-device:hover {
  z-index: 4;
}

.scene-reg:hover { filter: drop-shadow(0 24px 50px rgba(0,212,255,0.4)); }
.scene-scanner:hover { filter: drop-shadow(0 14px 32px rgba(0,212,255,0.3)); }
.scene-printer:hover { filter: drop-shadow(0 14px 32px rgba(123,97,255,0.35)); }

/* ═══════════════════════════════════════
   HERO CAROUSEL (right column)
═══════════════════════════════════════ */
.hero-carousel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-carousel__track {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

/* ── Slides ── */
.hero-slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0,212,255,0.04) 0%, rgba(123,97,255,0.03) 50%, rgba(0,0,0,0.2) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(0, 212, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-slide--active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* ── Slide header ── */
.hero-slide__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.hero-slide__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-slide__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.2rem;
  line-height: 1.2;
}

.hero-slide__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.2;
}

/* ── Slide footer link ── */
.hero-slide__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: auto;
  text-decoration: none;
  transition: gap 0.2s ease;
  flex-shrink: 0;
}
.hero-slide__link:hover { gap: 0.75rem; }

/* ── Product Slide Variant ── */
.hero-slide--product {
  padding: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
}

.hero-slide__badge-strip {
  padding: 0.75rem 1.5rem 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero-slide__badge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0f1e;
  background: linear-gradient(135deg, var(--color-accent), #7b61ff);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.85rem;
}

.hero-slide__badge-label i {
  font-size: 0.625rem;
}

.hero-slide__product-showcase {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  flex: 1;
  min-height: 0;
}

.hero-slide__product-img {
  flex: 0 0 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: product-float 4s ease-in-out infinite;
  background: linear-gradient(135deg, rgba(14,20,40,0.95) 0%, rgba(10,15,30,0.98) 100%);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 16px;
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
}

.hero-slide__product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(0,212,255,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-slide__product-img img {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  filter: brightness(0.92) contrast(1.1) saturate(0.9);
  mix-blend-mode: screen;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

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

.hero-slide__product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

/* Override title size inside product info */
.hero-slide--product .hero-slide__title {
  font-size: 1.35rem;
  margin: 0;
}

.hero-slide--product .hero-slide__eyebrow {
  margin: 0;
}

.hero-slide__specs {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-slide__specs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.4;
}

.hero-slide__specs li i {
  color: var(--color-accent);
  font-size: 0.75rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.hero-slide__price {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 0.375rem;
}

.hero-slide__price strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.hero-slide__price span {
  font-size: 0.75rem;
  color: var(--color-muted);
  opacity: 0.7;
}

/* Product slide link — needs its own padding since parent has none */
.hero-slide--product .hero-slide__link {
  padding: 0 1.5rem 1.25rem;
  margin-top: auto;
}

/* ── SLIDE 1: Industry grid ── */
.hero-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.625rem;
  flex: 1;
}

.hero-industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero-industry-card i {
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform 0.25s ease;
}
.hero-industry-card:hover {
  background: rgba(0, 212, 255, 0.07);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--color-white);
  transform: translateY(-2px);
}
.hero-industry-card:hover i { transform: scale(1.15); }

/* ── SLIDE 2: Service list ── */
.hero-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  flex: 1;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.hero-service-item:hover {
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.04);
}

.hero-service-item__icon {
  width: 34px;
  height: 34px;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.hero-service-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 0.1rem;
}
.hero-service-item span {
  display: block;
  font-size: 0.725rem;
  color: var(--color-muted);
  line-height: 1.3;
}

/* ── SLIDE 3: Products row ── */
.hero-products-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  flex: 1;
}

.hero-product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.hero-product-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.04);
  transform: translateY(-2px);
}
.hero-product-card img {
  width: auto;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}
.hero-product-card span {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.3;
}

.hero-slide__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}
.hero-slide__tags span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.65rem;
}
.hero-slide__tags i { color: var(--color-accent); font-size: 0.65rem; }

/* ── Dots ── */
.hero-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.875rem;
  flex-shrink: 0;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}
.hero-dot.active {
  background: var(--color-accent);
  width: 28px;
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════
   HERO MOBILE PRODUCT STRIP
═══════════════════════════════════════ */
.hero-mobile-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin-top: var(--space-md);
  animation: slideInUp 0.7s 0.4s ease both;
}

.hero-mobile-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hero-mobile-product:hover {
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.05);
  transform: translateY(-2px);
}

.hero-mobile-product img {
  height: 68px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.92) contrast(1.1) saturate(0.9);
  mix-blend-mode: screen;
}

.hero-mobile-product span {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.2;
}

/* Hide strip when carousel is visible */
@media (min-width: 768px) {
  .hero-mobile-products { display: none; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION OVERRIDE
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .hero__badge,
  .hero__title,
  .hero__subtitle,
  .hero__actions,
  .scroll-indicator,
  .anim-up, .anim-up-d1, .anim-up-d2, .anim-up-d3, .anim-up-d4,
  .anim-fade {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero__badge-dot   { animation: none; }
  .scroll-indicator__wheel { animation: none; }
  #particles-canvas  { display: none; }
  .float-phone::before { animation: none; }
  .scene-led--on { animation: none; }
  .scene-scanner__laser { animation: none; opacity: 0.7; }
  .scene-reg { animation: none; transform: translateX(-50%); }
  .scene-scanner, .scene-printer { animation: none; }
  .scene-badge { animation: none; }
  .hero-slide { transition: none; }
  .hero-slide__product-img { animation: none; }
}

/* ═══════════════════════════════════════
   PARALLAX HERO — CSS Scroll-Driven
   Fallback: JS IntersectionObserver (see js/animations.js)
═══════════════════════════════════════ */

/* Feature detection wrapper */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .hero-parallax-wrapper {
    view-timeline: --hero-parallax;
    overflow: clip;
  }

  .hero-parallax__bg {
    animation: heroParallaxBg linear both;
    animation-timeline: --hero-parallax;
    animation-range: entry 0% exit 100%;
  }

  .hero-parallax__mid {
    animation: heroParallaxMid linear both;
    animation-timeline: --hero-parallax;
    animation-range: entry 0% exit 100%;
  }

  .hero-parallax__fg {
    animation: heroParallaxFg linear both;
    animation-timeline: --hero-parallax;
    animation-range: entry 0% exit 100%;
  }

  @keyframes heroParallaxBg {
    from { transform: translateY(-15%); }
    to   { transform: translateY(15%); }
  }
  @keyframes heroParallaxMid {
    from { transform: translateY(-8%); }
    to   { transform: translateY(8%); }
  }
  @keyframes heroParallaxFg {
    from { transform: translateY(-3%); }
    to   { transform: translateY(3%); }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-parallax__bg,
    .hero-parallax__mid,
    .hero-parallax__fg {
      animation: none;
    }
  }
}

/* Scroll-driven section reveals */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .reveal-scroll {
    animation: revealFadeUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }

  @keyframes revealFadeUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .reveal-scroll--delay-1 { animation-range: entry 5% entry 35%; }
  .reveal-scroll--delay-2 { animation-range: entry 10% entry 40%; }
  .reveal-scroll--delay-3 { animation-range: entry 15% entry 45%; }

  @media (prefers-reduced-motion: reduce) {
    .reveal-scroll { animation: none; opacity: 1; transform: none; }
  }
}

/* Hero background photo layer */
.hero__photo-bg {
  position: absolute;
  inset: -20% 0;  /* oversized to allow parallax movement */
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.35) saturate(0.8);
  will-change: transform;
}

.hero__photo-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero, linear-gradient(135deg, rgba(10,15,30,0.92) 0%, rgba(13,20,38,0.85) 50%, rgba(0,212,255,0.06) 100%));
  z-index: 1;
}

/* Floating accent elements in hero */
.hero__float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.hero__float--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero__float--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,97,255,0.06) 0%, transparent 70%);
  bottom: 0; left: -80px;
}

/* Animated headline gradient text */
.hero__title-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #7b61ff 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title-gradient { animation: none; background-position: 0% 50%; }
}

/* Calculator card in hero */
.hero-calculator {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  max-width: 380px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,212,255,0.08);
  position: relative;
  z-index: 2;
}
.hero-calculator__title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-calculator__title i { color: var(--color-accent); }
.hero-calculator__select,
.hero-calculator__input {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 10px;
  color: #fff;
  padding: 0.65rem 0.875rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
.hero-calculator__select:focus,
.hero-calculator__input:focus {
  outline: none;
  border-color: var(--color-accent);
}
.hero-calculator__select option { background: #0d1426; color: #fff; }
.hero-calculator__result {
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  margin: 0.75rem 0;
  display: none;
}
.hero-calculator__result.visible { display: block; }
.hero-calculator__price {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
}
.hero-calculator__note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}
.hero-calculator__btn {
  width: 100%;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #0a0f1e;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 10px;
  padding: 0.75rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}
.hero-calculator__btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* Bento grid services section */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1.25rem;
}
.bento-grid__item { border-radius: 20px; padding: 2rem; position: relative; overflow: hidden; }
.bento-grid__item--wide { grid-column: span 2; }
.bento-grid__item--tall { grid-row: span 2; }
@media (max-width: 1023px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid__item--wide { grid-column: span 2; }
}
@media (max-width: 639px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid__item--wide { grid-column: span 1; }
  .bento-grid__item--tall { grid-row: span 1; }
}

/* Stats counter section */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,212,255,0.1);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,212,255,0.15);
}
.stats-bar__item {
  background: rgba(255,255,255,0.03);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: background 0.3s;
}
.stats-bar__item:hover { background: rgba(0,212,255,0.06); }
.stats-bar__number {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}
.stats-bar__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  display: block;
}
@media (max-width: 639px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* Brand logos bar */
.brands-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  opacity: 0.6;
  filter: grayscale(1);
  transition: opacity 0.3s;
}
.brands-bar:hover { opacity: 0.85; filter: grayscale(0.5); }
.brands-bar__item {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  font-family: var(--font-heading, sans-serif);
}

/* ═══════════════════════════════════════════════════════════
   HERO V2 — CINEMATIC + LIVE DEMO TERMINAL
   Apple-style: dark orb bg, stagger entry, scroll fade-out
   Right: glassmorphism terminal card with 3 cycling scenes
═══════════════════════════════════════════════════════════ */

/* Override base hero background */
.hero-v2 {
  background: #020b18;
  min-height: 100svh;
  min-height: 100vh; /* fallback */
}

/* ─── CSS Orb backgrounds ─── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  filter: blur(80px);
  z-index: 0;
  aria-hidden: true;
}
.hero-orb--1 {
  width: 600px; height: 600px;
  bottom: -120px; left: -100px;
  background: radial-gradient(circle, rgba(0,212,255,0.18) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb--2 {
  width: 500px; height: 500px;
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(124,58,237,0.13) 0%, transparent 70%);
  animation: orbFloat 15s ease-in-out infinite;
  animation-delay: -6s;
}
@keyframes orbFloat {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(40px, -40px); }
  66%  { transform: translate(-20px, 30px); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orb { animation: none; }
}

/* ─── Foreground wrapper ─── */
.hero__fg {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0 4rem;
}
@media (max-width: 767px) {
  .hero__fg { padding: 5rem 0 3rem; }
}

/* ─── H1 — Apple large type ─── */
.hero__title--v2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

/* ─── Subtitle ─── */
.hero__subtitle--v2 {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero__subtitle--v2 strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

/* ─── CTA row ─── */
.hero__actions--v2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* Primary CTA — pill, cyan, black text */
.btn--hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #00d4ff;
  color: #020b18;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 100px;
  padding: 0.95rem 2.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  border: none;
}
.btn--hero-primary:hover,
.btn--hero-primary:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 0 36px rgba(0,212,255,0.5);
  background: #1adcff;
  color: #020b18;
}

/* Secondary link */
.hero__link-secondary {
  color: rgba(255,255,255,0.42);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,0.2);
  transition: color 0.2s, text-decoration-color 0.2s;
  align-self: center;
}
.hero__link-secondary:hover { color: #fff; text-decoration-color: rgba(255,255,255,0.6); }

/* Trust signals */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__trust i { color: #00d4ff; font-size: 0.85rem; }

/* ─── Demo card wrapper ─── */
.hero-demo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

/* ─── Demo terminal card ─── */
.hero-demo {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 60px rgba(0,212,255,0.08),
    0 24px 64px rgba(0,0,0,0.45);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.hero-demo:hover {
  box-shadow:
    0 0 0 1px rgba(0,212,255,0.08) inset,
    0 0 80px rgba(0,212,255,0.14),
    0 28px 80px rgba(0,0,0,0.5);
}

/* macOS header */
.hero-demo__header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.8rem 1.1rem;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-demo__mac-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-demo__mac-dot--red    { background: #ff5f57; box-shadow: 0 0 4px rgba(255,95,87,0.6); }
.hero-demo__mac-dot--yellow { background: #febc2e; box-shadow: 0 0 4px rgba(254,188,46,0.6); }
.hero-demo__mac-dot--green  { background: #28c840; box-shadow: 0 0 4px rgba(40,200,64,0.6); }
.hero-demo__mac-title {
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin: 0 auto;
  letter-spacing: 0.06em;
}

/* Scene body */
.hero-demo__body {
  padding: 1.5rem 1.75rem 1.25rem;
  min-height: 276px;
  display: flex;
  align-items: flex-start;
}
.hero-demo__scene {
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
  width: 100%;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero-demo__scene.is-exiting {
  opacity: 0;
  transform: translateY(-10px);
}
.hero-demo__scene.is-entering {
  opacity: 0;
  transform: translateY(10px);
}
.hero-demo__scene.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Colored text classes used inside scenes */
.demo-label  { color: rgba(0,212,255,0.7); font-size: 0.72rem; letter-spacing: 0.1em; display: block; margin-bottom: 0.25rem; }
.demo-green  { color: #00e887; }
.demo-cyan   { color: #00d4ff; }
.demo-yellow { color: #ffd600; }
.demo-sep    { color: rgba(255,255,255,0.15); display: block; }
.demo-row    { display: flex; justify-content: space-between; }
.demo-total  { font-weight: 700; color: #fff; }

/* Animated progress bar inside scenes */
.demo-progress {
  display: block;
  width: 100%;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.35rem 0;
}
.demo-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4ff 0%, #00e887 100%);
  border-radius: 3px;
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scene indicators (3 dots/bars) */
.hero-demo__indicators {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0 1rem 1.1rem;
}
.hero-demo__ind {
  height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,0.18);
  width: 8px;
  transition: width 0.35s ease, background 0.35s ease;
}
.hero-demo__ind.active {
  width: 26px;
  background: #00d4ff;
}

/* Caption below card */
.hero-demo__caption {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ─── Stagger entry animations ─── */
.hero-v2 .hero__content > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.hero-v2.hero--loaded .hero__content > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.hero-v2.hero--loaded .hero__content > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.hero-v2.hero--loaded .hero__content > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 180ms; }
.hero-v2.hero--loaded .hero__content > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 320ms; }
.hero-v2.hero--loaded .hero__content > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 480ms; }

.hero-v2 .hero-demo-wrap {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.75s ease 380ms, transform 0.75s ease 380ms;
}
.hero-v2.hero--loaded .hero-demo-wrap {
  opacity: 1;
  transform: none;
}

/* Disable all motion for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  .hero-v2 .hero__content > *,
  .hero-v2 .hero-demo-wrap {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .demo-progress__fill { transition: none; }
  .hero-demo__scene { transition: none; }
}

/* ─── Mobile: stack layout ─── */
@media (max-width: 767px) {
  .hero__title--v2 { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .hero-demo { max-width: 100%; }
  .hero-orb--1 { width: 350px; height: 350px; }
  .hero-orb--2 { width: 280px; height: 280px; }
}
