/* ══════════════════════════════════════════════════════════════
   QNeuroAI · style.css
   Medical Blue skin · Aptos font family
   ══════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  /* Primary — Medical Blue */
  --blue:        #1565C0;
  --blue-light:  #E3EEF9;
  --blue-mid:    #5A9FD8;
  --blue-dark:   #0D47A1;
  --blue-accent: #42A5F5;

  /* Secondary — Deep Navy */
  --navy:        #0A1628;
  --navy-mid:    #132340;

  /* Backgrounds */
  --bg:          #F5F8FD;
  --bg-card:     #FFFFFF;
  --bg-section:  #EBF3FC;

  /* Borders */
  --border:      #C5D8EE;
  --border-mid:  #90B8E0;

  /* Text */
  --text:        #0A1628;
  --text-2:      #2C4A6E;
  --text-3:      #6B8BAF;

  /* Legacy alias — mapped to blue so existing classes work */
  --teal:        #1565C0;
  --teal-light:  #E3EEF9;
  --teal-mid:    #5A9FD8;
  --teal-dark:   #0D47A1;

  /* Fonts */
  --font-serif:  'Aptos Display', 'Aptos', 'Segoe UI', system-ui, sans-serif;
  --font-sans:   'Aptos', 'Segoe UI', system-ui, sans-serif;
  --font-mono:   'Aptos Mono', 'Cascadia Code', 'Consolas', monospace;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  /* Shadows — blue-tinted */
  --shadow-sm:   0 1px 3px rgba(21,101,192,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(21,101,192,.10), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:   0 12px 40px rgba(21,101,192,.14), 0 4px 12px rgba(0,0,0,.06);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }
h1,h2,h3,h4 { line-height: 1.2; color: var(--text); }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(.7); }
}
@keyframes scanLine {
  from { transform: translateY(0); }
  to   { transform: translateY(320px); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ── NAV ─────────────────────────────────────────────────────── */
#navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,248,253,.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 2px 16px rgba(21,101,192,.10); }
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 2rem;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 1.1rem;
  color: var(--text); text-decoration: none; letter-spacing: -.01em;
  flex-shrink: 0;
}
.logo-mark {
  width: 48px; height: 48px; border-radius: 11px;
  background: linear-gradient(140deg, var(--blue-accent) 0%, var(--blue-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-mark img { width: 42px; height: 42px; object-fit: contain; display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: .875rem; color: var(--text-2); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.btn-launch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .5rem 1.25rem;
  background: var(--blue); color: #fff !important;
  font-size: .875rem; font-weight: 500; border-radius: var(--radius-sm);
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(21,101,192,.30);
}
.btn-launch:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(21,101,192,.35); }
.btn-launch svg { width: 14px; height: 14px; }
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  padding: 0;
  min-height: calc(100vh - 66px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}
.hero-left {
  padding: 5rem 3rem 5rem max(2rem, calc((100vw - 1120px)/2 + 2rem));
  padding-right: 3.5rem;
}
.hero-right {
  background: linear-gradient(160deg, #0A1628 0%, #0D2B5A 50%, #0A1E4D 100%);
  border-left: 1px solid var(--border);
  min-height: calc(100vh - 66px);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  position: relative; overflow: hidden;
}

/* Hero right — full bleed image with overlay */
.hero-right-img {
  position: absolute; inset: 0;
  background:
    url('../../Images/a-cinematic-photograph-of-doctors-in-whi_NYkJqokSR9iea-04UtHePQ_umuWfdYdToOjH2Uq37763w.png')
    center center / cover no-repeat;
  opacity: 0.42;
}
.hero-right-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(21,101,192,.20) 0%, transparent 65%),
    linear-gradient(180deg, rgba(10,22,40,.55) 0%, rgba(10,22,40,.35) 100%);
}

/* scan card sits above image */
.hero-right-content {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  padding: 3rem 3.5rem;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-light); color: var(--blue-dark);
  border: 1px solid var(--border-mid);
  padding: .3rem .9rem; border-radius: 999px;
  font-size: .75rem; font-family: var(--font-mono); font-weight: 500;
  margin-bottom: 1.75rem;
  animation: fadeUp .6s ease both;
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-accent);
  animation: pulseDot 2s infinite;
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
  font-weight: 400; letter-spacing: -.01em;
  margin-bottom: 1.5rem;
  animation: fadeUp .65s .1s ease both;
}
.hero-h1 em { font-style: italic; color: var(--blue); }
.hero-body {
  font-size: 1rem; color: var(--text-2); max-width: 490px;
  margin-bottom: 2.5rem; font-weight: 300; line-height: 1.75;
  animation: fadeUp .65s .2s ease both;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .65s .3s ease both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .75rem 1.75rem;
  background: var(--blue); color: #fff !important;
  font-size: .9rem; font-weight: 500; border-radius: var(--radius-sm);
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 3px 12px rgba(21,101,192,.32);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(21,101,192,.38); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: .75rem 1.75rem;
  border: 1.5px solid var(--border-mid); color: var(--text-2);
  font-size: .9rem; font-weight: 400; border-radius: var(--radius-sm);
  transition: border-color .2s, color .2s, transform .15s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.hero-stats {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  animation: fadeUp .65s .45s ease both;
}
.stat-n { font-family: var(--font-serif); font-style: italic; font-size: 2.1rem; color: var(--blue); line-height: 1; }
.stat-l { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-top: 4px; font-weight: 500; }

/* ── SCAN CARD (hero visual) ─────────────────────────────────── */
.scan-card {
  width: 100%; max-width: 440px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 56px rgba(0,0,0,.45), 0 0 0 1px rgba(90,159,216,.20);
  overflow: hidden; position: relative; z-index: 1;
  animation: fadeUp .7s .3s ease both;
}
.scan-header {
  padding: .85rem 1.25rem;
  background: rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: space-between;
}
.scan-header-left { display: flex; align-items: center; gap: 8px; }
.scan-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-accent); animation: pulseDot 2s infinite; }
.scan-title { font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.75); }
.scan-badge { font-family: var(--font-mono); font-size: .68rem; background: rgba(66,165,245,.18); color: #90CAF9; padding: .2rem .6rem; border-radius: 4px; border: 1px solid rgba(66,165,245,.30); }
.scan-body { padding: 1.25rem; }
.scan-img-wrap { position: relative; background: #03080F; border-radius: 10px; overflow: hidden; margin-bottom: 1.25rem; }
.scan-overlay { position: absolute; inset: 0; }
.scan-scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(66,165,245,.6), transparent); animation: scanLine 3s linear infinite; top: 0; }
.scan-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.scan-metric { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: .75rem 1rem; }
.scan-metric-val { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: #90CAF9; }
.scan-metric-lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,.45); margin-top: 2px; }
.scan-footer { padding: .75rem 1.25rem; border-top: 1px solid rgba(255,255,255,.10); display: flex; align-items: center; justify-content: space-between; }
.scan-finding { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255,255,255,.70); }
.finding-chip { padding: .2rem .7rem; border-radius: 999px; font-size: .7rem; font-weight: 500; font-family: var(--font-mono); }
.finding-flag { background: rgba(239,108,0,.18); color: #FFB74D; border: 1px solid rgba(239,108,0,.35); }
.finding-clear { background: rgba(76,175,80,.15); color: #81C784; border: 1px solid rgba(76,175,80,.30); }
.scan-time { font-family: var(--font-mono); font-size: .68rem; color: rgba(255,255,255,.35); }

/* ── SHARED SECTION ELEMENTS ─────────────────────────────────── */
.eyebrow { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .75rem; }
.sec-h { font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 400; margin-bottom: 1rem; }
.sec-sub { color: var(--text-2); font-size: 1rem; font-weight: 300; max-width: 580px; line-height: 1.75; }

/* ── PRODUCT ─────────────────────────────────────────────────── */
#product { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Tech split */
.tech-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 3rem 0 4rem; }
.tech-panel { padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.tech-panel--teal { background: var(--blue-light); border-color: var(--border-mid); }
.tech-panel--blue { background: #EDF4FC; border-color: #B8D4EE; }
.tech-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.tech-panel--teal .tech-icon { background: rgba(21,101,192,.15); color: var(--blue-dark); }
.tech-panel--blue .tech-icon { background: rgba(21,101,192,.10); color: var(--blue); }
.tech-panel h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; color: var(--text); margin-bottom: .75rem; }
.tech-panel p  { font-size: .9rem; color: var(--text-2); font-weight: 300; line-height: 1.7; margin-bottom: 1.25rem; }
.tech-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.tech-list li { font-size: .85rem; color: var(--text-2); display: flex; align-items: flex-start; gap: 8px; }
.tech-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.tech-panel--teal .tech-list li::before { background: var(--blue); }
.tech-panel--blue .tech-list li::before { background: var(--blue-mid); }

/* Feature list */
.product-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
.feat-list { display: flex; flex-direction: column; }
.feat-item { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.5rem 0; border-bottom: 1px solid var(--border); transition: padding-left .2s; }
.feat-item:first-child { border-top: 1px solid var(--border); }
.feat-item:hover { padding-left: .5rem; }
.feat-item:hover .feat-icon-wrap { background: var(--blue); border-color: var(--blue); }
.feat-item:hover .feat-icon-wrap svg { stroke: #fff; }
.feat-icon-wrap { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; border: 1.5px solid var(--border-mid); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; background: var(--bg); }
.feat-icon-wrap svg { width: 20px; height: 20px; stroke: var(--blue); }
.feat-label { font-weight: 500; font-size: .95rem; color: var(--text); margin-bottom: .3rem; }
.feat-desc { font-size: .875rem; color: var(--text-2); line-height: 1.65; font-weight: 300; }
.product-visual-col { position: sticky; top: 90px; }

/* Diag card */
.diag-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.diag-tab-bar { display: flex; border-bottom: 1px solid var(--border); background: var(--bg-section); }
.diag-tab { padding: .75rem 1.25rem; font-size: .78rem; font-family: var(--font-mono); color: var(--text-3); border-right: 1px solid var(--border); cursor: pointer; transition: color .2s, background .2s; }
.diag-tab.active { color: var(--blue); background: var(--bg-card); border-bottom: 2px solid var(--blue); margin-bottom: -1px; }
.diag-body { padding: 1.5rem; }
.diag-section-label { font-size: .72rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: .85rem; }
.confidence-bar-wrap { margin-bottom: 1.25rem; }
.conf-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .45rem; }
.conf-label { font-size: .82rem; color: var(--text-2); }
.conf-pct { font-family: var(--font-mono); font-size: .82rem; color: var(--blue); font-weight: 500; }
.bar-track { height: 6px; background: var(--bg-section); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--blue-accent)); }
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.region-chip { padding: .55rem .85rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .78rem; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.region-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.diag-footer { padding: .85rem 1.5rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--bg-section); }
.diag-footer-txt { font-size: .75rem; color: var(--text-3); font-family: var(--font-mono); }
.diag-action { font-size: .78rem; color: var(--blue); font-weight: 500; cursor: pointer; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
#how-it-works { background: var(--bg-section); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pipeline-steps { display: flex; gap: 0; margin-top: 3.5rem; align-items: flex-start; }
.pipeline-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; padding: 0 .5rem; }
.ps-num { font-family: var(--font-mono); font-size: .7rem; color: var(--blue); font-weight: 500; margin-bottom: .75rem; }
.ps-connector { position: absolute; top: 58px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 1px; background: linear-gradient(90deg, var(--border-mid), var(--border)); z-index: 0; }
.ps-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-card); border: 1.5px solid var(--border-mid); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; margin-bottom: 1rem; transition: background .2s, border-color .2s; }
.ps-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.pipeline-step:hover .ps-icon { background: var(--blue); border-color: var(--blue); }
.pipeline-step:hover .ps-icon svg { stroke: #fff; }
.ps-title { font-weight: 500; font-size: .9rem; color: var(--text); margin-bottom: .4rem; }
.ps-desc { font-size: .8rem; color: var(--text-2); font-weight: 300; line-height: 1.6; }

/* ── DEMO ────────────────────────────────────────────────────── */
#demo { background: var(--bg-card); }
.demo-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3.5rem; }
.demo-video-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: #000; line-height: 0; }
.demo-video-wrap iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.demo-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, #04101E 0%, #0A2040 100%); cursor: pointer; transition: opacity .3s; }
.demo-placeholder.hidden { opacity: 0; pointer-events: none; }

/* Team image behind demo placeholder */
.demo-bg-img {
  position: absolute; inset: 0;
  background:
    url('../../Images/remove-the-brain-in-the-middle-leave-the_5zgRSG4VS-6VokFhwduuAQ_SHrBlVAXSSK34CyGrTalTA.png')
    center center / cover no-repeat;
  opacity: 0.30;
}

.play-btn { width: 70px; height: 70px; border-radius: 50%; background: rgba(21,101,192,.25); border: 2px solid rgba(66,165,245,.45); display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.demo-placeholder:hover .play-btn { background: var(--blue); border-color: var(--blue); transform: scale(1.08); }
.play-btn svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.demo-placeholder-title { font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: #fff; margin-bottom: .5rem; text-align: center; padding: 0 1.5rem; position: relative; z-index: 1; }
.demo-placeholder-lbl { font-family: var(--font-mono); font-size: .75rem; color: rgba(180,215,250,.50); letter-spacing: .1em; position: relative; z-index: 1; }

/* Native HTML5 video */
.demo-video-el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #03080F;
}
.demo-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.demo-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; border: 1.5px solid var(--border-mid); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: .8rem; color: var(--blue); font-weight: 500; background: var(--bg-card); }
.step-title { font-weight: 500; font-size: .95rem; color: var(--text); margin-bottom: .2rem; }
.step-desc { font-size: .875rem; color: var(--text-2); font-weight: 300; line-height: 1.65; }
.demo-cta-row { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── ARTICLES ────────────────────────────────────────────────── */
#articles { background: var(--bg-section); border-top: 1px solid var(--border); }
.articles-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.articles-see-all { font-size: .85rem; color: var(--blue); display: flex; align-items: center; gap: 4px; }
.articles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.article-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem; transition: box-shadow .25s, border-color .25s, transform .25s; }
.article-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-mid); transform: translateY(-3px); }
.article-chip { display: inline-flex; align-items: center; gap: 6px; padding: .25rem .75rem; border-radius: 999px; font-size: .7rem; font-family: var(--font-mono); border: 1px solid var(--border); color: var(--text-3); width: fit-content; }
.article-chip span { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-mid); flex-shrink: 0; }
.article-title { font-family: var(--font-serif); font-size: 1rem; line-height: 1.45; color: var(--text); font-weight: 400; }
.article-authors { font-size: .78rem; color: var(--text-3); font-family: var(--font-mono); }
.article-abstract { font-size: .85rem; color: var(--text-2); line-height: 1.65; font-weight: 300; flex: 1; }
.article-link { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--blue); font-weight: 500; transition: gap .2s; }
.article-link:hover { gap: 9px; }

/* ── CONTACT ─────────────────────────────────────────────────── */
#contact { background: var(--bg-card); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3.5rem; align-items: start; }
.contact-form-card { background: var(--bg-section); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: .78rem; color: var(--text-2); font-weight: 500; margin-bottom: .45rem; text-transform: uppercase; letter-spacing: .05em; }
.form-control { width: 100%; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: .65rem .95rem; font-size: .9rem; font-family: var(--font-sans); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; appearance: none; }
.form-control::placeholder { color: var(--text-3); }
.form-control:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.10); }
textarea.form-control { height: 110px; resize: vertical; }
.btn-submit { width: 100%; padding: .8rem; background: var(--blue); color: #fff; font-size: .9rem; font-weight: 500; font-family: var(--font-sans); border: none; border-radius: var(--radius-sm); cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: 0 3px 12px rgba(21,101,192,.28); margin-top: .5rem; }
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-submit:active { transform: scale(.98); }
.contact-intro { font-size: .95rem; color: var(--text-2); font-weight: 300; line-height: 1.75; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; }
.contact-item { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: none; }
.contact-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: var(--bg-section); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-item-title { font-weight: 500; font-size: .88rem; color: var(--text); margin-bottom: .15rem; }
.contact-item-val { font-size: .875rem; color: var(--text-2); font-weight: 300; }
.contact-tool-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 2rem; padding: .8rem 1.75rem; background: var(--blue); color: #fff !important; font-size: .9rem; font-weight: 500; border-radius: var(--radius-sm); box-shadow: 0 3px 12px rgba(21,101,192,.28); transition: background .2s, transform .15s; }
.contact-tool-cta:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: var(--navy); padding: 3.5rem 0; }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.foot-logo { font-family: var(--font-sans); font-weight: 600; color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.foot-copy { font-size: .75rem; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 420px; }
.foot-links { display: flex; gap: 1.75rem; flex-wrap: wrap; align-items: center; }
.foot-links a { font-size: .8rem; color: rgba(255,255,255,.45); transition: color .2s; }
.foot-links a:hover { color: var(--blue-accent); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tech-split { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; gap: 3rem; }
  .product-visual-col { position: static; }
  .pipeline-steps { flex-wrap: wrap; gap: 2rem; justify-content: center; }
  .pipeline-step { flex: 0 0 calc(33.33% - 1.5rem); }
  .ps-connector { display: none; }
}
@media (max-width: 960px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 2rem 3rem; }
  .hero-right { min-height: 50vh; border-left: none; border-top: 1px solid var(--border); }
  .demo-layout { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; gap: 1rem; z-index: 199; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links .btn-launch { justify-content: center; }
  #navbar { position: relative; }
  .pipeline-step { flex: 0 0 calc(50% - 1rem); }
}
@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .foot-inner { flex-direction: column; }
  .pipeline-step { flex: 0 0 100%; }
}

/* ── ARTICLE QR + DOWNLOAD ───────────────────────────────────── */
.article-qr-row {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-top: .25rem;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
}
.article-qr-img {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.article-qr-img:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(21,101,192,.18);
}
.article-qr-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
  min-width: 0;
}
.article-qr-label {
  font-size: .7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
}
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .42rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
  width: fit-content;
}
.btn-dl--primary {
  background: var(--blue);
  color: #fff !important;
  border: 1.5px solid var(--blue);
  box-shadow: 0 2px 8px rgba(21,101,192,.25);
}
.btn-dl--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(21,101,192,.32);
}
.btn-dl--secondary {
  background: transparent;
  color: var(--blue) !important;
  border: 1.5px solid var(--border-mid);
}
.btn-dl--secondary:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-1px);
}
