/* ═══════════════════════════════════════════════════════════
   Relantern — Design System & Styles
   "Powering People & Assets for Excellence"
   Light Theme — Professional Enterprise Aesthetic
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@500;600&display=swap');

/* ── 1. CSS Custom Properties (Design Tokens) ── */
:root {
  /* Brand Palette — Relantern Slate Shell */
  --brand-950: #020617;
  --brand-900: #0f172a;
  --brand-800: #1e293b;
  --brand-700: #334155;
  --brand-600: #475569;
  --brand-500: #64748b;
  --brand-400: #94a3b8;
  --brand-300: #cbd5e1;
  --brand-200: #e2e8f0;
  --brand-100: #f1f5f9;
  --brand-50:  #f8fafc;

  /* Relantern Signature Gold */
  --gold-700: #B47D15;
  --gold-600: #D4951A;
  --gold-500: #F5A623;
  --gold-400: #F7B84E;
  --gold-300: #FACB79;
  --gold-200: #FDE4B3;
  --gold-100: #FEF3DB;
  --gold-50:  #FFFBF0;

  /* Accents */
  --accent-blue:  #3b82f6;
  --accent-cyan:  #06b6d4;
  --accent-red:   #ef4444;
  --accent-amber: #f59e0b;
  --accent-green: #10b981;
  --accent-purple:#8b5cf6;

  /* Semantic — Light Theme */
  --text-primary:   #0f172a;
  --text-secondary:  #475569;
  --text-muted:      #64748b;
  --text-dark:       #0f172a;
  --text-dark-secondary: #475569;
  --text-on-dark:    #f1f5f9;
  --text-on-dark-secondary: #94a3b8;
  --text-on-dark-muted: #64748b;

  --surface-body:    #ffffff;
  --surface-alt:     #f8fafc;
  --surface-card:    #ffffff;
  --surface-dark:    #0f172a;
  --surface-darker:  #020617;
  --surface-light:   #ffffff;
  --surface-light-alt:#f8fafc;

  --border-default:  #e2e8f0;
  --border-dark:     #334155;
  --border-light:    #e2e8f0;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;
  --nav-height: 72px;

  /* Borders */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows — lighter for light theme */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 10px 25px -5px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.06);
  --shadow-glow: 0 0 30px rgba(245,166,35,0.1);
  --shadow-glow-strong: 0 0 60px rgba(245,166,35,0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--surface-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-700);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
a:hover {
  color: var(--gold-600);
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── 3. Accessibility ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--gold-500);
  color: var(--brand-950);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 10000;
  transition: top var(--duration-fast) ease;
}
.skip-link:focus {
  top: var(--space-md);
}

*:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

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

/* ── 4. Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.375rem); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-700);
  margin-bottom: var(--space-md);
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold-600);
  border-radius: 1px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

/* ── 5. Layout ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--space-4xl) 0;
  position: relative;
}

/* Light theme: sections alternate white and light gray */
.section-dark {
  background: var(--surface-body);
  color: var(--text-primary);
}

.section-darker {
  background: var(--surface-alt);
  color: var(--text-primary);
}

.section-light {
  background: var(--surface-light);
  color: var(--text-dark);
}

.section-light .section-subtitle {
  color: var(--text-dark-secondary);
}

.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--text-dark);
}

/* Dark sections (hero, footer, specific dark blocks) */
.section-hero-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

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

.mx-auto { margin-left: auto; margin-right: auto; }

/* ── 6. Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--brand-950);
  box-shadow: 0 4px 14px rgba(245,166,35,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.35);
  color: var(--brand-950);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-default);
}
.btn-secondary:hover {
  border-color: var(--gold-600);
  color: var(--gold-700);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}
.btn-outline-dark:hover {
  border-color: var(--gold-600);
  color: var(--gold-700);
  background: var(--gold-50);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

/* ── 7. Navigation — Light Theme ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-default);
  transition: box-shadow var(--duration-normal) ease, background var(--duration-normal) ease;
}

.navbar.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.05), 0 4px 16px rgba(0,0,0,0.06);
  border-bottom-color: transparent;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  z-index: 1001;
}
.navbar-brand:hover {
  color: var(--text-primary);
}
.navbar-brand img {
  width: auto;
  height: 52px;
  object-fit: contain;
  transition: transform var(--duration-fast) ease;
}
.navbar-brand:hover img {
  transform: scale(1.02);
}
.navbar-brand span {
  display: none; /* Hidden because new transparent logo contains Relantern text built-in */
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) ease;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--gold-700);
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-600);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}
.navbar-nav a:hover::after,
.navbar-nav a.active::after {
  width: 100%;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  z-index: 1001;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-800);
  border-radius: 1px;
  transition: all var(--duration-normal) var(--ease-out);
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: white;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: white;
}

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}
.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
}
.mobile-nav-overlay a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f1f5f9;
  padding: var(--space-sm) var(--space-lg);
  transition: color var(--duration-fast) ease;
}
.mobile-nav-overlay a:hover {
  color: var(--gold-400);
}

/* ── 8. Hero Section — Electric Blueprint ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-3xl);
  overflow: hidden;
  /* Vibrant cobalt blueprint gradient — MaintainX-grade */
  background: linear-gradient(160deg, #020a1e 0%, #041430 15%, #0a2a6e 40%, #0b3073 55%, #062050 75%, #030e22 100%);
  background-size: 300% 300%;
  animation: heroGradient 20s ease infinite;
}

@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
}

/* Layer 1: Glowing blueprint tech grid */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(0, 163, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 163, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: gridScroll 60s linear infinite;
  z-index: 1;
}

@keyframes gridScroll {
  0% { transform: translate(0, 0) rotate(-2deg); }
  100% { transform: translate(60px, 60px) rotate(-2deg); }
}

/* Layer 2: Shifting ambient glows — three organic radials */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 500px at 20% 30%, rgba(0, 120, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 600px at 80% 70%, rgba(6, 182, 212, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 60% 20%, rgba(245, 166, 35, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: ambientGlow 25s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes ambientGlow {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.7;
  }
  33% {
    transform: scale(1.1) translate(40px, -30px);
    opacity: 1;
  }
  66% {
    transform: scale(0.95) translate(-20px, 20px);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.05) translate(10px, -10px);
    opacity: 0.9;
  }
}

/* Extra ambient glow layer (div-based for 3rd stacking context) */
.hero-glow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-glow-layer::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  animation: glowDrift1 18s ease-in-out infinite alternate;
}
.hero-glow-layer::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -15%;
  left: -10%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  animation: glowDrift2 22s ease-in-out infinite alternate;
}

@keyframes glowDrift1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 40px) scale(1.2); }
  100% { transform: translate(30px, -20px) scale(0.9); }
}
@keyframes glowDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.15); }
  100% { transform: translate(-25px, 15px) scale(0.95); }
}

.hero-antigravity-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

/* Floating geometric shapes */
.hero-shape {
  position: absolute;
  border-radius: var(--radius-lg);
  opacity: 0.03;
  animation: heroFloat 24s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.hero-shape-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(6, 182, 212, 0.1));
  top: 5%;
  right: -120px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: 0s;
}
.hero-shape-2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.1));
  bottom: 15%;
  left: -100px;
  border-radius: 50%;
  animation-delay: -8s;
}
.hero-shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(59, 130, 246, 0.05));
  top: 55%;
  right: 15%;
  border-radius: 50%;
  animation-delay: -16s;
}

@keyframes heroFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(25px, -25px) rotate(3deg) scale(1.05); }
  50% { transform: translate(-10px, 20px) rotate(-2deg) scale(0.98); }
  75% { transform: translate(15px, -10px) rotate(1deg) scale(1.02); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: var(--space-xl);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #f1f5f9;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  line-height: 1.08;
  color: #ffffff;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .section-label {
  color: var(--gold-400);
}
.hero .section-label::before {
  background: var(--gold-400);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(203, 213, 225, 0.9);
  margin-bottom: var(--space-xl);
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero .btn-secondary {
  color: #f1f5f9;
  border-color: rgba(255,255,255,0.2);
}
.hero .btn-secondary:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

/* ── Hero Trust Badges ── */
.hero-trust-badges {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-xl);
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.9);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
}
.hero-trust-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-400);
  color: var(--gold-400);
  transform: translateY(-2px);
}
.hero-trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.hero-stats {
  display: none; /* Replaced by trust badges for cleaner layout */
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-bottom: var(--space-xs);
}

.hero-stat p {
  font-size: 0.8125rem;
  color: var(--brand-200);
  font-weight: 500;
}

/* ── Hero Visual (Right Side) — Layered 3D Mockup ── */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-visual-container {
  position: relative;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.8s var(--ease-out);
}

.hero-visual-container:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) scale(1.02);
}

.hero-visual-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-3xl); /* Push buttons safely below float cards and mockups */
  position: relative;
  z-index: 30;
}

/* Desktop browser screen */
.hero-screen {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 30px 60px -15px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 100px rgba(59, 130, 246, 0.1),
    0 0 40px rgba(245,166,35,0.05);
  position: relative;
  background: #0a1628;
}

.hero-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.9) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1;
  display: flex;
  align-items: center;
  padding-left: 14px;
}

.hero-screen::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840;
  z-index: 2;
}

.hero-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
}

/* ── CSS Smartphone Mockup ── */
.hero-phone-mockup {
  position: absolute;
  bottom: -30px;
  left: -50px;
  width: 160px;
  height: 310px;
  z-index: 20;
  animation: phoneFloat 7s ease-in-out infinite;
  animation-delay: -1s;
}

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

.phone-chassis {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1a2e 0%, #16162a 50%, #0d0d1a 100%);
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 60px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 10px 8px;
  position: relative;
  overflow: hidden;
}

/* Phone notch */
.phone-chassis::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 55px;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0a1628 0%, #0d1d35 100%);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Phone screen header */
.phone-header {
  padding: 14px 10px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-header-title {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.phone-header-badge {
  font-size: 0.4375rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Work order content in phone */
.phone-wo-content {
  flex: 1;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-wo-id {
  font-size: 0.625rem;
  color: rgba(148, 163, 184, 0.8);
  font-weight: 600;
}

.phone-wo-title {
  font-size: 0.5625rem;
  color: #e2e8f0;
  font-weight: 600;
  line-height: 1.3;
}

.phone-wo-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.phone-wo-tag {
  font-size: 0.4375rem;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.phone-wo-tag--crit {
  background: rgba(245, 166, 35, 0.2);
  color: var(--gold-400);
}
.phone-wo-tag--type {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

/* Checklist items */
.phone-checklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.phone-check-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 6px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  font-size: 0.4375rem;
  color: rgba(203, 213, 225, 0.8);
}

.phone-check-item .check-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.phone-check-item .check-circle.done {
  background: rgba(16, 185, 129, 0.3);
  border-color: #10b981;
  position: relative;
}
.phone-check-item .check-circle.done::after {
  content: '✓';
  position: absolute;
  top: -1px;
  left: 1px;
  font-size: 7px;
  color: #10b981;
}

/* Scanner bar animation */
.phone-scanner {
  position: relative;
  height: 36px;
  margin-top: auto;
  margin-bottom: 6px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-scanner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.15), transparent);
  animation: scanSweep 2.5s ease-in-out infinite;
}

.phone-scanner::after {
  content: 'SCAN ASSET';
  font-size: 0.5rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

@keyframes scanSweep {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Floating notification cards — expanded spread */
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.35),
    0 0 20px rgba(59, 130, 246, 0.05);
  z-index: 15;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-float-card--1 {
  top: -35px;
  right: -25px;
  animation-delay: 0s;
}

.hero-float-card--2 {
  top: 40%;
  left: -55px;
  animation-delay: -2s;
}

.hero-float-card--3 {
  bottom: -40px;
  right: 10%;
  animation-delay: -4s;
}

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

.hero-float-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-icon--green {
  background: rgba(16,185,129,0.15);
  color: #10b981;
}

.hero-float-icon--gold {
  background: rgba(245,166,35,0.15);
  color: var(--gold-400);
}

.hero-float-icon--blue {
  background: rgba(59,130,246,0.15);
  color: #3b82f6;
}

.hero-float-title {
  font-size: 0.6875rem;
  color: rgba(148, 163, 184, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 3px;
}

.hero-float-value {
  font-size: 0.8125rem;
  color: #f1f5f9;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

/* ── 9. About Section — Editorial Design ── */

/* --- Top Row: Narrative + Pillars --- */
.about-hero-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.about-narrative h2 {
  margin-bottom: var(--space-xl);
  line-height: 1.15;
}

.text-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* --- Pillar Cards --- */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.pillar-card {
  background: var(--surface-alt);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  position: relative;
  transition: all 0.35s var(--ease-out);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--pillar-accent, var(--gold-500));
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card--1 { --pillar-accent: var(--accent-blue); }
.pillar-card--2 { --pillar-accent: var(--gold-500); }
.pillar-card--3 { --pillar-accent: var(--accent-green); }

.pillar-card:hover {
  background: var(--surface-card);
  border-color: var(--pillar-accent);
  box-shadow:
    0 8px 24px -8px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  transform: translateX(4px);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pillar-accent, var(--gold-600));
  transition: all 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  background: var(--pillar-accent);
  color: white;
  border-color: var(--pillar-accent);
}

.pillar-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.pillar-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* --- Evidence Block: Stats + Quote --- */
.about-evidence {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.evidence-stats {
  display: flex;
  align-items: stretch;
  padding: var(--space-xl) var(--space-2xl);
  gap: 0;
}

.evidence-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) var(--space-lg);
}

.evidence-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  align-self: stretch;
  flex-shrink: 0;
}

.evidence-num {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #f1f5f9 20%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.evidence-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(148, 163, 184, 0.9);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
}

.evidence-cite {
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(100, 116, 139, 0.8);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.evidence-cite svg {
  width: 11px;
  height: 11px;
  opacity: 0.5;
  flex-shrink: 0;
}

/* Evidence Quote */
.evidence-quote {
  padding: var(--space-lg) var(--space-2xl) var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.evidence-quote blockquote {
  margin: 0;
  padding: 0;
}

.evidence-quote blockquote p {
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.75;
  color: rgba(203, 213, 225, 0.85);
  margin: 0 0 var(--space-md) 0;
  font-weight: 400;
  letter-spacing: 0.005em;
  max-width: 800px;
}

.evidence-quote-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.7);
  flex-wrap: wrap;
}

.evidence-quote-line {
  width: 16px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 1px;
  flex-shrink: 0;
}

.evidence-quote-tag {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(245, 166, 35, 0.1);
  color: var(--gold-400);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 166, 35, 0.15);
}

/* ── 10. Services Section ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent, var(--gold-300));
  box-shadow: var(--shadow-card-hover);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-card--reliability { --card-accent: var(--accent-blue); }
.service-card--audit { --card-accent: var(--accent-green); }
.service-card--eam { --card-accent: var(--gold-500); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}
.service-icon--reliability { background: rgba(59,130,246,0.08); color: var(--accent-blue); }
.service-icon--audit { background: rgba(16,185,129,0.08); color: var(--accent-green); }
.service-icon--eam { background: rgba(245,166,35,0.08); color: var(--gold-600); }

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card > p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.service-features {
  margin-bottom: var(--space-xl);
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-default);
}
.service-features li:last-child {
  border-bottom: none;
}
.service-features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--card-accent, var(--gold-600));
}

/* Service Inline Signup */
.service-signup {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-default);
}
.service-signup h4 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

/* ── 11. Form Styles ── */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.form-input {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--surface-alt);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
  min-height: 44px;
}
.form-input:hover {
  border-color: var(--brand-400);
}
.form-input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}
.form-input::placeholder {
  color: var(--text-muted);
}

/* Light theme form inputs (used on light bg sections) */
.section-light .form-input {
  color: var(--text-dark);
  background: var(--surface-light);
  border-color: var(--border-light);
}
.section-light .form-input:focus {
  border-color: var(--gold-600);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}
.section-light .form-label {
  color: var(--text-dark-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M2.5 4.5l3.5 3.5 3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 36px;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* Consent Checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold-500);
  cursor: pointer;
}
.form-consent label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent a {
  color: var(--gold-700);
  text-decoration: underline;
}

/* Form Checkbox Wrapper (Nested input inside label) */
.form-checkbox {
  margin: var(--space-lg) 0;
}
.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold-500);
  cursor: pointer;
}
.form-checkbox a {
  color: var(--gold-700);
  text-decoration: underline;
}

/* Honeypot */
.form-honey {
  display: none !important;
}

/* Form Messages */
.form-success,
.form-error {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
  margin-top: var(--space-md);
}
.form-success {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--accent-green);
}
.form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: var(--accent-red);
}

/* ── 12. Platform Showcase ── */
.platform-showcase {
  position: relative;
}

.showcase-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  justify-content: center;
  flex-wrap: wrap;
}

.showcase-tab {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
  min-height: 44px;
  background: var(--surface-card);
}
.showcase-tab:hover {
  color: var(--text-primary);
  border-color: var(--gold-300);
  background: var(--gold-50);
}
.showcase-tab.active {
  background: var(--gold-500);
  color: var(--brand-950);
  border-color: var(--gold-500);
  font-weight: 600;
}

.showcase-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xl);
}
.showcase-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity var(--duration-slow) ease;
}

.showcase-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.showcase-feature {
  text-align: center;
  padding: var(--space-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}
.showcase-feature:hover {
  transform: translateY(-4px);
  border-color: var(--gold-300);
  box-shadow: var(--shadow-card-hover);
}
.showcase-feature-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}
.showcase-feature h4 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
}
.showcase-feature p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── 13. Industries Section ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.industry-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.industry-card:hover::before {
  transform: scaleX(1);
}

.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--gold-50);
  color: var(--gold-700);
  transition: all var(--duration-normal) ease;
}
.industry-card:hover .industry-icon {
  background: var(--gold-500);
  color: white;
  transform: scale(1.1);
}

.industry-card h4 {
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}
.industry-card p {
  font-size: 0.8125rem;
  color: var(--text-dark-secondary);
  line-height: 1.6;
}

/* ── 14. Benefits Section ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.benefit-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-300);
  box-shadow: var(--shadow-card-hover);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: rgba(245,166,35,0.08);
  color: var(--gold-600);
}

.benefit-card h4 {
  margin-bottom: var(--space-xs);
}
.benefit-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── 15. Lead Magnet Section ── */
.lead-magnet {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-950));
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #f1f5f9;
}
.lead-magnet::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.lead-magnet .section-label {
  color: var(--gold-400);
}
.lead-magnet .section-label::before {
  background: var(--gold-400);
}
.lead-magnet h3 {
  color: #f1f5f9;
}

.lead-magnet-content p {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.lead-magnet-checklist {
  margin-bottom: var(--space-lg);
}
.lead-magnet-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}
.lead-magnet-checklist svg.check {
  color: var(--accent-green);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.lead-magnet .form-input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #f1f5f9;
}
.lead-magnet select.form-input {
  color: #f1f5f9;
}
.lead-magnet select.form-input option {
  color: var(--brand-950);
  background-color: var(--surface-card);
}
.lead-magnet .form-input::placeholder {
  color: #64748b;
}
.lead-magnet .form-input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
}
.lead-magnet .form-label {
  color: #94a3b8;
}
.lead-magnet .form-consent label {
  color: #64748b;
}
.lead-magnet .form-consent a {
  color: var(--gold-400);
}
.lead-magnet .form-checkbox label {
  color: #a0aec0;
}
.lead-magnet .form-checkbox a {
  color: var(--gold-400);
}

.lead-magnet-form {
  position: relative;
  z-index: 1;
}

/* ── 16. Contact Section ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-fast) ease;
}
.contact-info-card:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-card-hover);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,166,35,0.08);
  color: var(--gold-600);
  flex-shrink: 0;
  font-size: 1.125rem;
}

.contact-info-card h4 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
}
.contact-info-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  font-size: 1.125rem;
  transition: all var(--duration-fast) ease;
}
.social-link:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: white;
  transform: translateY(-2px);
}

/* ── 17. Footer — Dark (Brand Anchor) ── */
.footer {
  background: var(--surface-dark);
  border-top: 1px solid var(--border-dark);
  padding: var(--space-3xl) 0 var(--space-xl);
  color: #f1f5f9;
}

.footer .navbar-brand img {
  filter: brightness(0) invert(1);
  height: 52px;
}
.footer .navbar-brand span {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: #64748b;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) ease, padding-left var(--duration-fast) ease;
}
.footer-col a:hover {
  color: var(--gold-400);
  padding-left: var(--space-xs);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8125rem;
  color: #64748b;
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}
.footer-legal a {
  color: #64748b;
}
.footer-legal a:hover {
  color: var(--gold-400);
}

/* ── 18. Pricing Page ── */
.pricing-header {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
  text-align: center;
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface-body) 100%);
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-top: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.billing-option {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.billing-option.active {
  background: var(--gold-500);
  color: var(--brand-950);
  font-weight: 600;
}

.save-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  background: rgba(16,185,129,0.1);
  color: var(--accent-green);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: var(--space-xs);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  align-items: start;
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}
.pricing-card.featured {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 1px var(--gold-500), var(--shadow-lg);
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--brand-950);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-700);
  margin-bottom: var(--space-sm);
}

.pricing-card h3 {
  margin-bottom: var(--space-sm);
}

.pricing-card > p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-xl);
}

.pricing-amount {
  margin-bottom: var(--space-xl);
}
.pricing-amount .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
}
.pricing-amount .currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-secondary);
  vertical-align: super;
}
.pricing-amount .period {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.pricing-amount .contact-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-500);
}

.pricing-features {
  margin-bottom: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-default);
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.pricing-features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent-green);
}
.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}
.pricing-features li.disabled svg {
  color: var(--text-muted);
}

/* Feature comparison table */
.comparison-table {
  margin-top: var(--space-3xl);
  overflow-x: auto;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-default);
}
.comparison-table th {
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.comparison-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}
.comparison-table td {
  text-align: center;
  color: var(--text-muted);
}
.comparison-table td:first-child {
  text-align: left;
}
.comparison-table .check {
  color: var(--accent-green);
}
.comparison-table .dash {
  color: var(--text-muted);
  opacity: 0.4;
}
.comparison-table .category-row td {
  background: var(--gold-50);
  font-weight: 700;
  color: var(--gold-700);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: var(--space-lg);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: var(--space-2xl) auto 0;
}

.faq-item {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  transition: border-color var(--duration-fast) ease;
}
.faq-item:hover {
  border-color: var(--gold-300);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  min-height: 44px;
  cursor: pointer;
  background: var(--surface-card);
  transition: background var(--duration-fast) ease;
}
.faq-question:hover {
  background: var(--surface-alt);
}
.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--duration-normal) var(--ease-out);
}
.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}
.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── 19. Cookie Consent Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-card);
  border-top: 1px solid var(--border-default);
  padding: var(--space-lg) var(--container-padding);
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.cookie-banner.visible {
  display: block;
  animation: slideUp 0.3s var(--ease-out);
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}
.cookie-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.cookie-text a {
  color: var(--gold-700);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ── 20. Legal Pages (Privacy, Terms) ── */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h1 {
  margin-bottom: var(--space-sm);
}
.legal-content .last-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-2xl);
}
.legal-content h2 {
  font-size: 1.375rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-default);
}
.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}
.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}
.legal-content li {
  list-style: disc;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  line-height: 1.7;
}

/* ── 21. Thank You Page ── */
.thankyou {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--container-padding);
}
.thankyou-content {
  max-width: 480px;
}
.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2rem;
  color: var(--accent-green);
}
.thankyou h1 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}
.thankyou p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* ── 22. 404 Page ── */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) var(--container-padding);
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface-body) 100%);
}
.page-404-content {
  max-width: 480px;
}
.page-404 .error-code {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}
.page-404 h1 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}
.page-404 p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}
.page-404-links {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 23. Scroll Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ── 24. Scrollbar ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--brand-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-500); }

/* ═══════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════ */

/* Tablet (768px) */
@media (max-width: 1024px) {
  .navbar-nav { display: none; }
  .navbar-cta .btn { display: none; }
  .hamburger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-content { max-width: 100%; }
  .hero-visual-container {
    transform: perspective(1200px) rotateY(0) rotateX(0);
    max-width: 580px;
    margin: 0 auto;
  }
  .hero-visual-container:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0) scale(1.01);
  }
  .hero-visual-actions {
    margin-top: var(--space-xl); /* smaller margin on tablet/mobile */
  }
  .hero-float-card--2 { left: 10px; }

  .hero-phone-mockup {
    width: 130px;
    height: 255px;
    bottom: -20px;
    left: -30px;
  }

  .hero-trust-badges {
    justify-content: flex-start;
  }

  .about-hero-row { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .about-pillars { flex-direction: column; margin-top: 0; }
  .evidence-stats { flex-direction: column; gap: 0; padding: var(--space-xl) var(--space-xl); }
  .evidence-divider { width: 100%; height: 1px; }
  .evidence-quote { padding: var(--space-lg) var(--space-xl) var(--space-xl); }
  .services-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }
  .showcase-features { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .lead-magnet { grid-template-columns: 1fr; padding: var(--space-2xl); }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --space-4xl: 3.5rem;
  }

  .hero-visual-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-visual-actions .btn {
    width: 100%;
  }

  .hero-trust-badges {
    gap: var(--space-sm);
  }
  .hero-trust-badge {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .hero-float-card { display: none; }
  .hero-phone-mockup { display: none; }
  .hero-screen::before,
  .hero-screen::after { display: none; }

  .industries-grid { grid-template-columns: 1fr; }
  .showcase-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .billing-toggle {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }
}

/* Safe area for notched devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .cookie-banner {
    padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom));
  }
}

/* ═══════════════════════════════════════════════════════════
   Relantern — Dropdown Navigation & Interactive Simulator Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Navbar Dropdown Upgrades ── */
.navbar-nav li {
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dropdown-toggle::after {
  content: '▼';
  font-size: 8px;
  transition: transform var(--duration-normal) ease;
}
.nav-dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
  color: var(--gold-600);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 280px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(245, 166, 35, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  color: var(--text-on-dark-secondary);
  transition: all var(--duration-fast) ease;
  margin-bottom: 2px;
}
.dropdown-item:last-child {
  margin-bottom: 0;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.dropdown-item .icon {
  font-size: 16px;
  color: var(--gold-400);
  margin-top: 2px;
  transition: transform var(--duration-fast) ease;
}
.dropdown-item:hover .icon {
  transform: scale(1.1);
  color: var(--gold-300);
}

.dropdown-item .title {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #f1f5f9;
  line-height: 1.2;
  margin-bottom: 2px;
}
.dropdown-item:hover .title {
  color: var(--gold-300);
}

.dropdown-item .desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
  line-height: 1.3;
}

/* ── Standard Showcase / Sub-Page Hero ── */
.subpage-hero {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-3xl);
  background: linear-gradient(160deg, #020a1e 0%, #041430 40%, #062050 80%, #020a1e 100%);
  color: var(--text-on-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 163, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 163, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.subpage-hero .section-label {
  color: var(--gold-400);
  margin-bottom: var(--space-md);
}

.subpage-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: #ffffff;
}

.subpage-hero .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  color: rgba(203, 213, 225, 0.9);
  max-width: 720px;
}

/* ── MOCKUP APPLICATION WRAPPER ── */
.mockup-app {
  width: 100%;
  max-width: 1200px;
  margin: var(--space-2xl) auto 0;
  background: #0f172a; /* Slate-900 */
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(6, 182, 212, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: #f1f5f9;
  font-family: var(--font-sans);
}

/* Simulated browser window bar */
.mockup-browser-bar {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: #020617; /* Slate-950 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot--red { background: #ef4444; }
.mockup-dot--yellow { background: #f59e0b; }
.mockup-dot--green { background: #10b981; }

.mockup-url-bar {
  flex-grow: 1;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 4px var(--space-md);
  font-size: 0.75rem;
  font-family: monospace;
  color: #94a3b8;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Main App Split */
.mockup-app-body {
  display: flex;
  min-height: 520px;
}

/* Sidebar Simulator */
.mockup-sidebar {
  width: 220px;
  background: #090d16;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .mockup-sidebar { display: none; }
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.mockup-brand .logo-dot {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  border-radius: 4px;
}

.mockup-side-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-side-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  transition: all var(--duration-fast) ease;
  text-align: left;
  background: transparent;
}
.mockup-side-item:hover,
.mockup-side-item.active {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
.mockup-side-item.active {
  border-left: 2px solid var(--accent-cyan);
  padding-left: calc(var(--space-sm) - 2px);
  background: rgba(6, 182, 212, 0.08);
}
.mockup-side-item.active .side-icon {
  color: var(--accent-cyan);
}

.mockup-side-group {
  margin-top: 8px;
}

.mockup-side-group-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #475569;
  letter-spacing: 0.05em;
  padding: 4px var(--space-sm);
}

.mockup-side-sub-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
}

.mockup-side-sub-item {
  display: block;
  padding: 6px var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #64748b;
  transition: all var(--duration-fast) ease;
}
.mockup-side-sub-item:hover,
.mockup-side-sub-item.active {
  color: #ffffff;
}
.mockup-side-sub-item.active {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Main Workspace Panel */
.mockup-workspace {
  flex-grow: 1;
  background: #0f172a;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  overflow-x: hidden;
}

.mockup-workspace-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: var(--space-md);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.mockup-workspace-title-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-workspace-title-stripe {
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan), #0284c7);
}

.mockup-workspace-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.mockup-workspace-subtitle {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}

.mockup-workspace-actions {
  display: flex;
  gap: var(--space-sm);
}

/* App Mockup Inner Tabs */
.mockup-tabs-bar {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  transition: all var(--duration-normal) ease;
}
.mockup-tab-btn:hover {
  color: #cbd5e1;
}
.mockup-tab-btn.active {
  background: var(--accent-cyan);
  color: #0f172a;
}

/* ── RELIABILITY MODELLING COMPONENT STYLES ── */
.rbd-simulation-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  position: relative;
}

.rbd-canvas-wrapper {
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-xl) var(--space-lg);
  overflow-x: auto;
  position: relative;
  min-height: 280px;
}

.rbd-canvas-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-width: 680px;
  height: 100%;
}

.rbd-flow-line {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  position: relative;
}
.rbd-flow-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.rbd-split-flow {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}

.rbd-node-card {
  width: 170px;
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-spring);
  cursor: pointer;
  position: relative;
}
.rbd-node-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.15);
}
.rbd-node-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.05);
}

.rbd-node-active-bar {
  height: 3px;
  background: #10b981; /* Green safe */
  border-radius: 1.5px;
  margin-bottom: 8px;
}

.rbd-node-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.rbd-node-desc {
  font-size: 0.65rem;
  color: #64748b;
  margin-bottom: 8px;
}

.rbd-node-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1.3;
}
.rbd-node-metric-val {
  font-weight: 600;
  color: #ffffff;
}

.rbd-node-ao-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* RBD Right Side Drawer */
.rbd-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  background: #1e293b;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.rbd-drawer.open {
  transform: translateX(0);
}

.rbd-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: var(--space-sm);
}

.rbd-drawer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.rbd-drawer-close {
  color: #94a3b8;
  cursor: pointer;
}
.rbd-drawer-close:hover {
  color: #ffffff;
}

.rbd-drawer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rbd-drawer-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
}

.rbd-drawer-input {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.8rem;
  width: 100%;
}
.rbd-drawer-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

/* System Availability Summary Banner */
.rbd-summary-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.rbd-summary-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rbd-summary-metrics {
  display: flex;
  gap: var(--space-lg);
}

.rbd-summary-metric {
  text-align: right;
}

.rbd-summary-label {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rbd-summary-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}
.rbd-summary-val.highlight {
  color: var(--accent-cyan);
}

/* P&ID Equipments Flow Overlay */
.pid-viewer-panel {
  position: relative;
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  overflow-x: auto;
}

.pid-viewer-grid {
  position: relative;
  width: 820px;
  height: 320px;
  flex-shrink: 0;
}

.pid-pipeline-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pid-node-bubble {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-spring);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.pid-node-bubble:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px currentColor;
}

.pid-node-tag {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.6);
  padding: 1px 4px;
  border-radius: 2px;
  pointer-events: none;
}

.pid-node-value {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 4px;
  color: #ffffff;
}

/* ── RCM PAGE SPECIFIC STYLES ── */
.rcm-workspace-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.rcm-worksheet-wrapper {
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
  overflow-x: auto;
}

.rcm-worksheet-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.rcm-th {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
}

.rcm-card-level {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--duration-fast) ease;
}
.rcm-card-level:hover {
  background: rgba(255, 255, 255, 0.02);
}

.rcm-td {
  padding: 12px;
  vertical-align: top;
  font-size: 0.75rem;
  color: #cbd5e1;
}

.rcm-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.rcm-badge--primary { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.2); }
.rcm-badge--failure { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.rcm-badge--mode { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }

.rcm-effects-flow {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rcm-effect-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  line-height: 1.3;
}

.rcm-effect-label {
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.6rem;
  min-width: 50px;
  flex-shrink: 0;
}

.rcm-effect-text {
  color: #f1f5f9;
}

/* RPN recalculation panel */
.rcm-rpn-panel {
  background: #1e293b;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.rcm-sliders-container {
  display: flex;
  gap: var(--space-xl);
  flex-grow: 1;
  max-width: 600px;
}

.rcm-slider-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.rcm-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
}
.rcm-slider-value {
  color: var(--accent-cyan);
}

.rcm-range-input {
  width: 100%;
  height: 6px;
  background: #0f172a;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.rcm-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.rcm-rpn-display {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-left: var(--space-md);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 600px) {
  .rcm-rpn-display { border-left: none; padding-left: 0; width: 100%; }
}

.rcm-rpn-radial {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #10b981;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rcm-rpn-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.rcm-rpn-label {
  font-size: 0.5rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

/* ── PREDICT PAGE SPECIFIC STYLES ── */
.predict-workspace-panel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
}
@media (max-width: 900px) {
  .predict-workspace-panel { grid-template-columns: 1fr; }
}

.predict-chart-card {
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
}

.predict-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.predict-chart-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.predict-chart-canvas-container {
  position: relative;
  height: 220px;
  width: 100%;
}

.predict-telemetry-canvas {
  width: 100%;
  height: 100%;
  background: #040814;
  border-radius: var(--radius-sm);
}

.predict-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.predict-metric-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.predict-metric-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.predict-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}
.predict-metric-val.cyan { color: var(--accent-cyan); }
.predict-metric-val.green { color: #10b981; }

.predict-twin-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.predict-twin-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.predict-twin-avatar {
  width: 36px;
  height: 36px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.predict-twin-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.predict-twin-subtitle {
  font-size: 0.65rem;
  color: #64748b;
}

.predict-twin-indicator-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.predict-twin-indicator-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  color: #cbd5e1;
}

.predict-twin-progress {
  width: 100%;
  height: 6px;
  background: #0f172a;
  border-radius: 3px;
  overflow: hidden;
}

.predict-twin-progress-fill {
  height: 100%;
  background: linear-gradient(to right, #ef4444, #f59e0b, #10b981);
  width: 89%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* ── ANALYZE PAGE SPECIFIC STYLES ── */
.analyze-pareto-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
}
@media (max-width: 900px) {
  .analyze-pareto-grid { grid-template-columns: 1fr; }
}

.analyze-pareto-chart {
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.analyze-pareto-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 0;
}

.analyze-pareto-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
}

.analyze-pareto-bar-label {
  width: 120px;
  color: #cbd5e1;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.analyze-pareto-bar-track {
  flex-grow: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.analyze-pareto-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #ef4444, #ea580c);
  border-radius: 3px;
  transition: width 0.8s ease;
}
.analyze-pareto-bar-row:nth-child(2) .analyze-pareto-bar-fill { background: linear-gradient(to right, #f57c00, #f59e0b); }
.analyze-pareto-bar-row:nth-child(3) .analyze-pareto-bar-fill { background: linear-gradient(to right, #f59e0b, #e0a96d); }
.analyze-pareto-bar-row:nth-child(4) .analyze-pareto-bar-fill { background: linear-gradient(to right, #94a3b8, #64748b); }
.analyze-pareto-bar-row:nth-child(5) .analyze-pareto-bar-fill { background: linear-gradient(to right, #475569, #334155); }

.analyze-pareto-bar-value {
  width: 70px;
  text-align: right;
  font-weight: 700;
  color: #ffffff;
}

/* ── AUDITS PAGE SPECIFIC STYLES ── */
.audit-wizard-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.audit-steps-indicator {
  display: flex;
  justify-content: space-between;
  background: #1e293b;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px;
  overflow-x: auto;
}

.audit-step-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 600;
  min-width: 60px;
  position: relative;
  flex-grow: 1;
  text-align: center;
}
.audit-step-bubble.active {
  color: var(--accent-cyan);
}
.audit-step-bubble.completed {
  color: #10b981;
}

.audit-step-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0f172a;
  border: 2px solid #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: inherit;
  transition: all var(--duration-normal) ease;
}
.audit-step-bubble.active .audit-step-circle {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
}
.audit-step-bubble.completed .audit-step-circle {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.audit-step-line {
  position: absolute;
  top: 10px;
  left: calc(50% + 10px);
  right: calc(-50% + 10px);
  height: 2px;
  background: #334155;
  z-index: 1;
}
.audit-step-bubble.completed .audit-step-line {
  background: #10b981;
}
.audit-step-bubble:last-child .audit-step-line {
  display: none;
}

.audit-content-card {
  background: #1e293b;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-lg);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.audit-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 12px;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}
.audit-checklist-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.audit-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: all var(--duration-fast) ease;
  margin-top: 2px;
  flex-shrink: 0;
}
.audit-checklist-item.checked .audit-checkbox-custom {
  border-color: #10b981;
  background: #10b981;
  color: #ffffff;
}

.audit-checklist-text {
  font-size: 0.8rem;
  color: #cbd5e1;
}
.audit-checklist-item.checked .audit-checklist-text {
  color: #ffffff;
}

.audit-checklist-tag {
  display: inline-block;
  padding: 1px 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 4px;
}

/* Overall maturity score dial */
.audit-score-summary {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background: #0f172a;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.audit-score-circular {
  width: 100px;
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audit-score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.audit-score-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 8px;
}

.audit-score-circle-fill {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 8px;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.8s ease;
  stroke-linecap: round;
}

.audit-score-inner-text {
  position: absolute;
  text-align: center;
}

.audit-score-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.audit-score-total {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   18. Services Hub Page Styles
   ═══════════════════════════════════════════════════════════ */

/* Homepage Teaser Module Pills styling */
.module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--space-md) 0 var(--space-lg) 0;
}

.module-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}

.service-card:hover .module-pill {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
}

.module-pill.coming-soon {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.2);
}

/* Services Page 2-Column Suite Layout */
.services-suite-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .services-suite-section {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.suite-narrative {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

@media (max-width: 1024px) {
  .suite-narrative {
    position: static;
  }
}

.suite-narrative p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.suite-narrative h2 {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
  font-size: 2.25rem;
  line-height: 1.2;
}

/* Module Grid & Cards in Services Hub */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.module-card {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-default);
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--accent-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-accent, var(--accent-blue));
  box-shadow: var(--shadow-card-hover);
  background: rgba(30, 41, 59, 0.4);
}

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

.module-card--reliability { --card-accent: var(--accent-blue); }
.module-card--audit { --card-accent: var(--accent-green); }
.module-card--eam { --card-accent: var(--gold-500); }

.module-card .module-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-card--reliability .module-icon { background: rgba(59, 130, 246, 0.08); color: var(--accent-blue); }
.module-card--audit .module-icon { background: rgba(16, 185, 129, 0.08); color: var(--accent-green); }
.module-card--eam .module-icon { background: rgba(245, 166, 35, 0.08); color: var(--gold-600); }

.module-card h4 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.module-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.module-card .module-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--card-accent, var(--accent-blue));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration-fast) ease;
  margin-top: auto;
}

.module-card:hover .module-link {
  gap: 10px;
}

.module-card .module-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.module-card--reliability .module-tag {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Services Page Relocated Forms Wrapper */
.services-suite-form-wrapper {
  background: rgba(30, 41, 59, 0.3);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-default);
  padding: var(--space-2xl) var(--space-3xl);
  margin-top: var(--space-3xl);
  backdrop-filter: blur(10px);
}

.services-suite-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.services-suite-form-wrapper p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .services-suite-form-wrapper {
    padding: var(--space-xl);
  }
}




/* ═══════════════════════════════════════════════════════════════
   Trust & Compliance Strip
   Honest-status badge cards. Each standard carries a verifiable
   state: live / in-progress / roadmap. Never assert a certification
   that is not held — enterprise procurement verifies these.
   ═══════════════════════════════════════════════════════════════ */

.compliance-head {
  max-width: 720px;
  margin-bottom: var(--space-2xl);
}

.compliance-head p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: var(--space-md);
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.compliance-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s var(--ease-out);
}

.compliance-card:hover {
  border-color: var(--cmp-accent, var(--gold-500));
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.compliance-card--live     { --cmp-accent: var(--accent-green); }
.compliance-card--progress { --cmp-accent: var(--gold-500); }
.compliance-card--roadmap  { --cmp-accent: var(--brand-400); }

/* Medallion — deliberately our own mark, not an auditor's seal */
.compliance-medallion {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cmp-accent, var(--gold-600));
  margin-bottom: var(--space-lg);
  transition: transform 0.35s var(--ease-out);
}

.compliance-card:hover .compliance-medallion {
  transform: scale(1.05);
}

.compliance-medallion svg { width: 100%; height: 100%; }

.compliance-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-xs);
}

.compliance-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.compliance-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3125rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  white-space: nowrap;
}

.compliance-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.compliance-status--live {
  color: #047857;
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(16, 185, 129, 0.25);
}

.compliance-status--progress {
  color: var(--gold-700);
  background: rgba(245, 166, 35, 0.10);
  border-color: rgba(245, 166, 35, 0.28);
}

.compliance-status--roadmap {
  color: var(--brand-600);
  background: rgba(100, 116, 139, 0.10);
  border-color: rgba(100, 116, 139, 0.25);
}

/* Disclosure — the line that makes this band safe to publish */
.compliance-note {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--brand-400);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.compliance-note strong { color: var(--text-secondary); }

.compliance-note a {
  color: var(--gold-700);
  font-weight: 700;
  text-decoration: none;
}

.compliance-note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .compliance-grid { grid-template-columns: 1fr; }
  .compliance-card { padding: var(--space-lg); }
  .compliance-medallion { width: 76px; height: 76px; }
}

/* --- Legal page tables (sub-processor list, etc.) --- */
.legal-content .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0 var(--space-xl);
  font-size: 0.875rem;
  display: block;
  overflow-x: auto;
}

.legal-content .legal-table thead th {
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--surface-alt);
  border-bottom: 2px solid var(--border-default);
  padding: var(--space-md);
  white-space: nowrap;
}

.legal-content .legal-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-default);
  color: var(--text-secondary);
  line-height: 1.6;
  vertical-align: top;
}

.legal-content .legal-table tbody tr:last-child td { border-bottom: none; }
.legal-content .legal-table tbody tr:hover { background: var(--surface-alt); }

/* ═══════════════════════════════════════════════════════════
   Specialist — Agent roster & decision layers
   ═══════════════════════════════════════════════════════════ */

.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.agent-card .agent-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.agent-card .agent-head h4 { margin-bottom: 0; }

.agent-tier {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 2px;
}

.agent-tier--advise {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.agent-tier--draft {
  color: #8a5f10;
  background: rgba(245, 166, 35, 0.14);
  border: 1px solid rgba(245, 166, 35, 0.35);
}

.agent-card .module-pills { margin: var(--space-md) 0 0 0; }

/* Family label above a roster block */
.agent-family {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-default);
  padding-bottom: var(--space-sm);
  margin: var(--space-3xl) 0 var(--space-lg);
}
.agent-family:first-of-type { margin-top: 0; }

/* --- Decision layers (engineer / crew / management) --- */
.decision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.decision-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--card-accent, var(--accent-blue));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}
.decision-card--engineer { --card-accent: var(--accent-blue); }
.decision-card--team     { --card-accent: var(--accent-green); }
.decision-card--exec     { --card-accent: var(--gold-500); }

.decision-role {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--card-accent);
  margin-bottom: var(--space-sm);
}

.decision-card h4 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.decision-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.decision-artifacts {
  list-style: none;
  margin: auto 0 0;
  padding: var(--space-md) 0 0;
  border-top: 1px dashed var(--border-default);
}

.decision-artifacts li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding: 5px 0 5px 18px;
  position: relative;
}

.decision-artifacts li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--card-accent);
  font-weight: 700;
}

.decision-artifacts strong { color: var(--text-primary); }

/* --- Watchdog checklist --- */
.watchdog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}

.watchdog-list li {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.watchdog-list strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .agent-family { margin-top: var(--space-2xl); }
}

/* Inline two-column split panels (used on specialist/product/services/rcm/
   analyze/reliability-modelling) are declared with a `grid-template-columns:
   1fr 1fr` style attribute, which a plain media query cannot override. Below
   860px the text column collapses to ~110px and words break one per line, so
   force a single column here. */
@media (max-width: 860px) {
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   IREAMS PRODUCT PAGE v2 — hero shot, loop steps, comparison,
   screenshot gallery (brief RELANTERN-WB-01, 2026-09-04)
   ═══════════════════════════════════════════════════════════ */

/* --- Hero screenshot (dark hero) --- */
.hero-shot {
  max-width: 1080px;
  margin: var(--space-2xl) auto 0;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-shot figcaption {
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(203, 213, 225, 0.65);
}

/* --- How-it-works loop steps --- */
.loop-steps {
  display: flex;
  flex-direction: column;
}

.loop-step {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.75rem, 4.5vw, 4rem);
  align-items: center;
  padding: clamp(2.25rem, 7vh, 4rem) 0;
}

.loop-step + .loop-step { border-top: 1px solid var(--border-default); }

.loop-step--flip .loop-copy  { order: 2; }
.loop-step--flip .loop-media { order: 1; }

.loop-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-400);
  color: #1a1203;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: var(--space-md);
}

.loop-copy h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.loop-copy p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.loop-media { margin: 0; }

.loop-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(2, 6, 23, 0.12);
  box-shadow: var(--shadow-xl);
}

.loop-media figcaption {
  margin-top: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .loop-step { grid-template-columns: 1fr; gap: var(--space-lg); }
  .loop-step--flip .loop-copy  { order: 1; }
  .loop-step--flip .loop-media { order: 2; }
}

/* --- Category comparison table --- */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.55;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-default);
}

.compare-table thead th {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--surface-alt);
  border-bottom: 2px solid var(--border-default);
  white-space: nowrap;
}

.compare-table tbody th[scope="row"] {
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table td { color: var(--text-secondary); }

.compare-table .compare-ireams {
  background: rgba(245, 166, 35, 0.07);
  color: var(--text-primary);
  border-left: 2px solid var(--gold-400);
  min-width: 240px;
}

.compare-table thead .compare-ireams {
  color: var(--gold-700, #8F5E00);
  background: rgba(245, 166, 35, 0.14);
}

/* --- Screenshot gallery --- */
.shot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.shot-card {
  margin: 0;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover, 0 18px 40px rgba(2, 6, 23, 0.12));
}

.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border-default);
}

.shot-card figcaption {
  padding: var(--space-md);
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.shot-card figcaption strong { color: var(--text-primary); }

@media (max-width: 980px) {
  .shot-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shot-gallery { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   PALETTE v3 — Light blue + Relantern yellow (2026-10-03)
   Replaces every dark-navy surface in the marketing chrome.
   Inspiration: airy, frosted, data-forward industrial UI.
   Product UI mockups built in CSS (.mockup-sidebar etc.) are
   left as-is; only the frame around real screenshots changes.
   ═══════════════════════════════════════════════════════════ */
:root {
  --sky-50:  #F4F9FE;
  --sky-100: #E7F2FC;
  --sky-200: #CFE5F8;
  --sky-300: #A7CFF0;
  --sky-400: #6DB0E6;
  --sky-500: #3B93DA;
  --sky-600: #2277BE;
  --sky-700: #185E99;
  --ink:     #0B2A45;
  --ink-2:   #36506A;
  --gold-text: #8F5E00;
  --sky-gradient: linear-gradient(160deg, #F4F9FE 0%, #E7F2FC 45%, #D6E9F9 100%);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-soft: 0 18px 50px -18px rgba(24, 94, 153, 0.28);
}

/* --- Sub-page hero: light sky instead of navy --- */
.subpage-hero {
  background: var(--sky-gradient);
  color: var(--ink);
}
.subpage-hero::before {
  background-image:
    linear-gradient(rgba(34, 119, 190, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 119, 190, 0.07) 1px, transparent 1px);
}
.subpage-hero .section-label { color: var(--gold-text); }
.subpage-hero h1 { color: var(--ink); }
.subpage-hero .hero-subtitle { color: var(--ink-2); }
.subpage-hero .hero-subtitle a { color: var(--sky-700); text-decoration: underline; }
.subpage-hero .btn-secondary,
.subpage-hero .btn-secondary:hover {
  color: var(--ink);
  border-color: rgba(11, 42, 69, 0.28);
  background: rgba(255, 255, 255, 0.6);
}
.subpage-hero .btn-secondary:hover { background: #ffffff; border-color: var(--sky-600); }
.hero-shot img {
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}
.hero-shot figcaption { color: var(--ink-2); }

/* --- Evidence card: frosted sky --- */
.about-evidence {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--sky-100) 100%);
  border: 1px solid var(--sky-200);
  box-shadow: var(--shadow-soft);
}
.evidence-divider { background: rgba(24, 94, 153, 0.15); }
.evidence-num {
  background: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
}
.evidence-num .evidence-accent { -webkit-text-fill-color: var(--gold-600); color: var(--gold-600); }
.evidence-label { color: var(--ink-2); font-weight: 600; }
.evidence-cite { color: var(--sky-700); }
.evidence-cite svg { opacity: 0.8; }
.evidence-quote { border-top: 1px solid rgba(24, 94, 153, 0.12); }
.evidence-quote blockquote p { color: var(--ink-2); font-style: normal; }
.evidence-quote-meta { color: var(--ink-2); }
.evidence-quote-tag {
  background: var(--gold-100);
  color: var(--gold-text);
  border-color: var(--gold-200);
}

/* --- Lead-magnet panel: light instead of slate --- */
.lead-magnet {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--sky-100) 100%);
  border: 1px solid var(--sky-200);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}
.lead-magnet::before {
  background: radial-gradient(circle, rgba(245, 166, 35, 0.14) 0%, transparent 70%);
}
.lead-magnet .section-label { color: var(--gold-text); }
.lead-magnet .section-label::before { background: var(--gold-500); }
.lead-magnet h3 { color: var(--ink); }
.lead-magnet-content p,
.lead-magnet-checklist li { color: var(--ink-2); }
.lead-magnet-checklist li strong { color: var(--ink); }
.lead-magnet .form-input,
.lead-magnet select.form-input {
  background: #ffffff;
  border-color: var(--sky-200);
  color: var(--ink);
}
.lead-magnet .form-input::placeholder { color: #6b7f93; }
.lead-magnet .form-label,
.lead-magnet .form-consent label,
.lead-magnet .form-checkbox label { color: var(--ink-2); }
.lead-magnet .form-consent a,
.lead-magnet .form-checkbox a { color: var(--gold-text); }

/* --- Footer: light sky anchor --- */
.footer {
  background: var(--sky-100);
  border-top: 1px solid var(--sky-200);
  color: var(--ink);
}
.footer .navbar-brand img,
.footer .footer-logo img { filter: none; }
.footer-desc,
.footer-brand p { color: var(--ink-2); }
.footer-col h4 { color: var(--ink); }
.footer-col a,
.footer-links a,
.footer-legal a { color: var(--ink-2); }
.footer-col a:hover,
.footer-links a:hover,
.footer-legal a:hover { color: var(--gold-text); }
.footer-bottom {
  border-top: 1px solid rgba(24, 94, 153, 0.15);
  color: var(--ink-2);
}

/* --- Mobile menu: light, scrollable (14 links overflowed 812px) --- */
.mobile-nav-overlay {
  background: rgba(244, 249, 254, 0.98);
  justify-content: flex-start;
  gap: var(--space-xs);
  padding: calc(var(--nav-height) + var(--space-md)) var(--space-lg) var(--space-2xl);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-overlay a {
  color: var(--ink);
  font-size: 1.15rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
  padding: 0.7rem var(--space-lg);
  border-bottom: 1px solid rgba(24, 94, 153, 0.1);
}
.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active { color: var(--gold-text); }
.mobile-nav-overlay a.btn {
  margin-top: var(--space-md);
  border-bottom: none;
  color: #1a1203;
}

/* --- Screenshot frame: light browser chrome --- */
.mockup-app {
  background: #ffffff;
  border: 1px solid var(--sky-200);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}
.mockup-browser-bar {
  background: var(--sky-50);
  border-bottom: 1px solid var(--sky-200);
}
.mockup-url-bar {
  background: #ffffff;
  border: 1px solid var(--sky-200);
  color: var(--ink-2);
}

/* --- Inline split panels that were slate (#1e293b) --- */
.panel-sky {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--sky-100) 100%);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--sky-200);
  box-shadow: var(--shadow-soft);
}
.panel-sky h4 { color: var(--gold-text); margin-bottom: var(--space-md); }
.panel-sky li { color: var(--ink-2); }
.panel-sky li strong { color: var(--ink); }

/* --- About: the IREAMS product callout under the company pillars --- */
.about-product-callout {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--sky-100);
  border: 1px solid var(--sky-200);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.about-product-callout:hover { border-color: var(--gold-500); transform: translateY(-2px); color: var(--ink); }
.about-product-callout .apc-tag {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1203;
  background: var(--gold-400);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}
.about-product-callout .apc-text { font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.about-product-callout .apc-text strong { color: var(--ink); }
.about-product-callout .apc-arrow { margin-left: auto; color: var(--gold-text); font-weight: 800; }

.evidence-statement {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 var(--space-md);
  max-width: 820px;
}

/* Trust badges and gold highlight now sit on the light sky hero */
.subpage-hero .hero-trust-badge {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--sky-200);
  color: var(--ink);
}
.subpage-hero .hero-trust-badge:hover { background: #ffffff; color: var(--gold-text); }
.subpage-hero .hero-trust-badge svg { color: var(--gold-600); }
.assess-hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold-700), var(--gold-text));
  -webkit-background-clip: text;
  background-clip: text;
}

/* Close (X) sits on the light mobile menu now */
.hamburger.active span:nth-child(1),
.hamburger.active span:nth-child(3) { background: var(--ink); }

/* ═══════════════════════════════════════════════════════════
   PROFESSIONAL REFINEMENT (2026-10-03) — Keyvo / ChronoTask cues
   Mono eyebrows in a solid yellow box, two-tone grey headlines,
   crisp 10px buttons, flat bordered cards.
   ═══════════════════════════════════════════════════════════ */
:root {
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --tone-2: #8892A2;
  --line: #E6EAF0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-text);
  background: var(--gold-100);
  border-radius: 4px;
  padding: 0.32rem 0.6rem;
  gap: 0;
}
.section-label::before { display: none; }
.lead-magnet .section-label,
.subpage-hero .section-label { color: var(--gold-text); }

/* Two-tone headlines: second line in grey, not gold gradient */
h1 .text-gold,
h2 .text-gold {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--tone-2);
}

.btn { border-radius: 10px; }
.btn-primary {
  background: var(--gold-500);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08), 0 8px 18px -10px rgba(245, 166, 35, 0.7);
}
.btn-primary:hover { background: var(--gold-600); }

.service-card,
.benefit-card,
.industry-card {
  border-color: var(--line);
  box-shadow: none;
}
.service-card { border-radius: 18px; }
.service-card:hover,
.benefit-card:hover,
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -24px rgba(15, 23, 42, 0.28);
}
.module-pill { border-radius: 6px; }

/* Four cards in a three-column grid left an orphan — balance to 2×2 */
@media (min-width: 981px) {
  .services-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}

/* Pillar cards: icon left, title stacked over text (no squeezed title column) */
.pillar-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: var(--space-lg);
  row-gap: 2px;
  align-items: start;
  background: #ffffff;
  border-color: var(--line);
}
.pillar-card .pillar-icon { grid-row: 1 / span 2; }
.pillar-card h4 { margin: 0; align-self: end; }
.pillar-card p { grid-column: 2; }

/* ═══════════════════════════════════════════════════════════
   WINDPO-STYLE COMPONENTS (2026-10-03)
   Industries explorer (homepage) + Solutions hero stage.
   Shared ideas: pill tab nav, big uppercase title, yellow
   segmented meter, big spec figures, frosted glass data panel.
   ═══════════════════════════════════════════════════════════ */

/* --- Industries explorer --- */
.ind-explorer { display: flex; flex-direction: column; align-items: center; }
.ind-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  max-width: 100%;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.3);
  scrollbar-width: none;
}
.ind-tabs::-webkit-scrollbar { display: none; }
.ind-tab {
  flex-shrink: 0;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}
.ind-tab:hover { color: var(--ink); }
.ind-tab[aria-selected="true"] {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.ind-tab:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.ind-stage {
  width: 100%;
  margin-top: 1.25rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.45);
}
.ind-panel {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
}
.ind-panel[hidden] { display: none; }
.ind-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: indZoom 1.2s var(--ease-out) both;
}
@keyframes indZoom { from { transform: scale(1.05); opacity: 0.6; } to { transform: scale(1); opacity: 1; } }
.ind-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 20, 48, 0.9) 0%, rgba(4, 20, 48, 0.66) 46%, rgba(4, 20, 48, 0.18) 100%);
}
.ind-copy, .ind-glass { position: relative; z-index: 1; }
.ind-copy { color: #ffffff; max-width: 520px; }
.ind-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 0.9rem;
}
.ind-title {
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 1rem;
}
.ind-desc { color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.6; margin: 0 0 1.5rem; max-width: 460px; }

/* Segmented meter (yellow, then muted), shared with solutions hero */
.ind-meter, .sol-meter { display: flex; gap: 4px; margin-bottom: 1.25rem; }
.ind-meter i, .sol-meter i { width: 9px; height: 22px; border-radius: 2px; background: var(--gold-500); }
.ind-meter i:nth-child(n+15) { background: rgba(255, 255, 255, 0.28); }
.sol-meter i:nth-child(n+15) { background: var(--sky-200); }

.ind-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ind-stat strong { display: block; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 700; color: #ffffff; line-height: 1.2; }
.ind-stat span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }

/* Frosted glass data panel, shared */
.ind-glass, .sol-glass {
  width: min(360px, 100%);
  padding: 14px 18px 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 24px 50px -24px rgba(4, 20, 48, 0.55);
  color: var(--ink);
}
.ind-glass { justify-self: end; }
.ind-glass-head, .sol-glass-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.ind-glass-head span, .sol-glass-head span { font-weight: 700; font-size: 0.92rem; }
.ind-glass-head em, .sol-glass-head em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.ind-rows, .sol-rows { list-style: none; margin: 0; padding: 0; }
.ind-rows li, .sol-rows li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.85rem;
}
.ind-rows svg, .sol-rows svg { color: var(--sky-600); }
.ind-rows b, .sol-rows b {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
  white-space: nowrap;
}
.ind-glass-link {
  display: block;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
}
.ind-glass-link:hover { color: var(--gold-text); }

@media (max-width: 900px) {
  .ind-explorer { align-items: stretch; }
  .ind-tabs { align-self: center; }
  .ind-panel { grid-template-columns: 1fr; min-height: 0; padding: 2rem 1.25rem 1.25rem; }
  .ind-shade { background: linear-gradient(180deg, rgba(4, 20, 48, 0.82) 0%, rgba(4, 20, 48, 0.9) 100%); }
  .ind-glass { justify-self: stretch; width: 100%; }
  .ind-stage { border-radius: 22px; }
}
@media (max-width: 560px) {
  .ind-stats { grid-template-columns: 1fr 1fr; }
  .ind-meter i { width: 7px; }
  .ind-rows b { white-space: normal; text-align: right; }
}

/* --- Solutions hero stage --- */
.sol-hero { text-align: left; padding-bottom: clamp(3rem, 7vh, 5rem); }
.sol-stage {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.sol-hero h1 {
  text-transform: uppercase;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.sol-hero .hero-subtitle { margin-left: 0; margin-right: 0; max-width: 520px; font-size: 1.02rem; }
.sol-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 1.75rem; }
.sol-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0; }
.sol-specs div { margin: 0; }
.sol-specs dt { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -0.01em; }
.sol-specs dd { margin: 2px 0 0; font-size: 0.78rem; color: var(--ink-2); line-height: 1.4; }
.sol-visual { position: relative; padding: 0 0 2.5rem 2rem; }
.sol-visual .mockup-app { margin: 0; }
.sol-glass { position: absolute; left: 0; bottom: 0; z-index: 2; width: min(320px, 80%); }
.sol-visual--glass-only { padding: 0; display: flex; justify-content: center; }
.sol-visual--glass-only .sol-glass { position: static; width: min(400px, 100%); }

@media (max-width: 1024px) {
  .sol-stage { grid-template-columns: 1fr; }
  .sol-visual { padding: 0; }
  .sol-glass { position: relative; left: auto; bottom: auto; width: auto; margin: -2rem 1rem 0; }
}
@media (max-width: 560px) {
  .sol-specs { grid-template-columns: 1fr 1fr; }
  .sol-ctas { flex-direction: column; }
  .sol-ctas .btn { width: 100%; }
}

/* Solutions pages: Windpo bottom-card cue (arrow in the corner) */
.sol-page .benefit-card { position: relative; border-radius: 16px; }
.sol-page .benefit-card::after {
  content: '\2197';
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-size: 1rem;
  color: var(--tone-2);
  transition: color 0.2s, transform 0.2s;
}
.sol-page .benefit-card:hover::after { color: var(--gold-600); transform: translate(2px, -2px); }

.mockup-tab-btn:hover { color: var(--ink); }
.mockup-tab-btn.active { background: var(--gold-100); color: var(--gold-text); }

/* Screenshot frames size to the image (old CSS mockups needed 520px) */
.sol-visual .mockup-app-body { min-height: 0; }
.mockup-tabs-bar { background: var(--sky-50) !important; }

/* ── Industries slider (2026-10-03): see-through glass, slide-in content,
      progress fill on the active tab while auto-advancing ── */
.ind-glass {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: rgba(255, 255, 255, 0.55);
}
.ind-rows li { border-top-color: rgba(15, 23, 42, 0.12); }
.ind-rows b {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--ink);
}
.ind-rows span, .ind-glass-head span { color: var(--ink); }
.ind-glass-link { border-top-color: rgba(15, 23, 42, 0.12); }

/* content slides in each time a panel is shown */
.ind-copy  { animation: indIn 0.7s var(--ease-out) both; }
.ind-glass { animation: indIn 0.7s var(--ease-out) 0.12s both; }
@keyframes indIn {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: none; }
}
.ind-glass { animation-name: indInRight; }
@keyframes indInRight {
  from { opacity: 0; transform: translateX(22px); }
  to   { opacity: 1; transform: none; }
}

/* progress fill on the active pill */
.ind-tab { position: relative; overflow: hidden; }
.ind-tab::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
}
.ind-explorer.is-auto .ind-tab[aria-selected="true"]::after {
  animation: indProgress var(--ind-dur, 6000ms) linear forwards;
}
@keyframes indProgress { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .ind-copy, .ind-glass, .ind-bg { animation: none; }
}

/* Industries glass: smoky translucent so it reads over dark AND light photos */
.ind-glass {
  background: rgba(8, 20, 38, 0.5);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.ind-glass-head span,
.ind-rows span { color: #ffffff; }
.ind-glass-head em { color: var(--gold-300); }
.ind-rows li,
.ind-glass-link { border-top-color: rgba(255, 255, 255, 0.14); }
.ind-rows svg { color: var(--sky-300); }
.ind-rows b {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.ind-glass-link { color: #ffffff; }
.ind-glass-link:hover { color: var(--gold-300); }

/* About: company tagline (moved from the old endcap) */
.about-tagline {
  margin-top: var(--space-xl);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--gold-500);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
