/* ── KOL Atlas — Design System ──────────────────────────────
   Modern Blues & Shades color scheme for premium tech aesthetic.
   Features electric blue accents and midnight blue backgrounds.
───────────────────────────────────────────────────────────── */

:root {
  --bg-main: #0a0e27;
  --bg-elevated: #151b3d;
  --bg-light: #f0f2f8;
  --ink: #080b1f;
  --text-main: #e8ecff;
  --text-muted: #a8b2d1;
  --accent: #0ea5e9;
  --accent-soft: #38bdf8;
  --accent-dim: rgba(14, 165, 233, 0.22);
  --line: rgba(14, 165, 233, 0.15);
  --electric-blue: #3b82f6;
  --bright-blue: #60a5fa;
  --sky-blue: #93c5fd;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
    color: var(--text-main);
    /*background: var(--bg-main);  
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;*/
}

.bgMain {
    background: var(--bg-main);
}

h1, h2, h3, h4 {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero-wrap {
  min-height: 70vh;
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--bg-main);
  overflow: hidden;
}

/* full-bleed background video */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 38%, rgba(14, 165, 233, 0.32), transparent 40%),
    radial-gradient(circle at 78% 65%, rgba(59, 130, 246, 0.24), transparent 45%),
    linear-gradient(120deg, rgba(10, 14, 39, 0.95) 18%, rgba(21, 27, 61, 0.88) 52%, rgba(15, 19, 45, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 5.5rem 0 4.5rem;
}

/* ── FRAMED VIDEO CARD ──────────────────────────────────── */
.hero-video-frame {
  position: relative;
  width: min(520px, 100%);
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(14, 165, 233, 0.42);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.52),
    0 0 42px rgba(14, 165, 233, 0.28),
    0 0 80px rgba(59, 130, 246, 0.15);
  animation: frame-float 7s ease-in-out infinite;
}

.hero-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 340px;
  object-fit: cover;
}

.hero-video-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(21, 27, 61, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.5);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-soft);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@keyframes frame-float {
  0%, 100% { transform: translateY(0) rotate(0.3deg); }
  50%       { transform: translateY(-8px) rotate(-0.3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-frame { animation: none; }
}

/* ── PRODUCT LOGO ─────────────────────────────────────────── */
.product-logo-wrap {
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
    border-radius: 18px;
    padding: 0.156rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.5), rgba(59, 130, 246, 0.24));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), 0 0 28px rgba(14, 165, 233, 0.32);
    animation: logo-float 5.8s ease-in-out infinite;
    transition: transform 240ms ease, box-shadow 260ms ease;
}

.product-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.52);
  pointer-events: none;
}

.product-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent 65%);
  filter: blur(8px);
  z-index: -1;
  animation: logo-pulse 3.4s ease-in-out infinite;
}

.product-logo-wrap:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(14, 165, 233, 0.42),
    0 0 60px rgba(59, 130, 246, 0.22);
}

.product-logo {
  display: block;
  width: clamp(180px, 30vw, 290px);
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  filter: saturate(1.06) contrast(1.05) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes logo-pulse {
  0%, 100% { opacity: 0.48; transform: scale(0.98); }
  50%       { opacity: 0.88; transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .product-logo-wrap,
  .product-logo-wrap::after { animation: none; }
}

/* ── EYEBROW / UTILITY ───────────────────────────────────── */
.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  color: var(--accent-soft);
  font-weight: 700;
}

/* ── HERO TYPOGRAPHY ─────────────────────────────────────── */
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero-copy {
  max-width: 58ch;
  color: #c4d0e8;
  font-size: 1.06rem;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn-glow {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  border: 0;
  color: #fff;
  font-weight: 700;
}

.btn-glow:hover {
  background: linear-gradient(135deg, #38bdf8, #93c5fd);
  color: #fff;
}

/* ── SECTION SHARED ─────────────────────────────────────── */
.section-dark,
.section-light,
.section-story,
.section-cta { padding: 5.4rem 0; }

/* ── OVERVIEW / INTRO ───────────────────────────────────── */
.section-intro {
  background: linear-gradient(180deg, #0a0e27, #151b3d 72%, #0f131f);
}
/* ── STATS BAR ───────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(90deg, #0f1329 0%, #151b3d 50%, #0f1329 100%);
  border-top: 1px solid rgba(14, 165, 233, 0.25);
  border-bottom: 1px solid rgba(14, 165, 233, 0.25);
  padding: 2rem 0;
}

.stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0 1rem;
}

.stat-num {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  background: linear-gradient(120deg, #38bdf8, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  max-width: 160px;
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: rgba(14, 165, 233, 0.28);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .stat-divider { display: none; }
  .stats-strip { gap: 1.5rem; }
  .stat-item { padding: 0; }
}

/* ── CAPABILITIES SECTION ────────────────────────────── */
.section-caps {
  padding: 5.4rem 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(14, 165, 233, 0.18), transparent 36%),
    radial-gradient(circle at 12% 72%, rgba(59, 130, 246, 0.14), transparent 32%),
    #0a0e27;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 58ch;
  margin: 0.75rem auto 0;
}

.cap-card {
  background: rgba(21, 27, 61, 0.6);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-top: 2px solid var(--accent);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  height: 100%;
  transition: transform 240ms ease, box-shadow 260ms ease, border-color 240ms ease;
}

.cap-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4), 0 0 22px rgba(14, 165, 233, 0.24);
  border-color: rgba(14, 165, 233, 0.45);
}

.cap-icon {
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.85rem;
  display: block;
  filter: drop-shadow(0 0 6px rgba(14, 165, 233, 0.5));
}

.cap-card h3 {
  font-size: 1rem;
  margin: 0 0 0.55rem;
  color: var(--accent-soft);
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── POINTER GRID (How We Work) ─────────────────────────── */
.pointer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  position: relative;
}

.pointer-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.68rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(14, 165, 233, 0.38);
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.18), rgba(59, 130, 246, 0.08));
  box-shadow: 0 10px 20px rgba(10, 14, 39, 0.12);
  min-height: 56px;
  transition: transform 180ms ease, border-color 200ms ease, box-shadow 220ms ease;
}

.pointer-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.65);
  box-shadow: 0 14px 24px rgba(10, 14, 39, 0.18);
}

.pointer-id {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.pointer-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #060d25;
    font-weight: 700;
}
.section-dark h2,
.section-dark p,
.section-story h2,
.section-story p { color: var(--text-main); }

.section-dark p { color: var(--text-muted); }

/* ── STAT GRID ──────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(21, 27, 61, 0.5);
}

.stat-grid h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent-soft);
}

.stat-grid p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── LIGHT SECTION ──────────────────────────────────────── */
.section-light { background: var(--bg-light); }

.section-light h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* ── FEATURE STACK ──────────────────────────────────────── */
.feature-stack article + article { margin-top: 1.6rem; }

.feature-stack h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }

.feature-stack p { color: #4a5578; margin: 0; }

/* ── SPLIT IMAGE ─────────────────────────────────────────── */
.split-image {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  min-height: 330px;
  box-shadow: 0 24px 42px rgba(10, 14, 39, 0.32);
}

/* ── AI LAB SECTION (video background) ──────────────────── */
/* ── AI LAB — side-block (new layout) ───────────────────── */
.section-lab-side {
  padding: 5.4rem 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(14, 165, 233, 0.2), transparent 42%),
    linear-gradient(120deg, #0a0e27 0%, #151b3d 55%, #0f1329 100%);
}

.lab-video-block {
  border-radius: 28px;
  overflow: hidden;
  border: 1.5px solid rgba(14, 165, 233, 0.38);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(14, 165, 233, 0.24);
  width: min(340px, 100%);
  margin: 0 auto;
}

.lab-video-block video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ── AI LAB SECTION fallback (video background) ──────────── */
.section-lab {
  position: relative;
  overflow: hidden;
}

.lab-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lab-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.26), transparent 38%),
    linear-gradient(120deg, rgba(10, 14, 39, 0.92) 20%, rgba(21, 27, 61, 0.85) 55%, rgba(15, 19, 45, 0.68) 100%);
}

.lab-content {
  position: relative;
  z-index: 2;
  padding: 5.4rem 0;
}

.orb-image {
  width: min(380px, 90%);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 42px rgba(14, 165, 233, 0.38);
  filter: saturate(1.08);
}

/* ── BLOCKQUOTE ─────────────────────────────────────────── */
blockquote {
  margin: 1.25rem 0 0;
  font-size: 1.08rem;
  color: #2a2f4a;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.quote-by {
  margin-top: 1rem;
  color: #5d6684;
  font-size: 0.95rem;
}

/* ── STORY SECTION ──────────────────────────────────────── */
.section-story {
  background:
    radial-gradient(circle at 72% 38%, rgba(14, 165, 233, 0.28), transparent 42%),
    radial-gradient(circle at 18% 65%, rgba(59, 130, 246, 0.18), transparent 36%),
    linear-gradient(120deg, #080b1f 18%, #12172e 58%, #181d3a 100%);
}

.story-lead {
  color: #b8c5e0;
  font-size: 1.04rem;
  line-height: 1.7;
}

/* horizontal card variant for story stat row */
.h-rank {
  height: 100%;
  text-align: center;
}

/* ── STAT / BIOMARKER CARDS ─────────────────────────────── */
.biomarker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.biomarker-card {
  background: rgba(21, 27, 61, 0.7);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 260ms ease;
}

.biomarker-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.14), transparent 60%);
  pointer-events: none;
}

.biomarker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.36), 0 0 20px rgba(14, 165, 233, 0.28);
}

.bm-icon {
  display: block;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 8px rgba(14, 165, 233, 0.9);
}

.biomarker-card h3 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1;
  margin: 0 0 0.45rem;
  background: linear-gradient(120deg, #38bdf8, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.biomarker-card p {
  font-size: 0.84rem;
  color: #8a95c3;
  margin: 0;
  line-height: 1.45;
}

/* ── TEXT LINK ──────────────────────────────────────────── */
.text-link {
  color: var(--accent-soft);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  font-size: 0.8rem;
}

.text-link:hover { color: #93c5fd; }

/* ── CTA ─────────────────────────────────────────────────── */
.section-cta {
  background:
    radial-gradient(circle at 50% 60%, rgba(14, 165, 233, 0.2), transparent 44%),
    #080b1f;
}

/* keep old cta-panel harmless */
.cta-panel { display: none; }

.cta-panel-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 0;
}

.cta-panel-center h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.8rem);
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.cta-panel-center p {
  color: #9ea9cf;
  font-size: 1.06rem;
  margin-bottom: 0;
}

/* ── TESTIMONIAL (foreground image) ─────────────────────── */
.section-testimonial-full {
  padding: 0;
  background: #080b1f;
}

.testimonial-card {
  position: relative;
  min-height: 500px;
  border-radius: 0;
  overflow: hidden;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 78%, rgba(14, 165, 233, 0.28), transparent 38%),
    linear-gradient(to top, rgba(10, 14, 39, 0.96) 0%, rgba(21, 27, 61, 0.82) 42%, rgba(15, 19, 45, 0.35) 78%, rgba(15, 19, 45, 0.12) 100%);
}

.testimonial-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.25rem;
}

.testimonial-copy-panel {
  background: rgba(21, 27, 61, 0.75);
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 16px;
  padding: 1.25rem 1.25rem 1.1rem;
  backdrop-filter: blur(4px);
}

.testimonial-quote {
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-style: italic;
  color: #fff;
  line-height: 1.45;
  margin: 0.7rem 0 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.quote-by-light {
  color: var(--accent-soft);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.section-faq {
  background:
    radial-gradient(circle at 78% 22%, rgba(14, 165, 233, 0.16), transparent 40%),
    #0a0e27;
  padding: 5.4rem 0;
}

.faq-intro {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 52ch;
  margin: 0 auto;
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(14, 165, 233, 0.12);
}

.faq-item:first-child { border-top: 1px solid rgba(14, 165, 233, 0.12); }

.faq-btn {
  background: transparent;
  color: #d4dcf5;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 0.25rem;
  box-shadow: none !important;
  transition: color 200ms ease;
}

.faq-btn:not(.collapsed) {
  color: var(--accent-soft);
  background: transparent;
}

.faq-btn:hover { color: #fff; }

.faq-btn::after { filter: invert(1) brightness(1.4); flex-shrink: 0; }

.faq-body {
  color: #8a95c3;
  font-size: 0.97rem;
  line-height: 1.75;
  padding: 0 0.25rem 1.25rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-wrap { min-height: auto; }
  .hero-row { min-height: auto; }
  .hero-content { padding-top: 4.5rem; }
  .section-lab-full { min-height: 50vh; }
  .testimonial-card { min-height: 380px; }
  .testimonial-image { min-height: 380px; }
}

@media (max-width: 767px) {
  .section-dark,
  .section-light,
  .section-story,
  .section-cta,
  .section-faq,
  .section-caps { padding: 3.5rem 0; }

  .hero-copy { font-size: 1rem; }
  .lab-headline { font-size: 1.5rem; }
  .testimonial-quote { font-size: 1.15rem; }
  .testimonial-copy-panel { padding: 1rem; }
  .faq-btn { font-size: 0.95rem; }
  .pointer-grid { grid-template-columns: 1fr; }
  .pointer-card { min-height: 54px; padding: 0.62rem 0.72rem; }
  .pointer-card p { font-size: 0.86rem; }
}

@media (max-width: 575px) {
  .biomarker-card.h-rank { padding: 1.1rem 0.9rem; }
  .hero-video-frame { border-radius: 14px; }
}
