/* Developed by VLMS Global Consulting Inc. | vlmsglobal.com */

/* ========================================
   BRAND TYPEFACES (self-hosted, matches onpointhealthcarepartners.com)
   ======================================== */

@font-face {
  font-family: 'Modern Gothic';
  src: url('/assets/fonts/ModernGothic-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Modern Gothic';
  src: url('/assets/fonts/ModernGothic-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Modern Gothic';
  src: url('/assets/fonts/ModernGothic-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Modern Gothic';
  src: url('/assets/fonts/ModernGothic-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Modern Gothic';
  src: url('/assets/fonts/ModernGothic-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Modern Gothic';
  src: url('/assets/fonts/ModernGothic-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('/assets/fonts/DMMono-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('/assets/fonts/DMMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('/assets/fonts/DMMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   DESIGN TOKENS & VARIABLES
   ======================================== */

:root {
  /* Colors */
  --color-navy: #06090F;
  --color-navy-light: #0C1220;
  --color-navy-lighter: #0f1524;
  --color-blue: #0088FF;
  --color-blue-dark: #0062CC;
  --color-cyan: #00B4D8;
  --color-green: #10B981;
  --color-orange: #FF6B35;
  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;

  /* Typography — matches onpointhealthcarepartners.com's brand type system */
  --font-body: 'Modern Gothic', system-ui, -apple-system, sans-serif;
  --font-heading: 'Modern Gothic', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SF Mono', monospace;

  /* Layout */
  --nav-height: 64px;
  --topbar-height: 36px;
  --max-width: 1280px;
  --container-padding: 32px;
  --section-padding: 120px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-topbar: 10001;
  --z-header: 1020;

  /* Light mode colors */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F8FAFC;
  --color-text-primary: #0a0e17;
  --color-text-secondary: #475569;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-card-bg: rgba(248, 250, 252, 0.8);

  /* Section-specific light mode */
  --hero-text: #0a0e17;
  --hero-sub-text: #475569;
  --hero-trust-bg: rgba(0, 136, 255, 0.08);
  --hero-trust-border: rgba(0, 136, 255, 0.15);
  --hero-trust-text: #0a0e17;
  --metrics-bg: #f0f7ff;
  --metrics-text: #0a0e17;
  --metrics-label: #475569;
  --inner-hero-text: #0a0e17;
  --inner-hero-sub: #475569;
}

body.dark-mode {
  --color-bg-primary: #0a0e17;
  --color-bg-secondary: #0f1524;
  --color-text-primary: #e2e8f0;
  --color-text-secondary: #cbd5e1;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-card-bg: rgba(15, 21, 36, 0.8);

  /* Section-specific dark mode */
  --hero-text: #ffffff;
  --hero-sub-text: rgba(255, 255, 255, 0.85);
  --hero-trust-bg: rgba(0, 136, 255, 0.1);
  --hero-trust-border: rgba(0, 136, 255, 0.2);
  --hero-trust-text: rgba(255, 255, 255, 0.9);
  --metrics-bg: #06090F;
  --metrics-text: #ffffff;
  --metrics-label: rgba(255, 255, 255, 0.7);
  --inner-hero-text: #ffffff;
  --inner-hero-sub: rgba(255, 255, 255, 0.85);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

body strong, body b {
  font-weight: 500;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Global media/overflow prevention */
img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

h1 {
  font-size: clamp(36px, 5.5vw, 70px);
  font-weight: 300;
}

h2 {
  font-size: clamp(28px, 4vw, 51px);
  font-weight: 300;
}

h3 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 300;
  line-height: 1.16;
}

h4 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
}

h5 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: normal;
}

h6 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: normal;
}

/* Small uppercase labels/eyebrows — matches the site's mono-caps treatment */
.eyebrow, .badge, .kicker, .label-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-cyan);
}

button {
  font-family: var(--font-body);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
  overflow-x: hidden;
}

main {
  overflow-x: hidden;
}

.section-overline {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-blue);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  width: fit-content;
}

/* Left-aligned overline gets a single leading line */
.section-overline::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--color-blue), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

/* Centered overline: remove single leading line, add symmetric lines either side */
.section-header .section-overline {
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-overline::before {
  background: linear-gradient(90deg, transparent, var(--color-blue));
}

.section-header .section-overline::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--color-blue), transparent);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-top: 12px;
}

/* Dark accent sections — always dark background regardless of mode */
.section-dark {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.section-dark .section-overline {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .section-overline {
  color: var(--color-cyan);
}

.section-dark .stat-card,
.section-dark .product-card,
.section-dark .feature-card,
.section-dark .process-step,
.section-dark .benefit,
.section-dark .diff-point,
.section-dark .case-study,
.section-dark .arch-layer,
.section-dark .tech-fact {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .stat-card h3,
.section-dark .product-card h3,
.section-dark .feature-card h3,
.section-dark .process-step h4,
.section-dark .diff-point h4,
.section-dark .case-study h3,
.section-dark .arch-layer h4,
.section-dark .tech-fact h4 {
  color: #fff;
}

.section-dark .stat-card p,
.section-dark .product-card p,
.section-dark .feature-card p,
.section-dark .process-step p,
.section-dark .diff-point p,
.section-dark .case-study p,
.section-dark .tech-fact p {
  color: rgba(255, 255, 255, 0.7);
}

.section-dark .step-number {
  background: var(--color-blue);
  color: #fff;
}

.section-dark .metric-value {
  color: var(--color-blue);
}

.section-dark .metric-label {
  color: rgba(255, 255, 255, 0.7);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-blue);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  z-index: var(--z-modal);
}

.skip-link:focus {
  top: 0;
}

.divider {
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   ANIMATION & SCROLL TRIGGERS
   ======================================== */

.anim {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.anim.v {
  opacity: 1;
  transform: translateY(0);
}

.anim-d1 { transition-delay: 0ms; }
.anim-d2 { transition-delay: 100ms; }
.anim-d3 { transition-delay: 200ms; }
.anim-d4 { transition-delay: 300ms; }
.anim-d5 { transition-delay: 400ms; }

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  color: white;
  box-shadow: 0 4px 12px rgba(0, 136, 255, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 136, 255, 0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  padding: 10px 26px;
}

.btn-ghost:hover {
  background: rgba(0, 136, 255, 0.08);
}

.btn-ghost:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* ========================================
   VLMS DEMO BAR
   ======================================== */

.vlms-demo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-topbar);
  height: var(--topbar-height);
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 32px;
}

.vlms-demo-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.vlms-demo-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.vlms-demo-logo-img {
  height: 16px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity var(--transition-fast);
}

.vlms-demo-logo:hover .vlms-demo-logo-img {
  opacity: 1;
}

.vlms-demo-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
}

.vlms-demo-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vlms-demo-left a {
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
}

.vlms-demo-left a:hover {
  color: var(--color-blue);
}

.vlms-demo-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.vlms-demo-right a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.vlms-demo-right a:hover {
  color: var(--color-blue);
}

.dark-mode-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.dark-mode-toggle svg {
  width: 18px;
  height: 18px;
}

.sun-icon, .moon-icon {
  display: block;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-header);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}

body.dark-mode .site-header {
  background: rgba(10, 14, 23, 0.95);
  border-bottom-color: rgba(0, 136, 255, 0.1);
}

.site-header.scrolled {
  border-bottom-color: rgba(0, 136, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

body.dark-mode .site-header .logo-img {
  /* In dark mode, swap to white version via CSS filter fallback */
  content: url('/assets/img/onpoint-logo-white.png');
}

body.dark-mode .site-header .nav-link {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .site-header .nav-phone {
  color: rgba(255, 255, 255, 0.7);
}

/* Main Navigation */
nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-blue);
}

.nav-link.active {
  color: var(--color-blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--color-blue);
  border-radius: 1px;
}

/* Mega Menu */
.mega-trigger {
  position: relative;
}

/* Invisible bridge to prevent hover gap */
.mega-trigger::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  pointer-events: none;
}

.mega-trigger:hover::after,
.mega-trigger:focus-within::after {
  pointer-events: auto;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-width: 600px;
  max-width: 700px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: calc(var(--z-header) + 10);
}

.mega-trigger:hover .mega-menu,
.mega-trigger:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-item {
  padding: 12px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.mega-item:hover {
  background: rgba(0, 136, 255, 0.1);
  color: var(--color-blue);
}

.mega-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 136, 255, 0.1);
}

.mega-item:hover .mega-item-icon {
  background: rgba(0, 136, 255, 0.2);
}

.mega-item-text h4 {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--color-text-primary);
}

.mega-item-text p {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.mega-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: 4px 0;
  grid-column: 1 / -1;
}

/* Right Navigation */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nav-phone {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  display: none;
}

@media (min-width: 1200px) {
  .nav-phone {
    display: block;
  }
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 136, 255, 0.3);
  display: inline-block;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 136, 255, 0.4);
}

.nav-cta:hover::before {
  opacity: 1;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text-secondary);
  border-radius: 1px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: calc(var(--topbar-height) + var(--nav-height));
  left: 0;
  right: 0;
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border);
  flex-direction: column;
  gap: 0;
  max-height: calc(100vh - var(--topbar-height) - var(--nav-height));
  overflow-y: auto;
  z-index: var(--z-dropdown);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 16px var(--container-padding);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 136, 255, 0.05);
  transition: all var(--transition-fast);
  font-size: 14px;
}

.mobile-nav a:hover {
  background: rgba(0, 136, 255, 0.1);
  color: var(--color-blue);
  padding-left: calc(var(--container-padding) + 8px);
}

.mobile-subnav {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0, 136, 255, 0.1);
}

.mobile-subnav a {
  padding-left: calc(var(--container-padding) + 16px);
}

.mobile-nav.active .mobile-subnav {
  display: flex;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding-top: calc(var(--topbar-height) + var(--nav-height) + 60px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4ff 0%, #f0f7ff 100%);
  min-height: auto;
}

body.dark-mode .hero {
  background: linear-gradient(135deg, #06090F 0%, #0C1220 100%);
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(0, 180, 216, 0.6), rgba(0, 136, 255, 0.2));
  border-radius: 50%;
  animation: float-up 20s infinite ease-in;
}

@keyframes float-up {
  0% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) translateX(100px) scale(0);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--hero-text);
  z-index: 1;
}

.hero-content h1,
.hero-content h2,
.hero-content h3 {
  color: var(--hero-text);
}

.trust-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  align-items: center;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--hero-trust-bg);
  border: 1px solid var(--hero-trust-border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: var(--hero-trust-text);
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.trust-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.liquid-gradient {
  background: linear-gradient(
    100deg,
    #00B4D8 0%,
    #0088FF 20%,
    #0052CC 35%,
    #00B4D8 50%,
    #3BBFFF 65%,
    #0088FF 80%,
    #00D4FF 95%,
    #0088FF 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: liquid-flow 4s ease-in-out infinite;
  position: relative;
}

@keyframes liquid-flow {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 50% 50%; }
  50%  { background-position: 100% 50%; }
  75%  { background-position: 50% 50%; }
  100% { background-position: 0% 50%; }
}

/* Shimmer pulse on the liquid gradient */
.liquid-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.07) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer-pass 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer-pass {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-h1-sub {
  display: block;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--hero-sub-text);
  -webkit-text-fill-color: unset;
  background: none;
  margin-top: 8px;
  letter-spacing: -0.01em;
}
.hero-sub {
  font-size: 15px;
  color: var(--hero-sub-text);
  margin-bottom: 28px;
  line-height: 1.7;
}

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

/* ========================================
   HERO NODE NETWORK — 3D Glass Orbs (Artifact Design)
   ======================================== */
.hero-visual{position:relative;width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center}
.node-network{position:relative;width:100%;height:100%;overflow:hidden}

/* SVG connection lines */
.node-svg{position:absolute;inset:0;z-index:1}
.node-svg line{stroke:url(#nodeLineGrad);stroke-width:1.5;stroke-dasharray:8 6;animation:dashFlow 12s linear infinite}
@keyframes dashFlow{0%{stroke-dashoffset:0}100%{stroke-dashoffset:-100}}

/* Glass orb base */
.orb{
  position:absolute;z-index:3;display:flex;flex-direction:column;align-items:center;gap:10px;
  transform:translate(-50%,-50%);
}
.orb-sphere{
  width:72px;height:72px;border-radius:50%;position:relative;
  background:linear-gradient(145deg,rgba(255,255,255,0.9) 0%,rgba(240,245,255,0.7) 100%);
  border:1.5px solid rgba(255,255,255,0.8);
  box-shadow:
    0 8px 32px rgba(0,136,255,0.12),
    0 2px 8px rgba(0,0,0,0.06),
    inset 0 -4px 12px rgba(0,136,255,0.06),
    inset 0 2px 4px rgba(255,255,255,0.8);
  display:flex;align-items:center;justify-content:center;
  transition:all .4s cubic-bezier(.22,1,.36,1);
  animation:orbFloat 6s ease-in-out infinite;
}
.orb-sphere::before{
  content:'';position:absolute;top:6px;left:14px;width:28px;height:16px;
  background:radial-gradient(ellipse,rgba(255,255,255,0.8) 0%,transparent 70%);
  border-radius:50%;pointer-events:none;
}
.orb-sphere::after{
  content:'';position:absolute;inset:-3px;border-radius:50%;
  background:conic-gradient(from 0deg,transparent 0%,rgba(0,136,255,0.1) 25%,transparent 50%,rgba(0,180,216,0.08) 75%,transparent 100%);
  animation:orbRing 8s linear infinite;z-index:-1;
}
.orb:hover .orb-sphere{
  transform:scale(1.12);
  box-shadow:0 12px 40px rgba(0,136,255,0.25),0 2px 8px rgba(0,0,0,0.08),inset 0 -4px 12px rgba(0,136,255,0.1),inset 0 2px 4px rgba(255,255,255,0.9);
}
.orb-sphere svg{width:28px;height:28px;color:var(--color-blue);position:relative;z-index:1}
.orb-label{
  font-family:var(--font-heading);font-size:12px;font-weight:600;color:var(--color-gray-600);
  white-space:nowrap;letter-spacing:.3px;text-align:center;
}

@keyframes orbFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes orbRing{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}

/* Stagger float animation per node */
.orb:nth-child(1) .orb-sphere{animation-delay:0s}
.orb:nth-child(2) .orb-sphere{animation-delay:-.8s}
.orb:nth-child(3) .orb-sphere{animation-delay:-1.6s}
.orb:nth-child(4) .orb-sphere{animation-delay:-2.4s}
.orb:nth-child(5) .orb-sphere{animation-delay:-3.2s}

/* Center hub orb — larger, blue gradient, glowing */
.orb-hub{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:4;
  display:flex;flex-direction:column;align-items:center;gap:6px;
}
.orb-hub-sphere{
  width:100px;height:100px;border-radius:50%;position:relative;
  background:linear-gradient(135deg,#0088FF 0%,#00B4D8 60%,#0062CC 100%);
  box-shadow:
    0 12px 40px rgba(0,136,255,0.35),
    0 4px 12px rgba(0,0,0,0.1),
    inset 0 2px 6px rgba(255,255,255,0.3),
    inset 0 -6px 20px rgba(0,0,0,0.1);
  display:flex;align-items:center;justify-content:center;
  animation:hubPulse 4s ease-in-out infinite;
}
.orb-hub-sphere::before{
  content:'';position:absolute;top:8px;left:18px;width:40px;height:22px;
  background:radial-gradient(ellipse,rgba(255,255,255,0.4) 0%,transparent 70%);
  border-radius:50%;
}
.orb-hub-sphere::after{
  content:'';position:absolute;inset:-8px;border-radius:50%;
  border:2px solid rgba(0,136,255,0.15);
  animation:hubRingPulse 3s ease-in-out infinite;
}
.orb-hub-sphere span{
  font-family:var(--font-heading);font-size:13px;font-weight:700;color:#fff;
  text-shadow:0 1px 4px rgba(0,0,0,0.2);position:relative;z-index:1;
}
@keyframes hubPulse{
  0%,100%{box-shadow:0 12px 40px rgba(0,136,255,0.35),0 4px 12px rgba(0,0,0,0.1),inset 0 2px 6px rgba(255,255,255,0.3),inset 0 -6px 20px rgba(0,0,0,0.1)}
  50%{box-shadow:0 16px 50px rgba(0,136,255,0.45),0 6px 16px rgba(0,0,0,0.12),inset 0 2px 6px rgba(255,255,255,0.35),inset 0 -6px 20px rgba(0,0,0,0.1)}
}
@keyframes hubRingPulse{0%,100%{transform:scale(1);opacity:.5}50%{transform:scale(1.15);opacity:.2}}

/* Node positions */
.orb-n1{top:10%;left:52%}
.orb-n2{top:38%;left:88%}
.orb-n3{top:82%;left:76%}
.orb-n4{top:82%;left:24%}
.orb-n5{top:38%;left:12%}

/* Mobile hero visual adjustments */
@media(max-width:767px){
  .hero-visual{max-width:320px;margin:0 auto}
  .orb-sphere{width:52px;height:52px}
  .orb-sphere svg{width:20px;height:20px}
  .orb-label{font-size:10px}
  .orb-hub-sphere{width:72px;height:72px}
  .orb-hub-sphere span{font-size:11px}
  .node-svg line{stroke-width:1}
}



/* ========================================
   METRICS BANNER
   ======================================== */

.metrics-banner {
  background: var(--metrics-bg);
  color: var(--metrics-text);
  padding: 48px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.metric {
  text-align: center;
  padding: 20px 12px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.metric:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
body.dark-mode .metric {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .metric:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.metric-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 12px;
  color: var(--metrics-label);
  line-height: 1.4;
}

.metric-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 136, 255, 0.1);
  border: 1px solid rgba(0, 136, 255, 0.2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-blue);
  white-space: nowrap;
  margin-bottom: 12px;
}

/* ========================================
   PROBLEM SECTION (STAT CARDS)
   ======================================== */

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-card {
  padding: 32px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--color-blue);
  box-shadow: 0 12px 24px rgba(0, 136, 255, 0.1);
  transform: translateY(-4px);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.stat-icon svg {
  width: 32px;
  height: 32px;
}

.stat-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.stat-card p {
  font-size: 16px;
  color: var(--color-text-secondary);
}

.stat-bar {
  height: 6px;
  background: #FEE2E2;
  border-radius: 3px;
  overflow: hidden;
}

.stat-bar > div {
  height: 100%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.product-card {
  padding: 28px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.product-card:hover {
  border-color: var(--color-blue);
  box-shadow: 0 12px 24px rgba(0, 136, 255, 0.1);
  transform: translateY(-4px);
}

.product-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.product-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.link-arrow {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.link-arrow:hover {
  gap: 8px;
  color: var(--color-blue);
}

/* ========================================
   DIFFERENTIATOR SECTION
   ======================================== */

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

.diff-point {
  padding: 32px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all var(--transition-base);
  text-align: center;
}

.diff-point:hover {
  border-color: var(--color-blue);
  box-shadow: 0 12px 24px rgba(0, 136, 255, 0.1);
  transform: translateY(-4px);
}

.diff-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-icon svg {
  width: 32px;
  height: 32px;
}

.diff-point h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.diff-point p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ========================================
   CASE STUDIES SECTION
   ======================================== */

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-study {
  padding: 28px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.case-study:hover {
  border-color: var(--color-blue);
  box-shadow: 0 12px 24px rgba(0, 136, 255, 0.1);
  transform: translateY(-4px);
}

.case-study-metric {
  margin-bottom: 16px;
}

.case-study h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.case-study-excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
  flex: 1;
  margin-bottom: 16px;
}

.case-study-footer {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  font-size: 13px;
}

.case-study-org {
  color: var(--color-text-secondary);
  font-weight: 600;
}

/* ========================================
   AUDIENCE SECTION
   ======================================== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.audience-card {
  padding: 28px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
  transition: all var(--transition-base);
}

.audience-card:hover {
  border-color: var(--color-blue);
  box-shadow: 0 12px 24px rgba(0, 136, 255, 0.1);
  transform: translateY(-4px);
}

.audience-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-icon svg {
  width: 32px;
  height: 32px;
}

.audience-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.audience-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.audience-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.audience-link:hover {
  gap: 8px;
  color: var(--color-cyan);
}

/* ========================================
   TECHNOLOGY SECTION
   ======================================== */

.tech-section {
  background: var(--color-bg-primary);
}

.tech-intro {
  margin-bottom: 80px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.arch-diagram {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 136, 255, 0.05), rgba(0, 180, 216, 0.05));
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
}

.arch-layer {
  padding: 20px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.arch-layer:hover {
  border-color: var(--color-blue);
  box-shadow: 0 4px 12px rgba(0, 136, 255, 0.1);
}

.tech-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tech-fact {
  padding: 16px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tech-fact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 136, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech-fact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-blue);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
  background: var(--color-bg-primary);
}

.faq-intro {
  text-align: center;
  margin-bottom: 60px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-blue);
  box-shadow: 0 4px 12px rgba(0, 136, 255, 0.1);
}

.faq-item.active {
  border-color: var(--color-blue);
  box-shadow: 0 4px 12px rgba(0, 136, 255, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

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

.faq-chevron {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  padding: 0 20px;
}

.faq-answer-inner {
  padding: 20px 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: white;
  padding: 100px 0;
  border-radius: 0;
  margin: 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-contact {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.cta-badge {
  padding: 8px 16px;
  background: rgba(0, 136, 255, 0.1);
  border: 1px solid rgba(0, 136, 255, 0.2);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   INNER PAGE HERO
   ======================================== */

.inner-hero {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, #e8f4ff 0%, #f0f7ff 100%);
  color: var(--inner-hero-text);
  text-align: center;
  position: relative;
}

/* Center overline inside inner-hero (same treatment as .section-header) */
.inner-hero .section-overline {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.inner-hero .section-overline::before {
  background: linear-gradient(90deg, transparent, var(--color-blue));
}

.inner-hero .section-overline::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--color-blue), transparent);
}

/* Also center on ROI hero */
.roi-hero .section-overline {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.roi-hero .section-overline::before {
  background: linear-gradient(90deg, transparent, var(--color-blue));
}

.roi-hero .section-overline::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--color-blue), transparent);
}

body.dark-mode .inner-hero {
  background: linear-gradient(135deg, #06090F 0%, #0C1220 100%);
}

.inner-hero h1 {
  color: var(--inner-hero-text);
  margin-bottom: 16px;
}

.inner-hero-sub {
  font-size: 20px;
  color: var(--inner-hero-sub);
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.7;
}

/* ========================================
   INNER PAGE COMPONENTS
   ======================================== */

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  border-color: rgba(0, 136, 255, 0.25);
  box-shadow: 0 16px 40px rgba(0, 136, 255, 0.09);
  transform: translateY(-5px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,136,255,0.12), rgba(0,180,216,0.08));
  border: 1px solid rgba(0,136,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(0,136,255,0.2), rgba(0,180,216,0.15));
  border-color: rgba(0,136,255,0.3);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-blue);
  stroke: var(--color-blue);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ===== BENEFITS GRID ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.benefit {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.benefit:hover {
  border-color: rgba(0, 136, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 136, 255, 0.08);
  transform: translateY(-3px);
}

.benefit-number {
  /* Pill shape — not circle — so long values like 99.5% never overflow */
  min-width: 72px;
  height: 44px;
  padding: 0 12px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.3px;
  box-shadow: 0 4px 14px rgba(0,136,255,0.35);
}

.benefit h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-primary);
}

.benefit p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: rgba(255,255,255,0.25);
  font-size: 20px;
  margin-top: -8px;
}

.process-step {
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.process-step:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,136,255,0.35);
  transform: translateY(-4px);
}

.process-step:first-child {
  border-color: rgba(0,136,255,0.4);
  background: rgba(0,136,255,0.07);
}

.step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(0,136,255,0.4);
}

.process-step h3,
.process-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  line-height: 1.35;
}

.process-step p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ========================================
   PRODUCT PAGE — PREMIUM ENHANCEMENTS
   ======================================== */

/* Trust badges strip */
.trust-strip {
  padding: 28px 0;
  background: linear-gradient(180deg, #F0F7FF 0%, #FFFFFF 100%);
  border-bottom: 1px solid rgba(0,136,255,0.08);
}

.trust-strip-inner {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border-radius: 40px;
  border: 1px solid rgba(0,136,255,0.15);
  box-shadow: 0 2px 8px rgba(0,136,255,0.07);
  font-size: 13px;
  font-weight: 600;
  color: #06090F;
  transition: all 0.2s ease;
}

.trust-badge-pill:hover {
  border-color: rgba(0,136,255,0.35);
  box-shadow: 0 4px 16px rgba(0,136,255,0.12);
  transform: translateY(-1px);
}

.trust-badge-pill svg {
  color: var(--color-blue);
  flex-shrink: 0;
}

body.dark-mode .trust-strip {
  background: linear-gradient(180deg, rgba(0,136,255,0.06) 0%, transparent 100%);
  border-color: rgba(0,136,255,0.1);
}

body.dark-mode .trust-badge-pill {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

/* AI Spotlight / Demo Visual Block */
.product-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.product-spotlight-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.product-spotlight-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.product-spotlight-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.product-spotlight-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.product-spotlight-points li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* AI demo screen mockup */
.product-visual-card {
  background: linear-gradient(135deg, #06090F 0%, #0C1220 100%);
  border: 1px solid rgba(0,136,255,0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,136,255,0.05) inset;
  position: relative;
}

.product-visual-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,136,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.product-visual-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.product-visual-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.product-visual-dot:nth-child(1) { background: #FF5F57; }
.product-visual-dot:nth-child(2) { background: #FFBD2E; }
.product-visual-dot:nth-child(3) { background: #28CA41; }

.product-visual-title {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
  font-family: var(--font-heading);
}

.product-visual-body {
  padding: 24px;
}

.ai-processing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.ai-processing-row.highlight {
  background: rgba(0,136,255,0.1);
  border-color: rgba(0,136,255,0.25);
}

.ai-processing-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,136,255,0.25), rgba(0,180,216,0.15));
  flex-shrink: 0;
}

.ai-processing-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}

.ai-processing-value {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.ai-confidence-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  margin-top: 6px;
  overflow: hidden;
  position: relative;
}

.ai-confidence-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  animation: confidence-grow 1.5s ease-out forwards;
}

@keyframes confidence-grow {
  from { width: 0; }
}

/* Metric highlight boxes within product pages */
.product-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 60px 0;
}

.product-metric {
  text-align: center;
  padding: 28px 16px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-metric::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-metric:hover::after {
  transform: scaleX(1);
}

.product-metric:hover {
  border-color: rgba(0,136,255,0.2);
  box-shadow: 0 8px 24px rgba(0,136,255,0.08);
  transform: translateY(-2px);
}

.product-metric-value {
  font-size: 38px;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.product-metric-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.product-metric-sub {
  font-size: 11px;
  color: var(--color-text-secondary);
}

/* Specialty pills for integration section */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.integration-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  transition: all 0.25s ease;
  cursor: default;
}

.integration-card:hover {
  border-color: rgba(0,136,255,0.3);
  box-shadow: 0 8px 24px rgba(0,136,255,0.09);
  transform: translateY(-3px);
}

.integration-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.integration-card-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #10B981;
}

.integration-card-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16,185,129,0.5);
  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.8); }
}

/* Testimonial / quote block */
.product-quote {
  background: linear-gradient(135deg, rgba(0,136,255,0.05), rgba(0,180,216,0.04));
  border: 1px solid rgba(0,136,255,0.12);
  border-left: 4px solid var(--color-blue);
  border-radius: 16px;
  padding: 36px 40px;
  margin: 48px 0;
  position: relative;
}

.product-quote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 32px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--color-blue);
  opacity: 0.2;
  line-height: 1;
}

.product-quote-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-primary);
  font-style: italic;
  margin-bottom: 20px;
}

.product-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: white;
  flex-shrink: 0;
}

.product-quote-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.product-quote-title {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* ========================================
   LEGAL & BLOG PAGES
   ======================================== */

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.legal-content p {
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}

.legal-content .legal-contact-card {
  background: linear-gradient(135deg, rgba(0,136,255,0.05), rgba(0,180,216,0.05));
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(0,136,255,0.1);
  margin-top: 20px;
}

body.dark-mode .legal-content .legal-contact-card {
  background: linear-gradient(135deg, rgba(0,136,255,0.08), rgba(0,180,216,0.06));
  border-color: rgba(0,136,255,0.2);
}

.legal-date {
  color: var(--color-gray-400);
  font-size: 14px;
}

/* Blog Grid */
/* ========================================
   BLOG LISTING PAGE
   ======================================== */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

/* Featured first post spans full width */
.blog-grid .blog-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-grid .blog-card:first-child .blog-card-image {
  height: 100%;
  min-height: 280px;
}

.blog-card {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(0, 136, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0, 136, 255, 0.08);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0057CC 0%, #0088FF 50%, #00B4D8 100%);
  flex-shrink: 0;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0057CC 0%, #0088FF 50%, #00B4D8 100%);
}

.blog-card-image-placeholder svg {
  opacity: 0.25;
}

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.blog-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}

.blog-card-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--color-text-secondary);
  border-radius: 50%;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title a:hover {
  color: var(--color-blue);
}

.blog-grid .blog-card:first-child .blog-card-title {
  font-size: 24px;
}

.blog-card-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.blog-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0088FF, #00B4D8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.blog-card-author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.blog-card-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.blog-card-read-more:hover {
  gap: 8px;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-sidebar-widget {
  padding: 28px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.blog-sidebar-widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-blue);
  display: inline-block;
}

.blog-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  transition: all 0.2s ease;
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.1);
}

.blog-category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.blog-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  color: var(--color-text-primary);
  transition: all 0.2s ease;
}

.blog-category-item:hover {
  background: rgba(0, 136, 255, 0.06);
  color: var(--color-blue);
}

.blog-category-count {
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 136, 255, 0.1);
  color: var(--color-blue);
  padding: 2px 8px;
  border-radius: 10px;
}

.blog-newsletter-widget {
  background: linear-gradient(135deg, #06090F 0%, #0C1220 100%);
  border: 1px solid rgba(0, 136, 255, 0.2);
  border-radius: 16px;
  padding: 28px;
}

.blog-newsletter-widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.blog-newsletter-widget p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-newsletter-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-body);
  color: #fff;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.blog-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.blog-newsletter-input:focus {
  outline: none;
  border-color: var(--color-blue);
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.blog-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
}

.blog-pagination-btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.blog-pagination-btn.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

/* ========================================
   BLOG SINGLE POST PAGE
   ======================================== */

.blog-single-hero {
  background: linear-gradient(160deg, #F0F6FF 0%, #FFFFFF 60%);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--color-border);
}

body.dark-mode .blog-single-hero {
  background: linear-gradient(160deg, #06090F 0%, #0C1220 60%);
}

.blog-single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.blog-single-breadcrumb a {
  color: var(--color-blue);
  text-decoration: none;
}

.blog-single-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-single-category {
  display: inline-block;
  background: rgba(0, 136, 255, 0.1);
  color: var(--color-blue);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.blog-single-title {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  max-width: 780px;
}

.blog-single-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
  flex-wrap: wrap;
}

.blog-single-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-single-meta svg {
  opacity: 0.6;
  flex-shrink: 0;
}

.blog-single-meta-divider {
  width: 1px;
  height: 14px;
  background: var(--color-border);
}

/* Article layout */
.blog-article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
  padding-top: 56px;
}

/* Table of Contents */
.blog-toc {
  position: sticky;
  top: 110px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
}

.blog-toc-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.blog-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-toc-item a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--color-text-secondary);
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.blog-toc-item a:hover,
.blog-toc-item a.active {
  color: var(--color-blue);
  background: rgba(0, 136, 255, 0.06);
  border-left-color: var(--color-blue);
}

.blog-toc-item.toc-h3 a {
  padding-left: 22px;
  font-size: 12px;
}

/* Article body */
.blog-article-body {
  min-width: 0;
}

.blog-featured-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0057CC 0%, #0088FF 50%, #00B4D8 100%);
  position: relative;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

/* Article content typography */
.blog-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--color-text-secondary);
}

.blog-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 52px 0 20px;
  padding-top: 8px;
  line-height: 1.3;
}

.blog-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 36px 0 16px;
  line-height: 1.4;
}

.blog-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 28px 0 12px;
}

.blog-content p {
  margin-bottom: 24px;
}

.blog-content ul,
.blog-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.blog-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.blog-content strong {
  color: var(--color-text-primary);
  font-weight: 700;
}

.blog-content a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-content blockquote {
  border-left: 4px solid var(--color-blue);
  margin: 36px 0;
  padding: 20px 28px;
  background: rgba(0, 136, 255, 0.05);
  border-radius: 0 12px 12px 0;
  font-size: 18px;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.7;
}

.blog-content blockquote cite {
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-top: 12px;
}

/* Callout / Highlight boxes */
.blog-callout {
  border-radius: 12px;
  padding: 24px 28px;
  margin: 36px 0;
  border: 1px solid;
}

.blog-callout-info {
  background: rgba(0, 136, 255, 0.06);
  border-color: rgba(0, 136, 255, 0.2);
}

.blog-callout-warning {
  background: rgba(255, 165, 0, 0.06);
  border-color: rgba(255, 165, 0, 0.25);
}

.blog-callout-success {
  background: rgba(0, 200, 100, 0.06);
  border-color: rgba(0, 200, 100, 0.2);
}

.blog-callout-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-callout-info .blog-callout-title { color: var(--color-blue); }
.blog-callout-warning .blog-callout-title { color: #E6890A; }
.blog-callout-success .blog-callout-title { color: #00A86B; }

.blog-callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* Stats / data pull-out boxes */
.blog-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.blog-stat-box {
  text-align: center;
  padding: 28px 20px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.blog-stat-box-value {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-blue);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}

.blog-stat-box-label {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

/* Article table styles */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0;
  font-size: 15px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.blog-content thead th {
  background: var(--color-navy);
  color: #fff;
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content tbody tr:nth-child(even) {
  background: rgba(0, 136, 255, 0.03);
}

.blog-content tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  vertical-align: top;
}

/* Author box */
.blog-author-box {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  margin-top: 56px;
  margin-bottom: 40px;
}

.blog-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0088FF, #00B4D8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.blog-author-info h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.blog-author-info .blog-author-role {
  font-size: 13px;
  color: var(--color-blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-author-info p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Share bar */
.blog-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.blog-share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  cursor: pointer;
  font-family: inherit;
}

.blog-share-btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.blog-share-btn-copy:hover {
  background: rgba(0, 136, 255, 0.06);
}

/* Tags */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.blog-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-tag:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

/* Related posts */
.blog-related-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
}

body.dark-mode .blog-related-section {
  background: var(--color-bg-secondary);
}

.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ========================================
   BLOG RESPONSIVE
   ======================================== */

@media (max-width: 1023px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-newsletter-widget {
    grid-column: 1 / -1;
  }

  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-toc {
    position: static;
    margin-bottom: 0;
  }

  .blog-grid .blog-card:first-child {
    grid-template-columns: 1fr;
  }

  .blog-grid .blog-card:first-child .blog-card-image {
    height: 220px;
  }

  .blog-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .blog-grid .blog-card:first-child {
    grid-column: 1;
  }

  .blog-single-title {
    font-size: 28px;
  }

  .blog-stat-row {
    grid-template-columns: 1fr;
  }

  .blog-author-box {
    flex-direction: column;
    gap: 16px;
  }

  .blog-related-grid {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-content h2 {
    font-size: 22px;
  }

  .blog-content h3 {
    font-size: 18px;
  }
}

/* Responsive 2-column grid utility */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.grid-2-col-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 767px) {
  .grid-2-col,
  .grid-2-col-center {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.contact-form-card {
  padding: 40px;
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.1);
}

/* Error Page */
.error-page {
  text-align: center;
  padding: 100px 0;
}

/* Debug Section */
.debug-section {
  padding: 32px;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 32px 0;
  font-family: monospace;
  font-size: 12px;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background: var(--color-navy);
  color: white;
  padding-top: 80px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-blue);
  color: white;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  font-size: 13px;
}

.footer-legal a:hover {
  color: var(--color-blue);
}

/* ========================================
   TECHNOLOGY & SECURITY SECTION
   ======================================== */

.tech-security-section {
  overflow: hidden;
}

.tech-compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.tech-compliance-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.tech-compliance-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 136, 255, 0.3);
}

.tech-compliance-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 136, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.tech-compliance-icon svg {
  color: var(--color-blue);
  stroke: var(--color-blue);
}

.tech-compliance-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.tech-compliance-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.tech-compliance-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(0, 200, 150, 0.15);
  color: #00c896;
  border: 1px solid rgba(0, 200, 150, 0.25);
}

/* Architecture Stats Row */
.tech-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 40px;
  margin-bottom: 48px;
}

.tech-stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.tech-stat-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 4px;
}

.tech-stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.tech-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Tech Stack */
.tech-stack-section {
  text-align: center;
}

.tech-stack-heading {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
}

.tech-stack-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tech-stack-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tech-stack-item:hover {
  background: rgba(0, 136, 255, 0.08);
  border-color: rgba(0, 136, 255, 0.2);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1200px) {
  :root {
    --section-padding: 80px;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .differentiator-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    gap: 48px;
  }

  .mega-menu {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1023px) {
  :root {
    --section-padding: 80px;
  }

  .hamburger {
    display: flex;
  }

  nav {
    display: none;
  }

  .nav-phone {
    display: none !important;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 380px;
    margin: 20px auto 0;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differentiator-grid {
    grid-template-columns: 1fr;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .tech-compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-stats-row {
    padding: 24px 20px;
  }

  .tech-stat-value {
    font-size: 22px;
  }

  /* 80/20 differentiator section override for tablet */
  [style*="grid-template-columns: 1fr 1fr"][style*="gap: 80px"] {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 60px;
    --container-padding: 20px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .inner-hero {
    padding: calc(var(--topbar-height) + var(--nav-height) + 40px) 0 48px;
  }

  .hero {
    padding-top: calc(var(--topbar-height) + var(--nav-height) + 40px);
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero-content {
    margin-bottom: 40px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-bar {
    gap: 4px;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .trust-badge {
    font-size: 9px;
    padding: 4px 7px;
    gap: 3px;
    white-space: nowrap;
  }
  .trust-badge svg {
    width: 10px;
    height: 10px;
  }

  .hero-visual {
    max-width: 280px;
    margin: 0 auto;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .metric {
    padding: 14px 10px;
    border-radius: 10px;
  }

  .metric-value {
    font-size: 22px;
  }

  .metric-label {
    font-size: 11px;
    line-height: 1.3;
  }

  .problem-stats {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-card {
    padding: 24px;
  }

  .product-card {
    padding: 20px;
  }

  .case-study {
    padding: 20px;
  }

  .tech-compliance-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tech-compliance-card {
    padding: 24px 20px;
  }

  .tech-stats-row {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .tech-stat-divider {
    width: 60px;
    height: 1px;
  }

  .tech-stat {
    padding: 0;
  }

  .tech-stack-grid {
    gap: 10px;
  }

  .tech-stack-item {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* 80/20 differentiator section — override inline grid */
  [style*="grid-template-columns: 1fr 1fr"][style*="gap: 80px"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Service page inner-hero content */
  .inner-hero .container {
    padding: 0 16px;
  }
  .inner-hero h1 {
    font-size: 1.6rem !important;
    line-height: 1.3;
  }
  .inner-hero p {
    font-size: 0.95rem;
  }

  /* Product cards on homepage */
  .products-grid {
    gap: 16px;
  }
  .product-card {
    padding: 24px 20px;
  }

  /* Case studies */
  .case-studies-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Audience cards */
  .audience-card {
    padding: 24px 20px;
  }

  /* Tech section */
  .tech-compliance-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  .tech-stats-row {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }
  .tech-stat-divider {
    display: none;
  }
  .tech-stack-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
  }

  /* FAQ */
  .faq-container {
    padding: 0 8px;
  }
  .faq-question {
    font-size: 14px;
    padding: 16px 12px;
  }
  .faq-answer p {
    font-size: 14px;
    padding: 0 12px 16px;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 1.5rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }

  /* CTA section */
  .cta-section h2 {
    font-size: 1.4rem !important;
  }

  /* Problem stats */
  .problem-stats .stat-card {
    padding: 24px 20px;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
    text-align: center;
  }

  /* Differentiator grid */
  .differentiator-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .vlms-demo-bar {
    height: var(--topbar-height);
    padding: 0 12px;
    gap: 8px;
    font-size: 10px;
  }

  .vlms-demo-text {
    display: none;
  }

  .vlms-demo-divider {
    display: none;
  }

  .vlms-demo-right a {
    font-size: 10px;
  }

  .vlms-demo-right {
    gap: 8px;
  }

  .dark-mode-toggle {
    width: 28px;
    height: 28px;
  }

  .vlms-demo-left {
    width: auto;
    flex-wrap: nowrap;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .logo-img {
    height: 28px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .differentiator-grid {
    grid-template-columns: 1fr;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --nav-height: 56px;
    --container-padding: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding-top: calc(var(--topbar-height) + var(--nav-height) + 30px);
    padding-bottom: 30px;
  }

  .inner-hero {
    padding: 120px 0 60px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .hero-sub {
    font-size: 13px;
  }

  .metric-value {
    font-size: 20px;
  }

  .stat-card {
    padding: 16px;
  }

  .product-card {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-contact {
    flex-direction: column;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Dark mode specific adjustments */
body.dark-mode {
  background: var(--color-bg-primary);
}

body.dark-mode .stat-card,
body.dark-mode .product-card,
body.dark-mode .feature-card,
body.dark-mode .benefit,
body.dark-mode .process-step,
body.dark-mode .case-study,
body.dark-mode .audience-card,
body.dark-mode .diff-point,
body.dark-mode .arch-layer,
body.dark-mode .tech-fact,
body.dark-mode .faq-item,
body.dark-mode .blog-card,
body.dark-mode .contact-form-card,
body.dark-mode .blog-sidebar {
  background: var(--color-bg-secondary);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .contact-form-card input,
body.dark-mode .contact-form-card textarea {
  background: var(--color-bg-secondary);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-primary);
}

body.dark-mode .site-footer {
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .tech-section,
body.dark-mode .faq-section {
  background: var(--color-bg-primary);
}

body.dark-mode .hero-content h1 {
  color: #fff;
}

body.dark-mode .mobile-nav {
  background: var(--color-bg-primary);
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .mobile-nav a {
  color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .mega-menu {
  background: var(--color-bg-secondary);
  border-color: rgba(0, 136, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .debug-section {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

/* Override ALL inline color: #06090F in dark mode */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: var(--color-text-primary) !important;
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode label,
body.dark-mode td,
body.dark-mode th {
  color: var(--color-text-secondary) !important;
}

body.dark-mode a {
  color: var(--color-blue) !important;
}

body.dark-mode a:hover {
  color: var(--color-cyan) !important;
}

/* Preserve white text in always-dark sections */
body.dark-mode .cta-section h2,
body.dark-mode .cta-section h3,
body.dark-mode .cta-section p,
body.dark-mode .cta-section span,
body.dark-mode .section-dark h2,
body.dark-mode .section-dark h3,
body.dark-mode .section-dark h4,
body.dark-mode .section-dark p,
body.dark-mode .section-dark span,
body.dark-mode .site-footer h4,
body.dark-mode .site-footer p,
body.dark-mode .site-footer span,
body.dark-mode .site-footer a,
body.dark-mode .vlms-demo-bar span,
body.dark-mode .vlms-demo-bar a,
body.dark-mode .metrics-banner span,
body.dark-mode .metrics-banner p,
body.dark-mode .btn-primary span,
body.dark-mode .nav-cta {
  color: inherit !important;
}

/* Dark mode form inputs */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background: var(--color-bg-secondary) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--color-text-primary) !important;
}

body.dark-mode .blog-card,
body.dark-mode .pagination a,
body.dark-mode .pagination button {
  background: var(--color-bg-secondary) !important;
  color: var(--color-text-primary) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Inner hero text must stay readable in dark mode */
body.dark-mode .inner-hero h1,
body.dark-mode .inner-hero p {
  color: #fff !important;
}

body.dark-mode .inner-hero-sub {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* ========================================
   PRODUCT SPOTLIGHT — RESPONSIVE
   ======================================== */

@media (max-width: 1023px) {
  .product-spotlight {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .product-metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-metric-value {
    font-size: 28px;
  }

  .trust-strip-inner {
    gap: 8px;
  }

  .trust-badge-pill {
    font-size: 12px;
    padding: 8px 14px;
  }

  .product-visual-card {
    display: none; /* hide on small screens — content takes priority */
  }

  .product-quote {
    padding: 24px 20px;
  }

  .product-quote::before {
    font-size: 50px;
  }
}

@media (max-width: 480px) {
  .product-metrics-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Liquid gradient heading on inner hero — needs position relative for ::after shimmer */
.inner-hero h1.liquid-gradient {
  position: relative;
  display: inline-block;
}

/* Dark mode product visual — slightly lighter background */
body.dark-mode .product-visual-card {
  border-color: rgba(0,136,255,0.25);
}

body.dark-mode .product-metric {
  background: var(--color-bg-secondary);
  border-color: rgba(255,255,255,0.06);
}

body.dark-mode .trust-badge-pill {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}

body.dark-mode .product-quote {
  background: rgba(0,136,255,0.05);
  border-color: rgba(0,136,255,0.15);
  border-left-color: var(--color-blue);
}

body.dark-mode .product-quote-text {
  color: rgba(255,255,255,0.85);
}

body.dark-mode .integration-card {
  background: var(--color-bg-secondary);
  border-color: rgba(255,255,255,0.07);
}

body.dark-mode .trust-strip {
  background: linear-gradient(180deg, rgba(0,136,255,0.06) 0%, transparent 100%);
}

/* ========================================
   CASE STUDIES PAGE
   ======================================== */

.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.case-study-highlight {
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.case-study-highlight p {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.case-study-placeholder {
  opacity: 0.15;
  padding: 60px;
  border-radius: 16px;
  min-height: 400px;
}

.case-study-results {
  background: linear-gradient(135deg, rgba(0,136,255,0.05), rgba(0,180,216,0.05));
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(0,136,255,0.1);
}

.case-study-results h3 {
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  font-size: 16px;
}

.stat-big {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 4px;
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: 14px;
}

.case-study-challenge h3,
.case-study-solution h3 {
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  font-size: 16px;
}

.case-study-challenge ul {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-left: 20px;
}

.case-study-text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

body.dark-mode .case-study-results {
  background: linear-gradient(135deg, rgba(0,136,255,0.08), rgba(0,180,216,0.06));
  border-color: rgba(0,136,255,0.2);
}

/* ========================================
   ABOUT PAGE — UTILITY CLASSES
   ======================================== */

.about-stat-card {
  background: linear-gradient(135deg, rgba(0,136,255,0.1), rgba(0,180,216,0.1));
  padding: 60px 40px;
  border-radius: 16px;
  border: 1px solid rgba(0,136,255,0.2);
  text-align: center;
}

.about-stat-card .big-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 16px;
  line-height: 1;
}

.about-stat-card .big-label {
  color: var(--color-text-secondary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-stat-card .big-sub {
  color: var(--color-gray-400);
  font-size: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: center;
}

.team-avatar {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #0088FF, #00B4D8);
  border-radius: 50%;
  margin: 0 auto 24px;
}

.team-member h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.team-member .role {
  color: var(--color-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-member .bio {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.value-card {
  padding: 40px;
  background: linear-gradient(135deg, rgba(0,136,255,0.05), rgba(0,180,216,0.05));
  border-radius: 12px;
  border: 1px solid rgba(0,136,255,0.1);
}

.value-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
}

.value-card p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

body.dark-mode .about-stat-card {
  background: linear-gradient(135deg, rgba(0,136,255,0.08), rgba(0,180,216,0.06));
  border-color: rgba(0,136,255,0.25);
}

body.dark-mode .value-card {
  background: linear-gradient(135deg, rgba(0,136,255,0.06), rgba(0,180,216,0.04));
  border-color: rgba(0,136,255,0.15);
}

body.dark-mode .team-avatar {
  opacity: 0.85;
}

/* ========================================
   GENERAL TEXT UTILITY CLASSES
   ======================================== */

.text-body-lg {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.text-body {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 32px; }
.mb-xl { margin-bottom: 80px; }

/* ========================================
   RESPONSIVE FIXES — TABLET (768-1023px)
   ======================================== */

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 80px 0;
  }

  .grid-2-col-center {
    gap: 40px;
  }

  .grid-2-col {
    gap: 32px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differentiator-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat-card .big-number {
    font-size: 48px;
  }

  h1 {
    font-size: clamp(24px, 3.5vw, 36px);
  }

  h2 {
    font-size: clamp(20px, 2.8vw, 28px);
  }
}

/* ========================================
   RESPONSIVE FIXES — MOBILE (≤767px)
   ======================================== */

@media (max-width: 767px) {
  .case-study-placeholder {
    display: none;
  }

  .case-studies-list {
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-avatar {
    width: 100px;
    height: 100px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-card {
    padding: 24px;
  }

  .about-stat-card {
    padding: 32px 24px;
  }

  .about-stat-card .big-number {
    font-size: 40px;
  }

  .stat-big {
    font-size: 22px;
  }
}

/* ========================================
   DARK MODE — HARD-CODED COLOR OVERRIDES
   ======================================== */

body.dark-mode h2,
body.dark-mode h3 {
  color: var(--color-text-primary);
}

body.dark-mode .text-body-lg,
body.dark-mode .text-body,
body.dark-mode .case-study-text,
body.dark-mode .case-study-challenge ul {
  color: var(--color-text-secondary);
}

body.dark-mode .case-study-challenge h3,
body.dark-mode .case-study-solution h3 {
  color: var(--color-text-primary);
}

/* ========================================
   TOAST NOTIFICATION (replaces alert())
   ======================================== */

.toast-container {
  position: fixed;
  top: calc(var(--topbar-height) + var(--nav-height) + 16px);
  right: 16px;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  max-width: 400px;
  font-size: 14px;
  color: var(--color-text-primary);
  pointer-events: auto;
  animation: toastIn 0.3s ease forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.toast-success {
  border-left: 4px solid var(--color-green);
}

.toast.toast-error {
  border-left: 4px solid #EF4444;
}

.toast.toast-out {
  opacity: 0;
  transform: translateX(100%);
}

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}


/* ========================================
   MOTION SYSTEM — page loader, texture, progress bar,
   magnetic buttons. Shared across every front-end page
   AND /admin (both load this stylesheet for its tokens).
   ======================================== */

/* ---- Page loader: OnPoint mark spinning, brand navy ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-navy, #06090F);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 550ms cubic-bezier(0.16, 1, 0.3, 1), visibility 550ms;
}
.page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-ring {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-loader-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: loaderSpin 1.6s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.page-loader-ring svg circle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 40;
}
.page-loader-ring .loader-track { stroke: rgba(255,255,255,0.08); }
.page-loader-ring .loader-arc { stroke: url(#loaderGrad); }
.page-loader-mark { width: 30px; height: 30px; opacity: 0; animation: loaderMarkIn 600ms cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards, loaderPulse 1.8s ease-in-out 900ms infinite; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderMarkIn { from { opacity: 0; transform: scale(0.7); } to { opacity: 1; transform: scale(1); } }
@keyframes loaderPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) {
  .page-loader-ring svg { animation: none; }
  .page-loader-mark { animation: loaderMarkIn 1ms forwards; }
}

/* ---- Grain / texture overlay — fixed, pointer-events:none, never on scrolling containers ---- */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}
body.dark-mode .grain-overlay, .admin-body .grain-overlay { opacity: 0.045; mix-blend-mode: soft-light; }

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-blue, #0088FF), var(--color-cyan, #00B4D8));
  z-index: var(--z-topbar, 10001);
  transition: width 80ms linear;
  box-shadow: 0 0 8px rgba(0,136,255,0.5);
}

/* ---- Magnetic buttons: JS sets --mx/--my; CSS does the spring-back transform ---- */
.magnetic {
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
  transform: translate(var(--mx, 0), var(--my, 0));
}
.magnetic:active { transform: translate(var(--mx, 0), var(--my, 0)) scale(0.96); }

/* ---- Generic reveal-on-scroll (reused by admin.js via the same .anim/.v pair) ---- */
@media (prefers-reduced-motion: reduce) {
  .anim { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Card lift utility (used by admin panels/cards; front-end cards already have bespoke hover) ---- */
.lift-hover { transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease, border-color 320ms ease; }
.lift-hover:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6,9,15,0.08); }

/* ---- Auto-reveal: JS-applied fallback for sections that don't hand-place .anim ---- */
.auto-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}
.auto-reveal.v { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .auto-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
