/* ============================================================
   AINNA NEURALOPS ACCOUNTING — PREMIUM AI ENTERPRISE THEME
   Extracted from inline <style>
   ============================================================ */

:root {
  --bg-root: #050505;
  --bg-elevated: #0a0a0a;
  --bg-card: rgba(255,255,255,0.025);
  --bg-card-hover: rgba(255,255,255,0.045);
  --bg-glass: rgba(255,255,255,0.03);
  --nav-bg: rgba(5,5,5,0.7);
  --border-subtle: rgba(255,255,255,0.06);
  --border-medium: rgba(255,255,255,0.1);
  --border-glow-gold: rgba(212,175,55,0.3);
  --border-glow-pink: rgba(255,20,147,0.3);
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --text-dim: #444444;
  --gold: #D4AF37;
  --gold-bright: #FFD700;
  --gold-dim: #8B7355;
  --pink: #FF1493;
  --magenta: #E91E63;
  --rose: #FF69B4;
  --cyan: #00D4AA;
  --green: #22C55E;
  --red: #EF4444;
  --gradient-gold-pink: linear-gradient(135deg, var(--gold) 0%, var(--pink) 100%);
  --gradient-hero: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(212,175,55,0.08) 0%, transparent 60%),
                   radial-gradient(ellipse 60% 50% at 80% 60%, rgba(255,20,147,0.06) 0%, transparent 60%);
  --shadow-gold: 0 0 40px rgba(212,175,55,0.15);
  --shadow-pink: 0 0 40px rgba(255,20,147,0.12);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --nav-height: 86px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-root);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(212,175,55,0.3); color: #fff; }

/* ===== NEURAL NETWORK BACKGROUND ===== */
.neural-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.neural-bg::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,20,147,0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0,212,170,0.02) 0%, transparent 50%);
  animation: neuralDrift 20s ease-in-out infinite;
}

@keyframes neuralDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-2%, 1%) scale(1.02); }
  66% { transform: translate(1%, -2%) scale(0.98); }
}

.neural-node {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.node-gold {
  width: 4px; height: 4px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold), 0 0 20px rgba(212,175,55,0.3);
  animation: nodePulse 4s ease-in-out infinite;
}

.node-pink {
  width: 3px; height: 3px;
  background: var(--pink);
  box-shadow: 0 0 6px var(--pink), 0 0 16px rgba(255,20,147,0.3);
  animation: nodePulse 5s ease-in-out infinite 1s;
}

.node-cyan {
  width: 3px; height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan), 0 0 16px rgba(0,212,170,0.3);
  animation: nodePulse 6s ease-in-out infinite 2s;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* ===== SVG ICON SYSTEM ===== */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 100px;
  background: rgba(212,175,55,0.05);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.glass-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  transform: translateY(-4px);
}

.glass-card.pink-glow:hover {
  border-color: var(--border-glow-pink);
  box-shadow: var(--shadow-pink), var(--shadow-card);
}

/* ===== NAVIGATION ===== */
.nav,
.nav[data-ainna-nav] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: var(--nav-bg, rgba(5,5,5,0.7));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--bg-root);
  box-shadow: 0 0 20px rgba(212,175,55,0.3);
}

.nav-brand-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-brand-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-gold-pink);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-gold-pink);
  color: var(--bg-root) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 0 20px rgba(212,175,55,0.2);
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  box-shadow: 0 0 30px rgba(212,175,55,0.4), 0 0 30px rgba(255,20,147,0.2);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* ===== HERO ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100dvh;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 16px) 0 clamp(32px, 4vh, 48px);
  overflow-x: clip;
  overflow-y: visible;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 0 0 auto;
}
.hero .hero-grid { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero-subtitle { color: rgba(255,255,255,0.8); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(212,175,55,0.3);
  background: rgba(212,175,55,0.08);
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  animation: goldPulse 2s infinite;
}

@keyframes goldPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--pink) 50%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

.btn-gold {
  background: var(--gradient-gold-pink);
  color: var(--bg-root);
  box-shadow: 0 0 30px rgba(212,175,55,0.25);
}

.btn-gold:hover {
  box-shadow: 0 0 40px rgba(212,175,55,0.4), 0 0 40px rgba(255,20,147,0.15);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(212,175,55,0.05);
  color: var(--gold);
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.hero-dashboard {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.hero-dashboard::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.db-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.db-title {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.db-dots { display: flex; gap: 6px; }
.db-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
}
.db-dots span:nth-child(1) { background: var(--red); }
.db-dots span:nth-child(2) { background: var(--gold); }
.db-dots span:nth-child(3) { background: var(--green); }

.db-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.db-stat {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--border-subtle);
}

.db-stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.db-stat-value {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
}

.db-stat-value.gold { color: var(--gold); }
.db-stat-value.pink { color: var(--pink); }

.db-pipeline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.db-pipe-step {
  flex: 1 1 calc(16% - 6px);
  min-width: 0;
  text-align: center;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  position: relative;
}

.db-pipe-step.done {
  background: rgba(34,197,94,0.1);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.2);
}

.db-pipe-step.active {
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.3);
  box-shadow: 0 0 12px rgba(212,175,55,0.1);
}

.db-pipe-step.wait {
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.db-pipe-arrow {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ===== PROBLEMS SECTION ===== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card .problem-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  color: rgba(255,255,255,0.85);
}

.problem-card .problem-icon .icon-svg {
  width: 24px;
  height: 24px;
}

.problem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== REPORT MODULES ===== */
.report-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.report-module {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.report-module::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.report-module:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.report-module:hover::after {
  opacity: 1;
}

.report-module-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  color: rgba(255,255,255,0.9);
}

.report-module-icon .icon-svg {
  width: 22px;
  height: 22px;
}

.report-module h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.report-module p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.report-module .module-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.tag-ai {
  background: rgba(255,20,147,0.1);
  color: var(--pink);
  border: 1px solid rgba(255,20,147,0.2);
}

.tag-draft {
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.2);
}

/* ===== PROCESS FLOW — Neural Signal Pipeline ===== */
.process-section {
  background: var(--bg-elevated);
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.process-flow-panel {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.process-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.process-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border: 1px solid var(--border-medium);
  background: rgba(255,255,255,0.03);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.process-ctrl-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.06);
}

.process-ctrl-btn--primary {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.35);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(212,175,55,0.12);
}

.process-ctrl-btn.is-hidden {
  display: none;
}

.process-progress-wrap {
  margin-bottom: 16px;
}

.process-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}

.process-progress-bar {
  height: 100%;
  width: 8.33%;
  background: var(--gradient-gold-pink);
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.process-progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px var(--pink);
}

.process-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

#processStepLabel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.process-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.process-live-badge.is-paused {
  color: var(--text-muted);
}

.process-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255,20,147,0.7);
  animation: processLivePulse 1.6s ease-in-out infinite;
}

.process-live-badge.is-paused .process-live-dot {
  background: var(--text-muted);
  box-shadow: none;
  animation: none;
}

@keyframes processLivePulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

.process-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
}

.process-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.process-legend-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.process-legend-item.flow-pending .dot { background: var(--text-dim); }
.process-legend-item.flow-active .dot {
  background: var(--pink);
  box-shadow: 0 0 8px rgba(255,20,147,0.6);
  animation: processLegendPulse 1.2s ease-in-out infinite;
}
.process-legend-item.flow-done .dot { background: var(--cyan); }

@keyframes processLegendPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.process-flow-scroll {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,55,0.3) transparent;
  padding-bottom: 8px;
}

.process-flow-scroll::before,
.process-flow-scroll::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 32px;
  z-index: 5;
  pointer-events: none;
}

.process-flow-scroll::before {
  left: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.92) 15%, transparent 100%);
}

.process-flow-scroll::after {
  right: 0;
  background: linear-gradient(270deg, rgba(10,10,10,0.92) 15%, transparent 100%);
}

.process-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: -6px 0 12px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.process-scroll-hint svg {
  opacity: 0.7;
  animation: processSwipeNudge 1.8s ease-in-out infinite;
}

@keyframes processSwipeNudge {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(4px); opacity: 1; }
}

.process-flow-scroll::-webkit-scrollbar {
  height: 4px;
}

.process-flow-scroll::-webkit-scrollbar-thumb {
  background: rgba(212,175,55,0.35);
  border-radius: 99px;
}

.process-flow-wrap {
  position: relative;
  min-height: 200px;
  width: max-content;
  min-width: 100%;
  padding: 12px 4px 8px;
}

.process-flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

.process-pipeline {
  display: flex;
  align-items: stretch;
  gap: 28px;
  min-width: max-content;
  padding: 8px 12px;
  position: relative;
  z-index: 2;
}

.process-step {
  flex: 0 0 130px;
  scroll-snap-align: center;
  text-align: center;
  padding: 14px 10px 18px;
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.45s ease, opacity 0.45s ease;
  overflow: hidden;
}

.process-step:not(:last-child)::after {
  display: none;
}

.process-step.flow-pending {
  opacity: 0.45;
}

.process-step.flow-active {
  opacity: 1;
  transform: scale(1.05);
  z-index: 3;
}

.process-step.flow-active.type-ai {
  border-color: rgba(255,20,147,0.55);
  background: linear-gradient(160deg, rgba(255,20,147,0.14) 0%, rgba(255,255,255,0.03) 60%);
  box-shadow: 0 0 0 3px rgba(255,20,147,0.18), 0 8px 28px rgba(255,20,147,0.15);
  animation: processStepGlowPink 1.4s ease-in-out infinite;
}

.process-step.flow-active.type-human {
  border-color: rgba(212,175,55,0.55);
  background: linear-gradient(160deg, rgba(212,175,55,0.14) 0%, rgba(255,255,255,0.03) 60%);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18), 0 8px 28px rgba(212,175,55,0.15);
  animation: processStepGlowGold 1.4s ease-in-out infinite;
}

.process-step.flow-active.type-report {
  border-color: rgba(0,212,170,0.55);
  background: linear-gradient(160deg, rgba(0,212,170,0.14) 0%, rgba(255,255,255,0.03) 60%);
  box-shadow: 0 0 0 3px rgba(0,212,170,0.18), 0 8px 28px rgba(0,212,170,0.15);
  animation: processStepGlowCyan 1.4s ease-in-out infinite;
}

.process-step.flow-done {
  opacity: 1;
  border-color: rgba(0,212,170,0.35);
  background: linear-gradient(160deg, rgba(0,212,170,0.08) 0%, rgba(255,255,255,0.02) 60%);
  box-shadow: 0 0 0 2px rgba(0,212,170,0.12);
}

@keyframes processStepGlowPink {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,20,147,0.15), 0 6px 20px rgba(255,20,147,0.1); }
  50% { box-shadow: 0 0 0 5px rgba(255,20,147,0.3), 0 10px 32px rgba(255,20,147,0.2); }
}

@keyframes processStepGlowGold {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212,175,55,0.15), 0 6px 20px rgba(212,175,55,0.1); }
  50% { box-shadow: 0 0 0 5px rgba(212,175,55,0.3), 0 10px 32px rgba(212,175,55,0.2); }
}

@keyframes processStepGlowCyan {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,212,170,0.15), 0 6px 20px rgba(0,212,170,0.1); }
  50% { box-shadow: 0 0 0 5px rgba(0,212,170,0.3), 0 10px 32px rgba(0,212,170,0.2); }
}

.process-active-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-gold-pink);
  transition: width var(--process-step-ms, 2400ms) linear;
}

.process-step.flow-active .process-active-bar { width: 100%; }
.process-step.flow-done .process-active-bar {
  width: 100%;
  background: var(--cyan);
}

.process-step.flow-active .process-dot {
  animation: processIconBounce 0.7s ease infinite;
}

@keyframes processIconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.process-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.4s ease;
}

.process-dot .icon-svg {
  width: 18px;
  height: 18px;
}

.process-dot.ai {
  background: rgba(255,20,147,0.1);
  border: 2px solid rgba(255,20,147,0.4);
  color: var(--pink);
  box-shadow: 0 0 20px rgba(255,20,147,0.1);
}

.process-dot.human {
  background: rgba(212,175,55,0.1);
  border: 2px solid rgba(212,175,55,0.4);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
}

.process-dot.report {
  background: rgba(0,212,170,0.1);
  border: 2px solid rgba(0,212,170,0.4);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,212,170,0.1);
}

.process-step.flow-done .process-dot.ai,
.process-step.flow-done .process-dot.human,
.process-step.flow-done .process-dot.report {
  box-shadow: 0 0 16px rgba(0,212,170,0.25);
}

.process-step h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.68rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.process-label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.label-ai {
  background: rgba(255,20,147,0.1);
  color: var(--pink);
  border: 1px solid rgba(255,20,147,0.2);
}

.label-human {
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.2);
}

/* SVG signal connectors */
.process-path {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-path.flow-active {
  stroke: var(--pink);
  filter: drop-shadow(0 0 4px rgba(255,20,147,0.5));
  animation: processDrawPath var(--process-step-ms, 2400ms) ease forwards;
}

.process-path.flow-done {
  stroke: var(--cyan);
  filter: drop-shadow(0 0 3px rgba(0,212,170,0.4));
}

.process-path.flow-human.flow-active {
  stroke: var(--gold);
  filter: drop-shadow(0 0 4px rgba(212,175,55,0.5));
}

.process-path.flow-human.flow-done {
  stroke: var(--gold);
}

@keyframes processDrawPath {
  to { stroke-dashoffset: 0; }
}

.process-signal-particle {
  fill: var(--pink);
  filter: drop-shadow(0 0 6px rgba(255,20,147,0.8));
}

.process-signal-particle.human {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.8));
}

/* ===== AI HELPS SECTION ===== */
.ai-helps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.ai-help-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.4s ease;
}

.ai-help-card:hover {
  border-color: var(--border-glow-pink);
  box-shadow: var(--shadow-pink), var(--shadow-card);
  transform: translateY(-4px);
}

.ai-help-card .ai-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(255,20,147,0.08);
  border: 1px solid rgba(255,20,147,0.15);
  color: var(--pink);
}

.ai-help-card .ai-icon .icon-svg {
  width: 20px;
  height: 20px;
}

.ai-help-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.ai-help-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== JOURNAL ENTRY SECTION ===== */
.je-demo {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.je-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.015);
}

.je-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.je-title .icon-svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.table-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
  padding-bottom: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}

.je-table {
  min-width: 800px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.je-table th {
  text-align: left;
  padding: 14px 28px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.65rem;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}

.je-table td {
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.je-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.je-table .td-primary {
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--font-sans);
}

.je-table .amount {
  text-align: right;
  font-family: var(--font-mono);
}

.je-table .amount.debit { color: var(--green); }
.je-table .amount.credit { color: var(--pink); }

.je-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.je-badge.ai {
  background: rgba(255,20,147,0.1);
  color: var(--pink);
  border: 1px solid rgba(255,20,147,0.2);
}

.je-badge.approved {
  background: rgba(0,212,170,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,212,170,0.2);
}

.je-verify {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border-subtle);
}

.je-verify-item {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.je-verify-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.je-verify-value {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
}

.je-verify-value.balanced {
  color: var(--green);
}

/* ===== FINANCIAL STATEMENTS ===== */
.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.statement-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.statement-card .stmt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.015);
}

.statement-card .stmt-title {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.statement-card .stmt-title .icon-svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.statement-card .stmt-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: rgba(255,20,147,0.1);
  color: var(--pink);
  border: 1px solid rgba(255,20,147,0.2);
}

.statement-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.statement-table td {
  padding: 10px 24px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.statement-table td:first-child {
  font-family: var(--font-sans);
}

.statement-table .stmt-section {
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 14px;
}

.statement-table .stmt-sub {
  padding-left: 32px;
}

.statement-table .stmt-total {
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
  padding-bottom: 8px;
}

.statement-table .stmt-grand {
  font-weight: 800;
  color: var(--gold);
  border-top: 2px solid var(--border-medium);
  padding-top: 10px;
  font-size: 0.9rem;
}

.statement-table .negative {
  color: var(--pink);
}

.statement-alert {
  padding: 14px 24px;
  background: rgba(255,20,147,0.05);
  border-top: 1px solid rgba(255,20,147,0.15);
  font-size: 0.78rem;
  color: var(--pink);
}

.statement-alert.gold {
  background: rgba(212,175,55,0.05);
  border-top-color: rgba(212,175,55,0.15);
  color: var(--gold);
}

/* ===== TB / GL SECTION ===== */
.tb-gl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tb-card, .gl-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tb-card .card-header, .gl-card .card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tb-card .card-title, .gl-card .card-title {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tb-card .card-title .icon-svg,
.gl-card .card-title .icon-svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.mini-table th {
  text-align: left;
  padding: 10px 24px;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}

.mini-table td {
  padding: 10px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.mini-table td:first-child {
  font-family: var(--font-sans);
}

.mini-table .row-total {
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255,255,255,0.02);
}

.mini-table .variance {
  color: var(--red);
  font-weight: 700;
}

/* ===== MATCHING / RECONCILIATION / OPS CARDS ===== */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ops-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s ease;
}

.ops-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.ops-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ops-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.15);
  color: rgba(255,255,255,0.9);
}

.ops-card-icon .icon-svg {
  width: 22px;
  height: 22px;
}

.ops-card-status {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.status-alert {
  background: rgba(239,68,68,0.1);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.2);
}

.status-ok {
  background: rgba(0,212,170,0.1);
  color: var(--cyan);
  border: 1px solid rgba(0,212,170,0.2);
}

.status-ai {
  background: rgba(255,20,147,0.1);
  color: var(--pink);
  border: 1px solid rgba(255,20,147,0.2);
}

.ops-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ops-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ops-meta {
  display: flex;
  gap: 16px;
}

.ops-meta-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.ops-meta-item span {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== MONTHLY CLOSE ===== */
.close-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.close-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  position: relative;
  padding-bottom: 32px;
}

.close-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 60px;
  width: 2px;
  height: calc(100% - 40px);
  background: linear-gradient(to bottom, var(--gold), var(--pink));
  opacity: 0.2;
}

.close-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.close-num .icon-svg {
  width: 20px;
  height: 20px;
}

.close-num.done {
  background: rgba(0,212,170,0.1);
  border: 2px solid var(--cyan);
  color: var(--cyan);
}

.close-num.active {
  background: rgba(212,175,55,0.1);
  border: 2px solid var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

.close-num.pending {
  background: rgba(255,255,255,0.03);
  border: 2px solid var(--border-medium);
  color: var(--text-muted);
}

.close-content {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.close-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.close-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.close-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  overflow: hidden;
}

.close-progress-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 0.5s ease;
}

.close-progress-fill.done { background: var(--cyan); }
.close-progress-fill.active { background: var(--gold); }

.close-assignee {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ===== APPROVAL QUEUE ===== */
.queue-section {
  background: var(--bg-elevated);
  position: relative;
}

.queue-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-hero);
  pointer-events: none;
}

.queue-list {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.queue-item:hover {
  border-color: var(--border-gold);
  background: rgba(255,255,255,0.03);
}

.queue-priority {
  width: 3px;
  height: 48px;
  border-radius: 100px;
  flex-shrink: 0;
}

.queue-priority.high { background: var(--red); box-shadow: 0 0 8px var(--red); }
.queue-priority.medium { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.queue-priority.low { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.queue-body {
  flex: 1;
  min-width: 0;
}

.queue-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.queue-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.queue-badge.ai {
  background: rgba(255,20,147,0.1);
  color: var(--pink);
  border: 1px solid rgba(255,20,147,0.2);
}

.queue-badge.flagged {
  background: rgba(239,68,68,0.1);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.2);
}

/* ===== DISCLAIMER ===== */
.disclaimer-section {
  padding: 60px 0;
}

.disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.disclaimer-card {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.disclaimer-card .d-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.disclaimer-card .d-icon .icon-svg {
  width: 20px;
  height: 20px;
}

.disclaimer-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.disclaimer-card strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-question {
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  font-weight: 300;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--gold);
}

/* ===== FINAL CTA ===== */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 400px;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,20,147,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  content-visibility: auto;
  contain-intrinsic-size: 200px;
  text-align: center;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer .footer-mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-top: 12px;
  color: var(--text-dim);
}

/* ===== SCROLLING CARDS WITH SWIPE ===== */
 .scrolling-section {
 padding: 60px 0;
 background: var(--bg-elevated);
 overflow: hidden;
 position: relative;
 content-visibility: auto;
 contain-intrinsic-size: 400px;
 }

 .scrolling-track {
 position: relative;
 overflow: hidden;
 width: 100%;
 padding: 20px 0;
 cursor: grab;
 touch-action: pan-y;
 }

 .scroll-content {
 display: flex;
 gap: 24px;
 width: max-content;
 animation: scroll-left 40s linear infinite;
 cursor: grab;
 will-change: transform;
 contain: layout paint style;
 }

 .scroll-content:active {
 cursor: grabbing;
 animation-play-state: paused !important;
 }

 .scroll-content:hover,
 .scroll-content.paused {
 animation-play-state: paused;
 }

 .scroll-left .scroll-content {
 animation-direction: normal;
 }

 .scroll-right .scroll-content {
 animation-direction: reverse;
 }

 @keyframes scroll-left {
 0% { transform: translateX(0); }
 100% { transform: translateX(-50%); }
 }

 @keyframes scroll-right {
 0% { transform: translateX(-50%); }
 100% { transform: translateX(0); }
 }

 .scrolling-section .audit-card {
 background: var(--bg-card);
 border: 1px solid var(--border-medium);
 border-radius: var(--radius-lg);
 padding: 40px 32px 32px 32px;
 min-width: 340px;
 max-width: 340px;
 box-shadow: var(--shadow-card);
 transition: all 0.3s ease;
 flex-shrink: 0;
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 }

 .scrolling-section .audit-card:hover {
 transform: translateY(-8px);
 box-shadow: var(--shadow-gold), var(--shadow-card);
 border-color: var(--border-glow-gold);
 }

 .scrolling-section .audit-icon {
 width: 80px;
 height: 80px;
 margin-bottom: 20px;
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
 }

 .scrolling-section .audit-icon svg {
 width: 100%;
 height: 100%;
 }

 .scrolling-section .audit-card h3 {
 font-size: 18px;
 font-weight: 700;
 margin-bottom: 12px;
 color: var(--text-primary);
 min-height: 27px;
 line-height: 1.3;
 }

 .scrolling-section .audit-card p {
 font-size: 14px;
 color: var(--text-secondary);
 line-height: 1.6;
 min-height: auto;
 margin: 0;
 }

 /* Mobile responsive for scrolling cards */
 @media (max-width: 768px) {
 .scrolling-section {
 padding: 40px 0;
 }

 .scrolling-section .audit-card {
 min-width: 280px;
 max-width: 280px;
 padding: 32px 24px 24px 24px;
 }

 .scrolling-section .audit-icon {
 width: 64px;
 height: 64px;
 margin-bottom: 16px;
 }

 .scroll-content {
 gap: 16px;
 }
 }

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    height: auto;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 12px) 0 28px;
    overflow: visible;
  }
  .hero-bg,
  .hero-overlay {
    height: 100%;
    min-height: 100%;
  }
  .hero-bg img {
    object-fit: cover;
    object-position: center center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(12px, 3vw, 18px);
    align-items: stretch;
  }
  .hero-visual {
    margin-top: 0;
    max-width: 100%;
    width: 100%;
  }
  .hero .hero-subtitle {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(1.35rem, 4.8vw, 1.85rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .hero-badge {
    font-size: 0.68rem;
    padding: 6px 14px;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: clamp(0.8rem, 3.4vw, 0.92rem);
    margin-bottom: 16px;
    line-height: 1.45;
  }
  .hero-cta-group .btn {
    padding: 11px 22px;
    font-size: 0.82rem;
  }
  .hero-dashboard {
    padding: 14px;
    border-radius: var(--radius-md);
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
  }
  .db-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .db-title {
    font-size: 0.65rem;
  }
  .db-stats {
    gap: 8px;
    margin-bottom: 12px;
  }
  .db-stat {
    padding: 10px 8px;
  }
  .db-stat-label {
    font-size: 0.52rem;
    margin-bottom: 4px;
  }
  .db-stat-value {
    font-size: 0.95rem;
  }
  .db-pipeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 10px 8px;
    flex-wrap: unset;
  }
  .db-pipe-arrow {
    display: none;
  }
  .db-pipe-step {
    flex: unset;
    font-size: clamp(0.48rem, 2.2vw, 0.58rem);
    padding: 6px 2px;
    min-width: 0;
    line-height: 1.2;
  }
  .problems-grid { grid-template-columns: 1fr; }
  .report-modules-grid { grid-template-columns: 1fr; }
  .process-flow-panel {
    padding: 18px 12px;
    overflow: hidden;
  }
  .process-flow-scroll {
    margin: 0 -12px;
    padding: 0 12px 10px;
    scroll-snap-type: x mandatory;
  }
  .process-flow-scroll::before,
  .process-flow-scroll::after {
    width: 22px;
  }
  .process-flow-wrap {
    min-height: 188px;
  }
  .process-pipeline {
    flex-direction: row;
    gap: 18px;
    min-width: max-content;
    padding: 6px 20px 6px 8px;
  }
  .process-step {
    flex: 0 0 108px;
    padding: 12px 8px 16px;
  }
  .process-step.flow-active {
    transform: scale(1.03);
  }
  .process-step h4 {
    font-size: 0.74rem;
  }
  .process-step p {
    font-size: 0.62rem;
    line-height: 1.35;
  }
  .process-dot {
    width: 42px;
    height: 42px;
  }
  .process-dot .icon-svg {
    width: 16px;
    height: 16px;
  }
  .process-ctrl-btn {
    padding: 9px 16px;
    font-size: 0.78rem;
  }
  .process-scroll-hint {
    display: flex;
  }
  .statement-grid { grid-template-columns: 1fr; }
  .tb-gl-grid { grid-template-columns: 1fr; }
  .ops-grid { grid-template-columns: 1fr; }
  .disclaimer-grid { grid-template-columns: 1fr; }
  .ai-helps-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .ainna-nav-hamburger { display: flex; color: var(--text-primary); }
  .je-verify { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
}

@media (max-width: 600px) {
  .hero {
    padding: calc(var(--nav-height) + 10px) 0 24px;
  }
  .hero h1 {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
    margin-bottom: 10px;
  }
  .hero-badge {
    font-size: 0.62rem;
    padding: 5px 12px;
    margin-bottom: 10px;
  }
  .hero-subtitle {
    font-size: 0.78rem;
    margin-bottom: 14px;
    line-height: 1.4;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  .hero-dashboard {
    padding: 12px;
  }
  .db-stats {
    gap: 6px;
    margin-bottom: 10px;
  }
  .db-stat {
    padding: 8px 6px;
  }
  .db-stat-label {
    font-size: 0.48rem;
  }
  .db-stat-value {
    font-size: 0.85rem;
  }
  .db-pipeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    padding: 8px 6px;
  }
  .db-pipe-step {
    font-size: clamp(0.44rem, 2vw, 0.52rem);
    padding: 5px 1px;
  }
  .dashboard-card {
    padding: 24px;
  }
  .dashboard-icon {
    width: 64px;
    height: 64px;
  }
  .dashboard-icon .icon-svg {
    width: 28px;
    height: 28px;
  }
  .dashboard-text h3 {
    font-size: 1.3rem;
  }
  .dashboard-text p {
    font-size: 0.9rem;
  }
  .dashboard-btn {
    min-width: 180px;
    font-size: 0.9rem;
    padding: 12px 24px;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-root); }
::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ===== THEME TOGGLE BUTTON ===== */


/* Light Theme */
[data-theme="light"] .process-flow-scroll::before {
  background: linear-gradient(90deg, rgba(248,249,252,0.95) 15%, transparent 100%);
}

[data-theme="light"] .process-flow-scroll::after {
  background: linear-gradient(270deg, rgba(248,249,252,0.95) 15%, transparent 100%);
}

[data-theme="light"] {
  --bg-root: #ffffff;
  --bg-elevated: #f8f9fc;
  --bg-card: rgba(0,0,0,0.025);
  --bg-card-hover: rgba(0,0,0,0.045);
  --bg-glass: rgba(255,255,255,0.9);
  --nav-bg: rgba(255,255,255,0.85);
  --border-subtle: rgba(0,0,0,0.06);
  --border-medium: rgba(0,0,0,0.1);
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8a8a9a;
  --text-dim: #aaaaaa;
}

/* Light theme hero contrast */
[data-theme="light"] .hero h1 {
  color: var(--text-primary);
}

[data-theme="light"] .hero-subtitle {
  color: var(--text-secondary);
}

[data-theme="light"] .hero-badge {
  background: rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.3);
  color: #b8960c;
}

/* Light theme section titles contrast */
[data-theme="light"] .section-title {
  background: linear-gradient(135deg, #1a1a2e 0%, #b8960c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .section-subtitle {
  color: var(--text-secondary);
}

/* Light theme card titles contrast */
[data-theme="light"] .problem-card h3,
[data-theme="light"] .card-title {
  color: var(--text-primary);
}

/* Light theme navigation contrast */
[data-theme="light"] .nav-brand-text {
  color: var(--text-primary);
}

[data-theme="light"] .nav-links a {
  color: var(--text-secondary);
}

[data-theme="light"] .nav-brand-sub {
  color: var(--text-muted);
}

/* Light theme card icon contrast */
[data-theme="light"] .problem-card .problem-icon {
  color: var(--text-primary);
  background: rgba(0,0,0,0.03);
  border-color: var(--border-subtle);
}

[data-theme="light"] .report-module-icon {
  color: var(--text-primary);
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.2);
}

[data-theme="light"] .ai-help-card .ai-icon {
  color: var(--pink);
  background: rgba(255,20,147,0.12);
  border-color: rgba(255,20,147,0.2);
}

[data-theme="light"] .neural-bg::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(212,175,55,0.03) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,20,147,0.02) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(0,212,170,0.01) 0%, transparent 50%);
}

/* ==========================================
   Aurora Borealis Effect (Dark Mode Only)
   ========================================== */
.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

[data-theme="dark"] .aurora-container,
:root .aurora-container {
    opacity: 1;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: auroraFloat 20s infinite ease-in-out;
    mix-blend-mode: screen;
}

.aurora-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #D4AF37, #FF1493);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.aurora-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #FF1493, #D4AF37);
    top: 50%;
    right: -15%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.aurora-3 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #D4AF37, #FF1493);
    bottom: -25%;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 28s;
}

.aurora-4 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #FF1493, #00D4AA);
    top: 30%;
    left: 20%;
    animation-delay: -15s;
    animation-duration: 32s;
}

@keyframes auroraFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(10%, 15%) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(-5%, 10%) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(8%, -5%) scale(1.05) rotate(270deg);
    }
}

@media (max-width: 768px) {
    .aurora-container {
        display: none;
    }
}

/* Hero background pan + zoom */
.hero-bg,
.hero-background {
  overflow: hidden;
}
.hero-bg img,
.hero-background img {
  animation: heroPanZoom 24s ease-in-out infinite alternate;
  transform-origin: center;
  will-change: transform;
}
@keyframes heroPanZoom {
  0% { transform: scale(1) translate3d(0,0,0); }
  50% { transform: scale(1.10) translate3d(-1.5%, 1%, 0); }
  100% { transform: scale(1.16) translate3d(1.5%, -1%, 0); }
}
@media (max-width: 900px) {
  .hero-bg img,
  .hero-background img {
    animation: none;
    transform: none;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img,
  .hero-background img {
    animation: none !important;
    transform: none !important;
  }
}

/* Short mobile viewports — compact hero so all content stays visible */
@media (max-width: 900px) and (max-height: 780px) {
  .hero {
    padding: calc(var(--nav-height) + 8px) 0 20px;
  }
  .hero-grid {
    gap: 10px;
  }
  .hero h1 {
    font-size: clamp(1.1rem, 4.2vw, 1.4rem);
    margin-bottom: 8px;
  }
  .hero-badge {
    margin-bottom: 8px;
    font-size: 0.58rem;
    padding: 4px 10px;
  }
  .hero-subtitle {
    font-size: 0.74rem;
    margin-bottom: 10px;
    line-height: 1.35;
  }
  .hero-cta-group .btn {
    padding: 9px 18px;
    font-size: 0.76rem;
  }
  .hero-dashboard {
    padding: 10px;
  }
  .db-header {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  .db-stats {
    gap: 5px;
    margin-bottom: 8px;
  }
  .db-stat {
    padding: 6px 5px;
  }
  .db-stat-value {
    font-size: 0.78rem;
  }
  .db-pipeline {
    padding: 6px 4px;
  }
}
/* Ensure content readable over hero background */
.hero-overlay {
  background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.6) 100%) !important;
}

/* Fix hero subtitle contrast — ensure always light over dark overlay */
.hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Fix hero dashboard text contrast on dark transparent glass */
.hero-dashboard .db-title,
.hero-dashboard .db-stat-label,
.hero-dashboard .db-pipe-step.wait,
.hero-dashboard .db-pipe-arrow {
  color: rgba(255, 255, 255, 0.55) !important;
}

.hero-dashboard .db-stat-value {
  color: rgba(255, 255, 255, 0.9) !important;
}

[data-theme="light"] .hero-dashboard .db-title,
[data-theme="light"] .hero-dashboard .db-stat-label,
[data-theme="light"] .hero-dashboard .db-pipe-step.wait,
[data-theme="light"] .hero-dashboard .db-pipe-arrow {
  color: var(--text-secondary) !important;
}

[data-theme="light"] .hero-dashboard .db-stat-value {
  color: var(--text-primary) !important;
}

/* Light theme dashboard pipe steps contrast */
[data-theme="light"] .db-pipe-step.done {
  color: #16a34a !important;
  border-color: rgba(22,163,74,0.3) !important;
}

[data-theme="light"] .db-pipe-step.active {
  color: #b8960c !important;
  border-color: rgba(184,150,12,0.4) !important;
}

[data-theme="light"] .db-pipe-step.wait {
  color: var(--text-secondary) !important;
  border-color: var(--border-medium) !important;
}

[data-theme="light"] .db-pipe-arrow {
  color: var(--text-muted) !important;
}

/* Light theme dashboard title and stats */
[data-theme="light"] .db-title {
  color: var(--text-muted) !important;
}

[data-theme="light"] .db-stat {
  background: rgba(0,0,0,0.03) !important;
  border-color: var(--border-subtle) !important;
}

[data-theme="light"] .db-stat-label {
  color: var(--text-muted) !important;
}

[data-theme="light"] .db-stat-value {
  color: var(--text-primary) !important;
}

[data-theme="light"] .db-stat-value.gold {
  color: #b8960c !important;
}

[data-theme="light"] .db-stat-value.pink {
  color: #ff1469 !important;
}

/* Enhanced light theme dashboard contrast */
[data-theme="light"] .hero-dashboard {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .db-header {
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .db-dots span {
  background: rgba(0, 0, 0, 0.2) !important;
}

[data-theme="light"] .db-pipeline {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .process-legend {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .process-step {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .process-step h4,
[data-theme="light"] .process-step p {
  color: var(--text-primary) !important;
}

[data-theme="light"] .process-label.label-ai {
  background: rgba(255, 20, 147, 0.15) !important;
  border-color: rgba(255, 20, 147, 0.3) !important;
}

[data-theme="light"] .process-label.label-human {
  background: rgba(212, 175, 55, 0.15) !important;
  border-color: rgba(212, 175, 55, 0.3) !important;
}



