.active-dot {
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: greenPulse 2s ease-in-out infinite;
}
.pending-dot {
  background: var(--sky-soft);
}
@keyframes greenPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}
.territory-card.active .territory-status { color: #16a34a; }
.territory-card:not(.active) .territory-status { color: var(--text-mute); }

.territory-segments {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.5;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(83, 149, 208, 0.15), transparent 70%);
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.contact h2 { color: #fff; }
.contact > .container > .contact-inner > p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 50px;
  max-width: 620px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.contact-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r);
  transition: all 0.4s var(--ease);
}
.contact-card:hover {
  background: rgba(83, 149, 208, 0.1);
  border-color: var(--sky);
  transform: translateY(-3px);
}
.contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-soft);
  margin-bottom: 14px;
}
.contact-value {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
  display: block;
  word-break: break-word;
}
a.contact-value {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
a.contact-value:hover { border-bottom-color: var(--sky); }

.contact-cta {
  margin-top: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer .logo-word { color: #fff; }
.footer .logo-tag { color: var(--sky-soft); }
.footer-tagline {
  font-size: 14px;
  max-width: 360px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--sky); }
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    /* Solid dark panel — fully opaque so hero content never bleeds through */
    background: #050f24;
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    padding: 24px var(--pad) 32px;
    gap: 18px;
    border-bottom: 1px solid rgba(168, 208, 240, 0.14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    z-index: 101;
  }
  .nav.menu-open .nav-links a {
    font-size: 18px;
    color: #fff;
    padding: 6px 0;
    width: 100%;
  }
  .nav.menu-open .nav-links a::after { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stat:not(:last-child)::after { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; }
  .hero-content > .hero-eyebrow-wrap,
  .hero-content > .eyebrow,
  .hero-content > .hero-title,
  .hero-content > .hero-sub,
  .hero-content > .hero-cta { max-width: 100%; }

  .compare-grid { grid-template-columns: 1fr; gap: 24px; }
  .compare-arrow { transform: rotate(90deg); justify-self: center; }

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

  .process-flow { grid-template-columns: 1fr; gap: 50px; }
  .process-line { display: none; }

  .ai-metrics { grid-template-columns: 1fr; }

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

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

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links, .footer-copy { justify-content: flex-start; text-align: left; }
}

@media (max-width: 580px) {
  .hero-image { width: 100%; opacity: 0.35; }
  .hero-overlay {
    background:
      linear-gradient(180deg, #f6f9fc 0%, rgba(246, 249, 252, 0.85) 50%, rgba(246, 249, 252, 0.6) 100%);
  }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .logo-word { font-size: 16px; letter-spacing: 0.14em; }
  .logo-tag { font-size: 8px; }
  .territory-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ================================================
   FUTURISTIC v2 — Aurora, grid, glass, holograms
   ================================================ */

/* Aurora gradient mesh */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
.aurora-blob-1 {
  width: 50vw;
  height: 50vw;
  left: -10vw;
  top: -10vw;
  background: radial-gradient(circle, rgba(83,149,208,0.55), rgba(83,149,208,0) 70%);
  animation: aurora-drift-1 22s ease-in-out infinite alternate;
}
.aurora-blob-2 {
  width: 45vw;
  height: 45vw;
  right: -8vw;
  top: 10vw;
  background: radial-gradient(circle, rgba(26,55,101,0.45), rgba(26,55,101,0) 70%);
  animation: aurora-drift-2 26s ease-in-out infinite alternate;
}
.aurora-blob-3 {
  width: 38vw;
  height: 38vw;
  left: 30vw;
  bottom: -10vw;
  background: radial-gradient(circle, rgba(168,208,240,0.5), rgba(168,208,240,0) 70%);
  animation: aurora-drift-3 30s ease-in-out infinite alternate;
}
@keyframes aurora-drift-1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(12vw, 8vw) scale(1.15); }
}
@keyframes aurora-drift-2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-10vw, 10vw) scale(1.2); }
}
@keyframes aurora-drift-3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-8vw, -12vw) scale(1.1); }
}

/* Grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(26,55,101,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,55,101,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 78%);
  animation: grid-pulse 8s ease-in-out infinite;
}
@keyframes grid-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* Floating data chips on hero */
.data-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  white-space: nowrap;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(83,149,208,0.35);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(26,55,101,0.12), inset 0 0 0 1px rgba(255,255,255,0.4);
  opacity: 0;
  animation: chip-in 1.2s 1.6s var(--ease) forwards, chip-float 7s ease-in-out 2.6s infinite;
  pointer-events: none;
}
.data-chip .chip-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52,199,89,0.18), 0 0 8px rgba(52,199,89,0.65);
  animation: chip-pulse 2.2s ease-in-out infinite;
}
.data-chip .chip-label {
  font-weight: 500;
  color: rgba(26,55,101,0.65);
}
.data-chip .chip-val {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.data-chip-1 { top: 14%; right: 6%;  animation-delay: 0s, 2.6s; }
.data-chip-2 { top: 32%; right: 32%; animation-delay: 0.3s, 3.0s; }
.data-chip-3 { top: 56%; right: 4%;  animation-delay: 0.6s, 3.4s; }
.data-chip-4 { top: 76%; right: 24%; animation-delay: 0.9s, 3.8s; }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-6px) translateX(3px); }
}
@keyframes chip-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(52,199,89,0.5), 0 0 6px rgba(52,199,89,0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(52,199,89,0),   0 0 10px rgba(52,199,89,0.8); }
}

/* Hero ECG enhanced */
.ecg-strip {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(83,149,208,0.25);
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ecg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(83,149,208,0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(83,149,208,0.12) 1px, transparent 1px);
  background-size: 20px 20px;
}
.ecg-sweep {
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  left: -80px;
  background: linear-gradient(90deg,
    rgba(83,149,208,0) 0%,
    rgba(83,149,208,0.45) 70%,
    rgba(255,255,255,0.9) 100%);
  filter: blur(2px);
  animation: ecg-sweep 3.4s linear infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes ecg-sweep {
  0%   { left: -80px; }
  100% { left: 100%; }
}

/* Magnetic buttons + shine */
.btn { position: relative; overflow: hidden; }
.btn.magnetic { transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease); }
.btn.magnetic:hover { box-shadow: 0 18px 42px rgba(26,55,101,0.22); }
.btn-shine {
  position: absolute;
  top: 0; bottom: 0;
  left: -120%;
  width: 60%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  pointer-events: none;
  animation: btn-shine 5s ease-in-out infinite;
}
@keyframes btn-shine {
  0%, 60% { left: -120%; }
  85%     { left: 140%; }
  100%    { left: 140%; }
}

/* Scramble accent */
.hero-accent.scramble {
  display: inline-block;
}

/* 3D Tilt for territory cards */
.territory-card.tilt {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(0) rotateY(0);
  transition: transform 0.2s ease-out, box-shadow 0.3s ease-out;
  position: relative;
  overflow: hidden;
}
.territory-card.tilt::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(83,149,208,0.55) 0%,
    rgba(83,149,208,0) 30%,
    rgba(83,149,208,0) 70%,
    rgba(83,149,208,0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.territory-card.tilt:hover::before { opacity: 1; }
.territory-card.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(83,149,208,0.18),
    transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.territory-card.tilt:hover::after { opacity: 1; }

/* FAQ section */
.faq {
  position: relative;
  background: linear-gradient(180deg, #f6f9fc 0%, #eef4fa 100%);
  overflow: hidden;
}
.faq-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(83,149,208,0.22);
}
.orbit-ring::before {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 16px rgba(83,149,208,0.65);
  top: -4px; left: 50%;
  margin-left: -4px;
}
.orbit-ring-1 {
  width: 520px; height: 520px;
  top: -180px; right: -180px;
  animation: orbit 28s linear infinite;
}
.orbit-ring-2 {
  width: 360px; height: 360px;
  bottom: -120px; left: -120px;
  animation: orbit 36s linear infinite reverse;
}
@keyframes orbit { to { transform: rotate(360deg); } }

.faq-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  color: var(--navy);
  margin: 24px 0 56px;
  max-width: 820px;
}
.faq-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
}
.faq-item {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(26,55,101,0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(83,149,208,0.45);
  box-shadow: 0 12px 36px rgba(26,55,101,0.08);
}
.faq-item[open] {
  background: rgba(255,255,255,0.92);
  border-color: rgba(83,149,208,0.55);
  box-shadow: 0 18px 50px rgba(26,55,101,0.1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  color: var(--navy);
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { flex: 1; }
.faq-icon {
  position: relative;
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(83,149,208,0.55);
  transition: transform 0.4s var(--ease), background 0.3s ease;
}
.faq-icon span {
  position: absolute;
  background: var(--navy);
  border-radius: 2px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.faq-icon span:nth-child(1) {
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon span:nth-child(2) {
  top: 50%; left: 50%;
  width: 1.5px; height: 10px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: rgba(83,149,208,0.15);
}
.faq-item[open] .faq-icon span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}
.faq-a {
  padding: 0 28px 26px 28px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(26,55,101,0.78);
  max-width: 780px;
  /* animate via JS height; fall back to instant on no-js */
  animation: faq-a-in 0.45s var(--ease);
}
@keyframes faq-a-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stats — dashed ring above each value with a single ball that
   hops from stat 1 -> 2 -> 3 -> 4 -> repeat. Implemented by giving
   each .stat::after its own copy of the same keyframe but with a
   staggered delay so only one ball is visible at a time. */
.stat {
  position: relative;
  padding: 24px 12px 18px;
}
.stat::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px dashed rgba(83,149,208,0.55);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.stat.in-view::before { opacity: 1; }
.stat::after {
  content: "";
  position: absolute;
  /* Sized to sit inside the 36px dashed ring (1px border, so inner d = 34px). */
  top: -13px; left: -13px;
  width: 34px; height: 34px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #c8e4ff 30%, #6fb1ec 70%, #4a92d4 100%);
  box-shadow: 0 0 16px rgba(168, 208, 240, 0.85), 0 0 32px rgba(120, 184, 240, 0.45);
  opacity: 0;
  transform: scale(0.4);
  /* Single 8s cycle: 4 slots of 2s each. Each ball is opaque only
     during its slot. */
  animation: statBallHop 8s ease-in-out infinite;
  animation-play-state: paused;
}
.stat.in-view::after { animation-play-state: running; }
.stats-grid .stat:nth-child(1)::after { animation-delay: 0s;   }
.stats-grid .stat:nth-child(2)::after { animation-delay: -6s;  }
.stats-grid .stat:nth-child(3)::after { animation-delay: -4s;  }
.stats-grid .stat:nth-child(4)::after { animation-delay: -2s;  }

@keyframes statBallHop {
  /* 8s cycle, 4 stats. Each ball is fully visible during its 2s slot
     (0% -> 25%), with quick fade in/out so only one ball shows at a time. */
  0%   { opacity: 1; transform: scale(1); }
  22%  { opacity: 1; transform: scale(1); }
  24%  { opacity: 0; transform: scale(0.7); }
  98%  { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .stat::after { animation: none; opacity: 1; transform: scale(1); }
}

/* Section reveal: enhanced — slight scale + blur */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Disease cards — neon outline hover */
.disease-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.disease-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(83,149,208,0.7), rgba(83,149,208,0) 50%, rgba(83,149,208,0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.disease-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(26,55,101,0.12);
}
.disease-card:hover::before { opacity: 1; }
.disease-icon {
  position: relative;
}
.disease-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83,149,208,0.3), transparent 65%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.disease-card:hover .disease-icon::after { opacity: 1; }

/* Process steps — single connector line is handled by .process-line.
   The duplicate top-of-icon line that used to live here was removed. */
.process-flow {
  position: relative;
}

/* Mobile FAQ tweaks */
@media (max-width: 720px) {
  .faq-item summary { padding: 20px 20px; font-size: 17px; gap: 16px; }
  .faq-a { padding: 0 20px 22px; font-size: 15px; }
  .data-chip-1, .data-chip-2, .data-chip-3, .data-chip-4 { display: none; }
}

/* Nav link added — keep wrap-friendly */
@media (max-width: 980px) {
  .nav-links a { font-size: 14px; }
}

/* Section number — the decorative rule that used to sit beside the number
   was removed because, with the new Oswald all-caps kicker, it read as an
   orphan dash with no purpose. The number now stands on its own beat. */
.section-num {
  position: relative;
  display: inline-block;
  /* Tight gap to the kicker; the kicker's own padding-left handles the rest */
  padding-right: 16px;
}

/* Flagship banner — Cardisio intro inside Technology section */
.flagship-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(83,149,208,0.10) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 3px solid var(--accent, #5395d0);
  border-radius: 20px;
  padding: 32px 36px;
  margin: 8px 0 56px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(8, 22, 48, 0.28);
}
.flagship-copy { min-width: 0; }
.flagship-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, #5395d0);
  background: rgba(83,149,208,0.10);
  border: 1px solid rgba(83,149,208,0.28);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
/* Greek language fallback for tags: Satoshi lacks proper capital Omega.
   Use a Greek-capable font and skip the transform (text is already uppercase). */
body[data-lang="gr"] .flagship-tag,
body[data-lang="gr"] .section-kicker,
body[data-lang="gr"] .eyebrow,
body[data-lang="gr"] .pill,
body[data-lang="gr"] .compare-tag,
body[data-lang="gr"] .process-time,
body[data-lang="gr"] .contact-label {
  font-family: 'Inter', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.flagship-lede {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  margin: 0;
  font-weight: 400;
}
.flagship-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0e1a30;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.flagship-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.flagship-banner:hover .flagship-visual img { transform: scale(1.04); }

/* About visual: photo treatment (no float, no drop-shadow) */
.about-visual .visual-frame {
  padding: 0;
  background: #0e1a30;
}
.about-visual .visual-frame img {
  filter: none;
  animation: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  display: block;
}
.about-visual .visual-label {
  background: rgba(8, 22, 48, 0.75);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.12);
}
.about-visual .visual-label .visual-dot {
  background: var(--accent, #5395d0);
}

/* Process bottom image: real photo treatment */
.process-image img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  aspect-ratio: 16 / 9;
  object-position: center 30%;
}

/* Responsive flagship banner */
@media (max-width: 860px) {
  .flagship-banner {
    grid-template-columns: 1fr;
    padding: 24px 22px;
    gap: 22px;
  }
  .flagship-visual { aspect-ratio: 16 / 10; }
}

/* ============================================================
   DARK THEME ROLLOUT — sitewide navy treatment
   Inspired by the AI / intelligence-layer section.
   Strategy: tokens are flipped at :root. This block targets
   the few rules that hard-coded white/light values.
============================================================ */

/* Global canvas: deep navy + ambient network glow */
html, body {
  background: var(--navy-darker);
  color: var(--text);
}

/* Site-wide ambient network glow (fixed, behind everything) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(83, 149, 208, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(83, 149, 208, 0.12), transparent 55%),
    var(--navy-darker);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('../images/ai-network.png');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  pointer-events: none;
}

/* Loader: dark */
.loader { background: var(--navy-darker); }

/* Navigation: dark glass */
.nav {
  background: rgba(8, 21, 48, 0.55);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 21, 48, 0.85);
  border-bottom-color: rgba(168, 208, 240, 0.12);
}
.logo-word { color: #fff; }
.logo-tag  { color: var(--sky-soft); }
.nav-links a { color: rgba(244, 247, 251, 0.72); }
.nav-links a:hover { color: #fff; }

/* Language toggle */
.lang-toggle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 208, 240, 0.18);
  color: var(--text);
}
body[data-lang="en"] .lang-toggle .lang-current,
body[data-lang="gr"] .lang-toggle .lang-current { color: #fff; }
body[data-lang="en"] .lang-toggle .lang-other,
body[data-lang="gr"] .lang-toggle .lang-other { color: rgba(244, 247, 251, 0.55); }

/* Mobile menu trigger */
.menu-toggle span { background: #fff; }

/* HERO: dark canvas, heart blends in */
.hero {
  background: radial-gradient(ellipse at 70% 50%, rgba(83, 149, 208, 0.12), transparent 60%), var(--navy-darker);
}
/* Smooth, gradual fade from solid navy on the left to transparent on the right.
   Avoids the visible seam between text column and heart image. */
/* Overlay is now only a soft ambient glow on the right.
   The hard left edge of the heart is handled by the mask on .hero-image itself. */
.hero-overlay {
  background:
    radial-gradient(ellipse 90% 80% at 85% 50%, rgba(83, 149, 208, 0.18), transparent 65%),
    linear-gradient(90deg, rgba(8, 21, 48, 0.35) 0%, rgba(8, 21, 48, 0.10) 50%, transparent 100%);
}
/* Mask the heart's left edge so it fades into the dark canvas instead of stopping at a hard rectangle */
.hero-image {
  opacity: 0.72;
  mix-blend-mode: screen;
  filter: brightness(1.12) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 12%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.85) 48%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 12%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.85) 48%, #000 70%);
}
.hero-title { color: #fff; }
.hero-accent {
  background: linear-gradient(90deg, var(--sky-soft) 0%, var(--sky) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { color: rgba(255, 255, 255, 0.78); }

/* Eyebrow / pills: dark glass */
.eyebrow {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(168, 208, 240, 0.18);
  color: rgba(244, 247, 251, 0.92);
  backdrop-filter: blur(10px);
}

/* Floating metric pills in hero */
.metric-pill,
.hero .stat-pill {
  background: rgba(8, 21, 48, 0.6);
  border: 1px solid rgba(168, 208, 240, 0.22);
  color: rgba(244, 247, 251, 0.95);
}

/* Scroll indicator */
.scroll-indicator { color: rgba(244, 247, 251, 0.5); }

/* All h2/h3 default to light text on dark sections */
.section h2 { color: #fff; }
.section-kicker { color: rgba(244, 247, 251, 0.85); }
.section-num    { color: var(--sky); }
.section-head.light .section-num    { color: var(--sky-soft); }
.section-head.light .section-kicker { color: rgba(244, 247, 251, 0.7); }

/* About section: was using bg-cool (light), now navy */
.about-visual,
.visual-frame {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-color: rgba(168, 208, 240, 0.14);
}
.about-text p { color: rgba(244, 247, 251, 0.82); }
.about-pills .pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 208, 240, 0.22);
  color: rgba(244, 247, 251, 0.92);
}
.visual-label {
  background: rgba(8, 22, 48, 0.7);
  color: rgba(244, 247, 251, 0.85);
  border: 1px solid rgba(168, 208, 240, 0.18);
}

/* About-visual photo treatment override */
.about-visual { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%); }

/* Flagship banner inside Technology — already dark; sharpen contrast */
.flagship-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(83, 149, 208, 0.10) 100%);
  border-color: rgba(168, 208, 240, 0.18);
}

/* DISEASE / WHAT-WE-DETECT cards: were white */
.disease-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 208, 240, 0.14);
  backdrop-filter: blur(10px);
}
.disease-card::before {
  background: linear-gradient(180deg, transparent 0%, rgba(83, 149, 208, 0.10) 100%);
}
.disease-card:hover {
  border-color: rgba(83, 149, 208, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.disease-icon {
  background: rgba(83, 149, 208, 0.14);
}
.disease-icon svg { color: var(--sky-soft); }
.disease-card h3 { color: #fff; }
.disease-card p,
.disease-test { color: rgba(244, 247, 251, 0.72); }
.disease-pct { color: var(--sky-soft); }

/* COMPARE LIST: dark glass cards — solid enough to read clearly
   on top of the animated background canvas. */
.compare-card,
.compare-grid > * {
  background: rgba(12, 29, 61, 0.88);
  border: 1px solid rgba(168, 208, 240, 0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.compare-list li { color: rgba(244, 247, 251, 0.82); }
.compare-card h3 { color: #fff; }

/* TERRITORIES: was light bg + white cards */
.territories { background: transparent; }
.territory-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(168, 208, 240, 0.14);
  backdrop-filter: blur(10px);
}
.territory-card h3 { color: #fff; }
.territory-card:hover {
  background: rgba(83, 149, 208, 0.06);
  border-color: rgba(83, 149, 208, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.territory-card.active .territory-status { color: #4ade80; }
.territory-card:not(.active) .territory-status { color: rgba(244, 247, 251, 0.55); }
.territory-segments {
  color: rgba(244, 247, 251, 0.62);
  border-top-color: rgba(168, 208, 240, 0.10);
}

/* FAQ: was linear-gradient(#f6f9fc → #eef4fa) */
.faq {
  background: linear-gradient(180deg, var(--navy-darker) 0%, var(--navy-deep) 100%);
}
.faq-title { color: #fff; }
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 208, 240, 0.14);
  backdrop-filter: blur(14px) saturate(140%);
}
.faq-item:hover {
  border-color: rgba(83, 149, 208, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.faq-item[open] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(83, 149, 208, 0.55);
}
.faq-item summary { color: #fff; }
.faq-icon { border-color: rgba(168, 208, 240, 0.45); }
.faq-icon span { background: var(--sky-soft); }
.faq-a { color: rgba(244, 247, 251, 0.78); }

/* STATS / numbers on light backgrounds — make sure they read */
.stat-value { color: #fff; }
.stat-label { color: rgba(244, 247, 251, 0.7); }
.stat:not(:last-child)::after { background: rgba(168, 208, 240, 0.18); }

/* PROCESS section: keep dark; bump connectors */
.process-step h3 { color: #fff; }
.process-step p  { color: rgba(244, 247, 251, 0.78); }
.process-time    { color: var(--sky-soft); }

/* Buttons: ghost button needs to read on dark */
.btn-ghost {
  color: #fff;
  border-color: rgba(168, 208, 240, 0.4);
}
.btn-ghost:hover {
  background: rgba(83, 149, 208, 0.12);
  border-color: var(--sky);
}

/* Generic typography: ensure body text reads */
.section p,
.section li { color: rgba(244, 247, 251, 0.82); }

/* AI section glow ring on cards — already dark, leave alone.
   The AI background image is preserved via .ai-bg overlay. */

/* Footer: already dark, just refine border */
.footer { border-top: 1px solid rgba(168, 208, 240, 0.08); }

/* ============================================================
   PARTNERS SECTION (dark theme)
   ============================================================ */
.partners {
  background: var(--bg);
  position: relative;
}
.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 60px;
  max-width: 920px;
}
.partner-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 44px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 208, 240, 0.18);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease);
}
.partner-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(168, 208, 240, 0.32);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.partner-logo-wrap {
  background: #fff;
  border-radius: var(--r-md);
  /* Tighter padding so the logo dominates the plate */
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.75;
}
.partner-logo {
  /* Fill the plate while preserving aspect ratio */
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partner-body { min-width: 0; }
.partner-flag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.partner-country {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-soft);
  padding: 4px 10px;
  background: rgba(83, 149, 208, 0.14);
  border: 1px solid rgba(168, 208, 240, 0.22);
  border-radius: 999px;
}
.partner-role {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.partner-card h3 {
  font-size: 28px;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -0.01em;
}
.partner-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244, 247, 251, 0.78);
  margin: 0 0 14px;
}
.partner-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--sky-soft);
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.partner-card:hover .partner-link {
  color: #fff;
  transform: translateX(4px);
}

/* Partners — responsive */
@media (max-width: 720px) {
  .partner-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }
  .partner-logo-wrap {
    aspect-ratio: 2 / 1;
    max-width: 220px;
  }
  .partner-card h3 { font-size: 22px; }
}

/* ============================================================
   GLOBAL TRANSPARENT SECTION BACKGROUNDS
   Lets the #bg-canvas molecular network bleed through every section
   site-wide. Each section now uses a semi-transparent navy tint instead
   of an opaque fill, so the animated nodes/lines are visible everywhere
   while content readability is preserved.
   ============================================================ */

/* Body keeps the deep navy as the base color of the canvas backdrop */
html, body {
  background: var(--navy-darker);
}

/* All major sections become tinted glass over the canvas.
   Mostly opaque (0.90) so content reads cleanly while the molecular
   network is still felt as a subtle texture through every band. */
.stats,
.partners,
.technology,
.process,
.contact,
.faq,
.footer {
  background: rgba(8, 21, 48, 0.90) !important;
  position: relative;
  z-index: 1;
}

/* The hero already has its own atmospheric heart imagery; leave it as-is
   but allow the canvas a bit of bleed at the very top/bottom edges. */
.hero { position: relative; z-index: 1; }
