/*
Theme Name: Astra Child (Logiclix Modern)
Theme URI: https://www.logiclix.com/
Description: Modernized child theme for Logiclix with intelligent software & AI architecture.
Author: Logiclix
Author URI: https://www.logiclix.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Scoped Modern Homepage Styles */
:root {
  --lx-primary: #6878d6;
  --lx-primary-hover: #5362bd;
  --lx-primary-dark: #312e81;
  --lx-primary-light: #6366f1;
  --lx-brand-navy: #242a56;
  --lx-accent-cyan: #0284c7;
  --lx-dark-navy: #0f172a;
  --lx-text-main: #1e293b;
  --lx-text-muted: #475569;
  --lx-bg-slate: #f8fafc;
  --lx-border-subtle: #e2e8f0;
  --lx-radius-sm: 8px;
  --lx-radius-md: 12px;
  --lx-radius-lg: 20px;
  --lx-radius-full: 9999px;
  --lx-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --lx-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --lx-shadow-xl: 0 16px 24px -4px rgb(0 0 0 / 0.08), 0 6px 8px -4px rgb(0 0 0 / 0.04);
}

.lx-wrapper {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--lx-text-main);
  line-height: 1.6;
}

.lx-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Common Buttons */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--lx-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.lx-btn-primary {
  background: #6878d6 !important;
  background-color: #6878d6 !important;
  color: #ffffff !important;
  border: 1.5px solid transparent !important;
  box-shadow: 0 4px 12px rgba(104, 120, 214, 0.25) !important;
}
.lx-btn-primary:hover {
  background: #5362bd !important;
  background-color: #5362bd !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(104, 120, 214, 0.35) !important;
}
.lx-btn-secondary {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}
.lx-btn-secondary:hover {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border-color: #6878d6 !important;
  color: #6878d6 !important;
  transform: translateY(-1px);
}
.lx-btn-inverted {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #6878d6 !important;
  border: 1.5px solid #6878d6 !important;
  box-shadow: 0 4px 12px rgba(104, 120, 214, 0.15) !important;
}
.lx-btn-inverted:hover {
  background: #f5f6fe !important;
  background-color: #f5f6fe !important;
  color: #5362bd !important;
  border-color: #5362bd !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(104, 120, 214, 0.3) !important;
}
.lx-btn-badge-rescue {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  line-height: 1.2;
}
.lx-btn-badge-rescue::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f59e0b;
}

.lx-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  border-radius: var(--lx-radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lx-primary);
  margin-bottom: 20px;
}
.lx-pill-badge .lx-dot {
  width: 7px;
  height: 7px;
  background: var(--lx-primary);
  border-radius: 50%;
}

/* Hero Section */
.lx-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 15%, rgba(36, 42, 86, 0.05) 0%, transparent 60%);
}
.lx-hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--lx-brand-navy);
  max-width: 860px;
  margin: 0 auto 22px;
}
.lx-hero-title .lx-gradient {
  color: var(--lx-primary);
  display: block;
}
.lx-hero-subhead {
  font-size: 1.15rem;
  color: var(--lx-text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.65;
}
.lx-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Trust Section & Real Client Logos */
.lx-trust {
  padding: 36px 0 54px;
  border-bottom: 1px solid var(--lx-border-subtle);
  text-align: center;
}
.lx-trust-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--lx-text-muted);
  margin-bottom: 24px;
}
.lx-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.lx-stat-card {
  padding: 22px;
  background: var(--lx-bg-slate);
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  text-align: center;
}
.lx-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--lx-brand-navy);
}
.lx-stat-lbl {
  font-size: 0.85rem;
  color: var(--lx-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.lx-client-logos-header {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 20px;
}
.lx-client-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.lx-client-logo-item {
  height: 38px;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%) opacity(60%);
  transition: all 0.25s ease;
}
.lx-client-logo-item:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.05);
}

/* Section Headers */
.lx-sec-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.lx-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--lx-primary);
  margin-bottom: 10px;
}
.lx-sec-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--lx-brand-navy);
  line-height: 1.25;
}
.lx-sec-subhead {
  font-size: 1.05rem;
  color: var(--lx-text-muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* Dual Pillars */
.lx-what-we-build {
  padding: 90px 0;
  background: var(--lx-bg-slate);
}
.lx-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.lx-pillar-card {
  background: #fff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-lg);
  padding: 40px;
  transition: all 0.25s ease;
}
.lx-pillar-card:hover {
  box-shadow: var(--lx-shadow-md);
  transform: translateY(-2px);
}
.lx-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--lx-radius-full);
  margin-bottom: 16px;
}
.lx-badge-std { background: #f1f5f9; color: #475569; }
.lx-badge-ai { background: #e0e7ff; color: var(--lx-primary); }
.lx-pillar-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--lx-brand-navy);
  margin-bottom: 14px;
}
.lx-pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}
.lx-pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--lx-brand-navy);
}

/* AI Capabilities */
.lx-ai-sec { padding: 90px 0; }
.lx-ai-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.lx-ai-card {
  background: #fff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  padding: 32px;
  transition: all 0.2s ease;
}
.lx-ai-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--lx-shadow-sm);
}
.lx-card-num {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lx-primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.lx-ai-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  margin-bottom: 10px;
}
.lx-ai-card p {
  color: var(--lx-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.lx-card-focus {
  font-size: 0.85rem;
  color: var(--lx-primary-dark);
  background: #eef2ff;
  padding: 8px 12px;
  border-radius: var(--lx-radius-sm);
  line-height: 1.5;
}

/* Enterprise Architecture Section (Clean Systems Diagram & Inspector) */
.lx-pipeline-sec {
  padding: 100px 0;
  background: #0b1120;
  color: #f8fafc;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}
.lx-pipeline-sec .lx-sec-title { color: #ffffff; }
.lx-pipeline-sec .lx-sec-subhead { color: #94a3b8; max-width: 760px; margin: 0 auto; }

.lx-arch-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 50px;
}

/* Architecture Flow (Left Column) */
.lx-arch-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lx-arch-layer {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: var(--lx-radius-md);
  padding: 22px 24px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  position: relative;
}
.lx-arch-layer:hover {
  border-color: #4b5563;
  transform: translateY(-2px);
  background: #131d31;
}
.lx-arch-layer.is-active {
  border-color: #6878d6;
  background: #131c33;
  box-shadow: 0 0 0 1px #6878d6;
}
.lx-arch-layer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lx-arch-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.lx-arch-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(104, 120, 214, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(104, 120, 214, 0.3);
}
.lx-arch-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.lx-arch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #1e293b;
  color: #6878d6;
  flex-shrink: 0;
}
.lx-arch-layer.is-active .lx-arch-icon {
  background: #6878d6;
  color: #ffffff;
}
.lx-arch-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}
.lx-arch-subblocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.lx-arch-block {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px 12px;
}
.lx-arch-block strong {
  display: block;
  font-size: 0.82rem;
  color: #e2e8f0;
  margin-bottom: 3px;
}
.lx-arch-block span {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
  display: block;
}
.lx-arch-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #475569;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 2px 0;
}
.lx-arch-flow-line {
  height: 14px;
  width: 1px;
  background: #334155;
}

/* Architecture Inspector (Right Column) */
.lx-arch-inspector {
  position: sticky;
  top: 90px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: var(--lx-radius-md);
  padding: 28px;
}
.lx-inspect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lx-inspect-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #10b981;
}
.lx-inspect-status-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
}
.lx-inspect-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.lx-inspect-purpose {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 22px;
}
.lx-inspect-contrast {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.lx-inspect-box {
  padding: 14px 16px;
  border-radius: var(--lx-radius-sm);
  font-size: 0.84rem;
  line-height: 1.45;
}
.lx-inspect-box-amateur {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
.lx-inspect-box-amateur strong {
  color: #ef4444;
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lx-inspect-box-logiclix {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}
.lx-inspect-box-logiclix strong {
  color: #10b981;
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lx-inspect-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lx-inspect-metric-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 10px 12px;
}
.lx-inspect-metric-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.lx-inspect-metric-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
}

/* Callout Summary */
.lx-arch-summary-bar {
  margin-top: 48px;
  background: #111827;
  border: 1px solid #1f2937;
  border-left: 4px solid #6878d6;
  border-radius: var(--lx-radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.lx-arch-summary-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.lx-arch-summary-text strong {
  color: #fff;
}

/* Supporting Capabilities */
.lx-supporting-sec {
  padding: 80px 0;
  background: var(--lx-bg-slate);
  border-bottom: 1px solid var(--lx-border-subtle);
}
.lx-supporting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lx-support-card {
  background: #fff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  padding: 32px;
}
.lx-support-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  margin-bottom: 10px;
}
.lx-support-card p {
  font-size: 0.92rem;
  color: var(--lx-text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lx-support-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lx-support-card li {
  font-size: 0.86rem;
  color: var(--lx-brand-navy);
}

/* Case Study */
.lx-case-sec { padding: 90px 0; background: #fff; }
.lx-case-box {
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  box-shadow: var(--lx-shadow-xl);
}
.lx-case-body { padding: 48px; }
.lx-case-sidebar {
  background: #0f172a;
  color: #fff;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lx-spec-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.lx-spec-lbl {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
}
.lx-spec-val { font-size: 0.92rem; font-weight: 600; color: #fff; }

/* Why Logiclix */
.lx-why-sec { padding: 90px 0; background: var(--lx-bg-slate); }
.lx-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lx-why-card {
  background: #fff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  padding: 28px;
}
.lx-why-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  margin-bottom: 10px;
}
.lx-why-card p { font-size: 0.88rem; color: var(--lx-text-muted); line-height: 1.6; }

/* More Services & Real Work Showcase */
.lx-more-sec { padding: 90px 0; background: #fff; }
.lx-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.lx-srv-box {
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  padding: 26px;
  background: var(--lx-bg-slate);
  transition: all 0.2s ease;
}
.lx-srv-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--lx-shadow-md);
  border-color: #cbd5e1;
  background: #fff;
}

.lx-work-showcase-wrap {
  margin-top: 30px;
  border-top: 1px solid var(--lx-border-subtle);
  padding-top: 40px;
}
.lx-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lx-work-card {
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  overflow: hidden;
  background: #fff;
}
.lx-work-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  background: #f1f5f9;
  border-bottom: 1px solid var(--lx-border-subtle);
}
.lx-work-card-body {
  padding: 20px;
}
.lx-work-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--lx-primary);
  margin-bottom: 6px;
}
.lx-work-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  margin-bottom: 6px;
}
.lx-work-card-desc {
  font-size: 0.84rem;
  color: var(--lx-text-muted);
  line-height: 1.45;
}

/* CTA */
.lx-cta-sec {
  padding: 100px 0;
  background: var(--lx-brand-navy);
  color: #fff;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .lx-hero-title { font-size: 2.8rem; }
  .lx-arch-layout { grid-template-columns: 1fr; }
  .lx-arch-inspector { position: static; }
  .lx-case-box { grid-template-columns: 1fr; }
  .lx-why-grid { grid-template-columns: 1fr 1fr; }
  .lx-services-grid { grid-template-columns: 1fr 1fr; }
  .lx-work-grid { grid-template-columns: 1fr 1fr; }
  .lx-stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .lx-hero-title { font-size: 2.2rem; }
  .lx-pillars-grid { grid-template-columns: 1fr; }
  .lx-ai-grid { grid-template-columns: 1fr; }
  .lx-supporting-grid { grid-template-columns: 1fr; }
  .lx-why-grid { grid-template-columns: 1fr; }
  .lx-services-grid { grid-template-columns: 1fr; }
  .lx-work-grid { grid-template-columns: 1fr; }
  .lx-stats-row { grid-template-columns: 1fr; }
  .lx-arch-summary-bar { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   HOMEPAGE CALIBRATION & GATEWAY EXTENSIONS
   ========================================================================== */

/* Hero Credentials Strip */
.lx-hero-credentials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.lx-cred-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lx-text-muted);
}
.lx-cred-item svg {
  color: var(--lx-primary);
  flex-shrink: 0;
}

/* 4 Pillars Grid (What We Build) */
.lx-four-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.lx-pillar-box {
  background: #ffffff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.lx-pillar-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--lx-shadow-xl);
  border-color: #cbd5e1;
}
.lx-pillar-highlight {
  border-color: rgba(104, 120, 214, 0.4);
  background: linear-gradient(180deg, rgba(239, 242, 254, 0.4) 0%, #ffffff 100%);
}
.lx-pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--lx-radius-sm);
  background: #f1f5f9;
  color: var(--lx-brand-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.lx-pillar-box h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  margin: 12px 0 10px;
}
.lx-pillar-box p {
  font-size: 0.88rem;
  color: var(--lx-text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}
.lx-pillar-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--lx-text-main);
  font-weight: 500;
}
.lx-pillar-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--lx-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.lx-pillar-link:hover {
  gap: 10px;
  color: var(--lx-primary-hover);
}

/* Dual Case Studies */
.lx-dual-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}
.lx-case-card {
  background: #ffffff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lx-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lx-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lx-shadow-xl);
}
.lx-case-card-ai {
  border-color: rgba(104, 120, 214, 0.3);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfe 100%);
}
.lx-case-header {
  padding: 20px 28px;
  background: #f8fafc;
  border-bottom: 1px solid var(--lx-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.lx-case-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--lx-primary);
}
.lx-case-badge-gold {
  color: #b45309;
  background: #fef3c7;
  padding: 3px 8px;
  border-radius: 4px;
}
.lx-case-tag {
  font-family: var(--lx-font-mono);
  font-size: 0.72rem;
  color: var(--lx-text-muted);
  border: 1px solid var(--lx-border-subtle);
  padding: 2px 8px;
  border-radius: 4px;
  background: #fff;
}
.lx-case-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.lx-case-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--lx-brand-navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.lx-case-desc {
  font-size: 0.92rem;
  color: var(--lx-text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
}
.lx-case-media {
  width: 100%;
  height: 220px;
  border-radius: var(--lx-radius-md);
  overflow: hidden;
  border: 1px solid var(--lx-border-subtle);
  margin-bottom: 24px;
  background: #f1f5f9;
}
.lx-case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* BharatAstro Real Screens Grid */
.lx-astro-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.lx-astro-screen-box {
  background: #f8fafc;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.lx-astro-screen-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--lx-border-subtle);
  background: #fff;
}
.lx-astro-screen-cap {
  padding: 8px 10px;
  background: #ffffff;
}
.lx-astro-screen-cap strong {
  display: block;
  font-size: 0.75rem;
  color: var(--lx-brand-navy);
  margin-bottom: 2px;
}
.lx-astro-screen-cap span {
  font-size: 0.68rem;
  color: var(--lx-text-muted);
  line-height: 1.25;
  display: block;
}

/* Case Pillars */
.lx-case-pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.lx-case-pillar-item {
  background: #f8fafc;
  border-left: 3px solid var(--lx-primary);
  padding: 10px 14px;
  border-radius: 0 var(--lx-radius-sm) var(--lx-radius-sm) 0;
}
.lx-case-pillar-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--lx-brand-navy);
  margin-bottom: 2px;
}
.lx-case-pillar-item span {
  font-size: 0.78rem;
  color: var(--lx-text-muted);
  line-height: 1.35;
}

/* Metrics Bar */
.lx-case-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--lx-border-subtle);
  border-bottom: 1px solid var(--lx-border-subtle);
  margin-bottom: 24px;
}
.lx-case-metric {
  text-align: center;
}
.lx-cm-val {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lx-brand-navy);
}
.lx-cm-lbl {
  font-size: 0.72rem;
  color: var(--lx-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lx-case-footer {
  margin-top: auto;
}
.lx-case-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  border-radius: var(--lx-radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.2s ease !important;
}
.lx-case-btn:hover {
  background: #e2e8f0 !important;
  background-color: #e2e8f0 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px);
}
.lx-case-btn-primary {
  background: #6878d6 !important;
  background-color: #6878d6 !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 12px rgba(104, 120, 214, 0.25) !important;
  transition: all 0.2s ease !important;
}
.lx-case-btn-primary:hover {
  background: #5362bd !important;
  background-color: #5362bd !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(104, 120, 214, 0.35) !important;
}

/* LogiClix AI Gateway Section */
.lx-gateway-sec {
  padding: 80px 0;
  background: var(--lx-bg-slate);
}
.lx-gateway-card {
  background: #0b1120;
  border: 1px solid #1f2937;
  border-radius: var(--lx-radius-lg);
  padding: 56px 48px;
  color: #f8fafc;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}
.lx-gateway-badge {
  font-family: var(--lx-font-mono);
  font-size: 0.78rem;
  color: #818cf8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.lx-gateway-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  max-width: 840px;
  margin-bottom: 16px;
}
.lx-gateway-subhead {
  font-size: 1.02rem;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 900px;
  margin-bottom: 40px;
}
.lx-gateway-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.lx-outcome-item {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: var(--lx-radius-md);
  padding: 24px;
}
.lx-outcome-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--lx-radius-sm);
  background: rgba(104, 120, 214, 0.15);
  color: #a5b4fc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.lx-outcome-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.lx-outcome-item p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.5;
}
.lx-gateway-callout {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid #1f2937;
  border-left: 4px solid var(--lx-primary);
  border-radius: var(--lx-radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.lx-callout-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lx-callout-text strong {
  font-size: 1.02rem;
  color: #ffffff;
}
.lx-callout-text span {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Micro-details & Badges */
.lx-cta-micro {
  margin-top: 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive updates for calibration */
@media (max-width: 1024px) {
  .lx-four-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .lx-dual-cases { grid-template-columns: 1fr; }
  .lx-gateway-outcomes { grid-template-columns: 1fr; }
  .lx-gateway-callout { flex-direction: column; text-align: left; }
}
@media (max-width: 768px) {
  .lx-four-pillars-grid { grid-template-columns: 1fr; }
  .lx-astro-screens-grid { grid-template-columns: 1fr; }
  .lx-gateway-card { padding: 36px 24px; }
  .lx-gateway-title { font-size: 1.75rem; }
  .lx-hero-credentials { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   HALLWAY HOMEPAGE EXTENSIONS: AI RESCUE, FAQ ACCORDION, 6-GRID DE-RISKING
   ========================================================================== */

/* AI Rescue Badge & Pillar Card */
.lx-badge-rescue {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.lx-pillar-rescue {
  background: #ffffff !important;
  border: 1.5px solid #f59e0b !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.lx-pillar-rescue:hover {
  background: #ffffff !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.16) !important;
  border-color: #d97706 !important;
}

/* 6-Grid De-Risking (Why Us) */
.lx-why-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .lx-why-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lx-why-grid-6 {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion Section */
.lx-faq-sec {
  padding: 90px 0;
  background: #f8fafc;
  border-top: 1px solid var(--lx-border-subtle);
}

.lx-faq-list {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lx-faq-item {
  background: #ffffff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lx-faq-item[open] {
  border-color: #cbd5e1;
  box-shadow: var(--lx-shadow-md);
}

.lx-faq-question {
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  line-height: 1.4;
}

.lx-faq-question::-webkit-details-marker {
  display: none;
}

.lx-faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--lx-primary);
  transition: transform 0.2s ease;
}

.lx-faq-item[open] .lx-faq-chevron {
  transform: rotate(180deg);
}

.lx-faq-answer {
  padding: 0 24px 24px;
  font-size: 0.94rem;
  color: var(--lx-text-muted);
  line-height: 1.65;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}

.lx-faq-answer p {
  margin-bottom: 12px;
}

.lx-faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   NAVIGATION DROPDOWN: LOGICLIX AI (AI SOLUTIONS & AI CODE RESCUE)
   ========================================================================== */

.lx-nav-dropdown {
  position: relative;
  display: inline-block;
}

.lx-nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lx-primary);
  font-weight: 700;
  text-decoration: none;
  padding: 8px 0;
  cursor: pointer;
}

.lx-nav-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.lx-nav-dropdown:hover .lx-nav-arrow {
  transform: rotate(180deg);
}

.lx-nav-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 290px;
  background: #ffffff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1000;
  animation: lxNavFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lxNavFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lx-nav-dropdown:hover .lx-nav-menu,
.lx-nav-dropdown:focus-within .lx-nav-menu {
  display: flex;
}

.lx-nav-menu-item {
  padding: 10px 14px;
  border-radius: var(--lx-radius-sm);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background 0.15s ease;
}

.lx-nav-menu-item:hover {
  background: #f8fafc;
}

.lx-nav-menu-item strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lx-nav-menu-item span {
  font-size: 0.78rem;
  color: var(--lx-text-muted);
  line-height: 1.35;
}

.lx-nav-badge-rescue {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ==========================================================================
   AI SOLUTIONS: 5-STAGE ARCHITECTURE TOPOLOGY & INTERACTIVE INSPECTOR
   ========================================================================== */

.lx-arch-sec {
  background: #0b1120;
  color: #f8fafc;
  padding: 100px 0;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}

.lx-arch-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 50px;
}

.lx-arch-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lx-arch-layer {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: var(--lx-radius-md);
  padding: 22px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.lx-arch-layer:hover,
.lx-arch-layer.is-active {
  border-color: #6878d6;
  background: #1e293b;
  box-shadow: 0 10px 25px -5px rgba(104, 120, 214, 0.25);
  transform: translateY(-2px);
}

.lx-arch-layer.is-active::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 4px;
  background: #6878d6;
  border-radius: 0 4px 4px 0;
}

.lx-arch-layer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.lx-arch-tag {
  font-family: var(--lx-font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  color: #818cf8;
  letter-spacing: 0.5px;
}

.lx-arch-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--lx-radius-full);
  background: rgba(104, 120, 214, 0.2);
  color: #c7d2fe;
}

.lx-arch-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.lx-arch-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--lx-radius-sm);
  background: rgba(104, 120, 214, 0.2);
  color: #818cf8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lx-arch-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.lx-arch-subblocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.lx-arch-block {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--lx-radius-sm);
  padding: 10px;
}

.lx-arch-block strong {
  display: block;
  font-size: 0.78rem;
  color: #e2e8f0;
  margin-bottom: 2px;
}

.lx-arch-block span {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
  display: block;
}

.lx-arch-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 0;
}

.lx-arch-flow-line {
  flex-grow: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.lx-arch-flow-arrow span {
  font-family: var(--lx-font-mono, monospace);
  font-size: 0.68rem;
  color: #64748b;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Architecture Inspector Card (Right Column) */
.lx-arch-inspector {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: var(--lx-radius-lg);
  padding: 32px;
  box-shadow: var(--lx-shadow-xl);
  position: sticky;
  top: 100px;
}

.lx-inspect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1f2937;
}

.lx-inspect-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #34d399;
  letter-spacing: 0.5px;
}

.lx-inspect-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.lx-inspect-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.lx-inspect-purpose {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 24px;
}

.lx-inspect-contrast {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.lx-inspect-box {
  border-radius: var(--lx-radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lx-inspect-box-amateur {
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid #ef4444;
}

.lx-inspect-box-amateur strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f87171;
}

.lx-inspect-box-amateur span {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.lx-inspect-box-logiclix {
  background: rgba(104, 120, 214, 0.1);
  border-left: 3px solid #6878d6;
}

.lx-inspect-box-logiclix strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #818cf8;
}

.lx-inspect-box-logiclix span {
  font-size: 0.84rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.lx-inspect-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #1f2937;
}

.lx-inspect-metric-item {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--lx-radius-sm);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lx-inspect-metric-lbl {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.lx-inspect-metric-val {
  font-size: 0.86rem;
  font-weight: 700;
  color: #38bdf8;
}

.lx-arch-summary-bar {
  margin-top: 40px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: var(--lx-radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lx-arch-summary-text strong {
  color: #818cf8;
}

.lx-arch-summary-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.55;
}


/* ==========================================================================
   CODE PROOF BOX & TYPED CONTRACTS SHOWCASE
   ========================================================================== */

.lx-code-proof-sec {
  padding: 90px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--lx-border-subtle);
}

.lx-code-box {
  background: #0f172a;
  border-radius: var(--lx-radius-md);
  border: 1px solid #1e293b;
  overflow: hidden;
  box-shadow: var(--lx-shadow-xl);
  margin-top: 36px;
}

.lx-code-header {
  background: #1e293b;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #334155;
}

.lx-code-dots {
  display: flex;
  gap: 6px;
}

.lx-code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.lx-code-dot.red { background: #ef4444; }
.lx-code-dot.yellow { background: #f59e0b; }
.lx-code-dot.green { background: #10b981; }

.lx-code-filename {
  font-family: var(--lx-font-mono, monospace);
  font-size: 0.78rem;
  color: #94a3b8;
}

.lx-code-lang {
  font-size: 0.72rem;
  font-weight: 700;
  color: #818cf8;
  text-transform: uppercase;
}

.lx-code-pre {
  padding: 24px;
  overflow-x: auto;
  font-family: var(--lx-font-mono, monospace);
  font-size: 0.84rem;
  line-height: 1.65;
  color: #e2e8f0;
  margin: 0;
}


/* ==========================================================================
   PRODUCTION TECH STACK GRID
   ========================================================================== */

.lx-tech-sec {
  padding: 90px 0;
  background: #f8fafc;
  border-top: 1px solid var(--lx-border-subtle);
}

.lx-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.lx-tech-card {
  background: #ffffff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lx-shadow-sm);
}

.lx-tech-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.lx-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lx-tech-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--lx-radius-sm);
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}


/* ==========================================================================
   AI CODE RESCUE SPECIFIC COMPONENTS
   ========================================================================== */

.lx-rescue-hero {
  padding: 100px 0 80px;
  background: radial-gradient(100% 100% at 50% 0%, #1e1b4b 0%, #0f172a 100%);
  color: #fff;
  text-align: center;
  border-bottom: 1px solid #1e293b;
}

.lx-rescue-hero-title {
  color: #ffffff !important;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.lx-gradient-rescue {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Dedicated Rescue Button Styles */
.btn-rescue,
.lx-btn-rescue {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  background-color: #f59e0b !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  border-radius: var(--lx-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.92rem;
  transition: all 0.2s ease !important;
}
.btn-rescue:hover,
.lx-btn-rescue:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  background-color: #d97706 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
}

.lx-btn-secondary-dark {
  background: #1e293b !important;
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
  border-radius: var(--lx-radius-sm);
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.lx-btn-secondary-dark:hover {
  background: #334155 !important;
  background-color: #334155 !important;
  color: #ffffff !important;
  border-color: #475569 !important;
  transform: translateY(-1px);
}

.badge-rescue-nav {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
}
.badge-solutions-nav {
  background: rgba(104, 120, 214, 0.2) !important;
  color: #a5b4fc !important;
  border: 1px solid rgba(104, 120, 214, 0.4) !important;
}

.lx-symptoms-sec {
  padding: 90px 0;
  background: #ffffff;
}

.lx-symptoms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.lx-symptom-card {
  background: #ffffff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lx-symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lx-shadow-xl);
  border-color: #f59e0b;
}

.lx-symptom-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--lx-radius-sm);
  background: #fef3c7;
  color: #d97706;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.lx-symptom-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  margin-bottom: 8px;
}

.lx-symptom-card p {
  font-size: 0.88rem;
  color: var(--lx-text-muted);
  line-height: 1.5;
}

.lx-rescue-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.lx-step-card {
  background: #ffffff;
  border: 1px solid var(--lx-border-subtle);
  border-radius: var(--lx-radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.lx-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e2e8f0;
  line-height: 1;
  margin-bottom: 12px;
}

.lx-step-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lx-brand-navy);
  margin-bottom: 10px;
}

.lx-step-card p {
  font-size: 0.9rem;
  color: var(--lx-text-muted);
  line-height: 1.6;
}

.lx-tools-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.lx-tool-badge {
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--lx-radius-full);
  background: #ffffff;
  border: 1px solid var(--lx-border-subtle);
  color: var(--lx-brand-navy);
  box-shadow: var(--lx-shadow-sm);
}

@media (max-width: 1024px) {
  .lx-arch-layout { grid-template-columns: 1fr; }
  .lx-arch-inspector { position: static; }
  .lx-symptoms-grid { grid-template-columns: repeat(2, 1fr); }
  .lx-rescue-steps-grid { grid-template-columns: 1fr; }
  .lx-tech-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lx-symptoms-grid { grid-template-columns: 1fr; }
  .lx-tech-grid { grid-template-columns: 1fr; }
  .lx-rescue-hero-title { font-size: 2.3rem; }
  .lx-arch-subblocks { grid-template-columns: 1fr; }
}

/* ==========================================================================
   LOGICLIX UNIFIED HEADER & NAVIGATION (DESKTOP & MOBILE)
   ========================================================================== */

#page {
  overflow-x: hidden;
}

#content.site-content,
.ast-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 14px 0;
  transition: all 0.2s ease;
}

.site-nav.lx-nav-light {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.site-nav.lx-nav-dark {
  background: rgba(11, 17, 32, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.brand-logo-wrap img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.badge-engineering {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #eff2fe;
  color: #6878d6;
  border: 1px solid #dbe2fd;
  white-space: nowrap;
}

.site-nav.lx-nav-dark .badge-engineering {
  background: rgba(104, 120, 214, 0.2);
  color: #818cf8;
  border-color: rgba(104, 120, 214, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav.lx-nav-light .nav-links a {
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav.lx-nav-light .nav-links a:hover {
  color: #6878d6;
}

.site-nav.lx-nav-dark .nav-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav.lx-nav-dark .nav-links a:hover {
  color: #ffffff;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0;
}

.site-nav.lx-nav-light .nav-dropdown-toggle {
  color: #6878d6;
}

.site-nav.lx-nav-dark .nav-dropdown-toggle {
  color: #818cf8;
}

.nav-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 300px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.15);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 10000;
  animation: lxNavFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu {
  display: flex;
}

.nav-menu-item {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background 0.15s ease;
}

.nav-menu-item:hover {
  background: #f8fafc;
}

.nav-menu-item strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #242a56;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu-item span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

.badge-rescue {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Nav CTA Button */
.nav-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  background-color: #6878d6;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(104, 120, 214, 0.3);
  transition: all 0.2s ease;
}

.nav-cta .btn:hover {
  background-color: #5362bd;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(104, 120, 214, 0.4);
}

/* Mobile Toggle & Drawer */
.lx-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  line-height: 1;
}

.site-nav.lx-nav-light .lx-mobile-toggle {
  color: #0f172a;
}

.site-nav.lx-nav-dark .lx-mobile-toggle {
  color: #ffffff;
}

.lx-mobile-menu {
  display: none;
  width: 100%;
  border-top: 1px solid #e2e8f0;
  margin-top: 14px;
  padding: 18px 0;
  background: inherit;
}

.site-nav.lx-nav-dark .lx-mobile-menu {
  border-top-color: #1e293b;
}

.lx-mobile-menu.active {
  display: block;
}

.lx-mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.lx-mobile-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 4px 0;
}

.site-nav.lx-nav-light .lx-mobile-link {
  color: #334155;
}

.site-nav.lx-nav-dark .lx-mobile-link {
  color: #cbd5e1;
}

.lx-mobile-subgroup {
  padding: 10px 14px;
  background: rgba(104, 120, 214, 0.06);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lx-mobile-subgroup-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6878d6;
  font-weight: 800;
}

.lx-mobile-sublink {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
}

.site-nav.lx-nav-dark .lx-mobile-sublink {
  color: #e2e8f0;
}

.lx-mobile-sublink.lx-rescue-accent {
  color: #d97706;
}

.lx-mobile-cta {
  width: 100%;
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 991px) {
  .nav-links, .nav-cta {
    display: none !important;
  }
  .lx-mobile-toggle {
    display: block !important;
  }
}

/* ==========================================================================
   RESPONSIVE MOBILE CALIBRATION (ISOLATED TO NEW PAGES)
   ========================================================================== */

/* Base Declarations for Components */
.lx-footer {
  padding: 70px 0 30px;
}
.lx-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.lx-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.lx-ai-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.lx-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.lx-deliverables-card {
  max-width: 860px;
  margin: 40px auto 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--lx-shadow-sm);
}
.lx-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.lx-cta-micro {
  margin-top: 24px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.lx-cta-sep {
  opacity: 0.6;
  margin: 0 4px;
}

/* Tablet: max-width 1024px */
@media (max-width: 1024px) {
  .lx-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px !important;
  }
  .lx-ai-problem-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .lx-why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

/* Mobile & Small Tablets: max-width 768px */
@media (max-width: 768px) {
  /* Hero Credentials Strip - Left-aligned text, top-aligned icons, centered block */
  .lx-hero-credentials {
    flex-direction: column !important;
    align-items: flex-start !important;
    max-width: 380px !important;
    margin: 32px auto 0 !important;
    padding-top: 20px !important;
    gap: 14px !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }
  .lx-cred-item {
    display: inline-flex !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 10px !important;
    width: 100% !important;
    font-size: 0.88rem !important;
    color: var(--lx-text-muted) !important;
  }
  .lx-cred-item svg {
    flex-shrink: 0 !important;
    margin-top: 3px !important;
  }

  /* CTA Micro Guarantees - Stacks cleanly without dangling bullets */
  .lx-cta-micro {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-align: center !important;
  }
  .lx-cta-micro .lx-cta-sep {
    display: none !important;
  }
  .lx-cta-micro span {
    display: block !important;
  }

  /* Footer Bottom Stacking */
  .lx-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 16px !important;
  }
}

/* Mobile Phones: max-width 640px */
@media (max-width: 640px) {
  /* Container & Spacing */
  .lx-container {
    padding: 0 16px !important;
  }

  /* Hero Sections */
  .lx-hero {
    padding: 44px 0 36px !important;
  }
  .lx-rescue-hero {
    padding: 44px 0 36px !important;
  }
  .lx-hero-title,
  .lx-rescue-hero-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 16px !important;
  }
  .lx-hero-subhead {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    margin-bottom: 24px !important;
  }
  .lx-sec-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  .lx-sec-subhead {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  /* Hero Actions - Full width touch targets with uniform rhythm */
  .lx-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
    gap: 12px !important;
  }
  .lx-hero-actions .lx-btn,
  .lx-hero-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 0.94rem !important;
  }

  /* CTA Buttons - Full width */
  .lx-cta-btns {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto 20px !important;
    gap: 12px !important;
  }
  .lx-cta-btns .lx-btn,
  .lx-cta-btns .btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 13px 20px !important;
  }

  /* Footer - 1 Single Column with proper hierarchy */
  .lx-footer {
    padding: 44px 0 24px !important;
  }
  .lx-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 32px !important;
  }

  /* All Multi-Column Grids Collapse to 1 Clean Column */
  .lx-ai-problem-grid,
  .lx-why-grid,
  .lx-ai-grid,
  .lx-four-pillars-grid,
  .lx-symptoms-grid,
  .lx-rescue-steps-grid,
  .lx-astro-screens-grid,
  .lx-dual-cases {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Deliverables Card Padding */
  .lx-deliverables-card {
    padding: 24px 18px !important;
    border-radius: 12px !important;
    margin-top: 24px !important;
  }

  /* Case Metrics Bar */
  .lx-case-metrics-bar {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px 0 !important;
  }

  /* Architecture Sub-blocks */
  .lx-arch-subblocks {
    grid-template-columns: 1fr !important;
  }

  /* Client Logos */
  .lx-client-logos-grid {
    gap: 18px 24px !important;
  }
  .lx-client-logo-item {
    height: 30px !important;
    max-width: 90px !important;
  }

  /* Navigation Header on narrow mobile */
  .nav-inner {
    padding: 0 16px !important;
  }
  .brand-logo-wrap img {
    height: 32px !important;
  }
  .badge-engineering {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }
}


/* ==========================================================================
   Universal Article Responsive Tables & Presentation (LogiClix Core Engine)
   ========================================================================== */

.logiclix-table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.logiclix-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.logiclix-comparison-table th {
  background-color: #f8fafc;
  color: #1e293b;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid #cbd5e1;
}

.logiclix-comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: top;
}

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

.logiclix-comparison-table tr:nth-child(even) td {
  background-color: #fbfcfe;
}

.ast-single-post .entry-header .post-thumb img,
.ast-single-post .post-thumb-img-content img {
  width: 100%;
  max-height: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.entry-content pre code {
  display: block;
  padding: 1rem 1.25rem;
  background-color: #0f172a;
  color: #f8fafc;
  border-radius: 8px;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.9rem;
  overflow-x: auto;
}
