/* ============================================================
   ALIS Landing Page — Premium Light Design System
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg-0: #FFFFFF;
  --bg-1: #F8FAFC;
  --bg-2: #F1F5F9;
  --surface: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-border-hover: rgba(15, 23, 42, 0.15);
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --cyan: #06B6D4;
  --accent-grad: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
  --accent-grad-soft: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.08));
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #94A3B8;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 40px 100px rgba(15, 23, 42, 0.12);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

::selection {
  background: rgba(99, 102, 241, 0.15);
  color: var(--text);
}

/* ---------- Helpers ---------- */
.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% auto;
  animation: gradientShift 6s ease infinite;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background Layers ---------- */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(99,102,241,0.12), transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 90%, rgba(6,182,212,0.1), transparent 60%);
  filter: blur(100px);
  animation: auroraMove 25s ease-in-out infinite alternate;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.cursor-glow.visible { opacity: 1; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent-grad);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  font-family: var(--font-body);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s var(--ease);
}
.btn:hover::before { left: 100%; }

.btn-grad {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(99,102,241,0.25);
}
.btn-grad:hover {
  box-shadow: 0 12px 40px rgba(99,102,241,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--glass-border-hover);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }

.magnetic { will-change: transform; }

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.64s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.72s; }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: 0.80s; }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: 0.88s; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(99,102,241,0.25);
}
.nav-brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* Scroll-spy active nav link */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.nav-active {
  color: var(--text);
}
.nav-links a.nav-active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-signin {
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 9px 18px;
  border-radius: 999px;
  transition: all 0.2s;
}
.nav-signin:hover {
  color: var(--text);
  background: var(--bg-2);
}

.nav-cta {
  background: var(--accent-grad);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(99,102,241,0.25);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(99,102,241,0.4);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--bg-0);
}

/* Hero CSS cockpit scene — stylized dashboard panels in the background */
.hero-cockpit-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  perspective: 800px;
}

/* Individual dashboard screen panels */
.hcs-screen {
  position: absolute;
  background: rgba(15, 18, 30, 0.75);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Right-side panels — mirror of left, tilted opposite way */
.hcs-screen-r1 {
  top: 15%;
  right: 2%;
  width: 260px;
  transform: rotateY(-10deg) rotateX(-2deg);
  animation: hcs-float-r1 9s ease-in-out infinite;
  opacity: 0.65;
}
.hcs-screen-r2 {
  top: 42%;
  right: 8%;
  width: 240px;
  transform: rotateY(-8deg) rotateX(3deg);
  animation: hcs-float-r2 11s ease-in-out infinite;
  animation-delay: -3s;
  opacity: 0.55;
}
.hcs-screen-r3 {
  bottom: 10%;
  right: 4%;
  width: 220px;
  transform: rotateY(-12deg) rotateX(-3deg);
  animation: hcs-float-r3 10s ease-in-out infinite;
  animation-delay: -6s;
  opacity: 0.5;
}
@keyframes hcs-float-r1 {
  0%, 100% { transform: rotateY(-10deg) rotateX(-2deg) translateY(0); }
  50% { transform: rotateY(-10deg) rotateX(-2deg) translateY(-10px); }
}
@keyframes hcs-float-r2 {
  0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(3deg) translateY(-14px); }
}
@keyframes hcs-float-r3 {
  0%, 100% { transform: rotateY(-12deg) rotateX(-3deg) translateY(0); }
  50% { transform: rotateY(-12deg) rotateX(-3deg) translateY(-8px); }
}

/* Left-side panels — tilted the opposite way, more faded */
.hcs-screen-l1 {
  top: 15%;
  left: 2%;
  width: 260px;
  transform: rotateY(10deg) rotateX(-2deg);
  animation: hcs-float-l1 9s ease-in-out infinite;
  opacity: 0.65;
}
.hcs-screen-l2 {
  top: 42%;
  left: 8%;
  width: 240px;
  transform: rotateY(8deg) rotateX(3deg);
  animation: hcs-float-l2 11s ease-in-out infinite;
  animation-delay: -3s;
  opacity: 0.55;
}
.hcs-screen-l3 {
  bottom: 10%;
  left: 4%;
  width: 220px;
  transform: rotateY(12deg) rotateX(-3deg);
  animation: hcs-float-l3 10s ease-in-out infinite;
  animation-delay: -6s;
  opacity: 0.5;
}
@keyframes hcs-float-l1 {
  0%, 100% { transform: rotateY(10deg) rotateX(-2deg) translateY(0); }
  50% { transform: rotateY(10deg) rotateX(-2deg) translateY(-10px); }
}
@keyframes hcs-float-l2 {
  0%, 100% { transform: rotateY(8deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(8deg) rotateX(3deg) translateY(-14px); }
}
@keyframes hcs-float-l3 {
  0%, 100% { transform: rotateY(12deg) rotateX(-3deg) translateY(0); }
  50% { transform: rotateY(12deg) rotateX(-3deg) translateY(-8px); }
}

/* Screen title bar (3 dots) */
.hcs-screen-bar {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.hcs-screen-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.hcs-screen-bar span:first-child { background: rgba(239, 68, 68, 0.3); }
.hcs-screen-bar span:nth-child(2) { background: rgba(245, 158, 11, 0.3); }
.hcs-screen-bar span:nth-child(3) { background: rgba(16, 185, 129, 0.3); }

.hcs-screen-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* KPI mini-cards inside screens */
.hcs-kpi {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.hcs-kpi-label {
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hcs-kpi-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.75);
}

/* Chart line */
.hcs-chart {
  position: relative;
  height: 50px;
  margin-top: 4px;
}
.hcs-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hcs-chart-fill { opacity: 0.4; }

/* Donut ring */
.hcs-donut {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto;
}
.hcs-donut-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    rgba(99, 102, 241, 0.4) 0deg 338deg,
    rgba(255, 255, 255, 0.05) 338deg 360deg
  );
  mask: radial-gradient(circle, transparent 22px, black 23px);
  -webkit-mask: radial-gradient(circle, transparent 22px, black 23px);
}
.hcs-donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 0.75);
}

/* Bar chart */
.hcs-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
  margin-top: 6px;
}
.hcs-bars span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.35));
}

/* Branch list rows */
.hcs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.7rem;
}
.hcs-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hcs-dot.ok { background: rgba(16, 185, 129, 0.5); }
.hcs-dot.warn { background: rgba(245, 158, 11, 0.5); }
.hcs-dot.err { background: rgba(239, 68, 68, 0.5); }
.hcs-row-label { color: rgba(148, 163, 184, 0.75); flex: 1; }
.hcs-row-val { color: rgba(248, 250, 252, 0.65); font-weight: 600; }

/* Ambient glows behind the screens */
.hcs-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.hcs-glow-1 {
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.08);
}
.hcs-glow-2 {
  bottom: 15%;
  right: 30%;
  width: 250px;
  height: 250px;
  background: rgba(6, 182, 212, 0.06);
}

/* No overlay — let the cockpit scene show on the pure background */
.hero-bg-overlay {
  display: none;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 40% 40% at 15% 20%, rgba(99,102,241,0.08), transparent 60%),
    radial-gradient(ellipse 35% 35% at 85% 15%, rgba(139,92,246,0.06), transparent 60%),
    radial-gradient(ellipse 45% 45% at 70% 85%, rgba(6,182,212,0.06), transparent 60%);
  animation: meshShift 20s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(99,102,241,0.2);
  animation: particleFloat 15s linear infinite;
}
.particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 22s; animation-delay: 2s; }
.particle:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: 4s; }
.particle:nth-child(4) { left: 55%; animation-duration: 20s; animation-delay: 1s; }
.particle:nth-child(5) { left: 70%; animation-duration: 24s; animation-delay: 3s; }
.particle:nth-child(6) { left: 80%; animation-duration: 17s; animation-delay: 5s; }
.particle:nth-child(7) { left: 90%; animation-duration: 19s; animation-delay: 2s; }
.particle:nth-child(8) { left: 35%; animation-duration: 21s; animation-delay: 6s; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: 60px;
  align-items: center;
}

.hero-left { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.15);
  font-size: 0.85rem;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulseGlow 2s infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-2);
  font-weight: 500;
}
.trust-badge i { color: var(--success); }

.hero-right { perspective: 1200px; }

.hero-mockup {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
  transition: transform 0.2s ease-out;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.mock-title { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.mock-live {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--success);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.mock-stat {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 12px;
}
.mock-stat-label {
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.mock-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
}

.mock-chart {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 12px;
}
.mock-chart-label {
  font-size: 0.68rem;
  color: var(--text-3);
  margin-bottom: 8px;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-1);
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
  padding-right: 48px;
  animation: marquee 30s linear infinite;
}
.trust-logo {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--text-3);
  white-space: nowrap;
  transition: color 0.3s;
}
.trust-logo:hover { color: var(--text-2); }
.trust-dot { color: var(--text-3); opacity: 0.3; }
.trust-logo-you {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ---------- Section Common ---------- */
.section {
  padding: 120px 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: #4f46e5;
  margin-bottom: 20px;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-2);
}

/* ---------- Cockpit Mockup (matches real ALIS dashboard) ---------- */
.cp-mockup {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Greeting header */
.cp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.cp-greeting-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}
.cp-greeting-sub {
  font-size: 0.9rem;
  color: var(--text-2);
  margin: 0;
}
.cp-branch {
  color: var(--indigo);
  font-weight: 600;
}
.cp-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
}
.cp-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: cp-pulse 2s ease-in-out infinite;
}
@keyframes cp-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* KPI Cards */
.cp-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.cp-kpi-card {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.3s var(--ease);
}
.cp-kpi-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cp-kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.cp-kpi-icon-blue {
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
  color: #3b82f6;
}
.cp-kpi-icon-red {
  background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.05));
  color: #ef4444;
}
.cp-kpi-icon-green {
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
  color: #10b981;
}
.cp-kpi-icon-purple {
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(139,92,246,0.05));
  color: #8b5cf6;
}
.cp-kpi-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cp-kpi-label {
  font-size: 0.75rem;
  color: var(--text-2);
  font-weight: 500;
}
.cp-kpi-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.cp-kpi-sub {
  font-size: 0.7rem;
  color: var(--text-3);
}

/* Needs Your Attention */
.cp-attention {
  margin-bottom: 24px;
}
.cp-attention-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.cp-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp-section-title i {
  color: var(--indigo);
  font-size: 0.9rem;
}
.cp-attention-total {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 100px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.cp-attention-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cp-attention-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.cp-attention-item:hover {
  border-color: var(--glass-border-hover);
  background: var(--surface);
  transform: translateX(4px);
}
.cp-attention-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.severity-warning .cp-attention-dot { background: #f59e0b; }
.severity-danger .cp-attention-dot { background: #ef4444; }
.severity-info .cp-attention-dot { background: #3b82f6; }
.cp-attention-label {
  font-size: 0.85rem;
  color: var(--text-2);
  flex: 1;
}
.cp-attention-count {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.cp-attention-arrow {
  font-size: 0.8rem;
  color: var(--text-3);
  transition: transform 0.2s ease;
}
.cp-attention-item:hover .cp-attention-arrow {
  transform: translateX(3px);
  color: var(--indigo);
}

/* Ally Insights */
.cp-insights {
  background: linear-gradient(165deg, rgba(99,102,241,0.06), var(--bg-1) 50%);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin-bottom: 20px;
}
.cp-insights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.cp-insights-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp-insights-icon {
  color: var(--indigo);
  font-size: 1rem;
}
.cp-insights-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}
.cp-risk-low {
  background: rgba(16,185,129,0.12);
  color: #10b981;
  border: 1px solid rgba(16,185,129,0.2);
}
.cp-insights-link {
  font-size: 0.78rem;
  color: var(--indigo);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}
.cp-insights-link:hover { opacity: 0.8; }
.cp-insights-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cp-insights-trend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.cp-insights-trend-label {
  font-size: 0.75rem;
  color: var(--text-3);
}
.cp-insights-trend-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}
.cp-insights-trend-value i { color: #10b981; }
.cp-insights-factors-label,
.cp-insights-recs-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-bottom: 8px;
}
.cp-insights-factors-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cp-insights-factors-list li {
  font-size: 0.8rem;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
}
.cp-insights-factors-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
}
.cp-insights-recs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-insights-recs-list li {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.5;
}
.cp-insights-recs-list li i {
  color: var(--indigo);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Ask Ally */
.cp-ally {
  margin-top: 4px;
}
.cp-ally-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  transition: border-color 0.2s ease;
}
.cp-ally-input-wrap:hover {
  border-color: var(--glass-border-hover);
}
.cp-ally-icon {
  color: var(--indigo);
  font-size: 1.1rem;
}
.cp-ally-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.88rem;
  font-family: inherit;
}
.cp-ally-input::placeholder { color: var(--text-3); }
.cp-ally-send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--accent-grad);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.cp-ally-send:disabled { opacity: 0.5; cursor: not-allowed; }
.cp-ally-chips {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.cp-ally-chip {
  padding: 7px 14px;
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.76rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.cp-ally-chip:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: rgba(99,102,241,0.05);
}

/* Cockpit responsive */
@media (max-width: 900px) {
  .cp-kpis { grid-template-columns: repeat(2, 1fr); }
  .cp-insights-body { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .cp-mockup { padding: 22px 18px; }
  .cp-kpis { grid-template-columns: 1fr; gap: 12px; }
  .cp-attention-grid { grid-template-columns: 1fr; }
  .cp-greeting-title { font-size: 1.2rem; }
  .cp-kpi-value { font-size: 1.2rem; }
  .cp-ally-chips { flex-direction: column; }
}
@media (max-width: 375px) {
  .cp-mockup { padding: 18px 14px; }
  .cp-kpi-card { padding: 16px; }
}

/* ---------- Split Grid ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-left,
.split-right { padding: 20px 0; }

/* ---------- AI Credit Scoring ---------- */
.ai-scoring { background: var(--bg-0); }

.ai-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ai-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ai-point > i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  color: var(--indigo);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ai-point h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.ai-point p {
  color: var(--text-2);
  font-size: 0.92rem;
}

.score-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.score-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.score-label { font-weight: 600; font-size: 1rem; color: var(--text); }
.score-client { color: var(--text-2); font-size: 0.88rem; }

.score-arc {
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.score-arc.drawn { stroke-dashoffset: 63; }

.score-factors {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.score-factor {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  gap: 12px;
  align-items: center;
  font-size: 0.8rem;
}
.sf-name { color: var(--text-2); }
.sf-bar {
  height: 5px;
  background: var(--bg-2);
  border-radius: 3px;
  overflow: hidden;
}
.sf-bar span {
  display: block;
  height: 100%;
  background: var(--accent-grad);
  border-radius: 3px;
}
.sf-val {
  text-align: right;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Pipeline ---------- */
.pipeline { background: var(--bg-1); }

.pipeline-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 48px;
  overflow-x: auto;
}
.pipeline-stage {
  flex: 1;
  min-width: 140px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.pipeline-stage:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.2);
  box-shadow: var(--shadow-md);
}
.pipeline-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(99,102,241,0.25);
}
.pipeline-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 8px;
}
.pipeline-count {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.pipeline-connector {
  display: flex;
  align-items: center;
  min-width: 32px;
}
.pipeline-conn-fill {
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, rgba(99,102,241,0.15), rgba(6,182,212,0.15));
}

.pipeline-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pipeline-feature {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-2);
}
.pipeline-feature i {
  color: var(--indigo);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ---------- Timeline (Loan Journey) ---------- */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto 48px;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(99,102,241,0.05) 0%,
    rgba(99,102,241,0.3) 15%,
    rgba(6,182,212,0.3) 50%,
    rgba(99,102,241,0.3) 85%,
    rgba(99,102,241,0.05) 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  margin-bottom: 28px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.timeline-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}

/* Left-side cards (default) */
.timeline-item:not(.timeline-right) .timeline-card {
  grid-column: 1;
  text-align: right;
}
/* Right-side cards */
.timeline-item.timeline-right .timeline-card {
  grid-column: 3;
  text-align: left;
}

.timeline-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.timeline-item:not(.timeline-right) .timeline-card-head {
  flex-direction: row-reverse;
}

.timeline-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(99,102,241,0.25);
}
.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.timeline-item:not(.timeline-right) .timeline-meta { align-items: flex-end; }

.timeline-meta h3 {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
}
.timeline-count {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.timeline-card p {
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1.6;
  margin: 0;
}

/* Center node */
.timeline-node {
  grid-column: 2;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}
.timeline-node-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 0 4px var(--bg-1), 0 0 16px rgba(99,102,241,0.4);
  transition: all 0.3s var(--ease);
}
.timeline-item:hover .timeline-node-dot {
  width: 20px;
  height: 20px;
  box-shadow: 0 0 0 4px var(--bg-1), 0 0 24px rgba(99,102,241,0.6);
}

.timeline-spacer {
  grid-column: 3;
}
.timeline-item.timeline-right .timeline-spacer {
  grid-column: 1;
}

/* Responsive — stack to single column on tablet */
@media (max-width: 768px) {
  .timeline::before { left: 24px; }
  .timeline-item,
  .timeline-item.timeline-right {
    grid-template-columns: 48px 1fr;
    grid-template-areas: "node card";
  }
  .timeline-item .timeline-card,
  .timeline-item.timeline-right .timeline-card,
  .timeline-item:not(.timeline-right) .timeline-card {
    grid-column: 2;
    grid-area: card;
    text-align: left;
  }
  .timeline-item .timeline-card-head,
  .timeline-item.timeline-right .timeline-card-head,
  .timeline-item:not(.timeline-right) .timeline-card-head {
    flex-direction: row;
  }
  .timeline-item .timeline-meta,
  .timeline-item.timeline-right .timeline-meta,
  .timeline-item:not(.timeline-right) .timeline-meta {
    align-items: flex-start;
  }
  .timeline-node {
    grid-column: 1;
    grid-area: node;
  }
  .timeline-spacer { display: none; }
}

/* ---------- Features Bento ---------- */
.features { background: var(--bg-0); }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(99,102,241,0.25);
  flex-shrink: 0;
}
.bento-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
}
.bento-card p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
}
.bento-large h3 { font-size: 1.6rem; }
.bento-large p { font-size: 1.05rem; max-width: 460px; }

.ally-mock {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}
.ally-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 4px;
  margin-bottom: 4px;
}
.ally-hero img {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(99,102,241,0.15));
}
.ally-hero-badge {
  position: absolute;
  bottom: 0;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: #c7d2fe;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  backdrop-filter: blur(8px);
}
.ally-hero-badge i {
  font-size: 0.78rem;
  color: #818cf8;
}
.ally-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.ally-bubble.ai {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.15);
  color: var(--text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.ally-bubble.user {
  background: var(--bg-2);
  border: 1px solid var(--glass-border);
  color: var(--text);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* ---------- Roles Section ---------- */
.roles-section { background: var(--bg-1); }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.role-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.role-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.role-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.role-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(99,102,241,0.25);
  flex-shrink: 0;
}
.role-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 4px;
}
.role-header p {
  color: var(--text-2);
  font-size: 0.92rem;
}
.role-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.role-list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}
.role-list li i {
  color: var(--success);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------- KYC ---------- */
.kyc-section { background: var(--bg-0); }

.kyc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.kyc-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.kyc-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.kyc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(99,102,241,0.25);
  margin-bottom: 18px;
}
.kyc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 10px;
}
.kyc-card p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.kyc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.kyc-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.12);
  color: #4f46e5;
}

/* ---------- Custom Products ---------- */
.products-section { background: var(--bg-1); }

.product-config {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.config-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.config-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.15);
  color: #4f46e5;
}
.config-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,23,42,0.05);
}
.config-row label {
  color: var(--text-2);
  font-size: 0.88rem;
}
.config-val {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}
.config-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 16px 0;
}
.config-fees-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.config-fee {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(15,23,42,0.03);
  font-size: 0.88rem;
}
.config-fee span:first-child { color: var(--text); }
.config-fee span:last-child { color: var(--text-2); font-weight: 600; }

.product-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.product-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.product-point > i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.15);
  color: var(--cyan);
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.product-point h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.product-point p {
  color: var(--text-2);
  font-size: 0.92rem;
}

/* ---------- Custom Roles & Process Manager ---------- */
.custom-roles { background: var(--bg-0); }

.cr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cr-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cr-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.cr-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 10px;
}
.cr-card > p {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.cr-roles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cr-role {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 14px;
}
.cr-role-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.15);
  color: var(--indigo);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cr-role-info { flex: 1; }
.cr-role-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.cr-role-perms { font-size: 0.76rem; color: var(--text-3); }
.cr-role-count {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-2);
  color: var(--text-2);
}

.cr-process {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  padding: 16px;
  margin-bottom: 12px;
}
.cr-process:last-child { margin-bottom: 0; }
.cr-process-label {
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 12px;
  font-weight: 600;
}
.cr-process-flow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.cr-node {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.12);
  color: #4f46e5;
}
.cr-node.done {
  background: rgba(16,185,129,0.06);
  border-color: rgba(16,185,129,0.15);
  color: #059669;
}
.cr-arrow {
  color: var(--text-3);
  font-size: 0.85rem;
}

/* ---------- Reports & Analytics ---------- */
.reports-section { background: var(--bg-1); }
.reports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.report-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.report-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.report-large { grid-column: span 2; grid-row: span 2; }
.report-wide { grid-column: span 2; }
.report-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
}
.report-card p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.65;
}
.report-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
  flex-shrink: 0;
}
.report-large h3 { font-size: 1.5rem; }
.report-large p { font-size: 1rem; max-width: 440px; }

/* Executive dashboard preview mockup */
.report-preview {
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 8px;
}
.rp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.rp-title { font-weight: 700; font-size: 0.95rem; color: var(--text); font-family: var(--font-display); }
.rp-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.rp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.rp-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rp-kpi-label { font-size: 0.68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }
.rp-kpi-val { font-size: 1.1rem; font-weight: 700; font-family: var(--font-display); color: var(--text); }

/* AI insight mockup */
.report-ai-mock {
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 8px;
}
.ai-insight-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4f46e5;
  margin-bottom: 10px;
}
.ai-insight-label i { font-size: 1rem; }
.report-ai-mock p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---------- Stats ---------- */
.stats-section {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 24px;
}
.stat-value {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.stat-label {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Security ---------- */
.security { background: var(--bg-0); }

.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.security-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.security-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.security-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--accent-grad-soft);
  border: 1px solid rgba(99,102,241,0.15);
  font-size: 1.6rem;
  color: var(--indigo);
  display: grid;
  place-items: center;
}
.security-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 10px;
}
.security-card p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  background: var(--bg-0);
}
.cta-aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 30% 50%, rgba(99,102,241,0.1), transparent 60%),
    radial-gradient(ellipse 50% 50% at 70% 50%, rgba(6,182,212,0.08), transparent 60%);
  animation: meshShift 20s ease-in-out infinite alternate;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 18px;
}
.cta p {
  font-size: 1.15rem;
  color: var(--text-2);
  margin-bottom: 36px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--text);
}
.footer-brand-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-tagline {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.footer-credit {
  color: var(--text-3);
  font-size: 0.85rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: var(--text-2);
  font-size: 0.92rem;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover {
  color: var(--text);
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-3);
}

/* ---------- SVG Chart Helpers ---------- */
.line-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.line-path.drawn { stroke-dashoffset: 0; }

.pulse-circle { animation: pulseGlow 2s infinite; }

/* ---------- Keyframes ---------- */
@keyframes auroraMove {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes meshShift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 20px) scale(1.08); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

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

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes particleFloat {
  0% { transform: translateY(100vh); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh); opacity: 0; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- BUILT FOR ZAMBIA ---------- */
.zambia-section { background: var(--bg-1); position: relative; }

.zambia-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
  margin-bottom: 40px;
}

.zambia-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.zambia-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.zambia-featured {
  background: linear-gradient(160deg, rgba(99,102,241,0.06), var(--surface) 40%);
  border-color: rgba(99,102,241,0.2);
}

/* Zambian flag accent strip — orange, green, red, black */
.zambia-flag-strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    #f97316 0%, #f97316 33%,
    #16a34a 33%, #16a34a 66%,
    #dc2626 66%, #dc2626 100%);
}

.zambia-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  color: #818cf8;
  margin-bottom: 16px;
  margin-top: 6px;
}

.zambia-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 12px;
}
.zambia-card p {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* PMEC flow */
.zambia-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.zambia-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 70px;
}
.zambia-flow-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(99,102,241,0.2);
}
.zambia-flow-step span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
}
.zambia-flow-arrow {
  color: rgba(255,255,255,0.2);
  font-size: 0.9rem;
  margin-top: -18px;
}

/* Collateral items */
.zambia-collateral {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.collateral-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
}
.collateral-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--glass-border-hover);
}
.collateral-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99,102,241,0.1);
  color: #818cf8;
  font-size: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.collateral-info { flex: 1; min-width: 0; }
.collateral-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.collateral-detail {
  font-size: 0.74rem;
  color: var(--text-2);
}
.collateral-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.collateral-status.active {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: #10b981;
}
.collateral-status.reused {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  color: #f59e0b;
}

/* Marketeer profile */
.zambia-marketeer {
  margin-bottom: 20px;
}
.marketeer-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-bottom: 12px;
}
.marketeer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.marketeer-info { flex: 1; }
.marketeer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
}
.marketeer-detail {
  font-size: 0.78rem;
  color: var(--text-2);
  margin-top: 2px;
}
.marketeer-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.marketeer-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}
.ms-label {
  font-size: 0.68rem;
  color: var(--text-2);
  font-weight: 500;
}
.ms-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-display);
}
.ms-val.score-good { color: #10b981; }

/* Tags */
.zambia-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.zambia-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.12);
  color: #4f46e5;
}

/* Province coverage */
.zambia-provinces {
  text-align: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.zp-label {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 18px;
  font-weight: 500;
}
.zp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.zp-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  color: var(--text);
  transition: all 0.3s var(--ease);
}
.zp-chip:hover {
  background: rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.2);
  color: #818cf8;
}
.zp-chip i { font-size: 0.7rem; color: #818cf8; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-title { font-size: 3.2rem; }
  .hero-bg-img { opacity: 0.2; background-position: center; }
  .hero-cockpit-scene { display: none; }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
  .roles-grid { grid-template-columns: 1fr; }
  .kyc-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
  .pricing-addons-grid { grid-template-columns: repeat(2, 1fr); }
  .zambia-grid { grid-template-columns: 1fr; }
  .cr-grid { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .report-large { grid-column: span 2; grid-row: span 1; }
  .report-wide { grid-column: span 2; }
  .pipeline-features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .nav { padding: 14px 0; }
  .nav.scrolled { padding: 10px 0; }
  .nav-brand { font-size: 1.1rem; gap: 8px; }
  .nav-brand-logo { height: 30px; }
  .nav-cta { padding: 8px 16px; font-size: 0.85rem; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .section { padding: 80px 0; }
  .section-title { font-size: 2rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: span 1; }
  .mock-stats { grid-template-columns: 1fr; }
  .kyc-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 28px 22px; }
  .pricing-addons-grid { grid-template-columns: 1fr; }
  .pricing-amount { font-size: 2.4rem; }
  .zambia-grid { grid-template-columns: 1fr; }
  .marketeer-stats { grid-template-columns: 1fr; }
  .reports-grid { grid-template-columns: 1fr; }
  .report-large, .report-wide { grid-column: span 1; }
  .rp-kpis { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-value { font-size: 2.4rem; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta h2 { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .pipeline-flow { flex-direction: column; }
  .pipeline-connector { display: none; }
  .role-card, .cr-card { padding: 24px; }
  .score-factor { grid-template-columns: 90px 1fr 55px; font-size: 0.75rem; }
}

@media (max-width: 375px) {
  .hero-title { font-size: 2rem; }
  .hero-badge { font-size: 0.72rem; padding: 6px 12px; }
  .hero-subtitle { font-size: 0.92rem; }
  .section-title { font-size: 1.6rem; }
  .nav-cta { padding: 7px 14px; font-size: 0.8rem; }
  .nav-brand span { display: none; }
}

/* ---------- PRICING ---------- */
.pricing-section { background: var(--bg-0); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.pricing-featured {
  background: linear-gradient(165deg, rgba(99,102,241,0.07), var(--surface) 45%);
  border-color: rgba(99,102,241,0.25);
  box-shadow: 0 20px 60px rgba(99,102,241,0.12);
}

.pricing-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #fff;
  margin-bottom: 18px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pricing-badge.enterprise {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
}

.pricing-name {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 14px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}
.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-2);
  font-family: var(--font-display);
}
.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.pricing-period {
  font-size: 1rem;
  color: var(--text-2);
  font-weight: 500;
}
.pricing-amount-text {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.4;
}

.pricing-desc {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}
.pricing-features li i {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features li strong {
  color: var(--text);
  font-weight: 700;
}

.btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  color: var(--text-2);
  font-size: 0.82rem;
  margin-top: 32px;
}

/* ---------- Add-on Services ---------- */
.pricing-addons {
  margin-top: 56px;
}
.pricing-addons-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 28px;
}
.pricing-addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.addon-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.addon-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}
.addon-card.addon-free {
  background: linear-gradient(165deg, rgba(16,185,129,0.06), var(--surface) 45%);
  border-color: rgba(16,185,129,0.2);
}
.addon-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  box-shadow: 0 6px 20px rgba(99,102,241,0.2);
}
.addon-free .addon-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 6px 20px rgba(16,185,129,0.2);
}
.addon-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.addon-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--indigo);
  margin: 0 0 12px;
}
.addon-price-free {
  color: var(--success);
}
.addon-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   Zambian Flag Accent — Enhanced Theming
   Flag colors: Orange (#f97316), Green (#16a34a), Red (#dc2626)
   ============================================================ */

/* Zambian flag accent — enhanced card hover */
.kyc-card:hover,
.bento-card:hover,
.security-card:hover,
.role-card:hover,
.report-card:hover,
.cr-card:hover {
  border-color: rgba(249,115,22,0.25);
}
.kyc-card:hover .zambia-flag-strip,
.bento-card:hover .zambia-flag-strip,
.security-card:hover .zambia-flag-strip,
.role-card:hover .zambia-flag-strip,
.report-card:hover .zambia-flag-strip,
.cr-card:hover .zambia-flag-strip,
.cp-mockup:hover .zambia-flag-strip,
.score-card:hover .zambia-flag-strip {
  height: 5px;
  box-shadow: 0 0 12px rgba(249,115,22,0.4);
}
.zambia-flag-strip {
  transition: height 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* Zambian flag accent on hero badge */
.hero-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #16a34a, #dc2626);
  border-radius: 999px 999px 0 0;
}

/* Zambian flag accent on trust marquee label */
.trust-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #16a34a, #dc2626);
  border-radius: 999px;
}

/* Zambian flag accent on section tags */
.section-tag::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #16a34a, #dc2626);
  border-radius: 999px;
  opacity: 0.7;
}

/* Zambian flag accent on CTA section */
.cta {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #f97316, #16a34a, #dc2626) 1;
}

/* Zambian flag accent on footer */
.footer {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #f97316, #16a34a, #dc2626) 1;
}

/* ---------- PROBLEM SECTION ---------- */
.problem-section { background: var(--bg-1); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239,68,68,0.25);
  box-shadow: var(--shadow-lg);
}
.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(239,68,68,0.1);
  color: #ef4444;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 10px;
}
.problem-card p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---------- REVELATION SECTION ---------- */
.revelation-section { background: var(--bg-0); }
.revelation-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}
.revelation-col {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.revelation-before {
  border-color: rgba(239,68,68,0.15);
}
.revelation-after {
  border-color: rgba(16,185,129,0.15);
  background: linear-gradient(160deg, rgba(16,185,129,0.04), var(--surface) 40%);
}
.revelation-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}
.revelation-before .revelation-header { color: #ef4444; }
.revelation-after .revelation-header { color: #10b981; }
.revelation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.revelation-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}
.revelation-before .revelation-list li i {
  color: #ef4444;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.revelation-after .revelation-list li i {
  color: #10b981;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.revelation-arrow {
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--text-2);
}

/* ---------- INTELLIGENCE SECTION ---------- */
.intelligence-section { background: var(--bg-1); }
.intelligence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.intelligence-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.intelligence-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.intel-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}
.intel-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}
.intel-point i {
  color: #818cf8;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- TRUST SECTION (inline marquee) ---------- */
.trust-section { background: var(--bg-0); }
.trust-bar-inline {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--glass-border);
}

/* ---------- GET STARTED SECTION ---------- */
.getstarted-section { background: var(--bg-1); }
.getstarted-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.getstarted-step {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.getstarted-step:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.gs-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: rgba(99,102,241,0.08);
  line-height: 1;
}
.gs-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(99,102,241,0.25);
}
.getstarted-step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 10px;
}
.getstarted-step p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.gs-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  color: #818cf8;
}
.getstarted-connector {
  display: grid;
  place-items: center;
  width: 40px;
}
.gs-conn-fill {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(99,102,241,0.1), rgba(99,102,241,0.3), rgba(99,102,241,0.1));
}
.getstarted-cta {
  text-align: center;
  padding: 20px;
}
.getstarted-cta p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 0.9rem;
}
.getstarted-cta a {
  color: #818cf8;
  font-weight: 600;
}

/* ---------- FAQ SECTION ---------- */
.faq-section { background: var(--bg-0); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item:hover {
  border-color: var(--glass-border-hover);
}
.faq-item[open] {
  border-color: rgba(99,102,241,0.2);
  box-shadow: 0 8px 24px rgba(99,102,241,0.06);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-display);
  list-style: none;
  transition: all 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  color: var(--text-2);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary i {
  transform: rotate(180deg);
  color: #818cf8;
}
.faq-a {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.65;
}
.faq-a p { margin: 0; }

/* ---------- RESPONSIVE ADDITIONS ---------- */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .revelation-split { grid-template-columns: 1fr; }
  .revelation-arrow { transform: rotate(90deg); padding: 10px 0; }
  .intelligence-grid { grid-template-columns: 1fr; }
  .getstarted-grid { grid-template-columns: 1fr; }
  .getstarted-connector { display: none; }
}
@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
  .revelation-split { grid-template-columns: 1fr; }
  .intelligence-grid { grid-template-columns: 1fr; }
  .getstarted-grid { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 0.92rem; padding: 16px 18px; }
  .faq-a { padding: 0 18px 16px; }
}

/* ---------- DECORATIVE SHAPES ---------- */
.shape-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
}
.shape-top-right {
  top: 20px;
  right: -30px;
  width: 180px;
  height: auto;
}
.shape-top-left {
  top: 30px;
  left: -40px;
  width: 160px;
  height: auto;
}
.shape-bottom-left {
  bottom: 20px;
  left: -30px;
  width: 170px;
  height: auto;
}
.shape-bottom-right {
  bottom: 30px;
  right: -40px;
  width: 160px;
  height: auto;
}

/* Ensure section content sits above decorative shapes */
.section > .container {
  position: relative;
  z-index: 1;
}

/* Make shapes responsive — hide on mobile */
@media (max-width: 768px) {
  .shape-deco { display: none; }
}

/* ---------- Revelation Hero Illustration ---------- */
.revelation-hero {
  text-align: center;
  margin-bottom: 30px;
}
.revelation-hero img {
  width: 180px;
  height: auto;
  opacity: 0.8;
}

/* Generic section illustration (character/scene art between heading and content) */
.section-illustration {
  text-align: center;
  margin: 0 auto 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section-illustration img {
  width: 200px;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.3));
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.section-illustration:hover img {
  opacity: 1;
  transform: translateY(-4px);
}
@media (max-width: 768px) {
  .section-illustration img { width: 160px; }
}

/* ---------- REPORTS SECTION ---------- */
.reports-section { background: var(--bg-1); position: relative; }

/* Dashboard preview cards */
.reports-dashboards {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.reports-dashboard-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.reports-dashboard-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.rd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.rd-title {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rd-title i { color: #818cf8; }
.rd-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-2);
}
.rd-badge.live {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 5px;
}
.rd-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.rd-kpi {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rd-kpi-label {
  font-size: 0.68rem;
  color: var(--text-2);
}
.rd-kpi-val {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
}
.rd-val-warn { color: #f59e0b; }

.rd-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rd-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-2);
}
.rd-bar-row span:first-child { width: 60px; flex-shrink: 0; }
.rd-bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  overflow: hidden;
}
.rd-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent-grad);
}

/* Report categories grid */
.reports-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.report-cat {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.report-cat:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg);
}
.report-cat-featured {
  background: linear-gradient(160deg, rgba(99,102,241,0.06), var(--surface) 40%);
  border-color: rgba(99,102,241,0.2);
}
.report-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-grad);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(99,102,241,0.2);
}
.report-cat h3 {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 14px;
}
.report-cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.report-cat ul li {
  font-size: 0.84rem;
  color: var(--text-2);
  padding-left: 18px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.report-cat ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(99,102,241,0.4);
}
.report-cat ul li:hover { color: var(--text); }

/* Export options */
.reports-export {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.reports-export-label {
  font-size: 0.9rem;
  color: var(--text-2);
  font-weight: 500;
}
.reports-export-formats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.export-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.12);
  color: #818cf8;
}
.export-chip i { font-size: 0.9rem; }

/* Responsive */
@media (max-width: 1024px) {
  .reports-dashboards { grid-template-columns: 1fr; }
  .reports-categories { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .reports-categories { grid-template-columns: 1fr; }
  .rd-kpis { grid-template-columns: repeat(2, 1fr); }
  .reports-export { flex-direction: column; gap: 12px; }
}
