/* ============================================================
   BHARATBILLS THEME — ADDITIONS v2
   Mega Menu · Language Switcher · Footer Logo Fix
   New Page Templates · Comparison Tables · Industry Pages
   ============================================================ */

/* ============================================================
   MEGA MENU
   ============================================================ */

/* Override old simple nav dropdown */
.nav-menu .nav-item-dropdown .nav-dropdown { display: none !important; }

/* Mega menu wrapper */
.nav-item-mega { position: static; }

.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-top: 3px solid var(--color-saffron);
  box-shadow: 0 16px 48px rgba(15,23,42,0.14);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s ease;
  pointer-events: none;
  z-index: 900;
}
.nav-item-mega:hover .mega-dropdown,
.mega-dropdown:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-dropdown-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 280px;
  gap: 0;
  max-width: var(--container-2xl);
  margin: 0 auto;
  padding: 0;
}

/* Each column */
.mega-col {
  padding: 1.5rem 1.75rem;
  border-right: 1px solid var(--color-warm-100);
}
.mega-col:last-child { border-right: none; }

.mega-col-header {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-warm-100);
}

.mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
  margin-bottom: 2px;
}
.mega-item:hover {
  background: var(--color-saffron-pale);
  color: var(--color-saffron);
  padding-left: 0.75rem;
}
.mega-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--color-warm-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.mega-item:hover .mega-item-icon { background: rgba(232,81,28,0.12); }
.mega-item-icon svg { width: 14px; height: 14px; color: var(--text-muted); }
.mega-item:hover .mega-item-icon svg { color: var(--color-saffron); }
.mega-item-text strong {
  display: block;
  font-weight: 600;
  line-height: 1.2;
  font-family: var(--font-heading);
  font-size: 13px;
}
.mega-item-text span {
  font-size: 11px;
  color: var(--text-subtle);
  line-height: 1.3;
}

/* View All link */
.mega-view-all {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-saffron);
  font-family: var(--font-heading);
  margin-top: 0.75rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: gap var(--transition-fast);
}
.mega-view-all:hover { gap: 10px; }
.mega-view-all svg { width: 14px; height: 14px; }

/* Highlight box (right column) */
.mega-highlight-col {
  background: var(--color-night);
  padding: 1.5rem 1.75rem;
  border-radius: 0 0 var(--radius-lg) 0;
}
.mega-highlight-header {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-saffron-light);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-highlight-header svg { width: 12px; height: 12px; }

.mega-unique-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mega-unique-item:last-of-type { border-bottom: none; }
.mega-unique-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-saffron);
  flex-shrink: 0;
  margin-top: 6px;
}
.mega-unique-text {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.mega-unique-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--color-saffron);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 3px;
}
.mega-unique-badge--green {
  background: var(--color-green);
}

.mega-highlight-cta {
  display: block;
  margin-top: 1.25rem;
  background: var(--color-saffron);
  color: #fff;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: background var(--transition-fast);
}
.mega-highlight-cta:hover { background: var(--color-saffron-dark); color: #fff; }

/* Industries mega menu — 3 columns + highlight */
.mega-dropdown--industries .mega-dropdown-inner {
  grid-template-columns: 1fr 1fr 280px;
}

/* Compare mega menu — 2 columns + highlight */
.mega-dropdown--compare .mega-dropdown-inner {
  grid-template-columns: 1fr 1fr 280px;
}

/* Nav chevron */
.nav-chevron {
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: middle;
  margin-left: 2px;
  transition: transform var(--transition-fast);
  opacity: 0.5;
}
.nav-item-mega:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

/* Active nav link indicator */
.nav-menu a.active {
  color: var(--color-saffron);
  background: var(--color-saffron-pale);
}
.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-saffron);
  border-radius: 2px;
}


/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--color-warm-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.04em;
}
.lang-btn.active {
  background: var(--color-saffron);
  color: #fff;
}
.lang-btn:hover:not(.active) { background: var(--color-saffron-pale); color: var(--color-saffron); }


/* ============================================================
   FOOTER LOGO FIX
   ============================================================ */
.site-footer .footer-brand .site-logo-img,
.site-footer .footer-brand img.site-logo-img {
  filter: none !important;       /* remove white invert */
  opacity: 1;
  height: 42px;
}
/* If logo is too dark for dark bg, brighten it slightly */
.site-footer .footer-brand .site-logo img {
  filter: brightness(1.1) !important;
  height: 42px;
}


/* ============================================================
   PAGE TEMPLATE: FEATURES
   ============================================================ */
.features-page-hero {
  background: var(--color-night);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.features-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(232,81,28,0.12), transparent 65%);
}
.features-page-hero h1 { color: #fff; position: relative; }
.features-page-hero p { color: rgba(255,255,255,0.6); font-size: var(--text-xl); max-width: 580px; margin: 1rem auto 2rem; position: relative; }

.features-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-module-card {
  background: #fff;
  border: var(--border-warm);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  cursor: pointer;
}
.feature-module-card:hover {
  border-color: var(--color-saffron);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-module-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-saffron-pale);
  color: var(--color-saffron);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.feature-module-icon svg { width: 24px; height: 24px; }
.feature-module-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.feature-module-card p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.65; margin-bottom: var(--space-4); }
.feature-module-list {
  display: flex; flex-direction: column; gap: var(--space-2);
}
.feature-module-list li {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); color: var(--text-secondary);
}
.feature-module-list li svg { width: 14px; height: 14px; color: var(--color-green); flex-shrink: 0; }

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


/* ============================================================
   PAGE TEMPLATE: COMPARISON
   ============================================================ */
.compare-hero {
  background: linear-gradient(135deg, var(--color-night) 0%, var(--color-navy) 100%);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.compare-hero h1 { color: #fff; }
.compare-hero p { color: rgba(255,255,255,0.6); font-size: var(--text-lg); max-width: 560px; margin: 1rem auto; }

/* Competitor selector tabs */
.compare-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding: var(--space-6) 0;
  border-bottom: var(--border-warm);
  margin-bottom: var(--space-10);
}
.compare-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 2px solid var(--color-warm-200);
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  transition: all var(--transition-base);
}
.compare-tab-btn:hover { border-color: var(--color-saffron); color: var(--color-saffron); }
.compare-tab-btn.active { border-color: var(--color-saffron); background: var(--color-saffron); color: #fff; }

/* Comparison table */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: var(--border-warm);
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.compare-table thead tr {
  background: var(--color-night);
}
.compare-table thead th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.compare-table thead th:first-child { color: rgba(255,255,255,0.5); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-table thead th.bb-col {
  background: var(--color-saffron);
  color: #fff;
  font-size: var(--text-base);
}
.compare-table tbody tr:nth-child(even) { background: var(--color-warm-50); }
.compare-table tbody tr:hover { background: var(--color-saffron-pale); }
.compare-table td {
  padding: 1rem 1.5rem;
  border-right: 1px solid var(--color-warm-100);
  border-bottom: 1px solid var(--color-warm-100);
  color: var(--text-secondary);
  vertical-align: middle;
}
.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
  background: var(--color-warm-50);
}
.compare-table td.bb-col { background: rgba(232,81,28,0.04); }
.compare-yes { color: var(--color-green); font-weight: 700; }
.compare-no { color: #D1D5DB; }
.compare-partial { color: var(--color-navy); }
.compare-icon { display: flex; align-items: center; gap: 6px; }
.compare-icon svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Winner banner */
.compare-winner {
  background: linear-gradient(135deg, var(--color-saffron), var(--color-saffron-dark));
  color: #fff;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  margin-top: var(--space-10);
}
.compare-winner h2 { color: #fff; font-size: var(--text-3xl); margin-bottom: var(--space-3); }
.compare-winner p { color: rgba(255,255,255,0.85); font-size: var(--text-lg); margin-bottom: var(--space-6); }

/* Quick verdict cards */
.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-10);
}
.verdict-card {
  background: #fff;
  border: var(--border-warm);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}
.verdict-card-icon { font-size: 2.5rem; margin-bottom: var(--space-3); }
.verdict-card h4 { font-size: var(--text-base); margin-bottom: var(--space-2); color: var(--text-primary); }
.verdict-card p { font-size: var(--text-sm); color: var(--text-muted); line-height: 1.6; }
@media (max-width: 768px) { .verdict-grid { grid-template-columns: 1fr; } }


/* ============================================================
   PAGE TEMPLATE: INDUSTRY LANDING
   ============================================================ */
.industry-hero {
  background: var(--color-night);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.industry-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 70% 50%, rgba(26,43,107,0.5), transparent);
  pointer-events: none;
}
.industry-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.industry-hero h1 { color: #fff; font-size: clamp(2rem,4vw,3rem); }
.industry-hero p { color: rgba(255,255,255,0.65); font-size: var(--text-lg); margin-top: 1rem; line-height: 1.75; }
.industry-hero-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.industry-hero-check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8);
}
.industry-hero-check svg { width: 18px; height: 18px; color: var(--color-green); flex-shrink: 0; }

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

/* Industry pain-solution section */
.pain-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.pain-solution-card {
  background: #fff;
  border: var(--border-warm);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.psc-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: var(--border-warm);
}
.psc-header.pain { background: #FEF2F2; border-left: 4px solid #EF4444; }
.psc-header.solution { background: var(--color-green-pale); border-left: 4px solid var(--color-green); }
.psc-header h4 { font-size: var(--text-base); margin: 0; }
.psc-header.pain h4 { color: #991B1B; }
.psc-header.solution h4 { color: var(--color-green-dark); }
.psc-body { padding: var(--space-5) var(--space-6); }
.psc-body li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--color-warm-100);
}
.psc-body li:last-child { border-bottom: none; }
.psc-body li::before {
  content: '→';
  font-weight: 700;
  color: var(--color-saffron);
  flex-shrink: 0;
}
@media (max-width: 768px) { .pain-solution-grid { grid-template-columns: 1fr; } }


/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  padding-block: var(--space-4);
  border-bottom: var(--border-warm);
  margin-bottom: 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--color-saffron); }
.breadcrumb-sep { color: var(--color-warm-300); }
.breadcrumb-current { color: var(--text-secondary); font-weight: 500; }


/* ============================================================
   RESPONSIVE MEGA MENU
   ============================================================ */
@media (max-width: 1024px) {
  .mega-dropdown { display: none !important; }
}

/* ============================================================
   MEGA MENU v2 — New header.php class aliases
   ============================================================ */

/* .mega-col-heading aliases .mega-col-header */
.mega-col-heading {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-warm-100);
}
.mega-highlight-col .mega-col-heading {
  color: rgba(255,255,255,0.45);
  border-bottom-color: rgba(255,255,255,0.1);
}

/* Mega badge (NEW, Popular, etc.) */
.mega-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--color-saffron);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.mega-badge--popular { background: var(--color-green); }

/* Mega why-list (compare column) */
.mega-why-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.5rem 0 1rem; }
.mega-why-item { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.mega-why-icon { flex-shrink: 0; }

/* Mega CTA block (button in highlight col) */
.mega-cta-block { margin-top: 1.25rem; }
.mega-cta-block .btn-sm {
  font-size: 12px;
  padding: 0.55rem 1.1rem;
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Btn outline light (for dark backgrounds) */
.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  padding: 0.5rem 1.1rem;
  transition: all var(--transition-fast);
}
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }

/* 3-col and 2-col mega dropdown inner variants */
.mega-dropdown-inner--3col { grid-template-columns: 1fr 1fr 260px !important; }
.mega-dropdown-inner--2col { grid-template-columns: 1.4fr 1fr !important; }

/* JS-driven mega open state */
.nav-item.has-mega .mega-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-item.has-mega.mega-open .mega-dropdown,
.nav-item.has-mega:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* Chevron rotation when open */
.nav-item.has-mega.mega-open .nav-chevron,
.nav-item.has-mega:hover .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
/* Active state on trigger button */
.nav-link--dropdown { background: transparent; border: none; cursor: pointer; display: flex; align-items: center; gap: 4px; font: inherit; }
.nav-item.has-mega.mega-open .nav-link--dropdown { color: var(--color-saffron); }

/* Mobile lang row */
.mobile-lang-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem var(--space-6);
  background: var(--color-warm-50);
  border-bottom: 1px solid var(--color-warm-100);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Mobile nav phone */
.mobile-nav-phone {
  display: block;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-warm-100);
  margin-bottom: 0.75rem;
}
.mobile-nav-phone:hover { color: var(--color-saffron); }

/* Mobile nav footer */
.mobile-nav-footer { padding: var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); border-top: 1px solid var(--color-warm-100); }
.btn-block { width: 100%; text-align: center; justify-content: center; }

/* Mobile nav accordions */
.mobile-nav-section { border-bottom: 1px solid var(--color-warm-100); }
.mobile-nav-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--space-6);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
}
.mobile-nav-section-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-nav-section-toggle svg { transition: transform 0.2s ease; flex-shrink: 0; }
.mobile-nav-sub { padding: 0 var(--space-6) 0.5rem var(--space-8); }
.mobile-nav-sub a {
  display: block;
  padding: 0.55rem 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-warm-50);
}
.mobile-nav-sub a:hover { color: var(--color-saffron); }

/* Mega unique item — full width links in dark column */
.mega-unique-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.55rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.mega-unique-item:last-of-type { border-bottom: none; }
.mega-unique-item .mega-item-text strong { color: rgba(255,255,255,0.9); font-size: 13px; display: block; }
.mega-unique-item .mega-item-text small { color: rgba(255,255,255,0.5); font-size: 11px; display: block; margin-top: 2px; }
.mega-unique-item:hover { opacity: 0.85; }

/* Mega item-icon emoji override */
.mega-item-icon { font-size: 16px; line-height: 1; flex-shrink: 0; width: auto; height: auto; background: none; border-radius: 0; display: inline-block; margin-top: 2px; }

/* ============================================================
   FEATURES PAGE: feature-module alternating layout
   ============================================================ */
.feature-module { background: #fff; }
.feature-module:nth-child(even) { background: var(--color-warm-50); }
.feature-module-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.feature-module--flip .feature-module-visual { order: -1; }
.feature-module-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.feature-checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-checklist li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.55; }
.feature-checklist li svg { flex-shrink: 0; margin-top: 3px; }

/* Feature mockup */
.feature-module-mockup {
  border-radius: var(--radius-xl);
  border: 2px solid #ddd;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feature-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
}
.mockup-dots { display: flex; gap: 4px; }
.mockup-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.feature-mockup-body { padding: 1.25rem; background: #fafaf9; }
.mockup-row { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.75rem; border-radius: 8px; background: #fff; margin-bottom: 6px; border: 1px solid #f0ede9; }
.mockup-row-icon { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; }
.mockup-row-lines { flex: 1; }
.mockup-line { height: 8px; border-radius: 4px; background: #f0ede9; margin-bottom: 4px; }
.mockup-line:last-child { margin-bottom: 0; }
.mockup-row-val { font-size: 14px; font-weight: 700; flex-shrink: 0; }

/* Features hero stats */
.features-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.feature-stat-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 1rem 1.25rem; text-align: center; }
.feature-stat-card strong { display: block; font-size: var(--text-2xl); font-family: var(--font-heading); color: var(--color-saffron); }
.feature-stat-card span { font-size: var(--text-sm); color: rgba(255,255,255,0.6); }
.features-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.features-hero { background: var(--color-night); padding-block: clamp(3.5rem,7vw,6rem); }
.features-hero h1 { color: #fff; }
.features-hero p { color: rgba(255,255,255,0.6); }

/* Industry page extras */
.industry-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.industry-icon { font-size: 3rem; margin-bottom: 1rem; line-height: 1; }
.industry-hero-trust { display: flex; flex-direction: column; gap: 1rem; }
.industry-trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: var(--text-base); color: rgba(255,255,255,0.8); }
.industry-trust-item svg { color: var(--color-green); flex-shrink: 0; width: 20px; height: 20px; }
.industry-pains { background: #fff; }
.pain-col, .solution-col { flex: 1; padding: 1.25rem; }
.pain-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #EF4444; display: block; margin-bottom: 0.5rem; }
.solution-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-green); display: block; margin-bottom: 0.5rem; }
.pain-solution-card { display: flex; align-items: stretch; background: #fff; border: var(--border-warm); border-radius: var(--radius-lg); overflow: hidden; }
.pain-col { background: #FEF2F2; border-right: 1px solid #FECACA; }
.solution-col { background: #F0FDF4; }
.solution-arrow { display: flex; align-items: center; padding: 0 0.5rem; font-size: 1.5rem; color: var(--color-warm-300); }
.pain-solution-card p { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Compare page extras */
.compare-logos-row { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.compare-logo-block { background: rgba(255,255,255,0.08); border: 2px solid rgba(255,255,255,0.15); border-radius: var(--radius-xl); padding: 1.25rem 2rem; text-align: center; min-width: 160px; }
.compare-logo-block--bb { border-color: var(--color-saffron); background: rgba(232,81,28,0.1); }
.compare-logo-name { display: block; font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 800; color: #fff; }
.compare-logo-since { display: block; font-size: var(--text-xs); color: rgba(255,255,255,0.5); margin-top: 4px; }
.compare-logo-icon { display: block; font-size: 2rem; margin-bottom: 0.5rem; }
.compare-vs { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 800; color: rgba(255,255,255,0.3); }
.compare-feature-col { width: 45%; }
.compare-bb-col { width: 27.5%; }
.compare-tick { font-size: 1.1rem; font-weight: 800; }
.compare-cross { font-size: 1rem; opacity: 0.35; }
.compare-disclaimer { font-size: 11px; color: var(--text-muted); margin-top: 1rem; font-style: italic; }
.compare-verdict { padding-block: clamp(2.5rem,5vw,4rem); }
.compare-cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.compare-cta-card { background: #fff; border: var(--border-warm); border-radius: var(--radius-xl); padding: 1.75rem; }
.compare-cta-card--bb { border-color: var(--color-saffron); background: rgba(232,81,28,0.03); }
.compare-cta-card strong { display: block; font-size: var(--text-base); font-family: var(--font-heading); margin-bottom: 1rem; }
.compare-cta-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.compare-cta-card ul li::before { content: '✓ '; color: var(--color-green); font-weight: 700; }
.compare-cta-card ul li { font-size: var(--text-sm); color: var(--text-secondary); }

/* Features page module card updated */
.feature-module-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 1.25rem; background: #fff; border: var(--border-warm); border-radius: var(--radius-lg); }
.feature-module-card svg { color: var(--color-green); flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
.feature-module-card span { font-size: var(--text-sm); font-weight: 600; color: var(--text-primary); }

/* Responsive */
@media (max-width: 900px) {
  .features-hero-inner, .feature-module-inner, .industry-hero-inner, .compare-cta-pair { grid-template-columns: 1fr; }
  .feature-module--flip .feature-module-visual { order: 0; }
  .features-hero-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .features-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .compare-logos-row { flex-direction: column; }
  .pain-solution-card { flex-direction: column; }
  .solution-arrow { display: none; }
}

/* ============================================================
   HEADER NAV — layout bridge (header.php class names)
   ============================================================ */

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-6);
  position: relative;
}

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

.nav-item { position: static; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover,
.nav-link[aria-expanded="true"] {
  color: var(--color-saffron);
  background: var(--color-saffron-pale);
}
.nav-chevron {
  transition: transform var(--transition-fast);
}
.nav-link[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile breakpoint */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-actions .btn { display: none; }
  .nav-actions .lang-switcher { display: none; }
  .nav-hamburger { display: flex !important; }
}
