/* ============================================
   InspectCloud — "Architectural Precision" Theme
   A premium SaaS aesthetic with property blueprint undertones
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Custom Properties --- */
:root {
  /* Core palette */
  --navy-900: #0a0f1e;
  --navy-800: #0f172a;
  --navy-700: #1a2340;
  --navy-600: #243052;
  --navy-500: #334466;
  --slate-400: #5b6b84;
  --slate-300: #7c8aa0;
  --slate-200: #c8d1de;
  --slate-100: #e8ecf2;
  --slate-50: #f4f6f9;
  --white: #ffffff;

  /* Accent */
  --blue-500: #1F5DF2;
  --blue-400: #1ABAFA;
  --blue-300: #5ccffc;
  --blue-200: #a0e4fd;
  --blue-glow: rgba(26, 186, 250, 0.15);
  --blue-glow-strong: rgba(26, 186, 250, 0.3);

  /* Semantic */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

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

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 900px;
  --nav-height: 72px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px var(--blue-glow);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: var(--blue-500);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--blue-300);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}

p {
  max-width: 65ch;
}

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

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

.text-slate { color: var(--slate-400); }
.text-white { color: var(--white); }
.text-blue { color: var(--blue-400); }
.text-center { text-align: center; }

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

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-3xl) 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

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

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

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

/* --- Blueprint Grid Background --- */
.bg-blueprint {
  background: linear-gradient(135deg, #1ABAFA 0%, #1F5DF2 100%);
  color: var(--white);
}

.bg-blueprint-light {
  background-color: var(--slate-50);
  background-image:
    linear-gradient(rgba(26, 186, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 186, 250, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-dark {
  background-color: var(--navy-800);
  color: var(--white);
}

/* Light blue theme sections */
.bg-brand {
  background: linear-gradient(135deg, #1ABAFA 0%, #1F5DF2 100%);
  color: var(--white);
}

.bg-brand h1, .bg-brand h2, .bg-brand h3, .bg-brand h4 {
  color: var(--white);
}

.bg-brand p {
  color: rgba(255,255,255,0.85);
}

/* White cards inside blue sections must keep dark text (else headings go
   white-on-white). Covers the ROI calculator and any .card. */
.bg-brand .card h1, .bg-brand .card h2, .bg-brand .card h3, .bg-brand .card h4,
.bg-brand .card p,
.bg-brand .calculator h1, .bg-brand .calculator h2, .bg-brand .calculator h3, .bg-brand .calculator h4 {
  color: var(--navy-800);
}

.bg-brand-light {
  background: linear-gradient(180deg, #e8f4fd 0%, #f4f6f9 100%);
  color: var(--navy-800);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: var(--white);
}

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

.bg-slate {
  background-color: var(--slate-50);
}

/* --- Gradient Orbs (background decoration) --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.orb-blue {
  background: var(--blue-glow-strong);
}

.orb-navy {
  background: rgba(15, 23, 42, 0.4);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav.nav-dark.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav.nav-dark.scrolled .nav-links a {
  color: var(--navy-600);
}

.nav.nav-dark.scrolled .nav-links a:hover {
  color: var(--blue-500);
}

.nav.nav-dark.scrolled .logo-light { display: none !important; }
.nav.nav-dark.scrolled .logo-dark { display: block !important; }

.nav.nav-dark.scrolled .nav-toggle span {
  background: var(--navy-800);
}

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

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-logo .logo-dark { display: block; }
.nav-logo .logo-light { display: none; }
.nav-dark .nav-logo .logo-dark { display: none; }
.nav-dark .nav-logo .logo-light { display: block; }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-600);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-dark .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.nav-dark .nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover {
  color: var(--blue-500);
}

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

.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  white-space: nowrap;
}

.nav-dark .nav-phone {
  color: var(--slate-300);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-dark .nav-toggle span {
  background: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(31, 93, 242, 0.3), 0 0 0 0 rgba(31, 93, 242, 0);
}

.btn-primary:hover {
  background: #1850d4;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(31, 93, 242, 0.4), 0 0 0 0 rgba(31, 93, 242, 0);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--blue-400);
  color: var(--blue-500);
  background: var(--blue-glow);
}

.btn-white {
  background: var(--white);
  color: var(--navy-800);
}

.btn-white:hover {
  background: var(--slate-50);
  color: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--border-radius);
}

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

/* --- Badge / Tag --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.badge-blue {
  background: var(--blue-glow);
  color: var(--blue-400);
  border: 1px solid rgba(26, 186, 250, 0.15);
}

.badge-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.badge-dark {
  background: rgba(255,255,255,0.08);
  color: var(--slate-300);
  border: 1px solid rgba(255,255,255,0.1);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--slate-100);
  padding: var(--space-xl);
  transition: all 0.3s var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--slate-200);
  transform: translateY(-2px);
}

.card-dark {
  background: var(--navy-700);
  border-color: rgba(255,255,255,0.06);
}

.card-dark:hover {
  border-color: rgba(26, 186, 250, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.card-featured {
  border: 2px solid var(--blue-500);
  position: relative;
}

.card-featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-500);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-500);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- Feature Icon --- */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  background: var(--blue-glow);
  color: var(--blue-500);
}

.feature-icon-dark {
  background: rgba(26, 186, 250, 0.15);
  color: var(--blue-300);
}

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

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

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

.section-header p {
  margin: 0 auto;
  color: var(--slate-400);
  font-size: 1.125rem;
}

/* --- Testimonial Card --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  border: 1px solid var(--slate-100);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--blue-200);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy-700);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--slate-100);
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy-800);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--slate-400);
}

/* --- Stats Row --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-4xl);
  padding: var(--space-2xl) 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue-400);
  line-height: 1.1;
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 20px rgba(0, 50, 180, 0.5);
}

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

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

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
}

/* Device frame for screenshots */
.device-frame {
  position: relative;
  background: var(--navy-900);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
}

.device-frame img {
  border-radius: 12px;
  width: 100%;
}

/* Hero photo + phone composition */
/* Hero image - absolutely positioned to fill right side like Figma.
   The man photo and phones are in ONE relative container so they
   scale and reposition together as a single group. */
.hero-image-absolute {
  position: absolute;
  right: 0;
  top: var(--nav-height);
  bottom: 0;
  width: 55%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Man photo: sized by height to fill top-to-bottom, overflow clipped */
.hero-image-absolute .hero-photo-main {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: left top;
  border-radius: 0;
  box-shadow: none;
  z-index: 1;
}

/* Phones: overlap the man photo, sitting in the door/wall area */
.hero-image-absolute .hero-phones-link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-15%, -50%);
  width: 50%;
  max-width: 400px;
  z-index: 2;
  display: block;
  pointer-events: auto;
  transition: transform 0.3s var(--ease-out);
}

.hero-image-absolute .hero-phones-link:hover {
  transform: translate(-15%, -50%) scale(1.03);
}

.hero-image-absolute .hero-phones-composite {
  width: 100%;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
  animation: float 6s ease-in-out infinite;
}

/* Tablet: stack images below text+CTA, keep proportions locked */
@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    /* keep hidden so the decorative orbs don't cause horizontal scroll */
    overflow: hidden;
  }
  .hero .container {
    width: 100%;
  }
  .hero .hero-content {
    max-width: 100% !important;
  }
  /* Let the headline wrap naturally instead of the forced desktop break */
  .hero h1 br { display: none; }
  /* Stacked image: show the full man photo, scaled down, phones overlaid.
     No fixed aspect ratio so nothing gets cropped or "dropped". */
  .hero-image-absolute {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 460px;
    margin: var(--space-xl) auto 0;
    overflow: visible;
    aspect-ratio: auto;
  }
  .hero-image-absolute .hero-photo-main {
    position: relative;
    inset: auto;
    height: auto;
    width: 100%;
    object-fit: contain;
  }
  .hero-image-absolute .hero-phones-link {
    left: auto;
    right: 2%;
    top: 50%;
    transform: translateY(-42%);
    width: 46%;
    max-width: 200px;
  }
  .hero-image-absolute .hero-phones-link:hover {
    transform: translateY(-42%) scale(1.03);
  }
}

/* Smaller phones: shrink the hero image so it never crowds the text */
@media (max-width: 600px) {
  .hero-image-absolute { max-width: 340px; }
}
/* Very small: the photo adds little and can crowd; keep it compact */
@media (max-width: 400px) {
  .hero-image-absolute { max-width: 280px; }
}

/* --- Reports Hero Image (circular crop) --- */
.reports-hero-image {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Reports section: give the image more width than the text column */
.reports-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

/* --- Platform / Download Apps Section --- */
.platform-section {
  background-image: url('images/dotted-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.platform-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 0;
}

.platform-section > .container {
  position: relative;
  z-index: 1;
}

/* --- Brand bg text contrast overrides --- */
.bg-brand .stat-number {
  color: var(--white);
}

.bg-brand .stat-label {
  color: rgba(255,255,255,0.8);
}

.bg-brand .proof-bar-text {
  color: var(--white);
}

/* --- Social Proof Bar --- */
.proof-bar {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-xl) 0;
}

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

.proof-bar-text {
  font-size: 0.875rem;
  color: var(--slate-400);
  font-weight: 500;
}

.proof-bar-divider {
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: var(--space-2xl);
}

.proof-bar img {
  height: 28px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.proof-bar img:hover {
  opacity: 0.8;
}

/* --- Pricing Toggle --- */
.pricing-toggle {
  display: inline-flex;
  background: var(--slate-100);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.pricing-toggle button {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-body);
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--slate-400);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.pricing-toggle button.active {
  background: var(--white);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.pricing-toggle .save-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #0d9668;
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 100px;
}

/* --- Pricing Cards --- */
.pricing-card {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--slate-100);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s var(--ease-out);
}

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

.pricing-card.featured {
  border: 2px solid var(--blue-500);
  position: relative;
}

.pricing-card.featured:hover {
  transform: translateY(-4px);
}

.pricing-card .plan-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  margin-bottom: var(--space-xs);
}

.pricing-card .plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .plan-price sup {
  font-size: 1rem;
  vertical-align: super;
}

.pricing-card .plan-period {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-bottom: var(--space-md);
}

.pricing-card .plan-users {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--slate-100);
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-card ul li {
  padding: 0.375rem 0;
  font-size: 0.8125rem;
  color: var(--navy-600);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--slate-100);
}

.comparison-table th {
  background: linear-gradient(135deg, #1ABAFA 0%, #1F5DF2 100%);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 1rem 1.5rem;
  text-align: left;
}

.comparison-table td {
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--slate-100);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) td {
  background: var(--slate-50);
}

.comparison-table .highlight-cell {
  background: rgba(26, 186, 250, 0.06) !important;
  font-weight: 600;
  color: var(--blue-500);
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--border-radius-sm);
  background: var(--white);
  color: var(--navy-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

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

.form-input::placeholder {
  color: var(--slate-300);
}

/* --- Process Steps --- */
.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.step-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--blue-glow);
  border: 2px solid var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue-500);
}

.step-content h3 {
  margin-bottom: var(--space-sm);
}

.step-content p {
  color: var(--slate-400);
}

/* --- Team Grid --- */
.team-card {
  text-align: center;
  padding: var(--space-xl);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  background: var(--slate-100);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.team-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  background: linear-gradient(135deg, var(--blue-glow) 0%, var(--slate-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-500);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.team-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.875rem;
  color: var(--blue-500);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.team-bio {
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.6;
}

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--slate-100);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  text-align: left;
  gap: var(--space-md);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--navy-600);
  transition: all 0.3s ease;
}

.faq-item.open .faq-icon {
  background: var(--blue-glow);
  color: var(--blue-500);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding-bottom: var(--space-lg);
  color: var(--slate-400);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: var(--space-5xl) 0;
  text-align: center;
  overflow: hidden;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-box {
  background: linear-gradient(135deg, #1ABAFA 0%, #1F5DF2 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--space-4xl) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

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

.cta-box p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto var(--space-2xl);
  font-size: 1.125rem;
}

/* Readability: faint inline grays / low-opacity whites sitting directly on
   the blue brand gradient. Excludes text inside white cards (which need the
   muted grays for contrast on white). Overrides inline non-important colors. */
.bg-brand [style*="--slate-400"]:not(:where(.card *, .calculator *, .calculator)),
.bg-brand [style*="--slate-300"]:not(:where(.card *, .calculator *, .calculator)),
.bg-brand [style*="rgba(255,255,255,0.7"]:not(:where(.card *, .calculator *)),
.bg-brand [style*="rgba(255,255,255,0.8"]:not(:where(.card *, .calculator *)),
.cta-box [style*="rgba(255,255,255,0.7"],
.cta-box [style*="rgba(255,255,255,0.8"] {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* --- Footer --- */
.footer {
  background: #2b2b2b;
  color: #b6becb;
  padding: var(--space-4xl) 0 var(--space-xl);
}
/* Footer sits on dark charcoal, so keep its muted text light enough to read
   (the global --slate-400 is tuned for light backgrounds). */
.footer p, .footer li, .footer .footer-links a, .footer .footer-bottom p {
  color: #b6becb;
}
.footer [style*="slate-400"], .footer [style*="slate-300"] {
  color: #b6becb !important;
}

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

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: var(--space-md);
  color: var(--slate-400);
  max-width: 300px;
}

.footer-brand .app-badges {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-brand .app-badges img {
  height: 36px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-brand .app-badges img:hover {
  opacity: 1;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--slate-500, #64748b);
}

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

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--slate-500, #64748b);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- Page Hero (non-home pages) --- */
.page-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
  margin: 0 auto;
}

/* --- ROI Calculator --- */
.calculator {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-lg);
}

.calculator-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: var(--slate-100);
  border-radius: 100px;
  outline: none;
  margin: var(--space-md) 0;
}

.calculator-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-500);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(31, 93, 242, 0.4);
}

.calculator-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--slate-100);
}

.result-item {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--border-radius);
}

.result-item.their-cost {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.1);
}

.result-item.our-cost {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.result-label {
  font-size: 0.8125rem;
  color: var(--slate-400);
  font-weight: 500;
  margin-bottom: 4px;
}

.result-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
}

.their-cost .result-price { color: var(--danger); }
.our-cost .result-price { color: var(--success); }

.savings-callout {
  text-align: center;
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(16, 185, 129, 0.06);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.savings-callout .amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--success);
}

/* --- Demo Cards --- */
.demo-card {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

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

.demo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--slate-50);
}

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

.demo-card-body h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.demo-card-body p {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: var(--space-md);
}

.demo-card-links {
  display: flex;
  gap: var(--space-md);
}

/* --- Pricing Grid (5 columns) --- */
.pricing-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.pricing-grid-5 .btn {
  font-size: 0.8125rem;
  padding: 0.625rem 1rem;
}

/* Pricing tabs (customer type) */
.pricing-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-sm);
}
.pricing-tab {
  padding: 0.6rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-400);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pricing-tab:hover { color: var(--navy-800); }
.pricing-tab.active {
  background: linear-gradient(135deg, #1ABAFA 0%, #1F5DF2 100%);
  color: #fff;
  border-color: transparent;
}
.pricing-tabs-sub {
  text-align: center;
  color: var(--slate-400);
  font-size: 0.9rem;
  margin-bottom: var(--space-2xl);
  max-width: none;
}
.pricing-panel { display: none; }
.pricing-panel.active { display: block; }
.pricing-panel-note {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
  color: var(--navy-800);
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}
.pricing-panel-footnote {
  text-align: center;
  color: var(--slate-400);
  font-size: 0.8rem;
  margin-top: var(--space-lg);
}
.plan-savings {
  display: none;
  color: var(--success);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
.pricing-grid-4 .btn {
  font-size: 0.8125rem;
  padding: 0.625rem 1rem;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .pricing-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .stats-row {
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(31, 93, 242, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-lg) var(--space-xl);
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: var(--space-md) 0;
    font-size: 1rem;
    color: var(--slate-200) !important;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

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

  .hero {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
  }

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

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

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

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

  .section {
    padding: var(--space-3xl) 0;
  }

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

  .stats-row {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-buttons .btn-lg {
    flex: 1 1 auto;
    text-align: center;
  }

  .step {
    flex-direction: column;
    gap: var(--space-md);
  }

  .calculator-result {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured,
  .pricing-card.featured:hover {
    transform: none;
  }

  .pricing-grid-5,
  .pricing-grid-4 {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .proof-bar-inner {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .proof-bar-inner .proof-bar-text,
  .proof-bar-inner .proof-bar-divider {
    border-left: none;
    padding-left: 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

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

  .hero-buttons .btn-lg {
    width: 100%;
  }
}

/* --- Navigation Dropdowns --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xs) 0;
  list-style: none;
  z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--navy-600) !important;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.dropdown-menu li a:hover {
  background: var(--slate-50);
  color: var(--blue-500) !important;
}

.nav-dark .dropdown-menu {
  background: var(--navy-700);
  border-color: rgba(255,255,255,0.08);
}

.nav-dark .dropdown-menu li a {
  color: var(--slate-300) !important;
}

.nav-dark .dropdown-menu li a:hover {
  background: var(--navy-600);
  color: var(--white) !important;
}

.nav.scrolled .dropdown-menu {
  background: var(--white);
  border-color: var(--slate-100);
}

.nav.scrolled .dropdown-menu li a {
  color: var(--navy-600) !important;
}

.nav.scrolled .dropdown-menu li a:hover {
  background: var(--slate-50);
  color: var(--blue-500) !important;
}

.nav-cta .btn-ghost.btn-sm {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.4rem 1rem;
}

.nav.scrolled .nav-cta .btn-ghost.btn-sm {
  border-color: var(--blue-400);
  color: var(--blue-500);
}

.nav.scrolled .nav-cta .btn-ghost.btn-sm:hover {
  border-color: var(--blue-500);
  color: var(--white);
  background: var(--blue-500);
}

/* --- Credibility Logos --- */
.credibility-heading {
  display: block;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin: 0 auto var(--space-lg);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%;
}

.credibility-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
}

.credibility-logos img {
  height: 36px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.5);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.credibility-logos img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* --- Video Grid --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.video-card {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

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

.video-card .video-embed {
  width: 100%;
  aspect-ratio: 16/9;
}

.video-card .video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-body {
  padding: var(--space-md) var(--space-lg);
}

.video-card-body h4 {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}

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

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--slate-100);
}

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

.blog-card-body h3 {
  font-size: 1.0625rem;
  margin-bottom: var(--space-sm);
}

.blog-card-body p {
  font-size: 0.875rem;
  color: var(--slate-400);
  margin-bottom: var(--space-md);
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--slate-300);
}

/* --- Partner Badge --- */
.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: var(--border-radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: var(--space-lg);
}

/* --- Feature Carousel --- */
/* Full-width feature banner carousel with cross-dissolve */
.feature-carousel-section {
  padding-left: 0;
  padding-right: 0;
}

.feature-carousel {
  position: relative;
  width: 100%;
}

.feature-carousel-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: height 0.45s var(--ease-out);
}

.cb-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.85s cubic-bezier(0.6, 0.04, 0.2, 1), opacity 0.5s ease;
}

.cb-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Image rides at a different rate than the slide = parallax depth.
   Rests at scale(1)/translateX(0) so the full banner is never cropped. */
.cb-slide img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.95s cubic-bezier(0.6, 0.04, 0.2, 1);
  will-change: transform;
}

/* Thumbnail jump nav */
.carousel-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: var(--space-md) var(--space-md) 0;
}

.carousel-thumb {
  width: 96px;
  height: 50px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-thumb:hover {
  opacity: 0.85;
}

.carousel-thumb.active {
  opacity: 1;
  border-color: var(--blue-500);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.9);
}

.carousel-btn.prev { left: var(--space-md); }
.carousel-btn.next { right: var(--space-md); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slate-200);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--blue-500);
  width: 24px;
  border-radius: 100px;
}

/* --- Mobile additions for new components --- */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 0 var(--space-lg);
    display: none;
  }

  .nav-dropdown.dropdown-open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: var(--slate-300) !important;
    padding: 0.5rem 0 !important;
    font-size: 0.9rem !important;
  }

  .nav-dropdown.dropdown-open > a::after {
    transform: rotate(180deg);
  }

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

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

  .credibility-logos {
    gap: var(--space-lg);
  }

  .feature-carousel-track img {
    height: auto;
  }

  /* Show login and free trial in mobile menu */
  .nav-links .mobile-only {
    display: block;
  }
}

@media (min-width: 769px) {
  .nav-links .mobile-only {
    display: none;
  }
}

/* Solid nav on generated content pages (page.php/single.php/index.php via
   header.php) where there's no dark hero behind the fixed nav. The
   self-contained marketing pages have no body_class and are unaffected. */
body.page .nav, body.single .nav, body.blog .nav, body.archive .nav,
body.search .nav, body.error404 .nav {
  background: var(--navy-900);
}

/* --- Generated content (blog posts / SEO pages via page.php & single.php) --- */
.entry-content { max-width: 760px; margin: 0 auto; }
.entry-content h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: var(--space-lg); color: var(--navy-800); }
.entry-content h2 { font-size: 1.6rem; margin: var(--space-2xl) 0 var(--space-md); color: var(--navy-800); }
.entry-content h3 { font-size: 1.25rem; margin: var(--space-xl) 0 var(--space-sm); color: var(--navy-800); }
.entry-content p { color: #3d4b63; line-height: 1.75; margin-bottom: var(--space-lg); font-size: 1.05rem; }
.entry-content ul, .entry-content ol { color: #3d4b63; line-height: 1.7; margin: 0 0 var(--space-lg) 1.4rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content a { color: var(--blue-500); text-decoration: underline; }
.entry-content a:hover { color: var(--blue-600); }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--border-radius); margin: var(--space-lg) 0; }
.entry-content blockquote { border-left: 3px solid var(--blue-500); padding-left: var(--space-lg); margin: var(--space-lg) 0; color: var(--slate-400); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-lg); font-size: 0.95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--slate-100); padding: 0.6rem 0.85rem; text-align: left; }
.entry-content th { background: var(--slate-50); font-weight: 700; color: var(--navy-800); }
.entry-content strong { color: var(--navy-800); }

/* --- Contact Form 7 structural elements: don't let them render as stray lines/boxes --- */
.wpcf7 fieldset.hidden-fields-container,
.wpcf7 fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wpcf7 .screen-reader-response {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.wpcf7 .wpcf7-response-output { margin: 0.75rem 0 0; padding: 0.6rem 0.9rem; border-radius: 8px; font-size: 0.875rem; }
.wpcf7-form-control-wrap { display: block; }

/* --- Clickable feature banners + video lightbox --- */
.cb-slide[data-link] { cursor: pointer; }
.video-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6, 12, 30, 0.86);
  display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.video-lightbox.open { display: flex; }
.video-lightbox-frame {
  position: relative; width: min(960px, 100%); aspect-ratio: 16 / 9;
  background: #000; border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.video-lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-lightbox-close {
  position: absolute; top: clamp(10px, 3vw, 26px); right: clamp(16px, 4vw, 40px);
  background: none; border: none; color: #fff; font-size: 2.75rem; line-height: 1;
  cursor: pointer; z-index: 1001; padding: 0;
}
