/* ==============================================
   PulseFlow — Refine Pass
   accents · hero · cards · AI layer · showcase
   cinematic studio ending · cursor polish
   (loaded after style.css — these rules win)
   ============================================== */

/* ---- Handwritten accent (Caveat) — used sparingly ---- */
.hand {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.005em;
  background: linear-gradient(120deg, #C4B5FD 0%, #93C5FD 55%, #5EEAD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(167,139,250,0.28));
  padding: 0 0.04em;
}

/* ---- Shared section header system ---- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(150,150,200,0.55);
  margin-bottom: 18px;
}
.se-line {
  display: inline-block;
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.7));
}
.section-h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #F0F0FF;
  margin-bottom: 12px;
}
.section-h2 .hand { font-size: 1.18em; line-height: 0.8; }
.section-sub {
  font-size: 15px;
  color: rgba(160,160,200,0.6);
  max-width: 520px;
}

/* ============================================
   HERO — 3-line display + handwritten rotator
   ============================================ */
.hero-display-v2 { margin-bottom: 34px; }

.hero-display-v2 .hero-line {
  display: block;
  flex-wrap: nowrap;
  gap: 0;
  white-space: nowrap;
  line-height: 1.02;
}
.hero-line-for {
  display: flex !important;
  align-items: baseline;
  gap: 0.28em;
}
.hero-static-part { color: #F0F0FF; white-space: nowrap; }

/* AI gradient accent */
.hero-ai-accent {
  background: linear-gradient(120deg, #A78BFA 0%, #60A5FA 52%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.045em;
  filter: drop-shadow(0 0 18px rgba(124,58,237,0.4));
}

/* Word rotator — hidden sizer keeps width fixed -> zero layout shift */
.wc-container {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
  min-width: 0;
}
.wc-sizer {
  visibility: hidden;
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.18em;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.wc-word {
  position: absolute;
  top: auto;
  left: 0;
  bottom: -0.04em;
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.18em;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.06em);
  will-change: opacity, filter, transform;
  background: linear-gradient(120deg, #C4B5FD 0%, #818CF8 45%, #5EEAD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   HERO FLOATING INSIGHT CARDS — refined
   ============================================ */
.hero-float-card {
  position: absolute;
  z-index: 20;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  background: linear-gradient(160deg, rgba(16,16,30,0.92), rgba(8,8,16,0.86));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px 18px;
  min-width: 210px;
  max-width: 248px;
  will-change: transform;
  box-shadow: 0 22px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(124,58,237,0.05);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.hero-float-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(124,58,237,0.35), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}
.hero-float-card:hover {
  border-color: rgba(167,139,250,0.3);
  box-shadow: 0 26px 70px rgba(0,0,0,0.6), 0 0 34px rgba(124,58,237,0.22);
}
.fc-word {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.fc-word::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
  background: currentColor;
}
.fc-line {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(214,214,238,0.92);
  font-weight: 450;
}
.hero-float-card.sig-red    .fc-word { color: #F87171; }
.hero-float-card.sig-amber  .fc-word { color: #FBBF24; }
.hero-float-card.sig-green  .fc-word { color: #34D399; }
.hero-float-card.sig-red    { border-left: 2px solid rgba(239,68,68,0.6); }
.hero-float-card.sig-amber  { border-left: 2px solid rgba(245,158,11,0.6); }
.hero-float-card.sig-green  { border-left: 2px solid rgba(16,185,129,0.6); }

/* Re-balanced positions around the dashboard */
.hero-float-card.hfc-1 { top: -6px;  right: -10px; }
.hero-float-card.hfc-2 { top: 46%;   left: -10px;  transform: translateY(-50%); }
.hero-float-card.hfc-3 { bottom: -10px; right: 30px; }

/* ============================================
   OPS FACTS — number morphs into insight
   ============================================ */
.ops-fact-card {
  position: relative;
  cursor: pointer;
  padding: 8px;
  border-radius: 18px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.ops-fact-card:hover { transform: translateY(-6px); }
.ops-fact-stage {
  position: relative;
  border: 1px solid rgba(124,58,237,0.16);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(124,58,237,0.16) 0%, transparent 70%),
    rgba(13,13,26,0.6);
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 22px;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.ops-fact-card:hover .ops-fact-stage {
  border-color: rgba(167,139,250,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 40px rgba(124,58,237,0.2);
}
.ops-fact-number {
  font-size: clamp(3.2rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  background: linear-gradient(160deg, #FFFFFF 0%, #C4B5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4,0,0.2,1), filter 0.45s ease;
}
.ops-fact-number .u {
  font-size: 0.42em;
  font-weight: 700;
  -webkit-text-fill-color: rgba(167,139,250,0.85);
  letter-spacing: 0;
}
.ops-fact-insight {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 26px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(206,206,234,0.92);
  opacity: 0;
  max-height: none;
  transform: translateY(14px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4,0,0.2,1), filter 0.45s ease;
}
.ops-fact-card:hover .ops-fact-number {
  opacity: 0;
  transform: translateY(-16px) scale(0.85);
  filter: blur(6px);
}
.ops-fact-card:hover .ops-fact-insight {
  opacity: 1;
  max-height: none;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
.ops-fact-label {
  text-align: center;
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(160,160,210,0.6);
}

/* ============================================
   AI INTELLIGENCE LAYER
   ============================================ */
.ai-ops-header { margin-bottom: 56px; max-width: 720px; }

.ai-layer-stage {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,130,246,0.07), transparent 70%),
    linear-gradient(180deg, rgba(10,10,22,0.7), rgba(6,6,14,0.9));
  overflow: hidden;
  min-height: 460px;
  padding: 30px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 40px 120px rgba(0,0,0,0.5);
}
.ai-layer-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.ai-layer-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.16), transparent 55%);
  pointer-events: none;
}

/* Scanning core */
.ai-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 140px; height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.ai-core-ring {
  position: absolute; inset: 0;
  border: 1px solid rgba(167,139,250,0.3);
  border-radius: 50%;
  animation: corePulse 3.6s ease-in-out infinite;
}
.ai-core-ring.r2 { inset: -28px; border-color: rgba(96,165,250,0.16); animation-delay: 0.6s; }
.ai-core-dot {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #A78BFA, #6D28D9);
  color: #fff; font-size: 22px;
  box-shadow: 0 0 30px rgba(124,58,237,0.7), inset 0 0 12px rgba(255,255,255,0.2);
  animation: coreFloat 5s ease-in-out infinite;
}
.ai-core-sweep {
  position: absolute; inset: -28px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(167,139,250,0.28) 40deg, transparent 80deg);
  animation: sweep 4s linear infinite;
  pointer-events: none;
}
@keyframes corePulse { 0%,100%{ transform: scale(1); opacity:0.8 } 50%{ transform: scale(1.08); opacity:1 } }
@keyframes coreFloat { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-6px) } }
@keyframes sweep { to { transform: rotate(360deg) } }

/* Floating prediction cards */
.ai-pred {
  position: absolute;
  width: 234px;
  background: linear-gradient(160deg, rgba(18,18,34,0.94), rgba(9,9,18,0.9));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 13px;
  padding: 14px 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.5);
  z-index: 3;
}
.ai-pred.ap-1 { top: 26px;  left: 24px;  animation: floatA 7s ease-in-out infinite; }
.ai-pred.ap-2 { top: 30px;  right: 24px; animation: floatB 8s ease-in-out infinite; }
.ai-pred.ap-3 { bottom: 28px; left: 24px;  animation: floatB 7.5s ease-in-out infinite 0.5s; }
.ai-pred.ap-4 { bottom: 26px; right: 24px; animation: floatA 8.5s ease-in-out infinite 1s; }
@keyframes floatA { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-9px) } }
@keyframes floatB { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(9px) } }

.ai-pred-tag {
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.16em;
  margin-bottom: 8px; display: inline-flex; align-items: center; gap: 6px;
}
.ai-pred-tag::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; box-shadow:0 0 8px currentColor; }
.ai-pred-tag.pred     { color: #A78BFA; }
.ai-pred-tag.optimize { color: #34D399; }
.ai-pred-tag.alert    { color: #F87171; }
.ai-pred-tag.insight  { color: #60A5FA; }
.ai-pred-text { font-size: 12.5px; line-height: 1.4; color: rgba(210,210,236,0.9); margin-bottom: 10px; }
.ai-pred-bar { height: 3px; border-radius: 99px; background: rgba(255,255,255,0.07); overflow: hidden; }
.ai-pred-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7C3AED, #A78BFA); }

/* Live feed */
.ai-feed {
  position: absolute;
  left: 50%; bottom: 24px; transform: translateX(-50%);
  width: min(360px, 70%);
  background: rgba(8,8,16,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 4;
  display: none;
}
.ai-feed-head {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(160,160,210,0.65); display: flex; align-items: center; gap: 8px; margin-bottom: 9px;
}
.ai-feed-pulse { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: pulse-dot 1.8s ease-in-out infinite; }
.ai-feed-list { list-style: none; margin: 0; padding: 0; height: 42px; overflow: hidden; position: relative; }
.ai-feed-list li {
  font-size: 11.5px; color: rgba(190,190,220,0.8); font-family: 'JetBrains Mono', monospace;
  padding: 3px 0; display: flex; gap: 8px; align-items: center;
  animation: feedIn 0.5s ease;
}
.ai-feed-list li .t { color: rgba(124,118,180,0.7); }
@keyframes feedIn { from { opacity:0; transform: translateY(8px) } to { opacity:1; transform:none } }

/* Signal pills */
.ai-signals-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.ai-signal-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 99px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: rgba(180,180,215,0.8);
}
.ai-signal-pill span { width: 6px; height: 6px; border-radius: 50%; }
.ai-signal-pill .dotv { background:#A78BFA; box-shadow:0 0 8px #A78BFA; }
.ai-signal-pill .dotg { background:#34D399; box-shadow:0 0 8px #34D399; }
.ai-signal-pill .dotb { background:#60A5FA; box-shadow:0 0 8px #60A5FA; }
.ai-signal-pill .dota { background:#FBBF24; box-shadow:0 0 8px #FBBF24; }

@media (min-width: 1080px) { .ai-feed { display: block; } }
@media (max-width: 760px) {
  .ai-layer-stage { min-height: 0; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
  .ai-pred { position: static; width: 100%; animation: none; }
  .ai-core { display: none; }
}

/* ============================================
   DASHBOARD SHOWCASE — cinematic polish
   ============================================ */
.dashboard-frame { perspective: 1800px; }
.dashboard-browser {
  transform-origin: center top;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), box-shadow 0.6s ease;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.12),
    0 60px 160px rgba(0,0,0,0.7),
    0 0 120px rgba(124,58,237,0.16);
  animation: showcaseFloat 9s ease-in-out infinite;
}
.dashboard-frame:hover .dashboard-browser {
  transform: rotateX(0deg) translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.2),
    0 70px 180px rgba(0,0,0,0.75),
    0 0 150px rgba(124,58,237,0.24);
}
@keyframes showcaseFloat {
  0%,100%{ transform: rotateX(3deg) translateY(0); }
  50%{ transform: rotateX(3deg) translateY(-10px); }
}
.dashboard-showcase-section::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -40px; transform: translateX(-50%);
  width: 70%; height: 120px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.22), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* Reveal on scroll */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1), transform 0.9s cubic-bezier(0.4,0,0.2,1); }
.reveal-up.in { opacity: 1; transform: none; }

/* ============================================
   FRAMEFLOWS — CINEMATIC STUDIO ENDING
   ============================================ */
.ff-cinema {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, #08081a 0%, #040408 60%, #020205 100%);
  border-top: 1px solid rgba(255,255,255,0.04);
}
#ff-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.ff-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(124,58,237,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 20%, transparent 75%);
  animation: ffGridDrift 24s linear infinite;
}
@keyframes ffGridDrift { from { background-position: 0 0; } to { background-position: 60px 60px; } }

.ff-glow {
  position: absolute; z-index: 1;
  width: 760px; height: 520px; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background:
    radial-gradient(ellipse at 43% 50%, rgba(168,85,247,0.20), transparent 62%),
    radial-gradient(ellipse at 60% 50%, rgba(236,72,153,0.11), transparent 60%);
  filter: blur(40px); pointer-events: none;
  animation: ffGlowPulse 8s ease-in-out infinite;
}
@keyframes ffGlowPulse { 0%,100%{ opacity:0.6 } 50%{ opacity:1 } }

/* Blueprint lines */
.ff-blueprint { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bl { position: absolute; }
.bl-h { left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(124,58,237,0.22), transparent); }
.bl-v { top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, rgba(96,165,250,0.18), transparent); }
.bl-node {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(167,139,250,0.8); transform: translate(-50%,-50%);
  box-shadow: 0 0 12px rgba(167,139,250,0.8);
  animation: pulse-dot 3s ease-in-out infinite;
}

/* Floating interface fragments */
.ff-fragments { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ff-frag {
  position: absolute;
  background: linear-gradient(160deg, rgba(18,18,36,0.82), rgba(8,8,18,0.7));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  width: 150px;
}
.ff-frag.frag-1 { top: 18%; left: 12%;  animation: floatA 9s ease-in-out infinite; }
.ff-frag.frag-2 { top: 24%; right: 13%; animation: floatB 10s ease-in-out infinite; width: 120px; }
.ff-frag.frag-3 { bottom: 20%; left: 16%; animation: floatB 8.5s ease-in-out infinite 0.6s; width: 130px; }
.ff-frag.frag-4 { bottom: 22%; right: 14%; animation: floatA 11s ease-in-out infinite 0.4s; }
.frag-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.frag-row:last-child { margin-bottom: 0; }
.frag-dot { width: 8px; height: 8px; border-radius: 50%; background: #A78BFA; box-shadow: 0 0 8px #A78BFA; flex-shrink: 0; }
.frag-dot.g { background:#34D399; box-shadow:0 0 8px #34D399; }
.frag-dot.v { background:#60A5FA; box-shadow:0 0 8px #60A5FA; }
.frag-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.12); }
.frag-bar.w40 { width: 40%; }
.frag-bar.w60 { width: 60%; }
.frag-bar.w70 { width: 70%; }
.frag-bar.w80 { width: 80%; }
.frag-spark { height: 24px; border-radius: 6px; margin-top: 8px; background: linear-gradient(90deg, rgba(124,58,237,0.3), rgba(59,130,246,0.12)); }
.frag-num { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: #34D399; margin-bottom: 8px; }
.frag-num span { font-size: 0.55em; color: rgba(160,160,200,0.6); }
.frag-mini-chart svg { width: 100%; height: 28px; display: block; }

/* Center core content — nudged up so the block reads optically centered
   within the section against the lower floating modules */
.ff-core { position: relative; z-index: 3; text-align: center; padding: 40px 24px; max-width: 760px; transform: translateY(-32px); }
.ff-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(150,150,200,0.55); margin-bottom: 26px;
}
.ff-eyebrow .se-line { width: 28px; background: linear-gradient(90deg, transparent, rgba(124,58,237,0.6), transparent); }
.ff-wordmark {
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  font-weight: 800; letter-spacing: -0.055em; line-height: 0.95;
  background: linear-gradient(180deg, #FFFFFF 0%, #B7B0E8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 40px rgba(124,58,237,0.3));
}
.ff-triad {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: -0.02em; color: #EDEDFB; margin-bottom: 16px;
}
.ff-triad .hand { font-size: 1.2em; }
.ff-statement { font-size: 15px; color: rgba(165,165,205,0.6); letter-spacing: 0.02em; margin-bottom: 40px; }
.ff-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: #fff; text-decoration: none;
  /* Transparent glass / neomorphic — no coloured fill, frosted + inset highlight */
  background: rgba(255,255,255,0.045);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  padding: 14px 32px; border-radius: 13px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 1px rgba(0,0,0,0.35),
    0 8px 26px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.ff-cta:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(236,72,153,0.45);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 0 28px rgba(168,85,247,0.18),
    0 10px 30px rgba(0,0,0,0.5);
}
.ff-cta svg { transition: transform 0.2s; }
.ff-cta:hover svg { transform: translateX(4px); }
.ff-signoff { margin-top: 34px; font-size: 12px; letter-spacing: 0.05em; color: rgba(120,120,165,0.5); }
.ff-signoff strong { color: rgba(167,139,250,0.7); font-weight: 600; }

@media (max-width: 860px) {
  .ff-fragments { display: none; }
  .ff-cinema { min-height: 80vh; }
}

/* ---- Cursor polish ---- */
#med-cursor-ring svg { opacity: 0.85; transition: opacity 0.25s ease; }
#med-cursor-ring.med-hovering svg { opacity: 1; }

/* ==================================================================
   REFINE PASS 2 — hero composition · CTA · nav · connected ops ·
   showcase polish · studio · global motion
   ================================================================== */

/* ---- Global polish ---- */
html { scroll-behavior: smooth; }
::selection { background: rgba(124,58,237,0.35); color: #fff; }

/* ============================================
   HERO — composition + hierarchy + clip fix
   ============================================ */
/* Give the heading column clear priority; pull the preview right and cap it
   so the big rotating word can never collide with the dashboard. */
.hero-body-v2 { grid-template-columns: 1.18fr 0.82fr; gap: 56px; }
.hero-left-v2 { position: relative; z-index: 4; padding-right: 18px; }
.hero-right-v2 { position: relative; z-index: 2; }

/* Strong but bounded display scale — max is locked in rem so it can't
   outgrow the 1400px container on ultra-wide screens (the real clip cause). */
.hero-display-v2 { font-size: clamp(3.2rem, 6vw, 6.4rem); }

/* Preview sits flush right inside its column, away from the typography. */
.live-preview-wrap { max-width: 512px; margin-left: auto; }
.hero-scene { padding: 38px 14px 38px 6px; }

/* Crisper type rendering for the rotating word + accents */
.wc-word, .wc-sizer, .hero-static-part, .hero-ai-accent {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* GPU layer keeps the morph buttery and the glyph edges clean */
.wc-word { backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(0); }
/* A touch of right breathing room so descenders/flourishes never touch the edge */
.wc-container { padding-right: 0.12em; }
.wc-sizer { padding-right: 0.12em; }

/* Eyebrow tag (replaces old inline status line) */
.hero-eyebrow-tag {
  display: inline-flex; align-items: center; gap: 9px;
  margin-bottom: 36px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(160,160,205,0.62);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10B981; box-shadow: 0 0 10px #10B981; flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
/* Section eyebrow bullets — same dot shape/motion as the hero green dot,
   palette-distinct accent per heading. Must follow .hero-eyebrow-dot. */
.eyebrow-dot-violet { background: #A78BFA; box-shadow: 0 0 10px rgba(167,139,250,0.85); }
.eyebrow-dot-blue   { background: #60A5FA; box-shadow: 0 0 10px rgba(96,165,250,0.85); }
.eyebrow-dot-cyan   { background: #22D3EE; box-shadow: 0 0 10px rgba(34,211,238,0.85); }
.eyebrow-dot-amber  { background: #F59E0B; box-shadow: 0 0 10px rgba(245,158,11,0.85); }

/* Sub headline — one clean line */
.hero-sub-v2 { max-width: none; white-space: nowrap; color: rgba(176,176,214,0.82); }

/* CTA — larger, rounder, glass, soft glow, sweeping reflection */
.hero-cta-v2 {
  padding: 16px 34px;
  font-size: 15.5px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.94), rgba(59,130,246,0.92));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(167,139,250,0.45);
  box-shadow:
    0 0 38px rgba(124,58,237,0.26),
    0 8px 28px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}
.hero-cta-v2::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.28) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.75s cubic-bezier(0.4,0,0.2,1);
  opacity: 1;
}
.hero-cta-v2:hover::before { transform: translateX(130%); }
.hero-cta-v2:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 64px rgba(124,58,237,0.45),
    0 16px 44px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.26);
}

/* Navbar — slightly bolder, more readable */
.nav-wordmark { font-weight: 800; font-size: 15.5px; }
.nav-link-v2 { font-size: 13.5px; font-weight: 600; color: rgba(184,184,222,0.82); }
.nav-link-v2:hover { color: #FFFFFF; background: rgba(255,255,255,0.05); }
.nav-enter-btn { font-weight: 600; }

/* Floating alert cards — bolder, more readable body text */
.fc-line {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(234,234,250,0.96);
  font-weight: 600;
}

/* ============================================
   OPS FACTS — bigger, punchier insight
   ============================================ */
.ops-fact-insight {
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: #EFEDFF;
  padding: 28px 24px;
}

/* ============================================
   AI INTELLIGENCE LAYER — larger, bolder cards
   ============================================ */
.ai-layer-stage { min-height: 500px; padding: 36px; }
.ai-pred {
  width: 272px;
  padding: 18px 20px;
  border-radius: 16px;
}
.ai-pred.ap-1 { top: 30px;  left: 30px; }
.ai-pred.ap-2 { top: 34px;  right: 30px; }
.ai-pred.ap-3 { bottom: 32px; left: 30px; }
.ai-pred.ap-4 { bottom: 30px; right: 30px; }
.ai-pred-tag { font-size: 10.5px; letter-spacing: 0.16em; margin-bottom: 11px; }
.ai-pred-text {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(228,228,250,0.95);
  margin-bottom: 14px;
}
.ai-pred-bar { height: 5px; }

/* ============================================
   CONNECTED OPERATIONS — network + staff
   ============================================ */
.connected-ops-section {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px;
  overflow: hidden;
}
.connected-ops-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 28% 45%, rgba(124,58,237,0.10), transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(59,130,246,0.08), transparent 60%);
}
.connected-ops-header { position: relative; z-index: 2; max-width: 720px; margin-bottom: 56px; }
.connected-ops-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

/* --- Network map --- */
.net-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 440;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.07);
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(59,130,246,0.07), transparent 70%),
    linear-gradient(180deg, rgba(10,10,22,0.75), rgba(6,6,14,0.92));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 40px 120px rgba(0,0,0,0.5);
}
.net-map-gridlines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 35%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 35%, transparent 82%);
}
.net-map-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 48%, rgba(124,58,237,0.16), transparent 55%);
  animation: ffGlowPulse 8s ease-in-out infinite;
}
.net-map-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 99px;
  background: rgba(8,8,16,0.72); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; color: rgba(190,190,224,0.85);
}
.net-map-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: pulse-dot 1.8s ease-in-out infinite; }

.net-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-links { fill: none; stroke: url(#netLine); stroke-width: 1.4; }
.net-links-anim {
  fill: none; stroke: #A78BFA; stroke-width: 1.6;
  stroke-dasharray: 4 13; opacity: 0.6;
  animation: netDash 2.8s linear infinite;
}
@keyframes netDash { to { stroke-dashoffset: -34; } }
.net-pulse { fill: #EDE9FE; filter: drop-shadow(0 0 6px rgba(196,181,253,0.9)); }

.net-node { cursor: pointer; }
.net-node-halo { fill: rgba(124,58,237,0.12); transition: fill 0.35s ease, r 0.35s ease; }
.net-node-ping {
  fill: none; stroke: rgba(167,139,250,0.55); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: netPing 3.2s ease-out infinite;
}
@keyframes netPing { 0% { r: 9; opacity: 0.7; } 100% { r: 30; opacity: 0; } }
.net-node-core { fill: url(#netNode); transition: filter 0.35s ease; }
.net-node-name {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  fill: #E8E8FB; letter-spacing: 0.005em;
}
.net-node-stat {
  font-family: 'JetBrains Mono', monospace; font-size: 8px; font-weight: 500; letter-spacing: 0.16em;
}
.net-node-stat.live   { fill: #34D399; }
.net-node-stat.active { fill: #60A5FA; }
.net-node-stat.synced { fill: #A78BFA; }
.net-node:hover .net-node-halo,
.net-node:focus .net-node-halo { fill: rgba(167,139,250,0.28); }
.net-node:hover .net-node-core,
.net-node:focus .net-node-core { filter: drop-shadow(0 0 10px rgba(167,139,250,0.95)); }
.net-node:focus { outline: none; }

/* --- Staff cards --- */
.staff-col { display: flex; flex-direction: column; gap: 13px; }
.staff-col-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(155,155,205,0.5); margin-bottom: 4px;
}
.staff-card {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: linear-gradient(160deg, rgba(16,16,30,0.72), rgba(9,9,18,0.72));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), border-color 0.35s ease, box-shadow 0.35s ease;
}
.staff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167,139,250,0.32);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 34px rgba(124,58,237,0.18);
}
.staff-avatar {
  position: relative; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}
.grad-1 { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.grad-2 { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.grad-3 { background: linear-gradient(135deg, #10B981, #34D399); }
.grad-4 { background: linear-gradient(135deg, #8B5CF6, #6366F1); }
.staff-online {
  position: absolute; bottom: -2px; right: -2px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #10B981; border: 2px solid #0a0a14; box-shadow: 0 0 8px #10B981;
}
.staff-info { flex: 1; min-width: 0; }
.staff-name { font-size: 15px; font-weight: 700; color: #F0F0FF; letter-spacing: -0.01em; }
.staff-role { font-size: 12px; color: rgba(168,168,208,0.66); margin-top: 3px; }
.staff-metric { text-align: right; flex-shrink: 0; }
.staff-metric-val {
  font-size: 19px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #C4B5FD, #60A5FA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.staff-metric-lbl {
  font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(155,155,205,0.5); margin-top: 3px;
}

@media (max-width: 980px) {
  .connected-ops-grid { grid-template-columns: 1fr; gap: 36px; }
  .net-map-frame { max-width: 560px; margin: 0 auto; }
  .staff-col { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 768px) {
  .connected-ops-section { padding: 80px 24px; }
}

/* ============================================
   DASHBOARD SHOWCASE — Open Dashboard button
   ============================================ */
.open-dash-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px; border-radius: 12px;
  border: 1px solid rgba(124,58,237,0.28);
  background: rgba(124,58,237,0.07);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #C4B5FD; font-size: 13px; font-weight: 600; text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.open-dash-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.14) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.open-dash-btn:hover::before { transform: translateX(130%); }
.open-dash-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(167,139,250,0.5);
  background: rgba(124,58,237,0.12);
  box-shadow: 0 0 34px rgba(124,58,237,0.28), 0 10px 30px rgba(0,0,0,0.4);
}
.open-dash-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.12em; color: #34D399;
}
.open-dash-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10B981; box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

/* ============================================
   STUDIO — futuristic service modules
   ============================================ */
.frag-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.frag-node {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #A78BFA; box-shadow: 0 0 9px currentColor; color: #A78BFA;
  animation: fragNode 2.4s ease-in-out infinite;
}
.frag-node.v { background: #A78BFA; color: #A78BFA; }
.frag-node.b { background: #60A5FA; color: #60A5FA; }
.frag-node.g { background: #34D399; color: #34D399; }
.frag-node.c { background: #5EEAD4; color: #5EEAD4; }
@keyframes fragNode { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.frag-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(214,210,245,0.92); margin-bottom: 0;
}
/* Scanning bar inside the spark module */
.frag-spark { position: relative; overflow: hidden; }
.frag-scan {
  position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196,181,253,0.55), transparent);
  animation: fragScan 2.8s ease-in-out infinite;
}
@keyframes fragScan { 0% { left: -40%; } 60%,100% { left: 110%; } }

.ff-frag { pointer-events: auto; transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), border-color 0.45s ease, box-shadow 0.45s ease; }
.ff-frag:hover {
  animation-play-state: paused;
  transform: perspective(820px) rotateX(4deg) rotateY(-4deg) translateY(-5px);
  border-color: rgba(167,139,250,0.34);
  box-shadow: 0 30px 66px rgba(0,0,0,0.5), 0 0 32px rgba(124,58,237,0.2);
}
.ff-frag.frag-2:hover, .ff-frag.frag-3:hover { transform: perspective(820px) rotateX(4deg) rotateY(4deg) translateY(-5px); }

/* Tighten the studio triad into one intentional phrase */
.ff-triad { letter-spacing: -0.03em; word-spacing: -0.06em; }

/* ============================================
   STUDIO — tighter title grouping + signature
   ============================================ */
.ff-eyebrow { margin-bottom: 20px; }

.ff-wordmark {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  margin-bottom: 8px;
  /* Stable white wordmark — a subtle violet→pink energy band (FrameFlows logo
     identity) flows THROUGH the glyphs. White at both gradient ends + repeat
     tiling guarantees the text is ALWAYS fully painted: no clipping, flicker, or
     vanishing letters. The band is purposely narrow so the brand colour reads as
     a premium sweep, never an over-saturated wash. */
  background: linear-gradient(100deg,
    #FFFFFF 0%, #FFFFFF 36%,
    #E9D5FF 42%, #C084FC 47%, #A855F7 50%, #EC4899 53%, #F9A8D4 58%,
    #FFFFFF 64%, #FFFFFF 100%);
  background-size: 200% 100%;
  background-repeat: repeat;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 32px rgba(168,85,247,0.28));
  animation: ffEnergyFlow 4.2s linear infinite;
}
@keyframes ffEnergyFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* tightened vertical rhythm after subtext removal */
.ff-triad { margin-bottom: 30px; }

.ff-signoff {
  margin-top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding-bottom: 6px;
}
.ff-signoff-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(150,150,195,0.6);
}
.ff-signoff-name {
  font-family: 'Caveat', cursive;
  font-size: 30px; font-weight: 600; letter-spacing: 0.01em; text-transform: none;
  line-height: 1;
  background: linear-gradient(120deg, #C4B5FD 0%, #60A5FA 50%, #5EEAD4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 16px rgba(124,58,237,0.42));
}

/* ============================================
   STUDIO — floating service modules
   ============================================ */
.ff-mod {
  position: absolute;
  width: 240px;
  padding: 18px 20px;
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(20,20,38,0.84), rgba(9,9,20,0.74));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 22px 54px rgba(0,0,0,0.42);
  pointer-events: auto;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), border-color 0.45s ease, box-shadow 0.45s ease;
}
.ff-mod.mod-1 { top: 14%;    left: 10%;  animation: floatA 9s  ease-in-out infinite; }
.ff-mod.mod-2 { top: 19%;    right: 10%; animation: floatB 10s ease-in-out infinite; }
.ff-mod.mod-3 { bottom: 16%; left: 11%;  animation: floatB 8.5s ease-in-out infinite 0.6s; }
.ff-mod.mod-4 { bottom: 17%; right: 10%; animation: floatA 11s ease-in-out infinite 0.4s; }
.ff-mod:hover {
  animation-play-state: paused;
  transform: perspective(900px) rotateX(4deg) rotateY(-4deg) translateY(-5px);
  border-color: rgba(167,139,250,0.34);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 34px rgba(124,58,237,0.22);
}
.ff-mod.mod-2:hover, .ff-mod.mod-3:hover {
  transform: perspective(900px) rotateX(4deg) rotateY(4deg) translateY(-5px);
}

.ff-mod-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ff-mod-node {
  width: 8px; height: 8px; border-radius: 50%; margin-top: 3px; flex-shrink: 0;
  background: #A78BFA; color: #A78BFA; box-shadow: 0 0 10px currentColor;
  animation: fragNode 2.4s ease-in-out infinite;
}
.ff-mod-node.v { background: #A78BFA; color: #A78BFA; }
.ff-mod-node.b { background: #22D3EE; color: #22D3EE; }
.ff-mod-node.g { background: #34D399; color: #34D399; }
.ff-mod-node.c { background: #F59E0B; color: #F59E0B; }

/* Unique ambient glass tint per module — embedded, soft, premium
   (tint layered over the same dark glass so it never reads as a colour panel) */
.ff-mod.mod-1 { background-image: radial-gradient(135% 120% at 50% 0%, rgba(168,85,247,0.13), transparent 70%), linear-gradient(160deg, rgba(20,20,38,0.84), rgba(9,9,20,0.74)); border-color: rgba(168,85,247,0.20); }
.ff-mod.mod-2 { background-image: radial-gradient(135% 120% at 50% 0%, rgba(34,211,238,0.13), transparent 70%), linear-gradient(160deg, rgba(20,20,38,0.84), rgba(9,9,20,0.74)); border-color: rgba(34,211,238,0.20); }
.ff-mod.mod-3 { background-image: radial-gradient(135% 120% at 50% 0%, rgba(52,211,153,0.13), transparent 70%), linear-gradient(160deg, rgba(20,20,38,0.84), rgba(9,9,20,0.74)); border-color: rgba(52,211,153,0.20); }
.ff-mod.mod-4 { background-image: radial-gradient(135% 120% at 50% 0%, rgba(245,158,11,0.14), transparent 70%), linear-gradient(160deg, rgba(20,20,38,0.84), rgba(9,9,20,0.74)); border-color: rgba(245,158,11,0.22); }
.ff-mod-text { min-width: 0; }
.ff-mod-title { font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #F0F0FF; line-height: 1.15; }
.ff-mod-sub { font-size: 11.5px; color: rgba(176,176,216,0.66); margin-top: 4px; letter-spacing: 0.01em; }
.ff-mod-viz { height: 36px; margin-top: 4px; }
.ff-mod-viz svg { width: 100%; height: 100%; display: block; }

/* BOX 2 — scan / media glow viz */
.viz-scan {
  position: relative; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, rgba(96,165,250,0.12), rgba(124,58,237,0.06));
  border: 1px solid rgba(255,255,255,0.05);
}
.viz-scan-glow {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(96,165,250,0.4), transparent 60%);
  animation: scanGlow 3.4s ease-in-out infinite;
}
@keyframes scanGlow { 0%, 100% { opacity: 0; } 50% { opacity: 0.65; } }
.viz-scan-line {
  position: absolute; top: 0; bottom: 0; width: 34%; left: -40%;
  background: linear-gradient(90deg, transparent, rgba(200,218,255,0.5), transparent);
  animation: scanSweep 3.4s ease-in-out infinite;
}
@keyframes scanSweep { 0% { left: -40%; } 60%, 100% { left: 110%; } }

@media (max-width: 1100px) {
  .ff-mod { width: 188px; }
}

/* ============================================
   HERO — white type with internal energy sweep
   White base; colour exists only as a moving
   light band travelling through the glyphs.
   ============================================ */
.hero-ai-accent,
.hero-hospitals {
  /* white base + mostly-white gradient with a soft colour band */
  background: linear-gradient(100deg,
    #FFFFFF 0%, #FFFFFF 36%,
    #C4B5FD 44%, #60A5FA 50%, #5EEAD4 56%,
    #FFFFFF 64%, #FFFFFF 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-font-smoothing: antialiased;
  will-change: background-position, filter;
  animation: textEnergy 2.8s linear infinite, textEnergyGlow 2.8s ease-in-out infinite;
}
/* Keep the handwritten word's existing type treatment */
.hero-hospitals {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  padding-right: 0.12em;
}
@keyframes textEnergy {
  0%   { background-position: 130% 50%; }
  100% { background-position: -30% 50%; }
}
@keyframes textEnergyGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(124,58,237,0.0)); }
  50%      { filter: drop-shadow(0 0 14px rgba(96,165,250,0.30)); }
}

/* ============================================
   LIVE INTELLIGENCE — metric · insight cards
   ============================================ */
.ai-pred-metric { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.apm-num {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  color: #FFFFFF;
}
.apm-sep { font-size: 16px; color: rgba(160,160,205,0.4); line-height: 1; }
.apm-text { font-size: 12.5px; font-weight: 500; color: rgba(202,202,234,0.74); }

/* ============================================
   LIVE AI ALERT — scroll-triggered popup
   ============================================ */
.scroll-alert {
  position: fixed; top: 86px; right: 28px; z-index: 120;
  width: 300px; max-width: calc(100vw - 56px);
  padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(16,16,30,0.93), rgba(8,8,16,0.9));
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.05);
  opacity: 0; transform: translateY(-14px); pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1), transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
/* gentle 'system awareness' breathe while visible */
.scroll-alert.show { opacity: 1; transform: translateY(0); animation: saBreathe 3.2s ease-in-out infinite; }
@keyframes saBreathe {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(124,58,237,0)); }
  50%      { filter: drop-shadow(0 0 14px rgba(124,58,237,0.22)); }
}
.sa-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.sa-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; animation: pulse-dot 2s ease-in-out infinite; }
.sa-title { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.sa-body { font-size: 13.5px; font-weight: 600; line-height: 1.45; color: rgba(234,234,250,0.95); }
/* Unified live AI operational alert — subtle red-tinted glass, ambient glow */
.scroll-alert.sa-r {
  width: 324px;
  border-color: rgba(248,113,113,0.34);
  border-left: 2px solid rgba(239,68,68,0.7);
  background: linear-gradient(160deg, rgba(40,12,16,0.94), rgba(18,8,11,0.92));
  animation: alertGlow 2.1s ease-in-out infinite;
}
.scroll-alert.sa-r .sa-head { color: #FCA5A5; }
.scroll-alert.sa-r .sa-dot {
  background: #EF4444; color: #EF4444;
  animation: pulse-dot 1.1s ease-in-out infinite;
}
@keyframes alertGlow {
  0%, 100% { box-shadow: 0 22px 60px rgba(0,0,0,0.5), 0 0 26px rgba(239,68,68,0.18); }
  50%      { box-shadow: 0 22px 60px rgba(0,0,0,0.5), 0 0 48px rgba(239,68,68,0.34); }
}

/* ============================================
   FOOTER — cinematic single line
   ============================================ */
.footer-v2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; gap: 28px; padding: 26px 48px; }
.footer-copy { font-size: 14.5px; color: rgba(170,170,212,0.62); letter-spacing: 0.05em; justify-self: start; text-align: left; }
.footer-copy .footer-sep { opacity: 0.4; margin: 0 7px; }
.footer-ff {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(120deg, #A78BFA, #5EEAD4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: filter 0.25s ease;
}
.footer-ff:hover { filter: drop-shadow(0 0 9px rgba(167,139,250,0.55)); }

/* Release line — sits inline on the same centered row as the copy,
   matched to the copy's size/weight/colour so the two read as one line. */
.footer-licence {
  grid-column: 2; text-align: center;
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  font-size: 12.5px; font-weight: 400; letter-spacing: 0.05em;
  color: rgba(170,170,212,0.62);
}

/* keep the footer stacked + readable on small screens */
@media (max-width: 768px) {
  .footer-v2 { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
  .footer-copy, .footer-licence { grid-column: 1; text-align: left; }
}

/* ============================================
   SMART MANAGEMENT BENEFITS — colored glass tint
   per metric (subtle, embedded — not dashboard colour)
   ============================================ */
.ops-fact-card[data-metric="profitable-hospitals"] .ops-fact-visual {
  background: radial-gradient(ellipse at center, rgba(168,85,247,0.20) 0%, transparent 70%);
  border-color: rgba(168,85,247,0.18);
}
.ops-fact-card[data-metric="icu-occupancy"] .ops-fact-visual {
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.20) 0%, transparent 70%);
  border-color: rgba(59,130,246,0.18);
}
.ops-fact-card[data-metric="wait-time"] .ops-fact-visual {
  background: radial-gradient(ellipse at center, rgba(52,211,153,0.18) 0%, transparent 70%);
  border-color: rgba(52,211,153,0.18);
}
.ops-fact-card[data-metric="revenue-impact"] .ops-fact-visual {
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.18) 0%, transparent 70%);
  border-color: rgba(245,158,11,0.20);
}

/* ---- Cursor polish ---- */
#med-cursor-ring svg { opacity: 0.85; transition: opacity 0.25s ease; }
#med-cursor-ring.med-hovering svg { opacity: 1; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dashboard-browser, .ai-core-dot, .ai-core-ring, .ai-core-sweep,
  .ai-pred, .ff-frag, .ff-mod, .ff-grid, .ff-glow, .bl-node,
  .net-links-anim, .net-node-ping, .net-map-glow, .net-pulse,
  .hero-eyebrow-dot, .open-dash-live-dot, .net-map-tag-dot,
  .hero-hospitals, .hero-ai-accent, .frag-node, .frag-scan,
  .ff-wordmark, .scroll-alert, .sa-dot { animation: none !important; }
  /* keep hero type plain white when motion is reduced */
  .hero-ai-accent, .hero-hospitals { -webkit-text-fill-color: #fff; color: #fff; }
  /* command-center charts: snap to final state instead of animating in */
  .db-area-line { animation: none !important; stroke-dashoffset: 0; }
  .db-donut-val { animation: none !important; stroke-dashoffset: 41; }
  .db-area-pulse { animation: none !important; }
  .db-loadbar-fill { animation: none !important; width: var(--w); }
  .db-bar { animation: none !important; height: var(--h); }
}
@media (max-width: 600px) {
  .hero-sub-v2 { white-space: normal; }
  /* declutter app top bars so primary actions never clip */
  .topbar { gap: 8px; }
  .topbar .select { display: none; }
  .topbar .btn-primary { white-space: nowrap; flex: none; }
}

/* ==================================================================
   REFINE PASS 3 — enterprise hierarchy polish
   glow hierarchy · nav realism · card rhythm · metric identity ·
   command-center breathing room · network + AI-layer hierarchy
   (subtle, restrained — protect the existing atmosphere)
   ================================================================== */

/* ---- Navbar realism: tiny operational status ---- */
.nav-sysop {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(168,176,196,0.42);
  white-space: nowrap;
}
.nav-sysop-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #10B981; box-shadow: 0 0 7px rgba(16,185,129,0.65);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@media (max-width: 1024px) { .nav-sysop { display: none; } }

/* ---- Hero floating cards: intentional diagonal rhythm ----
   critical sits furthest right; overload + optimized step left,
   optimized aligning to the dashboard's left edge. */
.hero-float-card.hfc-1 { top: -14px;  right: -30px; left: auto; }
.hero-float-card.hfc-2 { top: 46%;    left: -28px;  right: auto; transform: translateY(-50%); }
.hero-float-card.hfc-3 { bottom: -14px; left: 14px;  right: auto; }
/* soften the violet edge bloom on the floating cards (border hierarchy) */
.hero-float-card::before { background: linear-gradient(160deg, rgba(124,58,237,0.26), transparent 45%); opacity: 0.6; }

/* ============================================
   GLOW HIERARCHY — hero strongest, dashboard
   medium, cards soft, borders almost none
   ============================================ */
/* Dashboard showcase: outer glow ~ -35%, border brightness ~ -20% */
.dashboard-browser {
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.095),
    0 60px 160px rgba(0,0,0,0.7),
    0 0 120px rgba(124,58,237,0.10);
}
.dashboard-frame:hover .dashboard-browser {
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.16),
    0 70px 180px rgba(0,0,0,0.75),
    0 0 150px rgba(124,58,237,0.16);
}
.dashboard-showcase-section::after {
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.14), transparent 70%);
}
.dashboard-showcase-section::before {
  background: radial-gradient(ellipse, rgba(124,58,237,0.07) 0%, transparent 70%);
}
/* AI-layer ambient: nudge down to soft */
.ai-layer-glow { background: radial-gradient(circle at 50% 50%, rgba(124,58,237,0.12), transparent 55%); }
/* Studio module borders: brightest tinted borders dimmed ~20% */
.ff-mod.mod-1 { border-color: rgba(168,85,247,0.16); }
.ff-mod.mod-2 { border-color: rgba(34,211,238,0.16); }
.ff-mod.mod-3 { border-color: rgba(52,211,153,0.16); }
.ff-mod.mod-4 { border-color: rgba(245,158,11,0.17); }

/* ============================================
   SECTION TRANSITIONS — faint operational divider
   (very subtle horizontal seam between sections)
   ============================================ */
.ai-ops-section, .connected-ops-section, .ops-facts-section { position: relative; }
.ai-ops-section::after,
.connected-ops-section::after,
.ops-facts-section::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(660px, 66%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.16), transparent);
  pointer-events: none; z-index: 1;
}

/* ============================================
   STATS — subtle per-metric accent identity
   (top seam + faint top wash — never a colour panel)
   ============================================ */
.ops-fact-stage::after {
  content: ''; position: absolute; top: 0; left: 18%; right: 18%; height: 1.5px;
  border-radius: 99px; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.ops-fact-card:hover .ops-fact-stage::after { opacity: 0.85; }
.ops-fact-card[data-metric="profitable-hospitals"] .ops-fact-stage::after { background: linear-gradient(90deg, transparent, #A78BFA, transparent); opacity: 0.5; }
.ops-fact-card[data-metric="icu-occupancy"]       .ops-fact-stage::after { background: linear-gradient(90deg, transparent, #60A5FA, transparent); opacity: 0.5; }
.ops-fact-card[data-metric="wait-time"]           .ops-fact-stage::after { background: linear-gradient(90deg, transparent, #34D399, transparent); opacity: 0.5; }
.ops-fact-card[data-metric="revenue-impact"]      .ops-fact-stage::after { background: linear-gradient(90deg, transparent, #F59E0B, transparent); opacity: 0.5; }
.ops-fact-card[data-metric="profitable-hospitals"]:not(:hover) .ops-fact-stage { box-shadow: inset 0 16px 30px -18px rgba(167,139,250,0.32); }
.ops-fact-card[data-metric="icu-occupancy"]:not(:hover)       .ops-fact-stage { box-shadow: inset 0 16px 30px -18px rgba(96,165,250,0.32); }
.ops-fact-card[data-metric="wait-time"]:not(:hover)           .ops-fact-stage { box-shadow: inset 0 16px 30px -18px rgba(52,211,153,0.30); }
.ops-fact-card[data-metric="revenue-impact"]:not(:hover)      .ops-fact-stage { box-shadow: inset 0 16px 30px -18px rgba(245,158,11,0.30); }

/* ============================================
   COMMAND CENTER — more internal breathing room
   ============================================ */
.db-main { padding-top: 32px; gap: 20px; }
.db-grid.cols-2b { margin-top: 4px; }

/* ============================================
   NETWORK — tighter staff rhythm + node hierarchy
   center strongest · active medium · synced softer
   ============================================ */
.staff-card { padding: 11px 18px; }

.net-node:has(.net-node-stat.active) .net-node-halo { fill: rgba(96,165,250,0.16); }
.net-node:has(.net-node-stat.active) .net-node-core { opacity: 1; }
.net-node:has(.net-node-stat.synced) .net-node-halo { fill: rgba(124,58,237,0.06); }
.net-node:has(.net-node-stat.synced) .net-node-core { opacity: 0.78; }
.net-node:has(.net-node-core.hub) .net-node-halo { fill: rgba(124,58,237,0.22); }

/* ============================================
   AI OPERATIONS — fill the empty centre with one
   restrained expanding radar ring + pills polish
   ============================================ */
.ai-core::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(167,139,250,0.30);
  pointer-events: none;
  animation: aiRadar 4.6s ease-out infinite;
}
@keyframes aiRadar {
  0%   { width: 56px;  height: 56px;  opacity: 0.45; }
  100% { width: 232px; height: 232px; opacity: 0; }
}
/* bottom signal pills — stronger presence, tighter spacing */
.ai-signals-row { gap: 12px; }
.ai-signal-pill {
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.10);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: rgba(198,198,226,0.9);
}

@media (prefers-reduced-motion: reduce) {
  .nav-sysop-dot, .ai-core::before { animation: none !important; }
  .ai-core::before { opacity: 0; }
}

/* ==================================================================
   REFINE PASS 4 — motion & continuity
   "operational systems activating" — restrained, atmospheric.
   Hero load sequence · grid breathing · scroll reveals ·
   dashboard micro-interactions · network sync · button softening.
   Timing 0.6–1.2s, ease-out, staggered. No bounce / scale / spin.
   ================================================================== */

/* ---- Shared soft easings / keyframes ---- */
@keyframes heroRise {
  0%   { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
@keyframes heroFadeSoft {
  0%   { opacity: 0; filter: blur(6px); }
  100% { opacity: 1; filter: blur(0); }
}
@keyframes previewActivate {
  0%   { opacity: 0; transform: translateY(16px); filter: blur(8px) brightness(0.72); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0)  brightness(1); }
}
@keyframes cardActivate {
  0%   { opacity: 0; filter: blur(5px); }
  100% { opacity: 1; filter: blur(0); }
}

/* ============================================
   HERO — staggered entrance ("system coming online")
   Elements with hover-transforms animate opacity/blur only,
   so their hover lift stays intact. The float cards animate
   opacity/blur only because JS owns their transform (parallax).
   ============================================ */
.hero-eyebrow-tag   { animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.05s both; }
.hero-display-v2 .hero-line { animation: heroRise 0.95s cubic-bezier(0.22,1,0.36,1) both; }
.hero-display-v2 .hero-line:nth-child(1) { animation-delay: 0.16s; }
.hero-display-v2 .hero-line:nth-child(2) { animation-delay: 0.29s; }
.hero-display-v2 .hero-line:nth-child(3) { animation-delay: 0.42s; }
.hero-sub-v2        { animation: heroRise 0.9s cubic-bezier(0.22,1,0.36,1) 0.56s both; }
.hero-cta-v2        { animation: heroFadeSoft 0.9s ease-out 0.70s both; }
.live-preview-wrap  { animation: previewActivate 1.15s cubic-bezier(0.22,1,0.36,1) 0.62s both; }
.hero-float-card.hfc-1 { animation: cardActivate 0.8s ease-out 1.02s both; }
.hero-float-card.hfc-2 { animation: cardActivate 0.8s ease-out 1.20s both; }
.hero-float-card.hfc-3 { animation: cardActivate 0.8s ease-out 1.38s both; }

/* ============================================
   GRID SYSTEM — subconscious "alive" breathing
   ============================================ */
.hero-grid        { animation: gridBreath 12s ease-in-out infinite; }
.ai-layer-grid    { animation: gridBreath 14s ease-in-out infinite; }
.net-map-gridlines{ animation: gridBreath 13s ease-in-out infinite; }
@keyframes gridBreath { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* Ambient section glows slowly drift — soft continuity, never noticeable
   as motion; just enough that the atmosphere isn't frozen. */
.connected-ops-bg          { animation: glowDrift 24s ease-in-out infinite; }
.ai-layer-glow             { animation: glowDrift 20s ease-in-out infinite; }
.dashboard-showcase-section::before { animation: glowDrift 26s ease-in-out infinite; }
@keyframes glowDrift {
  0%,100% { transform: translate(0, 0); }
  50%     { transform: translate(2%, -1.6%); }
}

/* ============================================
   SCROLL REVEALS — grounded fade + blur dissolve
   (20–30px vertical, ease-out, blur sharpening)
   ============================================ */
.reveal-up {
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity 0.95s cubic-bezier(0.22,1,0.36,1),
    transform 0.95s cubic-bezier(0.22,1,0.36,1),
    filter 0.85s ease-out;
}
.reveal-up.in { filter: blur(0); }

/* Staff cards populate in sequence once their column reveals (opacity/blur
   only — keeps the hover lift untouched). */
.staff-col .staff-card { opacity: 0; }
.staff-col.in .staff-card { animation: cardActivate 0.7s ease-out both; }
.staff-col.in .staff-card:nth-child(2) { animation-delay: 0.10s; }
.staff-col.in .staff-card:nth-child(3) { animation-delay: 0.20s; }
.staff-col.in .staff-card:nth-child(4) { animation-delay: 0.30s; }
.staff-col.in .staff-card:nth-child(5) { animation-delay: 0.40s; }

/* ============================================
   DASHBOARD MICRO-INTERACTIONS — operationally alive
   (restrained: max 2–3px elevation, soft glow only)
   ============================================ */
.db-kpi {
  transition:
    transform 0.3s cubic-bezier(0.22,1,0.36,1),
    border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.db-kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(124,58,237,0.26);
  box-shadow: 0 10px 26px rgba(0,0,0,0.4), 0 0 22px rgba(124,58,237,0.13);
}
.db-kpi-val { transition: color 0.3s ease, text-shadow 0.3s ease; }
.db-kpi:hover .db-kpi-val { text-shadow: 0 0 16px rgba(167,139,250,0.35); }
.db-panel {
  transition:
    transform 0.3s cubic-bezier(0.22,1,0.36,1),
    border-color 0.3s ease, box-shadow 0.3s ease;
}
.db-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(124,58,237,0.2);
  box-shadow: 0 14px 32px rgba(0,0,0,0.4);
}

/* ============================================
   NETWORK — sequential "synchronization" illumination
   connection lines softly brighten one after another
   ============================================ */
.net-links path { animation: netGlowSeq 4.6s ease-in-out infinite; }
.net-links path:nth-child(1) { animation-delay: 0s; }
.net-links path:nth-child(2) { animation-delay: 0.32s; }
.net-links path:nth-child(3) { animation-delay: 0.64s; }
.net-links path:nth-child(4) { animation-delay: 0.96s; }
.net-links path:nth-child(5) { animation-delay: 1.28s; }
.net-links path:nth-child(6) { animation-delay: 1.6s; }
@keyframes netGlowSeq { 0%,100% { stroke-opacity: 0.45; } 45% { stroke-opacity: 0.92; } }

/* ============================================
   BUTTONS — soft brighten, tiny lift, gentler shine
   ============================================ */
.hero-cta-v2::before {
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.14) 50%, transparent 62%);
}
.hero-cta-v2:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 48px rgba(124,58,237,0.34),
    0 12px 36px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.open-dash-btn::before {
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
}
.open-dash-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(167,139,250,0.42);
  background: rgba(124,58,237,0.11);
  box-shadow: 0 0 26px rgba(124,58,237,0.2), 0 8px 24px rgba(0,0,0,0.4);
}
.nav-enter-btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.nav-enter-btn:hover { transform: translateY(-1px); }

/* ============================================
   REDUCED MOTION — collapse all of the above to
   a clean, fully-visible, still state.
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-tag, .hero-display-v2 .hero-line, .hero-sub-v2, .hero-cta-v2,
  .live-preview-wrap, .hero-float-card,
  .hero-grid, .ai-layer-grid, .net-map-gridlines,
  .connected-ops-bg, .ai-layer-glow, .dashboard-showcase-section::before,
  .net-links path, .staff-col.in .staff-card {
    animation: none !important;
  }
  .hero-eyebrow-tag, .hero-display-v2 .hero-line, .hero-sub-v2, .hero-cta-v2,
  .live-preview-wrap, .hero-float-card, .staff-col .staff-card {
    opacity: 1 !important; transform: none; filter: none;
  }
  .reveal-up { filter: none; transition: opacity 0.4s ease; transform: none; }
}
