/* ============================================================
   ACADYA LANDING PAGE — Premium SaaS Design System
   ============================================================ */

/* 1. Custom Properties */
:root {
  --c-bg: #ffffff;
  --c-bg-soft: #fdf2f5;
  --c-bg-muted: #f9fafb;
  --c-hero-from: #010d16;
  --c-hero-mid: #021e35;
  --c-hero-to: #032a4a;
  --c-primary: #520226;
  --c-primary-light: #7a1040;
  --c-primary-hover: #3d011b;
  --c-accent: #032a4a;
  --c-accent-light: #0a5a8a;
  --c-violet: #032a4a;
  --c-cyan: #06b6d4;
  --c-emerald: #10b981;
  --c-amber: #f59e0b;
  --c-rose: #f43f5e;
  --c-text: #111827;
  --c-text-2: #374151;
  --c-text-3: #6b7280;
  --c-text-4: #9ca3af;
  --c-border: #e5e7eb;
  --c-border-light: #f3f4f6;
  --c-white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-hero: 0 32px 80px rgba(1, 13, 22, 0.7);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --font-sans:
    "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --transition: 240ms cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
}

/* 2. Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* 3. Utilities */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.text-gradient {
  background: linear-gradient(135deg, #c2688f 0%, #520226 40%, #032a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-cyan {
  background: linear-gradient(135deg, #67e8f9 0%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-primary {
  background: rgba(79, 70, 229, 0.12);
  color: #520226;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.badge-violet {
  background: rgba(124, 58, 237, 0.1);
  color: #032a4a;
  border: 1px solid rgba(124, 58, 237, 0.18);
}
.badge-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.18);
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.18);
}
.badge-amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.18);
}
.badge-rose {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.18);
}

/* Section label */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary-light);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--c-text);
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--c-text-3);
  line-height: 1.75;
  max-width: 560px;
  margin-top: 14px;
}

/* ============================================================
   4. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(1, 13, 22, 0.94);
  backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.navbar-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.navbar-brand .brand-logo {
  height: 34px;
  width: auto;
  /* invert dark logo to white for the dark navbar */
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.navbar.scrolled .navbar-brand .brand-logo {
  filter: brightness(0) invert(1);
}
.navbar-brand .brand-wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}
.navbar-brand .brand-wordmark span {
  color: #d4839f;
}
/* Footer logo shown on dark footer — keep it white */
.footer-brand-logo {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
  display: block;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 14px;
  border-radius: 8px;
  transition:
    color var(--transition),
    background var(--transition);
}
.navbar-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-ghost {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all var(--transition);
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}
.btn-primary {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  padding: 9px 20px;
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    var(--c-primary-light) 0%,
    var(--c-violet) 100%
  );
  box-shadow:
    0 2px 10px rgba(79, 70, 229, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 6px 20px rgba(79, 70, 229, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-primary:active {
  transform: translateY(0);
}
.navbar-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  transition: all var(--transition);
}
.navbar-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(11, 7, 32, 0.98);
  backdrop-filter: blur(30px);
  z-index: 999;
  padding: 16px 24px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.mobile-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 8px 0;
}
.mobile-menu .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
  padding: 11px;
  font-size: 0.9375rem;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    145deg,
    #010d16 0%,
    #130933 30%,
    #032a4a 60%,
    #0f0728 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
/* Mesh gradient blobs */
.hero::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(79, 70, 229, 0.22) 0%,
    transparent 70%
  );
  top: -200px;
  left: -200px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.18) 0%,
    transparent 70%
  );
  bottom: -100px;
  right: -100px;
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.1) 0%,
    transparent 70%
  );
  top: 20%;
  right: 10%;
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}
.hero-pill {
  background: rgba(129, 140, 248, 0.18);
  border-radius: 100px;
  padding: 1px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d4839f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 22px;
}
.hero-headline .hl-line {
  display: block;
}
.hero-headline .hl-accent {
  background: linear-gradient(135deg, #7a1040 0%, #d4839f 40%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto 38px;
}
.hero-sub strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding: 14px 30px;
  border-radius: 12px;
  background: linear-gradient(135deg, #520226 0%, #032a4a 100%);
  box-shadow:
    0 4px 20px rgba(99, 102, 241, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(99, 102, 241, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-hero-primary:active {
  transform: translateY(0);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 14px 28px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
}
.btn-hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-icon {
  font-size: 1.1rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-num .plus {
  color: #d4839f;
}
.hero-stat-label {
  font-size: 0.78125rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero mockup */
.hero-mockup {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  margin: 60px auto 0;
}
.hero-mockup-browser {
  background: #021e35;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.hero-mockup-browser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 40%
  );
  pointer-events: none;
  z-index: 1;
}
.browser-bar {
  background: #021e35;
  height: 42px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.browser-dots {
  display: flex;
  gap: 7px;
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) {
  background: #ff5f57;
}
.browser-dot:nth-child(2) {
  background: #febc2e;
}
.browser-dot:nth-child(3) {
  background: #28c840;
}
.browser-url {
  flex: 1;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  height: 26px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 7px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}
.browser-url-lock {
  font-size: 0.7rem;
  color: #4ade80;
}

/* App shell inside mockup */
.app-shell {
  display: flex;
  height: auto;
}
/* Real screenshot fills the browser frame */
.hero-screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: top left;
  border-radius: 0 0 15px 15px;
}
.app-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #111028;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.sidebar-logo {
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-logo-mark {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #520226, #032a4a);
  border-radius: 7px;
  flex-shrink: 0;
}
.sidebar-logo-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}
.sidebar-section-label {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
  padding: 8px 16px 4px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 0;
  margin: 0 8px;
  border-radius: 7px;
}
.sidebar-item.active {
  background: rgba(99, 102, 241, 0.18);
  color: #d4839f;
}
.sidebar-item i {
  font-size: 0.9rem;
  flex-shrink: 0;
}
.app-main {
  flex: 1;
  background: #0e0c22;
  padding: 20px;
  overflow: hidden;
}
.app-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.app-header-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}
.app-header-actions {
  display: flex;
  gap: 8px;
}
.app-btn-sm {
  height: 26px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.app-btn-sm.primary {
  background: linear-gradient(135deg, #520226, #032a4a);
  color: #fff;
}
.app-btn-sm.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* KPI cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.kpi-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
}
.kpi-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.kpi-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}
.kpi-lab {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kpi-trend {
  font-size: 0.58rem;
  margin-top: 4px;
}
.kpi-trend.up {
  color: #4ade80;
}
.kpi-trend.down {
  color: #f87171;
}
/* Charts row */
.charts-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
}
.chart-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px;
}
.chart-card-title {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
/* Fake chart bar */
.fake-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.fake-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  opacity: 0.85;
  transition: opacity var(--transition);
}
/* Fake donut */
.fake-donut {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(
    #520226 0% 45%,
    #032a4a 45% 68%,
    #06b6d4 68% 84%,
    #10b981 84% 100%
  );
  margin: 0 auto;
  position: relative;
}
.fake-donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  background: #0e0c22;
  border-radius: 50%;
}
.fake-donut-legend {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fake-donut-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.5);
}
.fake-donut-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   6. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--c-bg-soft);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.trust-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.trust-stat-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.trust-stat-icon.indigo {
  background: rgba(79, 70, 229, 0.1);
  color: #520226;
}
.trust-stat-icon.violet {
  background: rgba(124, 58, 237, 0.1);
  color: #032a4a;
}
.trust-stat-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}
.trust-stat-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.trust-stat-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.trust-stat-info-num {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.trust-stat-info-lab {
  font-size: 0.75rem;
  color: var(--c-text-3);
  font-weight: 500;
  margin-top: 1px;
}
.trust-bar-sep {
  width: 1px;
  height: 32px;
  background: var(--c-border);
  flex-shrink: 0;
}

/* ============================================================
   7. OVERVIEW SECTION
   ============================================================ */
.section {
  padding: 96px 0;
}
.section-sm {
  padding: 72px 0;
}
.section-bg {
  background: var(--c-bg-muted);
}
.section-bg-soft {
  background: var(--c-bg-soft);
}
.section-bg-dark {
  background: linear-gradient(145deg, #010d16 0%, #021e35 50%, #032a4a 100%);
  position: relative;
  overflow: hidden;
}
.section-bg-dark::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(79, 70, 229, 0.15) 0%,
    transparent 70%
  );
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.overview-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--card-glow-from, transparent) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.overview-card:hover::after {
  opacity: 1;
}
.overview-card.indigo {
  --card-glow-from: rgba(99, 102, 241, 0.06);
}
.overview-card.violet {
  --card-glow-from: rgba(124, 58, 237, 0.06);
}
.overview-card.cyan {
  --card-glow-from: rgba(6, 182, 212, 0.06);
}

.overview-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.375rem;
  margin-bottom: 20px;
}
.overview-icon.indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #520226;
}
.overview-icon.violet {
  background: rgba(124, 58, 237, 0.12);
  color: #032a4a;
}
.overview-icon.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
}
.overview-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.overview-card p {
  font-size: 0.9rem;
  color: var(--c-text-3);
  line-height: 1.7;
}

/* ============================================================
   8. MODULES SHOWCASE
   ============================================================ */
.modules-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.module-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--mc-from, #520226),
    var(--mc-to, #032a4a)
  );
  opacity: 0;
  transition: opacity var(--transition);
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.2);
}
.module-card:hover::before {
  opacity: 1;
}
.module-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.module-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.module-card p {
  font-size: 0.8125rem;
  color: var(--c-text-3);
  line-height: 1.6;
  margin-bottom: 14px;
}
.module-features {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.module-feature {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78125rem;
  color: var(--c-text-2);
}
.module-feature i {
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Module color variants */
.mc-indigo {
  --mc-from: #520226;
  --mc-to: #d4839f;
}
.mc-indigo .module-card-icon {
  background: rgba(99, 102, 241, 0.1);
  color: #520226;
}
.mc-indigo .module-feature i {
  color: #520226;
}
.mc-violet {
  --mc-from: #032a4a;
  --mc-to: #7a1040;
}
.mc-violet .module-card-icon {
  background: rgba(124, 58, 237, 0.1);
  color: #032a4a;
}
.mc-violet .module-feature i {
  color: #032a4a;
}
.mc-cyan {
  --mc-from: #06b6d4;
  --mc-to: #67e8f9;
}
.mc-cyan .module-card-icon {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}
.mc-cyan .module-feature i {
  color: #06b6d4;
}
.mc-emerald {
  --mc-from: #10b981;
  --mc-to: #34d399;
}
.mc-emerald .module-card-icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.mc-emerald .module-feature i {
  color: #10b981;
}
.mc-amber {
  --mc-from: #f59e0b;
  --mc-to: #fcd34d;
}
.mc-amber .module-card-icon {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}
.mc-amber .module-feature i {
  color: #d97706;
}
.mc-rose {
  --mc-from: #f43f5e;
  --mc-to: #fb7185;
}
.mc-rose .module-card-icon {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
}
.mc-rose .module-feature i {
  color: #e11d48;
}
.mc-sky {
  --mc-from: #0ea5e9;
  --mc-to: #38bdf8;
}
.mc-sky .module-card-icon {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}
.mc-sky .module-feature i {
  color: #0ea5e9;
}
.mc-teal {
  --mc-from: #14b8a6;
  --mc-to: #2dd4bf;
}
.mc-teal .module-card-icon {
  background: rgba(20, 184, 166, 0.1);
  color: #14b8a6;
}
.mc-teal .module-feature i {
  color: #14b8a6;
}
.mc-orange {
  --mc-from: #f97316;
  --mc-to: #fb923c;
}
.mc-orange .module-card-icon {
  background: rgba(249, 115, 22, 0.1);
  color: #ea580c;
}
.mc-orange .module-feature i {
  color: #ea580c;
}
.mc-pink {
  --mc-from: #ec4899;
  --mc-to: #f472b6;
}
.mc-pink .module-card-icon {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}
.mc-pink .module-feature i {
  color: #db2777;
}
.mc-fuchsia {
  --mc-from: #d946ef;
  --mc-to: #c2688f;
}
.mc-fuchsia .module-card-icon {
  background: rgba(217, 70, 239, 0.1);
  color: #a21caf;
}
.mc-fuchsia .module-feature i {
  color: #a21caf;
}
.mc-lime {
  --mc-from: #84cc16;
  --mc-to: #a3e635;
}
.mc-lime .module-card-icon {
  background: rgba(132, 204, 22, 0.1);
  color: #65a30d;
}
.mc-lime .module-feature i {
  color: #65a30d;
}

/* ============================================================
   9. FEATURE SPOTLIGHT
   ============================================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.spotlight.reverse {
  direction: rtl;
}
.spotlight.reverse > * {
  direction: ltr;
}
.spotlight-text {
}
.spotlight-text .section-label {
  margin-bottom: 10px;
}
.spotlight-text .section-title {
  margin-bottom: 14px;
}
.spotlight-text p {
  font-size: 0.9625rem;
  color: var(--c-text-3);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 480px;
}
.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.spotlight-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.spotlight-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.spotlight-feature-icon.indigo {
  background: rgba(99, 102, 241, 0.1);
  color: #520226;
}
.spotlight-feature-icon.violet {
  background: rgba(124, 58, 237, 0.1);
  color: #032a4a;
}
.spotlight-feature-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.spotlight-feature-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}
.spotlight-feature-icon.amber {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}
.spotlight-feature-icon.rose {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
}
.spotlight-feature-body h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.spotlight-feature-body p {
  font-size: 0.84375rem;
  color: var(--c-text-3);
  line-height: 1.6;
  margin: 0;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-primary-light);
  padding: 10px 22px;
  border-radius: 10px;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.05);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.5);
}

/* Mockup panel */
.mockup-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.mockup-panel::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3) 0%,
    rgba(124, 58, 237, 0.2) 50%,
    rgba(6, 182, 212, 0.15) 100%
  );
  border-radius: calc(var(--radius-xl) + 2px);
  z-index: -1;
}
.mockup-header {
  background: #021e35;
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) {
  background: #ff5f57;
}
.mockup-dot:nth-child(2) {
  background: #febc2e;
}
.mockup-dot:nth-child(3) {
  background: #28c840;
}
.mockup-title-bar {
  flex: 1;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
}
.mockup-body {
  background: #0e0c22;
  padding: 20px;
}
/* When the body holds a real screenshot, remove padding */
.mockup-body.screenshot-body {
  padding: 0;
  background: transparent;
  line-height: 0;
}
.mockup-screenshot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: top left;
}
/* Table mockup */
.mockup-table {
  width: 100%;
}
.mockup-table-header {
  display: grid;
  gap: 8px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 10px;
}
.mockup-table-row {
  display: grid;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}
.mockup-th {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.28);
}
.mockup-td {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}
.mockup-td-sm {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.4);
}
.mockup-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.mockup-badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.58rem;
  font-weight: 600;
}
.mockup-badge.green {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}
.mockup-badge.amber {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}
.mockup-badge.blue {
  background: rgba(99, 102, 241, 0.12);
  color: #d4839f;
}
.mockup-badge.red {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}
.mockup-search {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 7px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
}
.mockup-search i {
  font-size: 0.8rem;
}

/* Finance mockup specifics */
.fin-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.fin-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 12px;
}
.fin-stat-val {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.fin-stat-lab {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fin-bar-chart {
  margin-top: 4px;
}
.fin-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
}
.fin-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.fin-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
}
.fin-bar-label {
  font-size: 0.52rem;
  color: rgba(255, 255, 255, 0.25);
}

/* Parent portal mockup */
.parent-portal-screen {
  background: #0e0c22;
  padding: 16px;
}
.pp-welcome {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-bottom: 4px;
}
.pp-sub {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 14px;
}
.pp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.pp-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 12px;
}
.pp-card-icon {
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.pp-card-val {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}
.pp-card-lab {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pp-messages {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 10px;
}
.pp-msg-title {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.pp-msg-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pp-msg-item:last-child {
  border-bottom: none;
}
.pp-msg-ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
}
.pp-msg-body {
  flex: 1;
}
.pp-msg-from {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.pp-msg-text {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 1px;
}

/* exams mockup */
.exam-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.exam-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 12px;
}
.exam-card-title {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}
.exam-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.exam-row:last-child {
  border-bottom: none;
}
.exam-subj {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.7);
}
.exam-mark {
  font-size: 0.66rem;
  font-weight: 700;
}
.report-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 12px;
}
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.report-student {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.report-class {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.38);
  margin-top: 2px;
}
.report-avg {
  font-size: 1.3rem;
  font-weight: 900;
  color: #4ade80;
  letter-spacing: -0.04em;
}
.report-avg-lab {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: right;
}
.progress-row {
  margin-bottom: 6px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}
.progress-subj {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.6);
}
.progress-pct {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}
.progress-bar-bg {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 100px;
}

/* ============================================================
   10. FEATURE GRID (cards)
   ============================================================ */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.feature-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.feature-card h4 {
  font-size: 0.9625rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.feature-card > p {
  font-size: 0.84375rem;
  color: var(--c-text-3);
  line-height: 1.7;
  margin-bottom: 16px;
}
.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--c-bg-soft);
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
}

/* ============================================================
   11. ENTERPRISE SECTION (dark bg)
   ============================================================ */
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.enterprise-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.enterprise-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(99, 102, 241, 0.3);
}
.enterprise-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.enterprise-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.enterprise-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

/* ============================================================
   12. WORKFLOW SECTION
   ============================================================ */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 52px;
  position: relative;
}
.workflow-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, #520226, #032a4a, #06b6d4, #10b981);
  z-index: 0;
}
.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  z-index: 1;
}
.workflow-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  border: 3px solid var(--c-bg);
}
.workflow-step-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.workflow-step:nth-child(1) .workflow-step-inner {
  background: rgba(99, 102, 241, 0.12);
  color: #520226;
}
.workflow-step:nth-child(2) .workflow-step-inner {
  background: rgba(124, 58, 237, 0.12);
  color: #032a4a;
}
.workflow-step:nth-child(3) .workflow-step-inner {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
}
.workflow-step:nth-child(4) .workflow-step-inner {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.workflow-step:nth-child(1) .workflow-step-num {
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.08);
}
.workflow-step:nth-child(2) .workflow-step-num {
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.08);
}
.workflow-step:nth-child(3) .workflow-step-num {
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.08);
}
.workflow-step:nth-child(4) .workflow-step-num {
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08);
}
.workflow-step h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.workflow-step p {
  font-size: 0.82rem;
  color: var(--c-text-3);
  line-height: 1.65;
}

/* ============================================================
   13. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.testimonial-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testimonial-stars i {
  color: #fcd34d;
  font-size: 0.9rem;
}
.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--c-text-2);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--c-text);
}
.testimonial-title {
  font-size: 0.78125rem;
  color: var(--c-text-3);
  margin-top: 1px;
}

/* ============================================================
   14. CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(145deg, #010d16 0%, #021e35 50%, #032a4a 100%);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.2) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-badge {
  margin-bottom: 20px;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.18;
  max-width: 680px;
  margin: 0 auto 16px;
}
.cta-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  padding: 15px 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #520226 0%, #032a4a 100%);
  box-shadow:
    0 6px 24px rgba(99, 102, 241, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s;
  letter-spacing: -0.01em;
}
.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.6);
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 14px 30px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.25s;
}
.btn-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.cta-note {
  margin-top: 22px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.cta-note span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cta-note i {
  color: #4ade80;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: #010d16;
  padding: 72px 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-brand .brand-wordmark {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  display: none; /* replaced by .footer-brand-logo img */
}
.footer-brand .brand-wordmark span {
  color: #d4839f;
}
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social-btn:hover {
  border-color: rgba(99, 102, 241, 0.4);
  color: #d4839f;
  background: rgba(99, 102, 241, 0.08);
}
.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.footer-phone i {
  font-size: 0.85rem;
  color: #d4839f;
}
.footer-phone:hover {
  color: #fff;
}
.footer-col h4 {
  font-size: 0.78125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: rgba(255, 255, 255, 0.75);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.28);
  transition: color var(--transition);
}
.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   16. ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
}
.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}
.stagger-6 {
  transition-delay: 0.6s;
}

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .navbar-nav,
  .navbar-actions .btn-ghost {
    display: none;
  }
  .navbar-mobile-toggle {
    display: flex;
  }
  .spotlight,
  .spotlight.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 48px;
  }
  .spotlight .mockup-panel {
    order: -1;
  }
  .spotlight.reverse .mockup-panel {
    order: -1;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .enterprise-grid {
    grid-template-columns: 1fr 1fr;
  }
  .workflow-steps::before {
    display: none;
  }
  .workflow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .app-sidebar {
    display: none;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .navbar-actions .btn-primary {
    display: none;
  }
  .modules-grid {
    grid-template-columns: 1fr 1fr;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
  .enterprise-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 24px 32px;
  }
  .hero-stat-divider {
    display: none;
  }
  .trust-bar-inner {
    gap: 20px 32px;
  }
  .trust-bar-sep {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .charts-row {
    grid-template-columns: 1fr;
  }
  .fin-stat-row {
    grid-template-columns: 1fr 1fr;
  }
  .pp-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }
  .section {
    padding: 64px 0;
  }
  .container {
    padding: 0 16px;
  }
  .modules-grid {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   18. CONTACT / ONBOARDING FORM
   ============================================================ */
.contact-section {
  background: var(--c-bg-soft);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: flex-start;
}
.contact-copy .section-title {
  margin-bottom: 14px;
}
.contact-copy .section-sub {
  margin-bottom: 36px;
}
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-light), var(--c-violet));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.contact-step-body h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.contact-step-body p {
  font-size: 0.84375rem;
  color: var(--c-text-3);
  line-height: 1.6;
}
.contact-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--c-text-2);
  font-weight: 500;
}
.contact-trust i {
  font-size: 1rem;
}
.contact-call {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-call-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--c-text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-call-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.contact-call-number i {
  width: 32px;
  height: 32px;
  background: rgba(82, 2, 38, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--c-primary);
  flex-shrink: 0;
}
.contact-call-number:hover {
  color: var(--c-primary-hover);
}
.contact-form-wrap {
  position: sticky;
  top: 88px;
}
.contact-form-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-2xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.contact-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.contact-form-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.12),
    rgba(124, 58, 237, 0.12)
  );
  color: var(--c-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.contact-form-header h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.contact-form-header p {
  font-size: 0.8125rem;
  color: var(--c-text-3);
  display: flex;
  align-items: center;
  gap: 5px;
}
.contact-form-header p::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #520226, #032a4a);
}

/* Form fields */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text-2);
  letter-spacing: -0.01em;
}
.req {
  color: var(--c-rose);
}
.form-optional {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--c-text-4);
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap > i {
  position: absolute;
  left: 12px;
  color: var(--c-text-4);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 1;
}
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--c-text);
  background: var(--c-bg);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: var(--c-text-4);
}
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.select-wrap::after {
  content: "\ea4e";
  font-family: "remixicon";
  position: absolute;
  right: 12px;
  color: var(--c-text-4);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
}
.input-wrap select {
  cursor: pointer;
  padding-right: 32px;
}
.textarea-wrap {
  align-items: flex-start;
}
.textarea-wrap > i {
  top: 12px;
}
.input-wrap textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.6;
}

/* Submit button */
.btn-form-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #520226 0%, #032a4a 100%);
  box-shadow:
    0 4px 18px rgba(99, 102, 241, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  margin-top: 4px;
}
.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
}
.btn-form-submit:active {
  transform: translateY(0);
}
.form-disclaimer {
  font-size: 0.78125rem;
  color: var(--c-text-4);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
}
.form-disclaimer i {
  color: #10b981;
}
.form-error-msg {
  font-size: 0.84375rem;
  color: #e11d48;
  background: rgba(244, 63, 94, 0.07);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  text-align: center;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 32px 16px;
}
.form-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.form-success p {
  font-size: 0.9375rem;
  color: var(--c-text-3);
  line-height: 1.7;
}

/* Responsive contact layout */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form-wrap {
    position: static;
  }
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 24px 18px;
  }
}
