/* ── Q-Verity Design System ──────────────────────────────────── */
:root {
  --navy-900: #0c2340;
  --navy-800: #122d4f;
  --navy-700: #1a3a5c;
  --navy-600: #244a6e;
  --blue-500: #0f2d4a;
  --blue-400: #143d5e;
  --gold-500: #c9a84c;
  --gold-400: #d4b95e;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e2e6ec;
  --gray-300: #cdd3dc;
  --gray-400: #5a6070;
  --gray-500: #383e4c;
  --gray-600: #252a34;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --red-500: #dc2626;
  --green-600: #16a34a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

/* ── Navigation ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
}
.nav-logo img {
  height: 75px;
  width: auto;
}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy-900); }

/* ── Nav Dropdown ────────────────────────────────────── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  cursor: pointer;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.1);
  padding: 0.5rem 0;
  min-width: 180px;
  margin-top: 0.05rem;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: var(--gray-50);
  color: var(--navy-900);
}
.nav-links a.btn-small{
    width:auto;padding: 10px 20px;
}
.nav-links a.btn-small:hover{
    color:var(--white);
}
/* ── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.2);
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy-900);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--navy-900);
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--navy-900);
  color: var(--white);
}
.btn-small { padding: 10px 20px; font-size: 0.88rem; }

/* ── Sections ───────────────────────────────────────── */
section { padding: 100px 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
h1, h2, h3, h4 { color: var(--navy-900); line-height: 1.2; }
h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }

/* ── Hero / Header ──────────────────────────────────── */
.hero {
  display: flex;
  align-items: flex-start;
  padding-top: 120px;
  padding-bottom: 60px;
  background: var(--white);
}
.hero .container {
  max-width: 1200px;
  text-align: center;
}
.hero-banner {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}
.hero-below {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}
.hero-below-logo {
  flex: 0 0 auto;
  padding-top: 0.5rem;
}
.hero-text {
  flex: 1;
  text-align: left;
}
.hero-actions {
  text-align: center;
  margin: 2.5rem 0 3rem;
}
/* ── Hero Animated Demo ──────────────────────────────── */
.hero-demo {
  flex: 1;
}
.demo-window {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(12, 35, 64, 0.15);
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.demo-titlebar {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #ffbd2e; }
.demo-dots span:nth-child(3) { background: #28c840; }
.demo-title {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}
.demo-body {
  padding: 0.75rem 1.25rem;
  max-height: 280px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
/* Citations */
.demo-citation {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeSlideIn 0.5s ease forwards;
}
.demo-c1 { animation-delay: 0.5s; }
.demo-c2 { animation-delay: 2.5s; }
.demo-c3 { animation-delay: 5s; }
.demo-cite-text {
  font-size: 0.78rem;
  color: var(--navy-900);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* Check rows */
.demo-checks {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.demo-check {
  font-size: 0.68rem;
  color: var(--gray-500);
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}
/* Citation 1 check delays */
.demo-c1 .dc-exist { animation-delay: 1.0s; }
.demo-c1 .dc-name  { animation-delay: 1.2s; }
.demo-c1 .dc-date  { animation-delay: 1.4s; }
.demo-c1 .dc-hold  { animation-delay: 1.6s; }
/* Citation 2 check delays */
.demo-c2 .dc-exist { animation-delay: 3.0s; }
.demo-c2 .dc-name  { animation-delay: 3.2s; }
.demo-c2 .dc-date  { animation-delay: 3.4s; }
.demo-c2 .dc-hold  { animation-delay: 3.6s; }
/* Citation 3 check delays */
.demo-c3 .dc-exist { animation-delay: 5.5s; }

.dc-icon {
  display: inline-block;
  width: 16px;
  font-weight: 700;
  margin-right: 4px;
}
.dc-pass { color: var(--green-600); }
.dc-fail { color: var(--red-500); }
.dc-score {
  float: right;
  font-weight: 700;
  color: var(--green-600);
  font-size: 0.72rem;
  background: #ecfdf5;
  padding: 1px 8px;
  border-radius: 10px;
}
.dc-score-fail {
  color: var(--red-500);
  background: #fef2f2;
}

/* Holding detail */
.demo-holding-detail {
  margin-top: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #fef2f2;
  border-radius: 6px;
  border-left: 3px solid var(--red-500);
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  animation-delay: 4.0s;
}
.demo-hd-row {
  font-size: 0.65rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.demo-hd-label {
  font-weight: 700;
  color: var(--navy-900);
}

/* Badges */
.demo-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}
.demo-verified {
  background: #ecfdf5;
  color: var(--green-600);
}
.demo-c1 .demo-badge { animation-delay: 1.9s; }
.demo-flagged {
  background: #fef2f2;
  color: var(--red-500);
}
.demo-c2 .demo-badge { animation-delay: 4.4s; }
.demo-fabricated {
  background: #fef2f2;
  color: var(--red-500);
}
.demo-c3 .demo-badge { animation-delay: 5.8s; }

/* Summary bar */
.demo-summary {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  padding-top: 0.6rem;
  border-top: 1px solid var(--gray-200);
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  animation-delay: 6.5s;
}
.demo-sum-item {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
}
.demo-sum-pass { background: #ecfdf5; color: var(--green-600); }
.demo-sum-warn { background: #fffbeb; color: #d97706; }
.demo-sum-fail { background: #fef2f2; color: var(--red-500); }

/* Keyframes */
@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.hero-logo {
  width: 340px;
  height: auto;
  margin-bottom: 2rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight {
  color: var(--blue-400);
}
.hero-serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.9rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy-900);
  max-width: 950px;
  margin: 0 auto 1.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}
.hero .subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 900px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stat-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-900);
  display: block;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}
.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--gold-500);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* ── Problem ────────────────────────────────────────── */
.problem {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.problem .lead {
  font-size: 1.15rem;
  color: var(--gray-600);
  max-width: 800px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  border-color: var(--navy-700);
  box-shadow: 0 4px 16px rgba(12, 35, 64, 0.06);
}
.case-card .case-name {
  font-weight: 600;
  color: var(--navy-900);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.case-card .case-court {
  font-size: 0.8rem;
  color: var(--blue-400);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.case-card .case-detail {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.mandate-box {
  background: var(--white);
  border: 2px solid var(--navy-900);
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2.5rem;
}
.mandate-box h3 { color: var(--navy-900); }
.mandate-box p { color: var(--gray-600); margin-bottom: 0; }

/* ── Science Difference / Comparison ────────────────── */
.science-difference { background: var(--white); }
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.comparison-card {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}
.comparison-basic {
  background: #d5d5d5;
}
.comparison-qverity {
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.comparison-qverity h3,
.comparison-qverity .comparison-note {
  color: var(--white);
}
.comparison-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.comparison-label-qv {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  margin-bottom: 1rem;
}
.comparison-list {
  list-style: none;
  margin: 1.5rem 0;
}
.comparison-list li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
}
.comparison-basic .comparison-list li {
  color: var(--gray-600);
}
.comparison-qverity .comparison-list li {
  color: var(--gray-200);
}
.check-yes::before {
  content: "\2713";
  color: var(--green-600);
  margin-right: 0.75rem;
  font-weight: 700;
}
.check-no::before {
  content: "\2717";
  color: var(--red-500);
  margin-right: 0.75rem;
  font-weight: 700;
}
.comparison-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0;
  font-style: italic;
}
.differentiator {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--white);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 10px 10px 0;
  box-shadow: 0 2px 12px rgba(12, 35, 64, 0.05);
}
.differentiator h3 { color: var(--navy-900); }
.differentiator p { color: var(--gray-600); margin-bottom: 0; }

/* ── How it works ───────────────────────────────────── */
.how-it-works {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.workflow-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 1.5rem;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 0; }

/* ── Validated Science / Technology ──────────────────── */
.validated-science { background: var(--white); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.tech-card {
  padding: 2rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
}
.tech-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.tech-card p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 0; }
.tech-card .metric {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-900);
  display: block;
  margin-bottom: 0.5rem;
}
.science-credentials {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.credential-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 2rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
}
.credential-icon {
  font-size: 1.8rem;
  color: var(--navy-900);
  flex-shrink: 0;
  line-height: 1;
}
.credential-title {
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.credential-detail {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ── Solutions Preview ──────────────────────────────── */
.solutions-preview {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.solution-card {
  display: block;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.solution-card:hover {
  border-color: var(--navy-700);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 35, 64, 0.08);
}
.solution-card h3 {
  color: var(--navy-900);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.solution-card p {
  color: var(--gray-500);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.solution-link {
  color: var(--blue-400);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── Pricing ────────────────────────────────────────── */
.pricing {
  background: var(--white);
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.price-card:hover {
  border-color: var(--navy-700);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(12, 35, 64, 0.08);
}
.price-card.featured {
  border-color: var(--navy-900);
  border-width: 2px;
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-900);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.price-card .plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}
.price-card .price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
}
.price-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-400);
}
.price-card .price-note {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin: 0.5rem 0 1.5rem;
}
.price-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}
.price-card ul li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.price-card ul li::before {
  content: "\2713";
  color: var(--green-600);
  margin-right: 0.75rem;
  font-weight: 700;
}

/* ── CTA ─────────────────────────────────────────────── */
.cta {
  background: linear-gradient(rgba(12, 35, 64, 0.85), rgba(12, 35, 64, 0.9)), url('skyline.jpg') center/cover no-repeat;
  text-align: center;
  color: var(--white);
}
.cta h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); }
.cta .subtitle {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.cta .btn-cta {
  display: inline-block;
  background: var(--white);
  color: var(--navy-900);
  padding: 18px 48px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.cta .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}
.cta .cta-detail {
  font-size: 0.9rem;
  color: var(--white);
  margin-top: 1.5rem;
}
.cta .btn-secondary{
    color: var(--white);
    border-color:2px solid var(--white);
}
/* ── Page Header (subpages) ──────────────────────────── */
.page-header {
  padding: 140px 2rem 60px;
  background: var(--navy-900);
  color: var(--white);
}
.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.page-header p {
  color: var(--gray-300);
  font-size: 1.15rem;
  max-width: 700px;
  line-height: 1.7;
}

/* ── Content Sections (subpages) ─────────────────────── */
.content-section {
  padding: 80px 2rem;
  background: var(--white);
}
.content-section.alt {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
}
.content-section.alt .feature-card {
  background: var(--white);
}
.feature-card h3 { font-size: 1.05rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 0; }

/* ── Case Study ──────────────────────────────────────── */
.case-study-box {
  background: var(--white);
  border: 2px solid var(--navy-900);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 2rem;
}
.case-study-header {
  background: var(--navy-900);
  padding: 1.25rem 2rem;
}
.case-study-header h3 {
  color: var(--white);
  margin-bottom: 0;
  font-size: 1.15rem;
}
.case-study-body {
  padding: 2rem;
}
.case-study-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}
.case-study-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.case-study-stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
}
.case-study-stat .metric {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-900);
  display: block;
  margin-bottom: 0.5rem;
}
.case-study-stat p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* ── Check Table ─────────────────────────────────────── */
.check-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.check-table thead { background: var(--navy-900); }
.check-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.check-table td {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.95rem;
  color: var(--gray-600);
}
.check-table td:first-child {
  color: var(--navy-900);
  font-weight: 600;
  white-space: nowrap;
}
.check-table tr:hover td { background: var(--gray-50); }

/* ── Footer ─────────────────────────────────────────── */
footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 30px 2rem 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand img {  width: auto; object-fit: contain; }
footer .footer-logo{max-height: 165px;}
.footer-brand { display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; }
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--navy-900); }
.footer-bottom {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin: 0;
}
.footer-bottom a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.8rem;
}
.footer-bottom a:hover { color: var(--navy-900); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
 .hero h1, h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  section { padding:50px 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .hero-stat-row { gap: 1.5rem; }
  .hero-stat .number { font-size: 1.5rem; }
  .hero-logo { width: 200px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .hero-banner { flex-direction: column; }
  .hero-below { flex-direction: column; align-items: center; }
  .hero-text { text-align: center; }
  .hero-demo { flex: none; max-width: 100%; }
  .page-header { padding: 120px 1.5rem 40px; }
  .page-header h1 { font-size: 2rem; }
}
/* ── Mobile Navigation Fix ───────────────────────── */

/* Hide toggle on desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--navy-900);
  display: block;
  border-radius: 2px;
}

/* MOBILE */
@media (max-width: 991px) {

  .menu-toggle {
    display: flex;
  }
.nav-inner {
    height: 75px;
}
.nav-logo img {
    height: 65px;
}
  .nav-links {
    position: absolute;
    top:74px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;

    display: none; /* 👈 important */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex; /* 👈 this makes toggle work */
  }

  .nav-links a {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
  }

  /* Fix dropdown for mobile */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    padding-left: 1rem;
  }

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