/* AxiomBlue Static Website Styles */

/* Self-hosted variable font — served from our own origin (no Google Fonts CDN
   call, GDPR-friendly) and matched to the <link rel="preload"> in head.ejs so the
   preloaded woff2 is actually consumed. */
/* Display + body/UI — Hanken Grotesk (warm, rounded, highly legible humanist
   grotesk). One family carries both roles via weight contrast: Bricolage
   Grotesque's angular display cut read as sharp/cold at hero size, so
   headlines now lean on Hanken Grotesk's own bold weights instead. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/HankenGrotesk[wght].woff2') format('woff2-variations'),
       url('/fonts/HankenGrotesk[wght].woff2') format('woff2');
}

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

:root {
  /* Brand Colors - AxiomBlue Design System */
  --navy-950: #0B233A;
  --navy-900: #0B233A;
  --navy-950-rgb: 11, 35, 58;
  --navy-800: #1a3b5c;
  --navy-700: #183b5e;
  --navy-600: #1f4e70;
  --navy-500: #2f6a8a;

  /* Accent - Teal/Cyan */
  --cyan-500: #00D4FF;
  --cyan-400: #33ddff;
  --cyan-300: #66e5ff;

  /* Aliases for compatibility */
  --primary: var(--cyan-500);
  --primary-dark: #00b8e6;
  --primary-light: var(--cyan-400);
  --secondary: var(--navy-800);
  --accent: var(--cyan-500);

  /* Neutrals - Slate */
  --slate-50: #F0F4F8;
  --slate-100: #E2E8F0;
  --slate-200: #CBD5E1;
  --slate-300: #94A3B8;
  --slate-400: #64748B;
  --slate-500: #475569;
  --slate-600: #334155;
  --slate-700: #1E293B;

  /* Gray aliases */
  --gray-50: var(--slate-50);
  --gray-100: var(--slate-100);
  --gray-200: var(--slate-200);
  --gray-300: var(--slate-300);
  --gray-400: var(--slate-400);
  --gray-500: var(--slate-500);
  --gray-600: var(--slate-600);
  --gray-700: var(--slate-700);
  --gray-800: var(--navy-800);
  --gray-900: var(--navy-900);

  --white: #ffffff;

  /* Semantic Colors */
  --success: #28c840;
  --warning: #febc2e;
  --error: #ff5f57;

  /* Typography */
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Monaco, monospace;

  /* 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;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Gold/Emerald (mapped to brand cyan) */
  --gold-500: #00D4FF;
  --gold-400: #33ddff;
  --gold-300: #66e5ff;
  --emerald-500: #00D4FF;
  --emerald-400: #33ddff;

  /* RGB variants for rgba() usage */
  --white-rgb: 255, 255, 255;
  --navy-950-rgb: 11, 35, 58;
  --navy-800-rgb: 26, 59, 92;
  --gold-500-rgb: 0, 212, 255;

  /* Numeric spacing scale (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-7: 3.5rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Typography aliases — one family, weight does the display/body contrast */
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);

  /* Layout */
  --nav-height: 80px;
  --section-padding: clamp(4rem, 10vw, 6rem);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Global reduced-motion safety net — applies site-wide (every page loads
   styles.css), so animations/transitions are neutralised for users who ask
   for reduced motion, even on pages with their own page-level CSS. */
@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;
  }
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  max-width: 65ch;
}

.text-gradient {
  color: var(--cyan-500);
}

.text-cyan {
  color: var(--cyan-500);
}

.text-slate {
  color: var(--slate-500);
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 960px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--cyan-500);
  color: var(--navy-950);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-800);
  border: 2px solid var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--navy-600);
  color: var(--navy-600);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-500);
  border: 2px solid var(--slate-200);
}

.btn-ghost:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  color: var(--navy-800);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-100);
  box-shadow:
    0 24px 60px rgba(11, 35, 58, 0.10),
    0 4px 12px rgba(11, 35, 58, 0.05);
  transition: all var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--slate-100);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.nav-logo img {
  height: 40px;
}

.nav-logo-text {
  color: var(--navy-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-link {
  color: var(--gray-600);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-cta {
  margin-left: var(--space-md);
}

/* Mobile Navigation */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition-fast);
}

.nav-hamburger.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 80vw);
  background: white;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  padding: var(--space-xl);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: var(--space-sm);
}

.mobile-nav-close {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-600);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.mobile-nav-close:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.mobile-auth-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}

.mobile-sso-btn-google.sso-btn {
  background: white;
  border: 2px solid var(--gray-200);
  color: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: all var(--transition-fast);
  width: 100%;
}

.mobile-sso-btn-google.sso-btn:hover {
  background: var(--slate-50);
  border-color: var(--gray-300);
  color: var(--navy-900);
  box-shadow: none;
}

.mobile-auth-login-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-auth-login-group .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.mobile-auth-btns > .mobile-nav-signup {
  width: 100%;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.mobile-nav-links {
  list-style: none;
  margin-top: var(--space-xl);
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav-links a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--gray-700);
  font-size: 1.125rem;
  font-weight: 500;
}

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

@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .mobile-nav-overlay {
    display: block;
  }

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

  .nav-inner {
    height: 56px;
  }

  .features-category-nav {
    top: 56px;
  }

  .features-category-link {
    padding: 10px 14px;
  }

  .sticky-demo-bar {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at top right, #1a3b5c 0%, #0B233A 40%);
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--cyan-500);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
  margin-bottom: var(--space-lg);
  color: white;
}

.hero h1 span {
  color: var(--cyan-500);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--slate-300);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-buttons-mobile {
  display: none;
}

.hero .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-top: 0.25rem;
}

.hero-visual {
  position: relative;
}

/* Hero Dashboard Mockup */
.hero-dashboard {
  position: relative;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dashboard-dot.red { background: #ff5f57; }
.dashboard-dot.yellow { background: #febc2e; }
.dashboard-dot.green { background: #28c840; }

.dashboard-body {
  padding: var(--space-lg);
}

.dashboard-metric {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.metric-value.positive {
  color: var(--success);
  font-size: 1.25rem;
}

.metric-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: var(--space-lg);
}

.metric-bar {
  flex: 1;
  background: linear-gradient(to top, var(--cyan-500), rgba(0, 212, 255, 0.3));
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.dashboard-alert {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(40, 200, 64, 0.1);
  border: 1px solid rgba(40, 200, 64, 0.3);
  border-radius: 6px;
}

.alert-icon {
  width: 32px;
  height: 32px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.alert-text {
  font-size: 0.875rem;
  color: var(--slate-300);
}

.alert-text strong {
  display: block;
  color: white;
  margin-bottom: 0.125rem;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: white;
  padding: var(--space-md);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.floating-card-1 {
  top: -20px;
  right: -20px;
}

.floating-card-2 {
  bottom: 40px;
  left: -30px;
}

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.floating-icon.gold {
  background: rgba(251, 191, 36, 0.15);
}

.floating-icon.emerald {
  background: rgba(16, 185, 129, 0.15);
}

.floating-label {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.floating-value {
  font-weight: 700;
  color: var(--navy-900);
}

/* Hero Articles Sidebar */
.hero-articles {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
}

.hero-articles h3 {
  color: white;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--cyan-500);
  font-size: 1.25rem;
}

.hero-articles .article-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  margin-bottom: var(--space-md);
  transition: all var(--transition-fast);
}

.hero-articles .article-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-articles .article-card:hover .article-card-chevron {
  transform: translateX(4px);
  color: var(--cyan-500);
}

.hero-articles .article-card-content {
  flex: 1;
  min-width: 0;
}

.hero-articles .article-card-chevron {
  flex-shrink: 0;
  color: var(--slate-400);
  transition: all var(--transition-fast);
}

.hero-articles .article-card-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--cyan-500);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.hero-articles .article-card h4 {
  font-size: 0.9375rem;
  color: white;
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.hero-articles .article-card p {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin: 0;
  line-height: 1.5;
}

.hero-articles .btn-ghost,
.hero-articles .btn-ghost:link,
.hero-articles .btn-ghost:visited {
  background: transparent;
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-articles .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white !important;
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 968px) {
  .hero {
    padding-top: 120px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-articles {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 88px;
    padding-bottom: 40px;
  }

  .hero-feature-tiles {
    margin-top: var(--space-lg);
  }

  .hero-app-badges {
    margin-top: var(--space-lg);
  }

  .app-badge {
    min-width: 140px;
    padding: 0.45rem 1rem 0.45rem 0.75rem;
  }
}

/* Carousel Wrapper */
.carousel-wrapper {
  padding: var(--space-3xl) 0;
  max-width: 100%;
  overflow: hidden;
}

/* Carousel Section */
.carousel-section {
  position: relative;
  min-width: 0; /* Prevent flex/grid blowout */
  overflow: hidden;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  isolation: isolate;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-slow);
  width: 100%;
  position: relative;
  z-index: 1;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  padding: var(--space-2xl);
  box-sizing: border-box;
}

.carousel-slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 100%;
}

.carousel-slide-content > * {
  min-width: 0;
}

.carousel-slide-text h3 {
  margin-bottom: var(--space-md);
  color: var(--gray-900);
}

.carousel-slide-text p {
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
}

.carousel-slide-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.carousel-slide-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  position: relative;
  z-index: 100;
  background: white;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  z-index: 101;
  pointer-events: auto;
}

.carousel-btn:hover {
  background: var(--cyan-500);
  color: var(--navy-950);
}

.carousel-btn:active {
  transform: scale(0.95);
  background: var(--cyan-500);
}

.carousel-dots {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
  pointer-events: auto;
}

.carousel-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  transition: all var(--transition-fast);
}

.carousel-dot.active::before {
  background: var(--primary);
  width: 24px;
}

.carousel-dot:active::before {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-slide-content {
    grid-template-columns: 1fr;
  }

  .carousel-slide-image {
    order: -1;
  }

  .carousel-slide {
    padding: var(--space-lg);
    pointer-events: auto;
  }

  .carousel-controls {
    padding: var(--space-md);
    z-index: 1000 !important;
    pointer-events: auto !important;
    background: white;
  }

  .carousel-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 1001 !important;
  }

  .carousel-dot {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 1001 !important;
  }

  .carousel-track {
    pointer-events: none;
  }

  .carousel-slide * {
    pointer-events: auto;
  }
}

/* Latest Articles Sidebar */
.articles-sidebar {
  position: sticky;
  top: 100px;
}

.articles-sidebar h3 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--primary);
}

.article-card {
  display: block;
  padding: var(--space-md);
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.article-card-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--cyan-500);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.article-card h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
}

.article-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
}

/* Pricing Section */
.pricing-section {
  padding: var(--space-3xl) 0;
  background: #eef4ff;
  border-top: 3px solid var(--cyan-500);
}

.pricing-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.pricing-header h2 {
  margin-bottom: var(--space-md);
  color: var(--navy-900);
}

.pricing-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* Billing Interval Toggle */
.pricing-interval-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-2xl);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.pricing-interval-btn {
  padding: 8px 20px;
  border: none;
  background: transparent;
  color: var(--gray-500);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-interval-btn.active {
  background: white;
  color: var(--navy-900);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.pricing-save-badge {
  background: #10b981;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .pricing-interval-btn {
    min-height: 44px;
  }
}

.pricing-yearly-note {
  font-size: 0.8rem;
  color: var(--slate-400);
  margin-top: 4px;
  display: none;
}

.pricing-yearly-note.visible {
  display: block;
}

/* Bookkeeping Toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  padding: var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-toggle-label {
  font-weight: 500;
  color: var(--gray-700);
}

.pricing-toggle-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.pricing-toggle-switch.active {
  background: var(--primary);
}

.pricing-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle-switch.active::after {
  transform: translateX(28px);
}

.pricing-toggle-info {
  font-size: 0.875rem;
  color: var(--success);
  font-weight: 500;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 968px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.pricing-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-xs) var(--space-md);
  background: var(--cyan-500);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card-header {
  text-align: center;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--space-lg);
}

.pricing-card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.pricing-card-description {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.pricing-card-price {
  margin-top: var(--space-lg);
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.pricing-amount sup {
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: super;
}

.pricing-period {
  font-size: 1rem;
  color: var(--gray-500);
}

.pricing-bookkeeping-addon {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--success);
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}

.pricing-bookkeeping-addon.visible {
  display: block;
}

.pricing-card-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.pricing-card-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

.pricing-card-features li.disabled {
  color: var(--gray-400);
}

.pricing-card-features li.disabled::before {
  background: var(--gray-300);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.pricing-card .btn {
  width: 100%;
}

/* Features Section */
.features-section {
  padding: var(--space-3xl) 0;
  background: white;
  border-top: 1px solid var(--gray-200);
}

.features-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.features-header h2 {
  margin-bottom: var(--space-md);
}

.features-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
}

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

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

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

  .feature-card {
    padding: var(--space-lg);
  }
}

.feature-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--navy-900);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--cyan-500);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h4 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin: 0;
}

/* Demo CTA Section */
.demo-section {
  padding: var(--space-3xl) 0;
  background: var(--navy-900);
  color: white;
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.demo-text h2 {
  color: white;
  margin-bottom: var(--space-md);
}

.demo-text p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.demo-text .btn-secondary {
  background: white;
  color: var(--primary);
  border-color: white;
}

.demo-text .btn-secondary:hover {
  background: transparent;
  color: white;
}

.demo-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.demo-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.demo-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-feature h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.demo-feature p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

@media (max-width: 968px) {
  .demo-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .demo-features {
    justify-items: center;
    text-align: left;
  }
}

/* ── Global mobile spacing ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --space-3xl: 2.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }
}

/* Trust Section */
.trust-section {
  padding: var(--space-2xl) 0;
  background: var(--slate-50);
  border-bottom: 1px solid var(--gray-200);
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: nowrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-600);
  font-weight: 500;
  white-space: nowrap;
}

.trust-badge-icon {
  font-size: 1.5rem;
}

@media (max-width: 640px) {
  .trust-badges {
    gap: var(--space-md);
  }

  .trust-badge {
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .trust-badge-icon {
    font-size: 1.1rem;
  }
}

/* Testimonials */
.testimonials-section {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

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

@media (max-width: 968px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

.testimonial-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--warning);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--navy-900);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-500);
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Footer */
.footer {
  background: #0a1628;
  color: var(--slate-400);
  padding: var(--space-3xl) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

.footer-mobile {
  display: none;
}

@media (max-width: 640px) {
  .footer-desktop {
    display: none;
  }

  .footer-mobile {
    display: block;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0;
  }

  .footer-mobile .footer-logo-link {
    margin-bottom: var(--space-sm);
  }

  .footer-mobile-trust {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
  }

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

  .footer-mobile-nav-col {
    display: flex;
    flex-direction: column;
  }

  .footer-mobile-nav-col .footer-heading {
    margin-bottom: var(--space-md);
  }

  .footer-mobile-nav-col a {
    font-size: 0.9375rem;
    color: var(--slate-400);
    text-decoration: none;
    padding: 7px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: color var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .footer-mobile-nav-col a:last-child {
    border-bottom: none;
  }

  .footer-mobile-nav-col a:hover {
    color: white;
  }
}

/* Brand column */
.footer-logo-link {
  display: inline-flex;
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer-axiomblue-logo {
  gap: 10px;
}

.footer-axiomblue-logo .axiomblue-logo-text-word {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
}

.footer-logo-accent {
  color: var(--cyan-500) !important;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate-400);
  max-width: 280px;
  margin-bottom: var(--space-lg);
}

.footer-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--slate-400);
}

.footer-trust-badge svg {
  color: var(--cyan-500);
  flex-shrink: 0;
}

/* Footer social icons */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-lg);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  color: var(--slate-400);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.footer-social-link:hover {
  background: var(--cyan-500);
  color: var(--navy-900);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Contact page social section */
.contact-social {
  background: var(--slate-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.contact-social h3 {
  margin: 0 0 var(--space-md);
  color: var(--navy-900);
  font-size: 1.2rem;
}

.contact-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: var(--space-md);
}

.contact-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  background: var(--white);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-social-card:hover {
  border-color: var(--cyan-500);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.contact-social-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.contact-social-card-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-social-card-platform {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-900);
  line-height: 1.2;
}

.contact-social-card-handle {
  font-size: 0.8rem;
  color: var(--slate-500);
  word-break: break-all;
}

@media (max-width: 640px) {
  .contact-social-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-social-card {
    padding: var(--space-md) var(--space-sm);
  }

  .contact-social-card-icon {
    width: 36px;
    height: 36px;
  }

  .contact-social-card-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Column headings */
.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--slate-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

/* Bottom bar */
.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--slate-500);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: white;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}

@media (max-width: 768px) {
  .footer-bottom-links a,
  .footer-links a {
    display: block;
    padding: 8px 0;
    min-height: 44px;
    line-height: 28px;
  }

  footer {
    padding-bottom: 80px;
  }
}

/* Page Headers */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto;
}

.page-header-dark {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.page-header-dark h1 {
  color: white;
}

.page-header-dark p {
  color: var(--slate-300);
}

.page-header-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  align-items: center;
}

.page-header-actions .btn {
  min-height: 44px;
}

@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 32px;
  }

  .page-header h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
}

.page-header-dark .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.page-header-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Features Category Nav */
.features-category-nav {
  position: sticky;
  top: 64px;
  z-index: 50;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  overflow: hidden;
}

.features-category-nav::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, white);
  pointer-events: none;
  z-index: 1;
}

.features-category-list {
  display: flex;
  list-style: none;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.features-category-list::-webkit-scrollbar {
  display: none;
}

.features-category-link {
  display: block;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.features-category-link:hover {
  color: var(--navy-900);
  border-bottom-color: var(--cyan-500);
}

/* Services Page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  padding: var(--space-3xl) 0;
}

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

.service-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-card-image {
  height: 200px;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image svg {
  width: 80px;
  height: 80px;
  color: var(--cyan-500);
}

.service-card-content {
  padding: var(--space-xl);
}

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

.service-card p {
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.service-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Industries Page */
.industries-section {
  padding: var(--space-3xl) 0;
}

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

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

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

.industry-card {
  background: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.industry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.industry-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background: var(--navy-900);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--cyan-500);
}

.industry-card h4 {
  margin-bottom: var(--space-sm);
}

.industry-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: var(--gray-600);
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-center p,
p.text-center { margin-left: auto; margin-right: auto; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--cyan-500);
  color: var(--navy-950);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--white);
  transform: translateY(-2px);
}

body:has(.sticky-demo-bar.visible) .scroll-top {
  bottom: 80px;
}

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

.form-label {
  display: block;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--gray-400);
}

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


/* Account Dropdown in Navigation */
.nav-account {
  position: relative;
}

.nav-account-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: transparent;
  border: 2px solid var(--slate-200);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy-900);
  transition: all var(--transition-fast);
}

.nav-account-btn:hover {
  border-color: var(--navy-600);
  background: var(--slate-50);
}

.nav-account-avatar {
  font-size: 1rem;
}

.nav-account-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-account-caret {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.nav-account-btn[aria-expanded="true"] .nav-account-caret {
  transform: rotate(180deg);
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.account-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1rem;
  color: var(--navy-800);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.account-dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.account-dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--slate-100);
  color: var(--error);
}

.account-dropdown-item:hover {
  background: var(--slate-50);
}

.account-dropdown-item svg {
  flex-shrink: 0;
  color: var(--slate-500);
}

.account-dropdown-item:last-child svg {
  color: var(--error);
}

/* Mobile Navigation Account */
.mobile-nav-account {
  padding: 0 0 var(--space-lg);
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav-account-logged-in {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Generic Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(var(--navy-950-rgb), 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: 100%;
  max-width: 500px;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-slow);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.modal-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

@media (min-width: 540px) {
  .modal-title-block {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-900);
}

.modal-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--slate-500);
  transition: all var(--transition-fast);
  background: transparent;
  border: none;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--slate-200);
  color: var(--navy-900);
}

@media (max-width: 768px) {
  .modal-close,
  .login-modal-close {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .signup-overlay .modal-close {
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.modal-body {
  padding: 2rem;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  text-align: center;
}

.form-error {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--error);
  text-align: center;
  min-height: 1.25rem;
}

/* Login Modal */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 35, 58, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  padding: var(--space-lg);
}

.login-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.login-modal {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-base);
}

.login-modal-overlay.open .login-modal {
  transform: translateY(0) scale(1);
}

.login-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  border-bottom: 1px solid var(--slate-100);
}

.login-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
}

.login-modal-subtitle {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin: 0.25rem 0 0;
}

.login-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-100);
  border: none;
  border-radius: 8px;
  font-size: 1.5rem;
  color: var(--slate-500);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.login-modal-close:hover {
  background: var(--slate-200);
  color: var(--navy-900);
}

.login-modal-body {
  padding: var(--space-xl);
}

.login-form .form-group {
  margin-bottom: var(--space-lg);
}

.login-form .form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: var(--space-md);
  text-align: center;
  min-height: 1.25rem;
}

.login-hint {
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: var(--space-lg);
  margin-bottom: 0;
}

/* ========================================
   Image Lightbox / Shadowbox
   ======================================== */

.carousel-slide-image img {
  cursor: zoom-in;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.carousel-slide-image img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.carousel-slide-image img:focus {
  outline: 2px solid var(--cyan-500);
  outline-offset: 4px;
}

.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox-trigger:hover {
  opacity: 0.92;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 35, 58, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  cursor: zoom-out;
  padding: var(--space-xl);
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-close:focus {
  outline: 2px solid var(--cyan-500);
  outline-offset: 2px;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: lightboxZoomIn 0.3s ease-out;
}

@keyframes lightboxZoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-info {
  max-width: 720px;
  margin-top: var(--space-lg);
  text-align: center;
  animation: lightboxZoomIn 0.3s ease-out 0.1s both;
}

.lightbox-caption {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  opacity: 0.95;
}

.lightbox-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: var(--space-sm) 0 0;
}

/* Mobile adjustments for lightbox */
@media (max-width: 768px) {
  .lightbox-overlay {
    padding: var(--space-md);
  }

  .lightbox-close {
    top: var(--space-md);
    right: var(--space-md);
  }

  .lightbox-content img {
    max-height: 50vh;
  }

  .lightbox-info {
    max-width: 100%;
  }

  .lightbox-description {
    font-size: 0.875rem;
  }
}

/* ============================================
   AUTHENTICATION & LOGIN COMPONENTS
   ============================================ */

/* Account Dropdown */
.nav-account {
  position: relative;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  width: 220px;
  background: var(--white);
  border: 1px solid rgba(24, 59, 94, 0.12);
  border-radius: 0.75rem;
  padding: 0.4rem 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: transform 180ms ease, opacity 180ms ease;
  z-index: 3000;
}

.account-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0px) scale(1);
}

.account-dropdown a,
.account-dropdown button.account-logout {
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  padding: 0.55rem 1.2rem;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  display: block;
}

.account-dropdown button.account-logout {
  border-top: 1px solid rgba(24, 59, 94, 0.08);
  color: var(--red-500, #ef4444);
  border-radius: 0 0 0.75rem 0.75rem;
}

.account-dropdown a:hover,
.account-dropdown button.account-logout:hover {
  background: rgba(24, 59, 94, 0.08);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-account-name {
  font-weight: 700;
}

.nav-account-caret {
  width: 12px;
  height: 12px;
  transition: transform 0.15s ease;
  fill: none;
  stroke: currentColor;
}

.nav-account-caret.open {
  transform: rotate(180deg);
}

/* Axiom Blue Logo */
.axiomblue-logo {
  display: inline-flex;
  align-items: center;
}

.axiomblue-logo.layout-vertical {
  flex-direction: column;
  align-items: center;
}

.axiomblue-logo-symbol {
  display: block;
  max-width: 100%;
  height: auto;
}

.axiomblue-logo-text {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-block;
  color: var(--navy);
}

.axiomblue-logo-text-word.accent {
  color: #27bab4;
}

/* ============================================================
   FAQ Styles
   ============================================================ */

.faq-section {
  background: var(--white);
  padding: var(--section-padding) 0;
}

/* ============================================================
   Contact page
   ============================================================ */

.contact-section {
  background: var(--white);
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--cyan-500);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.contact-card h2 {
  font-size: 1.4rem;
  margin: 0 0 var(--space-xs);
  color: var(--navy-900);
}

.contact-card-description {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-list-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  font-weight: 600;
}

.contact-list a {
  color: var(--cyan-500);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-word;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-company {
  background: var(--slate-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: 0;
}

.contact-company h3 {
  margin: 0 0 var(--space-md);
  color: var(--navy-900);
  font-size: 1.2rem;
}

.contact-company-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md) var(--space-xl);
  margin: 0;
}

.contact-company-list > div {
  display: flex;
  flex-direction: column;
}

.contact-company-list dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-company-list dd {
  margin: 0;
  color: var(--navy-900);
  font-weight: 500;
}

.contact-company-list a {
  color: var(--cyan-500);
  text-decoration: none;
}

.contact-company-list a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .contact-card { padding: var(--space-lg); }
}

.faq-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-8);
}

.faq-grid,
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-question {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-900);
  text-align: left;
  transition: color var(--transition-fast);
}

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

.faq-question:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.faq-icon,
.faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--slate-400);
  transition: all var(--transition-fast);
}

.faq-item.active .faq-icon,
.faq-item.active .faq-chevron {
  color: var(--gold-400);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-answer-inner,
.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* FAQ Page */
.faq-page-section {
  padding: var(--section-padding) 0;
}

.faq-grid-full {
  max-width: 900px;
  margin: 0 auto;
}

.faq-contact-section {
  background: var(--slate-50);
  padding: var(--section-padding) 0;
}

.faq-contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.faq-contact-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: var(--space-2);
}

.faq-contact-inner p {
  color: var(--slate-600);
  font-size: 1.0625rem;
  margin-bottom: var(--space-4);
}

.faq-contact-buttons {
  display: flex;
  justify-content: center;
}

/* ============================================================
   Change Password Styles
   ============================================================ */

.change-password-screen {
  position: fixed;
  inset: 0;
  background: rgba(var(--navy-950-rgb), 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  z-index: 5000;
}

.change-password-card {
  width: min(640px, 100%);
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  padding: clamp(2rem, 4vw, 3rem);
}

.change-password-logo {
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.change-password-logo .axiomblue-logo-text {
  color: var(--navy-900);
}

.change-password-body h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.change-password-note {
  background: var(--slate-50);
  border-left: 4px solid var(--gold-500);
  padding: 1rem 1rem 1rem 1.25rem;
  border-radius: 0.75rem;
  color: var(--navy-700);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.change-password-form .form-group + .form-group {
  margin-top: 1rem;
}

.change-password-form .form-submit {
  margin-top: 1.5rem;
}

.change-password-form .form-error {
  margin-top: 0.75rem;
}

/* ============================================================
   Page Hero Styles
   ============================================================ */

.page-hero {
  padding: calc(var(--nav-height) + var(--space-10)) 0 var(--space-8);
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  text-align: center;
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.page-hero-text,
.page-hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--slate-300);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.page-hero-cta {
  margin-top: var(--space-4);
}

/* ============================================================
   Portal Mockup Styles
   ============================================================ */

.portal-mockup {
  position: relative;
  background: var(--navy-900);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.portal-screen {
  background: var(--slate-100);
  border-radius: 0.75rem;
  overflow: hidden;
}

.portal-screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.portal-screen-title {
  font-weight: 600;
  color: var(--navy-900);
}

.portal-screen-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
}

.portal-screen-avatar {
  width: 28px;
  height: 28px;
  background: var(--gold-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-900);
}

.portal-screen-body {
  padding: 1.25rem;
}

.portal-metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.portal-metric {
  background: var(--white);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
}

.portal-metric-label {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 0.25rem;
}

.portal-metric-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
}

.portal-metric-value.positive {
  color: var(--emerald-500);
}

.portal-chart {
  background: var(--white);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--slate-200);
}

.portal-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.portal-chart-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
}

.portal-chart-legend {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.portal-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 80px;
  gap: 8px;
}

.portal-bar-group {
  display: flex;
  gap: 4px;
  align-items: flex-end;
}

.portal-bar {
  width: 16px;
  border-radius: 3px 3px 0 0;
}

.portal-bar.income {
  background: var(--emerald-400);
}

.portal-bar.expense {
  background: var(--slate-300);
}

.portal-mockup-large {
  transform: scale(1);
}

/* ============================================================
   Software Carousel Styles
   ============================================================ */

.software-carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  margin-top: var(--nav-height);
  overflow: hidden;
  background: var(--navy-950);
}

.software-carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.software-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
}

.software-carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.software-carousel-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.software-carousel-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.software-carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.software-carousel-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(var(--navy-950-rgb), 0.95) 0%, rgba(var(--navy-950-rgb), 0.7) 40%, transparent 100%);
}

.software-carousel-text {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-4);
}

.software-carousel-text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-2);
  line-height: 1.1;
}

.software-carousel-text p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--slate-300);
  max-width: 600px;
}

/* Carousel Navigation Arrows */
.software-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.1);
  border: 1px solid rgba(var(--white-rgb), 0.2);
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.software-carousel-arrow:hover {
  background: rgba(var(--white-rgb), 0.2);
  border-color: rgba(var(--white-rgb), 0.3);
}

.software-carousel-prev {
  left: var(--space-4);
}

.software-carousel-next {
  right: var(--space-4);
}

/* Carousel Dots */
.software-carousel-dots {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: var(--space-2);
}

.software-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.software-carousel-dot:hover {
  background: rgba(var(--white-rgb), 0.5);
}

.software-carousel-dot.active {
  background: var(--gold-400);
  transform: scale(1.2);
}

/* ============================================================
   Software Value Banner
   ============================================================ */

.software-value-banner {
  background: var(--gold-400);
  padding: var(--space-6) 0;
}

.software-value-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.software-value-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: var(--space-2);
}

.software-value-content > p {
  color: var(--navy-800);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.software-value-content .btn-primary {
  background: var(--navy-950);
  color: var(--white);
}

.software-value-content .btn-primary:hover {
  background: var(--navy-800);
}

/* ============================================================
   Software Features Section
   ============================================================ */

.software-features-section {
  background: var(--slate-50);
  padding: var(--space-8) 0;
}

.software-features-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.software-features-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: var(--space-2);
}

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

.software-feature-card {
  background: var(--white);
  border-radius: 1rem;
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.software-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.software-feature-card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-2);
}

.software-feature-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: var(--space-1);
}

.software-feature-card p {
  color: var(--slate-500);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ============================================================
   Software Demo Section
   ============================================================ */

.software-demo-section {
  padding: var(--space-8) 0;
}

.software-demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

.software-demo-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: var(--space-3);
}

.software-demo-content > p {
  color: var(--slate-600);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.software-demo-list {
  list-style: none;
}

.software-demo-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  color: var(--slate-700);
  font-size: 0.9375rem;
  padding: var(--space-1) 0;
  line-height: 1.5;
}

.demo-check {
  color: var(--gold-500);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.software-demo-visual {
  display: flex;
  justify-content: center;
}

/* ============================================================
   Software Mobile Section
   ============================================================ */

.software-mobile-section {
  background: var(--navy-950);
  padding: var(--space-8) 0;
}

.software-mobile-header {
  text-align: center;
  margin-bottom: var(--space-5);
}

.software-mobile-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.software-mobile-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.software-mobile-feature {
  background: rgba(var(--white-rgb), 0.05);
  border: 1px solid rgba(var(--white-rgb), 0.1);
  border-radius: 1rem;
  padding: var(--space-4);
  text-align: center;
  transition: background var(--transition-fast);
}

.software-mobile-feature:hover {
  background: rgba(var(--white-rgb), 0.08);
}

.software-mobile-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-2);
}

.software-mobile-feature h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.software-mobile-feature p {
  color: var(--slate-300);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ============================================================
   404 Not Found Styles
   ============================================================ */

.not-found-section {
  padding: calc(var(--nav-height) + var(--space-10)) 0 var(--section-padding);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
}

.not-found-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.not-found-code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 800;
  color: var(--gold-500);
  line-height: 1;
  margin-bottom: var(--space-3);
  text-shadow: 0 0 60px rgba(var(--gold-500-rgb), 0.3);
}

.not-found-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
}

.not-found-content > p {
  color: var(--slate-300);
  font-size: 1.125rem;
  margin-bottom: var(--space-5);
}

.not-found-actions {
  margin-bottom: var(--space-6);
}

.not-found-links {
  color: var(--slate-400);
}

.not-found-links p {
  margin-bottom: var(--space-2);
}

.not-found-links ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.not-found-links a {
  color: var(--gold-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.not-found-links a:hover {
  color: var(--gold-300);
  text-decoration: underline;
}

/* ============================================================
   Animate on Scroll
   ============================================================ */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive Breakpoints for Appended Styles
   ============================================================ */

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

  .software-demo-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .software-demo-visual {
    order: -1;
  }

  .portal-mockup-large {
    max-width: 400px;
  }
}

@media (max-width: 968px) {
  .software-carousel {
    height: 60vh;
    min-height: 400px;
  }

  .software-carousel-text {
    padding: var(--space-6) var(--space-4);
  }

  .software-carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .software-carousel-prev {
    left: var(--space-2);
  }

  .software-carousel-next {
    right: var(--space-2);
  }

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

  .software-value-banner {
    padding: var(--space-5) 0;
  }

  .software-features-section,
  .software-demo-section,
  .software-mobile-section {
    padding: var(--space-6) 0;
  }
}

@media (max-width: 540px) {
  .page-hero {
    padding: calc(var(--nav-height) + var(--space-6)) 0 var(--space-6);
  }

  .not-found-links ul {
    flex-direction: column;
    gap: var(--space-2);
  }

  .software-carousel {
    height: 50vh;
    min-height: 350px;
  }

  .software-carousel-text h1 {
    font-size: 1.75rem;
  }

  .software-carousel-text p {
    font-size: 1rem;
  }

  .software-carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .software-carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .software-carousel-dots {
    bottom: var(--space-3);
  }

  .software-carousel-dot {
    width: 10px;
    height: 10px;
  }

  .software-value-banner {
    padding: var(--space-4) 0;
  }

  .software-value-content h2 {
    font-size: 1.25rem;
  }

  .software-value-content > p {
    font-size: 0.9375rem;
  }

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

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

  .portal-mockup-large {
    max-width: 100%;
    transform: scale(0.9);
  }
}

/* ============================================================
   HOMEPAGE REDESIGN - New Sections
   ============================================================ */

/* Hero Centered Layout */
.hero-content-centered {
  grid-template-columns: 1fr !important;
  text-align: center;
  gap: 0 !important;
}

.hero-text-centered {
  max-width: 800px;
  margin: 0 auto;
}

.hero-text-centered .hero-description {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  max-width: 640px;
}

.hero-buttons-centered {
  justify-content: center;
}


/* Hero Split Layout */
.hero-split {
  grid-template-columns: 3fr 3.75fr !important;
  align-items: center;
  gap: var(--space-2xl) !important;
  text-align: left;
}

.hero-screenshot-right {
  position: relative;
}

.hero-screenshot-floating {
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
  box-shadow:
    0 32px 64px -12px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy-800);
}

.hero-screenshot-floating:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(0deg);
}

.hero-screenshot-img-right {
  width: 100%;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top left;
}

/* Feature Screenshot Tiles */
.hero-feature-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-3xl);
  position: relative;
  z-index: 2;
}

.hero-feature-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.hero-feature-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hero-feature-tile-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 6px;
  color: var(--cyan-500);
}

.hero-feature-tile-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-300);
}

.hero-feature-tile--active {
  border-color: var(--cyan-500);
  background: rgba(0, 212, 255, 0.08);
}

.hero-feature-tile--active .hero-feature-tile-label {
  color: white;
}

.hero-feature-tile--active .hero-feature-tile-icon {
  background: rgba(0, 212, 255, 0.2);
}

/* App Store Badges */
.hero-app-badges {
  margin-top: var(--space-3xl);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-app-badges-label {
  font-size: 0.7rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin: 0;
}

.hero-app-badges-row {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  justify-content: center;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.125rem 0.5rem 0.875rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.2s ease, background 0.2s ease;
  min-width: 152px;
}

.app-badge:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: #111;
}

.app-badge svg {
  flex-shrink: 0;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-badge-small {
  font-size: 0.575rem;
  letter-spacing: 0.04em;
  font-weight: 400;
  opacity: 0.8;
}

.app-badge-large {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Auto-rotating screenshot switcher */
.hero-screenshot-switcher {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.hero-laptop-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Strategy hero images often have near-black backgrounds (interior scenes,
   night shots, low-key photography). `mix-blend-mode: screen` knocks the
   black out — it sums RGB values against the parent, so pure black becomes
   transparent and the subject stays visible against the navy hero gradient.
   Scoped by src so the main homepage laptop hero is unaffected. */
.hero-laptop-img[src$="/hero.png"] {
  mix-blend-mode: screen;
  border-radius: 0;
}

/* Stylized price-burst sticker on strategy hero images. Hi-vis yellow seal,
   slapped-on look, gentle wobble to catch the eye. */
.hero-price-burst {
  position: absolute;
  bottom: -46px;
  right: -26px;
  z-index: 5;
  width: 148px;
  height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f4c430;
  color: var(--navy-900, #0b233a);
  clip-path: polygon(
    50% 0%, 63% 10%, 79% 10%, 84% 25%, 98% 35%, 92% 50%,
    98% 65%, 84% 75%, 79% 90%, 63% 90%, 50% 100%, 37% 90%,
    21% 90%, 16% 75%, 2% 65%, 8% 50%, 2% 35%, 16% 25%,
    21% 10%, 37% 10%
  );
  transform: rotate(-12deg);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
  animation: hero-price-burst-wobble 4s ease-in-out infinite;
}

@keyframes hero-price-burst-wobble {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(-8deg) scale(1.04); }
}

.hero-price-burst-from {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.hero-price-burst-amount {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 0.95;
  margin: 2px 0;
}

.hero-price-burst-unit {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  max-width: 92px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-price-burst {
    animation: none;
  }
}

@media (max-width: 968px) {
  .hero-price-burst {
    width: 116px;
    height: 116px;
    bottom: -40px;
    right: 8px;
  }

  .hero-price-burst-amount {
    font-size: 2rem;
  }

  .hero-price-burst-from {
    font-size: 0.68rem;
  }

  .hero-price-burst-unit {
    font-size: 0.62rem;
    max-width: 78px;
  }
}

.hero-screenshot-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-screenshot-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.hero-screenshot-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Carousel hover caption bar */
.hero-carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 10;
  font-weight: 400;
}

.hero-carousel-caption.is-visible {
  transform: translateY(0);
}

/* Hero screenshot dot indicators */
.hero-screenshot-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 12px 0 4px;
  margin-top: 4px;
  z-index: 5;
}

.hero-screenshot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 48px;  /* touch target */
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* visual dot is via pseudo-element for large touch target with small visual */
  background: transparent;
}

.hero-screenshot-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.3s ease;
}

.hero-screenshot-dot.active::after {
  width: 24px;
  border-radius: 4px;
  background: #fff;
}

.hero-screenshot-dot:hover::after {
  background: rgba(255, 255, 255, 0.6);
}

/* Hero Product Screenshot (legacy full-width) */
.hero-screenshot-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: -20px auto 0;
  padding: 0 var(--space-lg);
}

.hero-screenshot-frame {
  background: var(--navy-800);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1200px) rotateX(2deg);
  transition: transform 0.4s ease;
}

.hero-screenshot-frame:hover {
  transform: perspective(1200px) rotateX(0deg);
}

.hero-screenshot-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dot.red { background: #ff5f57; }
.browser-dot.yellow { background: #febc2e; }
.browser-dot.green { background: #28c840; }

.browser-url-bar {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-400);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 16px;
  border-radius: 6px;
  margin-left: 8px;
  margin-right: 48px;
}

.hero-screenshot-img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top left;
}

/* Social Proof Stats Bar */
.stats-bar {
  padding: var(--space-2xl) 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  z-index: 3;
}

.stats-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

@media (max-width: 768px) {
  .stats-bar-inner {
    gap: var(--space-xl);
  }

  .stat-divider {
    display: none;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stats-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

/* Section Header (reusable) */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: var(--space-sm);
}

.pricing-header .section-eyebrow,
.features-header .section-eyebrow {
  display: block;
}

.screenshot-gallery .section-eyebrow {
  color: var(--cyan-500);
  opacity: 0.85;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p:not(.section-eyebrow) {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Showcase Section */
.feature-showcase {
  padding: var(--space-3xl) 0 0;
  background: white;
  position: relative;
  border-top: 1px solid var(--gray-200);
}

/* Colour accent custom properties per row variant */
.feature-row--amber  { --accent-color: #f59e0b; --accent-bg: rgba(245, 158, 11, 0.08); --accent-bg-alt: #fffbeb; }
.feature-row--cyan   { --accent-color: #06b6d4; --accent-bg: rgba(6, 182, 212, 0.08); --accent-bg-alt: #ecfeff; }
.feature-row--green  { --accent-color: #10b981; --accent-bg: rgba(16, 185, 129, 0.08); --accent-bg-alt: #ecfdf5; }
.feature-row--purple { --accent-color: #8b5cf6; --accent-bg: rgba(139, 92, 246, 0.08); --accent-bg-alt: #f5f3ff; }
.feature-row--blue   { --accent-color: #3b82f6; --accent-bg: rgba(59, 130, 246, 0.08); --accent-bg-alt: #eff6ff; }
.feature-row--rose   { --accent-color: #f43f5e; --accent-bg: rgba(244, 63, 94, 0.08); --accent-bg-alt: #fff1f2; }

/* Feature Row Wrapper -- full-bleed background with breathing room */
.feature-row-wrapper {
  padding: 3rem 0;
  background: white;
  position: relative;
}

.feature-row-wrapper--alt-bg,
.feature-row--alt-bg {
  background: var(--slate-50);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-3xl);
  row-gap: 0;
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.feature-row-image {
  grid-row: 1 / 3;
  align-self: center;
}

.feature-row-cta {
  align-self: start;
  justify-self: start;
  margin-top: var(--space-xl);
}

.feature-row-actions {
  margin-top: var(--space-lg);
  justify-content: flex-end;
  align-self: start;
}

.feature-row:last-child {
  margin-bottom: 0;
}

/* Remove margin when inside a wrapper (homepage uses wrappers for full-bleed bg) */
.feature-row-wrapper .feature-row {
  margin-bottom: 0;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

/* Left-border accent on text block (only inside colour-coded wrappers) */
.feature-row-wrapper .feature-row-text {
  border-left: 4px solid var(--accent-color, var(--cyan-500));
  padding-left: 1.75rem;
}

.feature-row-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan-500);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

/* Colour-coded badges inside feature-row wrappers */
.feature-row-wrapper .feature-row-badge {
  background: var(--accent-bg, rgba(0, 212, 255, 0.1));
  color: var(--accent-color, var(--cyan-500));
}

.feature-row-text h3 {
  margin-bottom: var(--space-md);
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.2;
}

.feature-row-text > p {
  color: var(--slate-500);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.feature-row-list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.feature-row-list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.feature-row-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--success);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Colour-coded checkmarks inside feature-row wrappers */
.feature-row-wrapper .feature-row-list li::before {
  background: var(--accent-color, var(--success));
}

/* Screenshot frame with accent bar */
.feature-screenshot-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.feature-screenshot-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.frame-accent-bar {
  height: 5px;
  width: 100%;
  background: var(--accent-color, var(--cyan-500));
}

.feature-screenshot-frame picture {
  display: block;
}

.feature-screenshot-frame img {
  width: 100%;
  display: block;
  cursor: pointer;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top left;
}

/* Landscape contextual photos render 3:2 native so we don't crop top/bottom
   off the photo composition. Identified by their <source type="image/webp">
   fallback; UI screenshots have no such source and stay 16:9 via the base rule. */
.feature-screenshot-frame:has(source[type="image/webp"]) img {
  aspect-ratio: 3/2;
}

/* ───── Money-leak strategy: interactive leak calculator ─────
   Replaces the static 01-calculator.png mockup. Layout mirrors that image:
   title + 3 sliders on the left, result card on the right. */
.feature-screenshot-frame:has(.leak-calc):hover {
  transform: none;
}

.leak-calc {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  background: #f7f5f2;
  font-family: var(--font-body);
}

.leak-calc-inputs {
  padding: 26px 26px 22px;
}

.leak-calc-title {
  margin: 0 0 22px;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0b2a5b;
}

.leak-calc-field {
  margin-bottom: 20px;
}

.leak-calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.leak-calc-label-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
}

.leak-calc-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #2e6bff;
  font-variant-numeric: tabular-nums;
}

.leak-calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e3e1dc;
  outline: none;
  cursor: pointer;
}

.leak-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2e6bff;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(46, 107, 255, 0.45);
  cursor: pointer;
}

.leak-calc-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2e6bff;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(46, 107, 255, 0.45);
  cursor: pointer;
}

.leak-calc-slider:focus-visible {
  outline: 2px solid #2e6bff;
  outline-offset: 4px;
}

.leak-calc-note {
  margin: 18px 0 0;
  font-size: 0.7rem;
  line-height: 1.5;
  color: #8a8780;
}

.leak-calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 20px;
  background: #fff;
  box-shadow: -10px 0 28px -16px rgba(0, 0, 0, 0.25);
}

.leak-calc-result-amount {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  color: #d9433a;
  font-variant-numeric: tabular-nums;
}

.leak-calc-result-per {
  font-size: 1rem;
  font-weight: 700;
}

.leak-calc-result-label {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
}

.leak-calc-result-year {
  margin-top: 16px;
  max-width: 210px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.45;
  color: #1fa77a;
}

.leak-calc-result-year [data-out] {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .leak-calc {
    grid-template-columns: 1fr;
  }

  .leak-calc-result {
    box-shadow: 0 -10px 28px -16px rgba(0, 0, 0, 0.2);
  }
}

@media (max-width: 968px) {
  .fd-intro-screenshot {
    width: 80%;
    max-width: 80%;
    margin: 0 auto;
  }

  /* Landscape photo treatment — same flat-card look as desktop, full
     container width, native 3:2 aspect. UI screenshots have no webp source
     and stay 16:9 via the base rule (desktop image shown on mobile too). */
  .feature-screenshot-frame:has(source[type="image/webp"]) img {
    aspect-ratio: 3/2;
  }
}

/* Angled divider between feature showcase and dark gallery */
.section-divider-angle {
  display: none;
}

@media (max-width: 968px) {
  .feature-row-wrapper {
    padding: 3rem 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .feature-row-reverse {
    direction: ltr;
  }

  .feature-row-image {
    order: 1;
    grid-row: auto;
    align-self: auto;
  }

  .feature-row-actions {
    order: 2;
    justify-content: center;
  }

  .feature-row-cta {
    order: 2;
    margin-top: 0;
    width: 100%;
    max-width: 300px;
    justify-self: center;
    justify-content: center;
  }

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

  .feature-row-wrapper .feature-row-text {
    border-left: none;
    padding-left: 0;
    border-top: 4px solid var(--accent-color, var(--cyan-500));
    padding-top: 1.5rem;
  }

  .feature-row-list {
    display: inline-block;
    text-align: left;
  }

  .feature-row-text .btn {
    width: 100%;
    max-width: 300px;
  }

  .section-divider-angle {
    height: 50px;
  }
}

/* ── Feature Row — Pro badge & CTA group ─────────────────────────────────── */

.feature-row-badge--pro {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.1));
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.feature-row-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-row-cta-link {
  color: var(--accent-color, var(--cyan-500));
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.feature-row-cta-link:hover {
  opacity: 0.75;
  text-decoration: underline;
}

@media (max-width: 968px) {
  .feature-row-cta-group {
    justify-content: center;
  }
}

/* ── Automation Benefits Strip ───────────────────────────────────────────── */

.automation-benefits-strip {
  background: #0f172a;
  padding: 4rem 0;
}

.automation-benefits-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.automation-benefits-header .section-eyebrow {
  color: #a78bfa;
}

.automation-benefits-header h3 {
  color: white;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0.5rem 0 0.75rem;
}

.automation-benefits-header > p {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
}

.automation-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.automation-example {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}

.automation-example:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.automation-example-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.automation-example-icon svg {
  width: 22px;
  height: 22px;
  color: white;
  stroke: white;
}

.automation-icon--blue   { background: #2563eb; }
.automation-icon--green  { background: #059669; }
.automation-icon--amber  { background: #d97706; }
.automation-icon--purple { background: #7c3aed; }
.automation-icon--teal   { background: #0d9488; }
.automation-icon--rose   { background: #e11d48; }

.automation-example-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.automation-example-content strong {
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.automation-example-content span {
  color: #94a3b8;
  font-size: 0.8125rem;
  line-height: 1.5;
}

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

@media (max-width: 600px) {
  .automation-examples-grid {
    grid-template-columns: 1fr;
  }

  .automation-benefits-header h3 {
    font-size: 1.4rem;
  }
}

/* ── Feature card variants ───────────────────────────────────────────────── */

.feature-card--highlight {
  border: 2px solid #8b5cf6;
  background: linear-gradient(135deg, #faf5ff 0%, #fff 100%);
}

.feature-icon--purple {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: white;
}

.feature-card-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  top: -1px;
}

/* Screenshot Gallery */
.screenshot-gallery {
  padding: 5rem 0 var(--space-3xl);
  background: #071427;
  color: white;
  position: relative;
}

@media (max-width: 768px) {
  .screenshot-gallery {
    padding: 2.5rem 0 2rem;
  }
}

.screenshot-gallery .section-header h2 {
  color: white;
}

.screenshot-gallery .section-header p {
  color: var(--slate-300);
}

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

.gallery-tab {
  padding: 8px 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--slate-300);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.gallery-tab.active {
  background: var(--cyan-500);
  color: var(--navy-950);
  border-color: var(--cyan-500);
}

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

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  border-color: var(--cyan-500);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.15);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.gallery-item-label {
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-300);
  text-align: center;
}

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

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

/* Mobile: horizontal scroll carousel for screenshot gallery */
@media (max-width: 768px) {
  .screenshot-gallery .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 16px;
    max-width: none;
    margin: 0;
  }

  .screenshot-gallery .gallery-grid > .gallery-item {
    scroll-snap-align: start;
    flex: 0 0 85%;
    min-width: 85%;
  }

  /* Hide the section header description on mobile to save space */
  .screenshot-gallery .section-header p {
    display: none;
  }
}

/* Articles Section on Homepage */
.articles-section {
  padding: var(--space-3xl) 0;
  background: #f8fafc;
  border-top: 1px solid var(--gray-200);
}

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

.article-card-homepage {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
  border: 1px solid var(--gray-200);
}

.article-card-homepage:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.article-card-homepage-content {
  flex: 1;
  min-width: 0;
}

.article-card-homepage h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
  line-height: 1.4;
}

.article-card-homepage p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-homepage .article-card-chevron {
  flex-shrink: 0;
  color: var(--slate-400);
  transition: all var(--transition-fast);
}

.article-card-homepage:hover .article-card-chevron {
  color: var(--primary);
  transform: translateX(4px);
}

@media (max-width: 968px) {
  .articles-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Dark CTA Section */
.cta-section-dark {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.cta-section-dark h2 {
  color: white;
}

.cta-section-dark p {
  color: var(--slate-300);
}

.cta-section-dark .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-section-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-trust-line {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-top: var(--space-lg);
  margin-bottom: 0;
}

/* ============================================================
   Demo CTA Band (below hero)
   ============================================================ */
.demo-cta-band {
  background: #ffffff;
  border-top: 4px solid var(--cyan-500);
  padding: 3rem 0 3.5rem;
  text-align: center;
}

.demo-cta-lead {
  font-size: 1.0625rem;
  color: var(--slate-400);
  margin: 0 auto 1.25rem;
  max-width: 520px;
  line-height: 1.6;
}

.demo-cta-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.demo-cta-heading em {
  font-style: normal;
  color: var(--cyan-500);
}

.btn-demo-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #00bcd4 0%, var(--cyan-500) 100%);
  color: var(--navy-950);
  padding: 1rem 2.25rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
}

.btn-demo-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0, 212, 255, 0.55);
}

.btn-demo-hero svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.btn-demo-hero:hover svg {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .demo-cta-band {
    padding: 2.5rem 0 3rem;
  }
  .demo-cta-lead {
    font-size: 0.9375rem;
    padding: 0 0.5rem;
  }
  .btn-demo-hero {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }
}

/* Hero screenshot responsive */
@media (max-width: 968px) {
  .hero-screenshot-wrapper {
    margin-top: 0;
  }

  .hero-screenshot-frame {
    transform: none;
  }

  .hero-screenshot-switcher {
    aspect-ratio: 5/9; /* portrait mobile screenshots (400×720) */
  }

  .hero-screenshot-floating {
    transform: none !important;
  }

  .browser-url-bar {
    margin-right: 8px;
  }

  .hero-split {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 1.5rem !important; /* 24px = 3×8dp — desktop gap is 3rem, too much for mobile */
  }

  .hero-buttons-desktop {
    display: none;
  }

  .hero-buttons-mobile {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem; /* clear the price burst that hangs below the hero image */
  }

  .hero-split .hero-buttons {
    justify-content: center;
    flex-wrap: nowrap;
  }

  .hero-split .hero-buttons .btn-large {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    white-space: nowrap;
  }

  .hero-split .hero-description {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0; /* buttons are hidden in hero-text on mobile, no need for trailing space */
  }

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

@media (max-width: 640px) {
  .hero-screenshot-browser-bar {
    padding: 8px 12px;
  }

  .browser-dot {
    width: 8px;
    height: 8px;
  }

  .browser-url-bar {
    font-size: 0.6875rem;
  }

  .hero-feature-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .hero-split .hero-buttons {
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
  }

  .hero-split .hero-buttons .btn-large {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-screenshot-dot {
    min-width: 36px;
    min-height: 44px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Demo Button Style
   ═══════════════════════════════════════════════════════════════════════════ */

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cyan-500);
  border: 2px solid var(--cyan-500);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-demo:hover {
  background: var(--cyan-500);
  color: var(--navy-950);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-demo.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-demo.btn-small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* (demo-link-note removed) */

/* ═══════════════════════════════════════════════════════════════════════════
   How It Works Section
   ═══════════════════════════════════════════════════════════════════════════ */

.how-it-works {
  padding: var(--space-3xl) 0;
  background: #f8fafc;
  border-top: 1px solid var(--gray-200);
}

.how-it-works-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.how-it-works-step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: var(--space-xl);
}

.how-it-works-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--cyan-500);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.how-it-works-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: var(--space-sm);
}

.how-it-works-step p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.how-it-works-connector {
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  color: var(--slate-300);
}

.how-it-works-demo-note {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-top: var(--space-sm);
}

@media (max-width: 640px) {
  .how-it-works-step {
    padding: var(--space-md);
  }
}

@media (max-width: 768px) {
  .how-it-works-grid {
    flex-direction: column;
    align-items: center;
  }

  .how-it-works-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }

  .how-it-works-step {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Sticky Demo Bar
   ═══════════════════════════════════════════════════════════════════════════ */

.sticky-demo-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy-950);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  padding: 0.75rem 0;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-demo-bar.visible {
  transform: translateY(0);
}

.sticky-demo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.sticky-demo-text {
  color: var(--slate-300);
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .sticky-demo-text {
    display: none;
  }

  .sticky-demo-bar-inner {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Signup Modal — Dark Theme
   ═══════════════════════════════════════════════════════════════════════════ */

/* --- Overlay background (rich dark gradient) --- */

.signup-overlay {
  background: rgba(11, 35, 58, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* --- Modal shell (light) --- */

.signup-overlay .modal {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  box-shadow:
    0 32px 80px rgba(11, 35, 58, 0.18),
    0 8px 24px rgba(11, 35, 58, 0.10);
  max-width: 440px;
  color: var(--navy-950);
  overflow-y: auto;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
}

.signup-overlay .modal-header {
  background: transparent;
  border-bottom: 1px solid var(--slate-100);
  padding: 1.25rem 1.75rem 1rem;
}

.signup-overlay .modal-title {
  color: var(--navy-950);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.signup-overlay .modal-close {
  color: var(--slate-400);
  background: transparent;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 1.25rem;
}

.signup-overlay .modal-close:hover {
  background: var(--slate-50);
  color: var(--slate-600);
}

.signup-overlay .modal-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

/* --- SSO Provider Buttons --- */

.sso-provider-picker {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  color: var(--navy-950);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
  line-height: 1.4;
}

.sso-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  box-shadow: 0 2px 8px rgba(11, 35, 58, 0.08);
}

.sso-btn:active {
  background: var(--slate-100);
}

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

.sso-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sso-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* --- Divider ("or sign up with email" / "Already have an account?") --- */

.signup-modal-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}

.signup-modal-divider::before,
.signup-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-200);
}

.signup-modal-divider span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-400);
  white-space: nowrap;
}

/* --- Email/Password Signup Form --- */

.signup-email-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.signup-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.signup-form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-500);
}

.signup-form-input {
  width: 100%;
  min-height: 48px;
  padding: 0.6875rem 0.875rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--navy-950);
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.signup-form-input::placeholder {
  color: var(--slate-300);
}

.signup-form-input:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.signup-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
  background: #fff;
}

.signup-form-input.input-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* --- Password field --- */

.signup-password-wrapper {
  position: relative;
}

.signup-password-wrapper .signup-form-input {
  padding-right: 3.25rem;
}

.signup-password-toggle {
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  padding: 0.8125rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 6px;
  transition: color 0.15s;
}

.signup-password-toggle:hover {
  color: var(--slate-600);
}

.signup-password-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* --- Password strength indicator --- */

.signup-password-strength {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  height: 3px;
}

.signup-password-strength .strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--slate-100);
  transition: background 0.3s;
}

.signup-password-strength .strength-bar.active.weak { background: #ef4444; }
.signup-password-strength .strength-bar.active.fair { background: #f59e0b; }
.signup-password-strength .strength-bar.active.good { background: #10b981; }
.signup-password-strength .strength-bar.active.strong { background: var(--primary); }

/* --- Form error message --- */

.signup-form-error {
  font-size: 0.8125rem;
  color: #ef4444;
  min-height: 1.25rem;
  margin: 0;
}

.signup-form-error:empty {
  display: none;
}

/* --- SSO error message --- */

.signup-overlay .sso-error {
  font-size: 0.8125rem;
  color: #ef4444;
  text-align: center;
  margin: 0.75rem 0 0;
}

/* --- Submit button --- */

.signup-submit-btn {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  background: var(--primary);
  color: var(--navy-950);
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}

.signup-submit-btn:hover {
  background: var(--cyan-400);
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.25);
}

.signup-submit-btn:active {
  transform: scale(0.985);
}

.signup-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.signup-submit-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.signup-submit-spinner {
  animation: signup-spin 1s linear infinite;
}

@keyframes signup-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Sign-in button --- */

.signup-login-btn {
  display: block;
  width: 100%;
  background: transparent;
  color: var(--slate-500);
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  min-height: 48px;
  padding: 0.6875rem 1rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  text-align: center;
}

.signup-login-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  color: var(--navy-950);
}

.signup-login-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* --- Legal text --- */

.signup-legal {
  font-size: 0.8125rem;
  color: var(--slate-400);
  text-align: center;
  line-height: 1.5;
  margin-top: 1.25rem;
}

.signup-legal a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.15s;
}

.signup-legal a:hover {
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Promo code toggle --- */

.signup-promo-field.is-hidden {
  display: none;
}

.signup-promo-toggle {
  text-align: center;
  margin: 8px 0;
}

.signup-promo-link {
  background: none;
  border: none;
  color: var(--primary-dark);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}

/* Plan badge shown when opening signup from pricing */
.signup-plan-badge {
  background: var(--blue-50, #eff6ff);
  color: var(--blue-700, #1d4ed8);
  border: 1px solid var(--blue-200, #bfdbfe);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

/* --- Responsive: small viewports --- */

@media (max-width: 520px) {
  .signup-overlay .modal {
    max-width: 100%;
    border-radius: 12px;
  }

  .signup-overlay .modal-header {
    padding: 1.25rem 1.25rem;
  }

  .signup-overlay .modal-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .signup-overlay .modal-title {
    font-size: 1.1875rem;
  }
}

/* ============================================================
   Pricing Page
   ============================================================ */

.pricing-section-page {
  padding-top: var(--space-3xl);
}

/* ---- Feature Comparison Table ---- */

.comparison-section {
  padding: var(--space-3xl) 0;
  background: var(--slate-50);
}

.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 0.9375rem;
}

.comparison-table thead th {
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
  background: white;
  border-bottom: 2px solid var(--slate-100);
  white-space: nowrap;
}

.comparison-table thead th.comparison-feature-col {
  text-align: left;
  width: 40%;
}

.comparison-table thead th.comparison-plan-col {
  width: 20%;
}

.comparison-table thead th.comparison-plan-popular {
  background: color-mix(in srgb, var(--cyan-500) 8%, white);
}

.comparison-popular-badge {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-top: 0.25rem;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--slate-100);
  transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
  background: var(--slate-50);
}

.comparison-table tbody td {
  padding: 0.875rem 1.5rem;
  text-align: center;
  color: var(--gray-700);
}

.comparison-table tbody td.comparison-plan-popular {
  background: color-mix(in srgb, var(--cyan-500) 5%, white);
}

.comparison-table tbody tr:hover td.comparison-plan-popular {
  background: color-mix(in srgb, var(--cyan-500) 10%, white);
}

.comparison-feature-name {
  text-align: left !important;
  font-weight: 500;
  color: var(--gray-800);
}

.comparison-table .comparison-group-header td {
  padding: 0.75rem 1.5rem;
  background: var(--navy-950);
  color: white;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left !important;
}

.comparison-check,
.comparison-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
}

.comparison-check {
  background: #dcfce7;
}

.comparison-check::before {
  content: '';
  display: block;
  width: 0.6875rem;
  height: 0.6875rem;
  background-color: #16a34a;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.comparison-cross {
  background: #fee2e2;
}

.comparison-cross::before {
  content: '';
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  background-color: #dc2626;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.comparison-table tfoot .comparison-cta-row td {
  padding: 1.25rem 1.5rem;
  background: white;
  border-top: 2px solid var(--slate-100);
}

.comparison-table tfoot .comparison-cta-row td.comparison-plan-popular {
  background: color-mix(in srgb, var(--cyan-500) 5%, white);
}

.comparison-table tfoot .comparison-cta-row .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .comparison-table {
    min-width: 580px;
  }

  .comparison-table thead th,
  .comparison-table tbody td,
  .comparison-table tfoot td {
    padding: 0.75rem 1rem;
  }

  .comparison-table thead th.comparison-feature-col {
    width: 36%;
  }
}

/* ---- Pricing FAQ ---- */

.pricing-faq-section {
  padding: var(--space-3xl) 0;
  background: white;
}

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

.pricing-faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.pricing-faq-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .pricing-faq-list {
    grid-template-columns: 1fr;
  }
}

/* ── Industry Detail Sections (industries.ejs) ─────────────────────────────── */

.ind-nav-strip {
  background: var(--navy-950);
  position: sticky;
  top: 60px;
  z-index: 40;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ind-nav-strip .container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ind-nav-strip .container::-webkit-scrollbar { display: none; }

.ind-nav-list {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.ind-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-400);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.ind-nav-link:hover {
  color: white;
  border-bottom-color: rgba(6,182,212,0.4);
}

.ind-nav-link.active {
  color: var(--cyan-400);
  border-bottom-color: var(--cyan-400);
}

/* Industry detail sections */
.ind-section {
  padding: var(--space-3xl) 0;
}

.ind-section:nth-child(even) {
  background: var(--gray-50);
}

.ind-section-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.ind-section-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--navy-900);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
}

.ind-section-meta {
  flex: 1;
}

.ind-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-600);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: var(--space-sm);
}

.ind-section-meta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-950);
  margin-bottom: var(--space-xs);
}

.ind-section-meta p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0;
  line-height: 1.65;
}

/* Industry feature grid */
.ind-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .ind-features-grid {
    grid-template-columns: 1fr;
  }
  .ind-section-header {
    flex-direction: column;
    gap: var(--space-md);
  }
}

.ind-feature-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-fast);
}

.ind-section:nth-child(even) .ind-feature-card {
  background: white;
}

.ind-feature-card:hover {
  border-color: var(--cyan-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ind-feature-card-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
  display: block;
}

.ind-feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: var(--space-xs);
}

.ind-feature-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.ind-feature-card ul {
  margin: var(--space-sm) 0 0 0;
  padding-left: 1.25rem;
  list-style: none;
}

.ind-feature-card ul li {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  padding-left: 0;
  position: relative;
}

.ind-feature-card ul li::before {
  content: "✓";
  color: var(--cyan-600);
  font-weight: 700;
  margin-right: 6px;
}

/* Demo link row */
.ind-demo-strip {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  color: white;
}

.ind-demo-strip p {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--slate-300);
}

.ind-demo-strip strong {
  color: white;
}

@media (max-width: 640px) {
  .ind-demo-strip {
    flex-direction: column;
    text-align: center;
  }
  .ind-nav-link {
    padding: 12px 14px;
    font-size: 0.8125rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Mobile Layout — Sticky CTA
   ═══════════════════════════════════════════════════════════════════════════ */

/* Mobile sticky CTA bar */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: none; /* hidden by default, shown via JS */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 900;
    text-align: center;
  }

  .mobile-sticky-cta.is-visible {
    display: block;
  }

  .mobile-sticky-cta .btn {
    width: 100%;
    max-width: 360px;
  }

  /* Hide the desktop sticky bar on mobile since we have the mobile CTA */
  .sticky-demo-bar {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Mobile spacing — 8dp grid compliance (max-width: 640px)
   Desktop section padding is 4rem (64px); on mobile this is excessive and
   compounds across stacked sections. Reduce to 2rem (32px = 4×8dp).
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 640px) {
  .carousel-wrapper {
    padding: 1.5rem 0; /* was 4rem */
  }

  .features-section {
    padding: 2rem 0; /* was 4rem */
  }

  .features-header {
    margin-bottom: 2rem; /* was 4rem */
  }

  .demo-section {
    padding: 2rem 0; /* was 4rem */
  }

  .pricing-section {
    padding: 2rem 0; /* was 4rem */
  }

  .testimonials-section {
    padding: 2rem 0; /* was 4rem */
  }

  .testimonials-header {
    margin-bottom: 1.5rem; /* was 3rem */
  }

  .trust-section {
    padding: 1.5rem 0; /* was 3rem */
  }

  .feature-row-wrapper {
    padding: 2rem 0; /* was 3rem at 968px */
  }

  .faq-section {
    padding: 2rem 0; /* was clamp(4rem,10vw,6rem) */
  }
}

/* ============================================================
   Feature Detail Pages (fd-* classes)
   ============================================================ */

.fd-intro {
  padding: var(--space-3xl) 0;
  background: white;
}

.fd-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-3xl);
  align-items: center;
}

.fd-intro-text .lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--slate-600);
  margin-bottom: var(--space-xl);
}

.fd-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.fd-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--navy-900);
  line-height: 1.5;
}

.fd-check-list li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--cyan-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230a1628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  margin-top: 2px;
}

.fd-section {
  padding: var(--space-3xl) 0;
  background: white;
}

.fd-section-alt {
  background: var(--gray-50);
}

.fd-section-narrow {
  max-width: 760px;
}

.fd-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-900);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.fd-section > .container > p,
.fd-section-narrow > p {
  font-size: 1.0625rem;
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: var(--space-lg);
}

.fd-caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.fd-cap {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--slate-200);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.fd-section-alt .fd-cap {
  background: white;
}

.fd-cap:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.fd-cap-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.fd-cap h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 var(--space-sm);
}

.fd-cap p {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.65;
  margin: 0;
}

.fd-faq {
  background: white;
}

.fd-faq h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-900);
  margin-bottom: var(--space-xl);
}

.fd-related {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.fd-related h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-900);
  margin-bottom: var(--space-xl);
}

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

.fd-related-card {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fd-related-card:hover {
  border-color: var(--cyan-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.fd-related-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-500);
}

.fd-related-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.3;
}

.fd-related-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.55;
  flex: 1;
  margin-top: 0.25rem;
}

.fd-related-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan-500);
  margin-top: var(--space-sm);
}

@media (max-width: 968px) {
  .fd-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .fd-caps-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .fd-section h2,
  .fd-faq h2,
  .fd-related h2 {
    font-size: 1.375rem;
  }
}

/* ── Feature Hub (Jump Pad) ─────────────────────────────────────────────────── */

.feat-hub {
  padding: var(--section-padding) 0;
  background: white;
}

.feat-hub-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.feat-hub-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.feat-hub-intro p {
  color: var(--slate-500);
  max-width: 520px;
  margin: 0 auto;
}

.feat-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feat-hub-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: white;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feat-hub-card:hover {
  border-color: var(--card-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.feat-hub-card--pro {
  background: linear-gradient(135deg, #faf5ff 0%, white 60%);
}

.feat-hub-card-top {
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
}

.feat-hub-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--card-accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--card-accent);
}

.feat-hub-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--card-accent);
  margin-bottom: 0.375rem;
}

.feat-hub-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.feat-hub-tagline {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.5;
  margin: 0;
}

.feat-hub-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feat-hub-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}

.feat-hub-bullets li {
  font-size: 0.8125rem;
  color: var(--slate-600);
  padding: 0.3rem 0 0.3rem 1.125rem;
  position: relative;
  line-height: 1.45;
}

.feat-hub-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-accent);
}

.feat-hub-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--card-accent);
  transition: gap 0.15s;
}

.feat-hub-card:hover .feat-hub-cta {
  gap: 0.5rem;
}

/* ── Also Included (secondary) ───────────────────────────────────────────────── */

.feat-hub-secondary {
  padding: var(--section-padding) 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
}

.feat-hub-secondary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem 2rem;
}

.feat-hub-secondary-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.feat-hub-secondary-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
}

.feat-hub-secondary-icon svg {
  width: 16px;
  height: 16px;
}

.feat-hub-secondary-item h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.feat-hub-secondary-item p {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.5;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

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

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

@media (max-width: 768px) {
  .feat-hub-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .feat-hub-secondary-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Breadcrumb Bar ──────────────────────────────────────────────────────────── */
.breadcrumb-bar {
  position: sticky;
  top: var(--nav-height);
  z-index: 99;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  height: 52px;
  display: flex;
  align-items: center;
  margin-top: var(--nav-height);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-sep {
  color: var(--slate-300);
  margin: 0 0.625rem;
  list-style: none;
  font-size: 1rem;
  line-height: 1;
  font-weight: 400;
}

.breadcrumb-link {
  color: var(--slate-500);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.breadcrumb-link:hover {
  color: var(--navy-800);
}

.breadcrumb-back {
  color: var(--navy-700);
  font-weight: 600;
}

.breadcrumb-back:hover {
  color: var(--primary);
}

.breadcrumb-arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.breadcrumb-current span {
  color: var(--navy-900);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
  display: inline-block;
}

html.has-breadcrumb .page-header {
  padding-top: 56px;
}

@media (max-width: 768px) {
  .breadcrumb-bar {
    height: 48px;
  }

  .breadcrumb-list {
    font-size: 0.85rem;
  }

  html.has-breadcrumb .page-header {
    padding-top: 40px;
  }

  .breadcrumb-current {
    display: none;
  }
}

/* ── Articles ──────────────────────────────────────────────────────────────── */
.articles-header .section-eyebrow,
.article-hero .section-eyebrow {
  color: var(--cyan-300);
}

.articles-index-section {
  padding: var(--space-3xl) 0;
  background: white;
}

.articles-index-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.articles-index-meta h2 {
  margin-top: var(--space-xs);
}

.articles-index-meta > p {
  max-width: 440px;
  color: var(--slate-600);
  margin-bottom: 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.article-card-image {
  display: block;
  background: var(--slate-100);
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  transition: transform var(--transition-base);
}

.article-card:hover .article-card-image img {
  transform: scale(1.03);
}

.article-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-xl);
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: var(--space-md);
  color: var(--slate-500);
  font-size: 0.875rem;
  font-weight: 600;
}

.article-meta-row-light {
  color: var(--slate-300);
}

.article-category {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  background: rgba(0, 212, 255, 0.12);
  color: var(--navy-900);
}

.article-meta-row-light .article-category {
  color: var(--navy-950);
  background: var(--cyan-500);
}

.article-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.article-card h3 a {
  color: var(--navy-900);
}

.article-card h3 a:hover {
  color: var(--primary-dark);
}

.article-card p {
  color: var(--slate-600);
  margin-bottom: var(--space-lg);
}

.article-card-tags,
.article-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.article-card-tags {
  margin-top: auto;
  margin-bottom: var(--space-lg);
}

.article-card-tags span,
.article-hero-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.7rem;
  color: var(--slate-600);
  background: var(--slate-50);
  font-size: 0.8125rem;
  font-weight: 600;
}

.article-hero-tags span {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--slate-100);
  background: rgba(255, 255, 255, 0.08);
}

.article-read-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--navy-800);
  font-weight: 700;
}

.article-read-link:hover {
  color: var(--primary-dark);
}

.article-hero {
  padding: 150px 0 72px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

html.has-breadcrumb .article-hero {
  padding-top: 72px;
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: var(--space-2xl);
}

.article-hero h1 {
  margin-bottom: var(--space-lg);
  color: white;
  font-size: clamp(2.25rem, 5vw, 4rem);
}

.article-hero p {
  color: var(--slate-300);
  font-size: 1.2rem;
  max-width: 680px;
}

.article-hero-image .feature-screenshot-frame {
  box-shadow: 0 28px 60px -20px rgba(0, 0, 0, 0.45);
}

.article-body-section {
  padding: var(--space-3xl) 0;
  background: white;
}

.article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}

.article-toc {
  position: sticky;
  top: calc(var(--nav-height) + 72px);
  padding: var(--space-lg);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--slate-50);
}

.article-toc-title {
  margin-bottom: var(--space-md);
  color: var(--navy-900);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-toc ol {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.article-toc a {
  color: var(--slate-600);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-toc a:hover {
  color: var(--navy-900);
}

.article-content {
  max-width: 880px;
}

.article-lead {
  max-width: 820px;
  color: var(--slate-700);
  font-size: 1.15rem;
  line-height: 1.8;
}

.article-summary-card {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  border: 1px solid var(--slate-200);
  border-left: 5px solid var(--cyan-500);
  border-radius: var(--radius-lg);
  background: var(--slate-50);
}

.article-summary-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-sm) var(--space-xl);
  margin: var(--space-md) 0 0;
  padding-left: 1.2rem;
  color: var(--slate-700);
  font-weight: 600;
}

.article-step {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--slate-200);
  scroll-margin-top: calc(var(--nav-height) + 72px);
}

.article-step-heading {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.article-step-heading > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--cyan-500);
  font-weight: 800;
}

.article-step h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-top: var(--space-xs);
}

.article-step > p,
.article-closing p {
  color: var(--slate-700);
  font-size: 1.06rem;
  line-height: 1.8;
}

.article-concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.article-concept-grid > div {
  padding: var(--space-lg);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: var(--slate-50);
}

.article-concept-grid h3 {
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.article-concept-grid p {
  color: var(--slate-600);
  margin-bottom: 0;
}

.article-screenshot {
  margin: var(--space-xl) 0 0;
}

.article-screenshot figcaption {
  margin-top: var(--space-sm);
  color: var(--slate-500);
  font-size: 0.9rem;
  text-align: center;
}

.article-closing {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--slate-200);
}

.article-cta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.article-cta h2,
.article-cta p {
  color: white;
}

.article-cta p {
  max-width: 620px;
  color: var(--slate-300);
  margin-bottom: 0;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  flex: 0 0 auto;
}

.article-cta .btn-secondary {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
}

.article-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
  .article-hero-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .articles-index-meta,
  .article-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .article-hero {
    padding: 112px 0 48px;
  }

  html.has-breadcrumb .article-hero {
    padding-top: 48px;
  }

  .article-body-section,
  .articles-index-section {
    padding: var(--space-2xl) 0;
  }

  .article-summary-card ul,
  .article-concept-grid {
    grid-template-columns: 1fr;
  }

  .article-step-heading {
    gap: var(--space-md);
  }
}

/* ============================================================
   Dedicated /signup page
   Single column on mobile (76% of traffic), split form+proof on
   desktop. SSO first, single password field with live checklist,
   sticky CTA visible above the keyboard on mobile.
   ============================================================ */

.signup-page {
  padding-top: var(--nav-height);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0, 212, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #F7FAFC 0%, #FFFFFF 60%);
  min-height: 100vh;
}

.signup-section {
  padding: 1rem 1.25rem 4.5rem;
}

.signup-shell {
  max-width: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .signup-section {
    padding: 1.5rem 2rem 6rem;
  }
}

/* --- Form column --- */
.signup-form-col {
  display: flex;
  justify-content: center;
}

.signup-form-wrap {
  /* position: relative so the .is-above-nav z-index toggle (set from JS while
     the card sits below the nav) can take effect without changing layout. */
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid var(--slate-100);
  border-radius: 20px;
  padding: 1.75rem 1.5rem 2rem;
  box-shadow:
    0 24px 60px rgba(11, 35, 58, 0.10),
    0 4px 12px rgba(11, 35, 58, 0.05);
}

.signup-form-wrap.is-above-nav {
  z-index: 1001;
}

@media (min-width: 640px) {
  .signup-form-wrap {
    padding: 2.25rem 2.25rem 2.5rem;
  }
}

.signup-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0891B2;
  background: rgba(0, 212, 255, 0.10);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin: 0 0 0.75rem;
}

.signup-headline {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--navy-950);
  margin: 0 0 0.6rem;
}

@media (min-width: 640px) {
  .signup-headline {
    font-size: 1.75rem;
  }
}

.signup-subhead {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--slate-500);
  margin: 0 0 1.5rem;
}

.signup-plan-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-950);
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.30);
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  margin: 0 0 1.25rem;
}

.signup-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--slate-400);
  font-size: 0.8125rem;
}

.signup-divider::before,
.signup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--slate-100);
}

/* --- Password field with toggle --- */
.signup-password-wrap {
  position: relative;
}

.signup-password-wrap .signup-form-input {
  padding-right: 4rem;
}

.signup-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-500);
  cursor: pointer;
  border-radius: 6px;
}

.signup-password-toggle:hover {
  color: var(--navy-950);
  background: var(--slate-50);
}

.signup-password-toggle:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 2px;
}

/* --- Password live checklist --- */
.signup-password-checklist {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.signup-password-checklist li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--slate-500);
  transition: color 0.15s;
}

.signup-check-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  display: inline-block;
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}

.signup-password-checklist li.is-valid {
  color: #047857;
}

.signup-password-checklist li.is-valid .signup-check-dot {
  background: #10B981;
  border-color: #10B981;
}

.signup-password-checklist li.is-valid .signup-check-dot::after {
  content: '';
  position: absolute;
  inset: 2px 3px 3px 2px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  width: 4px;
  height: 8px;
}

/* --- Field-level error --- */
.signup-field-error {
  min-height: 1rem;
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: #DC2626;
}

.signup-field-error:empty {
  margin: 0;
  min-height: 0;
}

/* --- Promo toggle (link button) --- */
.signup-promo-toggle {
  margin: 0.5rem 0;
}

.signup-promo-link {
  background: transparent;
  border: 0;
  padding: 0.25rem 0;
  color: var(--slate-500);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-promo-link:hover {
  color: var(--navy-950);
}

.signup-promo-field {
  margin: 0.5rem 0 0;
  overflow: hidden;
  max-height: 200px;
  transition: max-height 0.25s, opacity 0.2s;
}

.signup-promo-field.is-hidden {
  max-height: 0;
  opacity: 0;
}

.signup-promo-applied {
  margin: 0.4rem 0 0;
  color: #047857;
  font-size: 0.8125rem;
  font-weight: 500;
}

.signup-promo-optional {
  color: var(--slate-400);
  font-weight: 400;
}

/* --- Submit CTA + microcopy --- */
.signup-submit-microcopy {
  margin: 0.6rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.signup-signin-line {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.signup-signin-line a {
  color: var(--navy-950);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-legal {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--slate-400);
}

.signup-legal a {
  color: var(--slate-500);
  text-decoration: underline;
}

/* --- Proof column (desktop only by default) --- */
.signup-proof-col {
  display: none;
}

@media (min-width: 960px) {
  .signup-proof-col {
    display: flex;
    align-items: stretch;
  }
}

.signup-proof-card {
  width: 100%;
  background: linear-gradient(160deg, var(--navy-950) 0%, #0F2E4A 100%);
  color: #fff;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.signup-proof-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 240px at 100% 0%, rgba(0, 212, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.signup-proof-card > * { position: relative; }

.signup-proof-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin: 0;
}

.signup-testimonial {
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--cyan-500);
  padding-left: 1rem;
}

.signup-testimonial p {
  font-size: 1.0625rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  color: #E2E8F0;
  font-weight: 500;
}

.signup-testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.8125rem;
  color: var(--slate-300);
}

.signup-testimonial footer strong {
  color: #fff;
  font-weight: 600;
}

.signup-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #E2E8F0;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.signup-benefit-list svg {
  flex-shrink: 0;
  color: var(--cyan-500);
  margin-top: 2px;
}

.signup-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.signup-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--slate-300);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.signup-trust-badge svg {
  color: var(--cyan-500);
}

/* ============================================================
   Articles hub & category hub pages
   ============================================================ */
/* ── Articles hub: dark header band + light body band ── */
.articles-header-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  padding: 140px 0 3rem;
  text-align: center;
}

@media (max-width: 768px) {
  .articles-header-band {
    padding: 100px 0 2.5rem;
  }
}
.articles-hub-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--slate-50);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.articles-hub-subtitle {
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.articles-breadcrumb {
  font-size: 0.85rem;
  color: rgba(240, 244, 248, 0.6);
  margin-bottom: 1.5rem;
}
.articles-breadcrumb a {
  color: var(--cyan-400);
  text-decoration: none;
}
.articles-breadcrumb a:hover { text-decoration: underline; }
.articles-breadcrumb span { color: rgba(240, 244, 248, 0.45); }

.articles-body-band {
  background: var(--slate-50);
  padding: 3rem 0 5rem;
}

.articles-hub,
.articles-category-hub {
  /* legacy — kept for any outer wrappers; bands handle layout now */
}

.articles-section-heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-900);
  margin: 2.5rem 0 1rem;
  opacity: 0.55;
}

.articles-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.articles-category-card {
  display: block;
  background: var(--surface-card, #1a2540);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s;
}
.articles-category-card:hover {
  border-color: var(--cyan-500);
  transform: translateY(-2px);
}
.articles-category-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.articles-category-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate-50);
  margin-bottom: 0.5rem;
}
.articles-category-card p {
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.articles-category-count {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--cyan-400);
  background: rgba(0, 212, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.articles-list-item {
  display: block;
  background: var(--surface-card, #1a2540);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  transition: border-color 0.18s;
}
.articles-list-item:hover {
  border-color: var(--cyan-500);
}
.articles-list-item h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-50);
  margin-bottom: 0.35rem;
}
.articles-list-item p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.5;
  margin: 0;
}



/* ── Nav: Articles dropdown (desktop hover) ─────────────────────────────────── */

.nav-has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-chevron {
  transition: transform 0.18s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-has-dropdown:hover .nav-dropdown-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 280px;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
  box-shadow:
    0 20px 48px rgba(11, 35, 58, 0.14),
    0 4px 12px rgba(11, 35, 58, 0.06);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 1100;
  padding: 6px 0;
}

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

/* Invisible bridge so mouse can travel from trigger to dropdown without losing hover */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background 0.14s;
}

.nav-dropdown-item:hover {
  background: var(--slate-50);
}

.nav-dropdown-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800, #0B233A);
  line-height: 1.3;
}

.nav-dropdown-item-desc {
  font-size: 0.8rem;
  color: var(--slate-500, #64748b);
  line-height: 1.4;
}

.nav-dropdown-footer {
  margin-top: 4px;
  padding: 8px 18px 4px;
  border-top: 1px solid var(--slate-100);
}

.nav-dropdown-footer-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary, #00D4FF);
  text-decoration: none;
}

.nav-dropdown-footer-link:hover {
  text-decoration: underline;
}

/* Desktop only — hide on mobile (hamburger handles it) */
@media (max-width: 968px) {
  .nav-dropdown {
    display: none;
  }
}

.nav-dropdown {
  min-width: 320px !important;
}

.nav-dropdown-group-label {
  padding: 8px 18px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate-400, #94a3b8);
}

.nav-dropdown-group-label:not(:first-child) {
  margin-top: 4px;
  border-top: 1px solid var(--slate-100);
  padding-top: 10px;
}

/* ── Nav dropdown: wide 2-column layout (Features) ──────────────────────────── */

.nav-dropdown--wide {
  min-width: 520px !important;
  left: 0;
  transform: translateX(-20%) translateY(-6px);
}

.nav-has-dropdown:hover .nav-dropdown--wide {
  transform: translateX(-20%) translateY(0);
}

.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px 0;
}

.nav-dropdown-item--icon {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 16px;
}

.nav-dropdown-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-100, #f1f5f9);
  border-radius: 6px;
  color: var(--navy-700, #1e3a5f);
  margin-top: 1px;
}

.nav-dropdown-item--icon .nav-dropdown-item-title {
  display: block;
}

.nav-dropdown-item--icon .nav-dropdown-item-desc {
  display: block;
}

@media (max-width: 968px) {
  .nav-dropdown--wide {
    display: none;
  }
}

/* ── Academy: tag filter pills ───────────────────────────────────────────────── */

.articles-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--slate-100);
}

.articles-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.articles-filter-pill:hover {
  background: var(--slate-200);
  color: var(--navy-800);
}

.articles-filter-pill--active {
  background: var(--navy-800, #0B233A);
  color: white;
  border-color: var(--navy-800, #0B233A);
}

.articles-filter-pill--active:hover {
  background: var(--navy-700, #1e3a5f);
  color: white;
}

/* ============================================================
   Quick Answer callout (article pages)
   ============================================================ */

blockquote.quick-answer {
  background: rgba(0, 212, 255, 0.06);
  border-left: 4px solid var(--cyan-500);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: 0 0 1.75rem;
}

.quick-answer-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: var(--space-sm);
}

.quick-answer p {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--navy-900);
  margin: 0;
}
