/* ========================================================
   ARCUS — Landing page styles
   ======================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #07091a;
  --bg-elev: #0d1130;
  --bg-card: rgba(20, 26, 60, 0.5);
  --bg-card-solid: #11163a;
  --border: rgba(148, 163, 184, 0.15);
  --border-strong: rgba(148, 163, 184, 0.3);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --amber: #f59e0b;
  --red: #ef4444;
  --green: #10b981;

  --grad: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
  --grad-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; }

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.white { color: #fff; }

/* ============================================
   BACKGROUND GLOW
   ============================================ */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float 18s ease-in-out infinite;
}
.glow-1 {
  width: 500px; height: 500px;
  background: #22d3ee;
  top: -100px; left: -100px;
}
.glow-2 {
  width: 600px; height: 600px;
  background: #8b5cf6;
  top: 30%; right: -200px;
  animation-delay: -6s;
}
.glow-3 {
  width: 400px; height: 400px;
  background: #6366f1;
  bottom: -100px; left: 30%;
  animation-delay: -12s;
}
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 50px) scale(0.95); }
}

/* ============================================
   NAVBAR
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(7, 9, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.logo { width: 36px; height: 36px; }
.logo-sm { width: 28px; height: 28px; }
.brand-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s;
  border-radius: 2px;
}
.nav-links a:hover::after { transform: scaleX(1); }

.btn-cta-nav {
  padding: 0.6rem 1.2rem;
  background: var(--grad);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #06080f !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px -8px rgba(34, 211, 238, 0.5);
}
.btn-cta-nav:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(34, 211, 238, 0.6); }

@media (max-width: 880px) {
  .nav { padding: 1rem 1.2rem; }
  .nav-links { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 8rem 3rem 4rem;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(34, 211, 238, 0.05);
  margin-bottom: 1.5rem;
}
.dot-pulse {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  background: var(--grad);
  color: #06080f;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 30px -8px rgba(34, 211, 238, 0.5);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(139, 92, 246, 0.6); }

.btn-large { padding: 1.1rem 2.4rem; font-size: 1.05rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.7rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--cyan); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 580px;
}
.stat {
  position: relative;
}
.stat-num {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.stat span {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.dashboard-card {
  background: linear-gradient(145deg, rgba(20, 26, 60, 0.95), rgba(13, 17, 48, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-6deg) rotateX(4deg);
  animation: heroFloat 8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.dashboard-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06) 0%, transparent 50%, rgba(139, 92, 246, 0.05) 100%);
  pointer-events: none;
}
@keyframes heroFloat {
  0%, 100% { transform: rotateY(-6deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-4deg) rotateX(3deg) translateY(-15px); }
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.2rem;
}
.dashboard-dots {
  display: flex;
  gap: 0.4rem;
}
.dashboard-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #10b981; }
.dashboard-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.kpi {
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.kpi-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.kpi-value {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kpi-spark {
  position: absolute;
  bottom: 4px; right: 4px;
  width: 60px; height: 18px;
  opacity: 0.7;
}

.chart-block {
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.chart-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}
.chart-bars .bar {
  flex: 1;
  background: var(--grad);
  border-radius: 3px 3px 0 0;
  height: 0;
  animation: barRise 1.2s ease-out forwards;
}
.chart-bars .bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bars .bar:nth-child(2) { animation-delay: 0.15s; }
.chart-bars .bar:nth-child(3) { animation-delay: 0.2s; }
.chart-bars .bar:nth-child(4) { animation-delay: 0.25s; }
.chart-bars .bar:nth-child(5) { animation-delay: 0.3s; }
.chart-bars .bar:nth-child(6) { animation-delay: 0.35s; }
.chart-bars .bar:nth-child(7) { animation-delay: 0.4s; }
.chart-bars .bar:nth-child(8) { animation-delay: 0.45s; }
.chart-bars .bar:nth-child(9) { animation-delay: 0.5s; }
.chart-bars .bar:nth-child(10) { animation-delay: 0.55s; }
.chart-bars .bar:nth-child(11) { animation-delay: 0.6s; }
.chart-bars .bar:nth-child(12) { animation-delay: 0.65s; }
@keyframes barRise {
  to { height: var(--h); }
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.recent-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.78rem;
}
.r-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.r-ok { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.r-wait { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.r-warn { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.r-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}
.r-name {
  color: var(--text);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* FLOATING NOTIF */
.float-notif {
  position: absolute;
  bottom: -30px; right: -30px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  background: rgba(13, 17, 48, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: notifWiggle 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes notifWiggle {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}
.notif-ico {
  width: 38px; height: 38px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-title { font-weight: 600; font-size: 0.88rem; }
.notif-sub { font-size: 0.76rem; color: var(--text-muted); }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.6;
}
.mouse {
  width: 22px; height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}
.wheel {
  width: 3px; height: 6px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: wheel 2s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

@media (max-width: 1000px) {
  .hero { padding: 7rem 1.2rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .dashboard-card { transform: none; }
  .float-notif { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust {
  position: relative;
  z-index: 1;
  padding: 1.5rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.trust-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.trust-item {
  display: flex;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.trust-item strong {
  color: #fff;
  font-weight: 600;
}
.trust-sep {
  width: 1px;
  height: 16px;
  background: var(--border-strong);
}
@media (max-width: 880px) {
  .trust-sep { display: none; }
  .trust-inner { justify-content: center; }
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.section-dark {
  max-width: none;
  margin: 0;
  padding: 6rem 3rem;
  background:
    radial-gradient(ellipse at top, rgba(34, 211, 238, 0.06), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(139, 92, 246, 0.06), transparent 60%),
    #050714;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.eyebrow-light {
  border-color: rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.08);
  color: #c4b5fd;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.section-sub.light { color: #c1cce0; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.feature-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover .feature-ico { transform: scale(1.1) rotate(-5deg); }

.feature-ico {
  width: 56px; height: 56px;
  background: var(--grad-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-ico svg {
  width: 28px; height: 28px;
}
.ico-1 svg { color: #22d3ee; }
.ico-2 svg { color: #34d399; }
.ico-3 svg { color: #f59e0b; }
.ico-4 svg { color: #ef4444; }
.ico-5 svg { color: #a78bfa; }
.ico-6 svg { color: #ec4899; }
.ico-7 svg { color: #14b8a6; }
.ico-8 svg { color: #6366f1; }
.ico-9 svg { color: #f97316; }

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.feature-card p b { color: var(--text); font-weight: 600; }

/* ============================================
   FLOW ANIMATION
   ============================================ */
.flow-container {
  max-width: 1400px;
  margin: 0 auto;
}
.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  padding: 0;
}
.flow-svg {
  position: absolute;
  top: calc(1.5rem + 34px);
  left: 0; right: 0;
  height: 6px;
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 0;
}
.flow-progress {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-stage {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 0.8rem;
  transition: transform 0.4s;
}
.stage-icon {
  width: 68px; height: 68px;
  background: var(--bg-card-solid);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.stage-icon svg {
  width: 30px; height: 30px;
  color: var(--text-muted);
  transition: color 0.4s;
}
.stage-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s;
  z-index: -1;
}
.flow-stage.active .stage-icon {
  background: var(--bg-elev);
  border-color: transparent;
  background-image: linear-gradient(var(--bg-elev), var(--bg-elev)), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform: scale(1.15);
}
.flow-stage.active .stage-icon::before { opacity: 0.5; }
.flow-stage.active .stage-icon svg { color: #fff; }
.flow-stage.done .stage-icon {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
}
.flow-stage.done .stage-icon svg { color: var(--cyan); }

.stage-num {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 0.2rem;
}
.stage-name {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #fff;
}
.stage-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

.token {
  position: absolute;
  top: calc(1.5rem + 34px);
  left: 7.14%;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.8), 0 0 32px rgba(139, 92, 246, 0.5);
  transform: translate(-50%, -50%);
  transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: none;
}

.flow-narrator {
  margin-top: 3rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
}
.narrator-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}
.narrator-stage {
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.narrator-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  min-height: 2.5rem;
}
.narrator-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-top: 1rem;
  overflow: hidden;
}
.narrator-fill {
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 4px;
  transition: width 0.3s linear;
}

@media (max-width: 1100px) {
  .flow-track { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .flow-svg, .token { display: none; }
  .stage-icon { transform: none !important; }
}

/* ============================================
   REMINDERS / ESCALATION
   ============================================ */
.reminders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.escalation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.esc-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 500/360;
}
.esc-node circle {
  transition: stroke-width 0.3s;
}
.esc-node.active circle:first-child {
  stroke-width: 4;
  filter: url(#glow);
}

.esc-pulse {
  opacity: 0;
}

.esc-mail {
  opacity: 0;
}

.esc-legend {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dot-amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.dot-red { background: var(--red); box-shadow: 0 0 8px var(--red); }

.reminders-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.rem-feature {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.rem-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rem-feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.rem-feature p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 880px) {
  .reminders-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PERIODIC REVIEWS
   ============================================ */
.reviews-stage {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}
.reviews-anim {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 460px;
}
.rev-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rev-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 1.5rem;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--border-strong), transparent);
}
.rev-cursor {
  position: absolute;
  left: 1.5rem;
  top: 0;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.8), 0 0 40px rgba(139, 92, 246, 0.5);
  transition: top 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.rev-doc {
  position: relative;
  margin-left: 3.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.4s;
}
.rev-doc::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--text-dim);
  border: 2px solid var(--bg);
  transition: all 0.4s;
}
.rev-doc[data-status="ok"]::before { background: var(--green); }
.rev-doc[data-status="warn"]::before { background: var(--amber); }
.rev-doc[data-status="late"]::before { background: var(--red); }
.rev-doc[data-status="released"]::before {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.rev-doc.active {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateX(8px);
}
.rev-doc.active::before {
  transform: translateY(-50%) scale(1.3);
}

.rev-doc-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.2rem;
}
.rev-doc-rev {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.rev-doc-meter {
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.rev-fill {
  height: 100%;
  border-radius: 5px;
  width: 0;
  transition: width 1.5s ease-out;
}
.rev-doc.in-view .rev-fill-ok { width: 22%; background: var(--green); }
.rev-doc.in-view .rev-fill-warn { width: 96%; background: var(--amber); }
.rev-doc.in-view .rev-fill-late { width: 100%; background: var(--red); }
.rev-doc[data-status="released"].in-view .rev-fill-ok {
  width: 5%;
  background: var(--cyan);
}
.rev-doc-status {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rev-stamp {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg) scale(0);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  border: 3px solid var(--cyan);
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.1);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s;
  opacity: 0;
}
.rev-stamp.show {
  transform: translateY(-50%) rotate(-12deg) scale(1);
  opacity: 1;
}
.stamp-circle {
  width: 36px; height: 36px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06080f;
}
.stamp-circle svg { width: 20px; height: 20px; }
.stamp-text {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
}
.stamp-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.rev-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.rev-benefits li {
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: border-color 0.3s;
}
.rev-benefits li:hover {
  border-color: rgba(34, 211, 238, 0.4);
}
.rev-benefits li strong {
  color: #fff;
  font-weight: 600;
  display: block;
}

@media (max-width: 1000px) {
  .reviews-stage { grid-template-columns: 1fr; }
  .rev-stamp { right: 1rem; }
}

/* ============================================
   MODULES (TABS)
   ============================================ */
.modules-tabs {
  max-width: 1100px;
  margin: 0 auto;
}
.tab-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab-btn {
  padding: 0.6rem 1.3rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active {
  background: var(--grad);
  color: #06080f;
  font-weight: 600;
}

.tab-content {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 2.5rem;
  animation: tabFade 0.4s ease-out;
}
.tab-content.hidden { display: none; }
@keyframes tabFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.tab-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.tab-info p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}
.tab-info p b { color: #fff; }
.tab-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tab-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.tab-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--grad);
  border-radius: 50%;
}

.tab-mock {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 280px;
}

/* MOCK: DASHBOARD */
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 1.5rem; }
.mock-kpi {
  padding: 0.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.mock-kpi span { display: block; font-size: 0.7rem; color: var(--text-dim); margin-bottom: 0.3rem; }
.mock-kpi b { font-size: 1.4rem; font-weight: 800; color: #fff; }
.mock-kpi-warn b { color: var(--amber); }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.mock-bar { flex: 1; background: var(--grad); border-radius: 3px 3px 0 0; }

/* MOCK: WIZARD */
.mock-wizard { padding: 0.5rem; }
.wiz-steps { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center; }
.wiz-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.wiz-step span {
  width: 24px; height: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.7rem;
}
.wiz-step.done span { background: var(--cyan); color: #06080f; border-color: var(--cyan); }
.wiz-step.done { color: var(--cyan); }
.wiz-step.active span { background: var(--grad); color: #06080f; border-color: transparent; box-shadow: 0 0 16px rgba(34, 211, 238, 0.5); }
.wiz-step.active { color: #fff; }

.wiz-body { display: flex; flex-direction: column; gap: 0.6rem; }
.wiz-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
}
.wiz-lbl { color: var(--text-muted); }
.wiz-val { color: #fff; font-weight: 500; }
.wiz-val em { color: var(--cyan); font-style: normal; font-weight: 400; font-size: 0.78rem; }

/* MOCK: LIST */
.mock-list { display: flex; flex-direction: column; gap: 0.4rem; }
.mock-list-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  align-items: center;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.mock-list-row:hover { background: rgba(34, 211, 238, 0.06); }
.mock-list-row span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.mock-list-row b { color: #fff; font-weight: 500; }
.mock-list-row i {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

/* MOCK: CATALOGS */
.mock-cat { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-chip {
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.cat-chip:hover { color: #fff; border-color: rgba(34, 211, 238, 0.4); }
.cat-chip-on {
  background: var(--grad);
  color: #06080f;
  font-weight: 600;
  border-color: transparent;
}

/* MOCK: ROLES */
.mock-roles { display: flex; flex-direction: column; gap: 0.7rem; }
.role-card {
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left: 3px solid;
}
.role-admin { border-left-color: var(--cyan); }
.role-editor { border-left-color: var(--violet); }
.role-cons { border-left-color: var(--text-dim); }
.role-card b { display: block; font-size: 1rem; margin-bottom: 0.2rem; }
.role-card small { color: var(--text-muted); font-size: 0.82rem; }

@media (max-width: 880px) {
  .tab-grid { grid-template-columns: 1fr; }
  .tab-content { padding: 1.5rem; }
  .section { padding: 4rem 1.2rem; }
  .section-dark { padding: 4rem 1.2rem; }
}

/* ============================================
   VALUE GRID
   ============================================ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.value-card {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.value-card-1::before { background: radial-gradient(circle at top, rgba(34, 211, 238, 0.15), transparent 60%); }
.value-card-2::before { background: radial-gradient(circle at top, rgba(139, 92, 246, 0.15), transparent 60%); }
.value-card-3::before { background: radial-gradient(circle at top, rgba(16, 185, 129, 0.15), transparent 60%); }
.value-card:hover { transform: translateY(-6px); }

.value-num {
  font-size: 3rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}
.value-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0.6rem 0 0.8rem;
  position: relative;
  z-index: 1;
}
.value-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CTA
   ============================================ */
.cta-section { padding-bottom: 8rem; }
.cta-card {
  position: relative;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, rgba(20, 26, 60, 0.9), rgba(13, 17, 48, 0.9));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(34, 211, 238, 0.2), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(139, 92, 246, 0.2), transparent 50%);
  pointer-events: none;
  animation: ctaGlow 6s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content p {
  color: var(--text-muted);
  margin: 1rem 0 2rem;
  font-size: 1.05rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-text {
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-meta {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .nav, .scroll-hint, .float-notif, .bg-glow { display: none; }
  body { background: #fff; color: #000; }
}
