/* ═══════════════════════════════════════
   AnalyzAI — Landing Page (Final)
   Header + Hero — desktop only
   ═══════════════════════════════════════ */

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══ HEADER ═══ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 80px;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

/* Beta badge (not in Figma — custom addition) */
.badge-beta {
  background: #EEF2FF;
  color: #6366F1;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  user-select: none;
}

/* "Войти" button — exact Figma spec */
.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: 0.07px;
  color: var(--color-primary);
  background: transparent;
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn-login:hover {
  background: var(--bg-section);
}

.btn-login:active {
  background: #E0E7FF;
}


/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */

.hero {
  position: relative;
  padding: 0 80px;
  background: var(--bg-page);
  overflow: hidden;
}

/* --- Neural Grid pattern overlay --- */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Ccircle cx='18' cy='18' r='1.5' fill='%23718096'/%3E%3Ccircle cx='54' cy='18' r='1.5' fill='%23718096'/%3E%3Ccircle cx='90' cy='18' r='1.5' fill='%23718096'/%3E%3Ccircle cx='126' cy='18' r='1.5' fill='%23718096'/%3E%3Ccircle cx='162' cy='18' r='1.5' fill='%23718096'/%3E%3Ccircle cx='18' cy='54' r='1.5' fill='%23718096'/%3E%3Ccircle cx='54' cy='54' r='1.5' fill='%23718096'/%3E%3Ccircle cx='90' cy='54' r='1.5' fill='%23718096'/%3E%3Ccircle cx='126' cy='54' r='1.5' fill='%23718096'/%3E%3Ccircle cx='162' cy='54' r='1.5' fill='%23718096'/%3E%3Ccircle cx='18' cy='90' r='1.5' fill='%23718096'/%3E%3Ccircle cx='54' cy='90' r='1.5' fill='%23718096'/%3E%3Ccircle cx='90' cy='90' r='1.5' fill='%23718096'/%3E%3Ccircle cx='126' cy='90' r='1.5' fill='%23718096'/%3E%3Ccircle cx='162' cy='90' r='1.5' fill='%23718096'/%3E%3Ccircle cx='18' cy='126' r='1.5' fill='%23718096'/%3E%3Ccircle cx='54' cy='126' r='1.5' fill='%23718096'/%3E%3Ccircle cx='90' cy='126' r='1.5' fill='%23718096'/%3E%3Ccircle cx='126' cy='126' r='1.5' fill='%23718096'/%3E%3Ccircle cx='162' cy='126' r='1.5' fill='%23718096'/%3E%3Ccircle cx='18' cy='162' r='1.5' fill='%23718096'/%3E%3Ccircle cx='54' cy='162' r='1.5' fill='%23718096'/%3E%3Ccircle cx='90' cy='162' r='1.5' fill='%23718096'/%3E%3Ccircle cx='126' cy='162' r='1.5' fill='%23718096'/%3E%3Ccircle cx='162' cy='162' r='1.5' fill='%23718096'/%3E%3Cline x1='18' y1='18' x2='54' y2='18' stroke='%23A0AEC0' stroke-width='0.5'/%3E%3Cline x1='90' y1='18' x2='90' y2='54' stroke='%23A0AEC0' stroke-width='0.5'/%3E%3Cline x1='126' y1='54' x2='162' y2='54' stroke='%23A0AEC0' stroke-width='0.5'/%3E%3Cline x1='54' y1='90' x2='54' y2='126' stroke='%23A0AEC0' stroke-width='0.5'/%3E%3Cline x1='90' y1='90' x2='126' y2='90' stroke='%23A0AEC0' stroke-width='0.5'/%3E%3Cline x1='162' y1='126' x2='162' y2='162' stroke='%23A0AEC0' stroke-width='0.5'/%3E%3Cline x1='18' y1='162' x2='54' y2='162' stroke='%23A0AEC0' stroke-width='0.5'/%3E%3Cline x1='126' y1='126' x2='126' y2='162' stroke='%23A0AEC0' stroke-width='0.5'/%3E%3C/svg%3E") repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* --- Gradient glow blobs --- */
.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero-glow--tl { top: -145px; left: -143px; }
.hero-glow--br { bottom: -138px; right: -81px; }

/* --- Content wrapper (bordered area) --- */
.hero-content {
  position: relative;
  z-index: 1;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  height: 650px;
  padding: 40px 108px;
  display: flex;
  flex-direction: column;
}

/* --- Two-column layout --- */
.hero-columns {
  position: relative;
  display: flex;
  gap: 24px;
  height: 570px;
  align-items: flex-start;
}

/* ─── LEFT COLUMN — Text ─── */
.hero-text {
  width: 630px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 149px;
}

.hero-text__top {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-h1 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -1px;
  color: var(--text-primary);
}

/* Mobile-only shorter subtitle (hidden on desktop) */
.hero-subtitle-mobile {
  display: none;
}

.hero-beta-note {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-accent);
}

/* CTA group */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(-56deg, #6366F1 0%, #4A90D9 100%);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.08px;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  align-self: flex-start;
  transition: opacity 0.15s, transform 0.15s;
}
/* hover handled in @media (hover: hover) block */
.btn-hero-cta:active { transform: scale(0.98); }

.hero-disclaimer {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-tertiary);
}

.hero-counter {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
}
.hero-counter__num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-primary);
}


/* ─── RIGHT COLUMN — Mockup ─── */
.hero-mockup {
  position: relative;
  width: 518px;
  height: 497px;
  flex-shrink: 0;
}

/* PDF document outline */
.hero-mockup__pdf {
  position: absolute;
  width: 171px;
  height: 213px;
  left: -15px;
  top: -10px;
  z-index: 1;
}

/* Center sparkles (decorative, faded) */
.hero-mockup__sparkles {
  position: absolute;
  left: 50%;
  top: 231.5px;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── MiniTable card ─── */
.hero-card {
  position: absolute;
  width: 430px;
  max-width: 430px;
  height: 351px;
  left: 59.5px;
  top: 86.08px;
  z-index: 3;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
  padding: 14px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 5.94px;
}

.hero-card__head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-divider);
}

.hero-card__title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 10.7px;
  line-height: 16px;
  letter-spacing: -0.59px;
  color: var(--text-primary);
}

.hero-card__date {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 7.7px;
  line-height: 12px;
  color: var(--text-secondary);
}

/* Mini table */
.mini-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.mini-table th {
  background: #F7FAFC;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 7.7px;
  line-height: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #4A5568;
  text-align: left;
  padding: 3px 5px;
  height: 18px;
}
.mini-table__th-val { text-align: right; }

.mini-table td {
  padding: 3px 5px;
  height: 18px;
  vertical-align: middle;
}

.mt-name {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 8.9px;
  line-height: 13px;
  color: #4A5568;
  white-space: nowrap;
}

.mt-val {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 8.9px;
  line-height: 12px;
  color: #4A5568;
  text-align: right;
  white-space: nowrap;
}

.mt-ref {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 7.7px;
  line-height: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.mt-row--alt td { background: #F7FAFC; }

/* Status badges */
.mt-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border-radius: 4px;
  border-width: 2px;
  border-style: solid;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 7.7px;
  line-height: 10px;
  letter-spacing: 0.12px;
  white-space: nowrap;
}
.mt-badge svg { flex-shrink: 0; }

.mt-badge--ok {
  background: var(--status-normal-bg);
  border-color: var(--status-normal-border);
  color: var(--status-normal);
}
.mt-badge--crit {
  background: var(--status-critical-bg);
  border-color: var(--status-critical-border);
  color: var(--status-critical);
}
.mt-badge--warn {
  background: var(--status-warn-bg);
  border-color: var(--status-warn-border);
  color: var(--status-warn);
}

/* AI explanation block */
.hero-card__ai {
  background: var(--bg-section);
  border-radius: 10px;
  padding: 6px 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-shrink: 0;
}

.hero-card__ai-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.hero-card__ai-text {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 7.7px;
  line-height: 12px;
  color: var(--text-primary);
}
.hero-card__ai-text p + p { margin-top: 4px; }

/* Download button (decorative) */
.hero-card__dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 8.3px;
  line-height: 12px;
  letter-spacing: 0.04px;
  color: var(--color-primary);
  white-space: nowrap;
  align-self: flex-start;
  cursor: default;
  flex-shrink: 0;
}


/* ─── Data chips (glassmorphism) ─── */
.hero-chip {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-chip--ai {
  width: 88px;
  height: 88px;
  left: 382.39px;
  top: 23.58px;
  gap: 12px;
  padding: 14px 0;
  box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.8), inset 2px 2px 4px rgba(0, 0, 0, 0.04), 0px 4px 4px rgba(0, 0, 0, 0.25);
  animation: chip-float 5s ease-in-out infinite;
}

.hero-chip__icons {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: hidden;
}
.hero-chip__icon-outline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-chip__icon-fill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-chip__label {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.hero-chip--sparkline {
  width: 145px;
  height: 88px;
  left: 188.75px;
  top: 400.79px;
  padding: 14px 12px;
  align-items: flex-start;
  box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.8), inset 2px 2px 4px rgba(0, 0, 0, 0.04), 0px 4px 4px rgba(0, 0, 0, 0.25);
  animation: chip-float 4s ease-in-out infinite;
  animation-delay: -1.5s;
}

.hero-chip--doc {
  width: 88px;
  height: 88px;
  left: 416.14px;
  top: 336.73px;
  padding: 14px 0;
  box-shadow: inset -2px -2px 4px rgba(255, 255, 255, 0.8), inset 2px 2px 4px rgba(0, 0, 0, 0.04), 0px 4px 4px rgba(0, 0, 0, 0.25);
  animation: chip-float 6s ease-in-out infinite;
  animation-delay: -3s;
}


/* ─── Trust badges ─── */
.hero-badges {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--bg-section);
  border-radius: 100px;
}
.trust-badge svg { flex-shrink: 0; }

.trust-badge span {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.07px;
  color: var(--text-secondary);
  white-space: nowrap;
}


/* Hero-to-Problems divider (mobile only, hidden on desktop) */
.hero-divider {
  display: none;
}

/* ═══════════════════════════════════════
   SECTION DIVIDER — EKG pulse line
   ═══════════════════════════════════════ */

.divider-ekg {
  padding: 0 80px;
  overflow: hidden;
}
.divider-ekg svg {
  display: block;
  width: 100%;
  height: 48px;
}


/* ═══════════════════════════════════════
   SECTION 2 — PROBLEMS
   "Почему люди используют AnalyzAI"
   ═══════════════════════════════════════ */

.problems {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 80px;
  background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 23.57%);
}

/* Decorative glow (centered radial SVG, matches Figma Gradient-Glow 1040x947) */
.problems-glow {
  position: absolute;
  width: 1040px;
  height: 947px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* --- Content wrapper (bordered area) --- */
.problems-content {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  padding: 80px 108px;
  overflow: hidden;
}

/* --- Block (H2 + cards) --- */
.problems-block {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: flex-start;
  width: 100%;
}

/* H2 heading */
.problems-h2 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
}

/* --- Cards row --- */
.problems-cards {
  display: flex;
  align-items: center;
  width: 100%;
}

/* SVG line connector between cards */
.problems-connector {
  flex-shrink: 0;
  width: 20px;
  height: 1px;
}

/* --- Problem Card --- */
.problem-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  width: 250px;
  height: 360px;
  background: var(--bg-card);
  box-shadow: 0px 1px 3px 0.8px rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

/* Icon wrapper — 72x72 */
.problem-card__icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Circle background for Icon 1 (48x48 SVG without embedded circle) */
.problem-card__icon--circle {
  background: var(--bg-section);
  border-radius: 50%;
}

/* Title block */
.problem-card__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 129px;
  align-items: flex-start;
  width: 100%;
}

.problem-card__title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -1px;
  color: var(--text-primary);
  width: 100%;
}

.problem-card__desc {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 15px;
  line-height: 22.5px;
  letter-spacing: 0px;
  color: var(--text-secondary);
  width: 100%;
}

/* UI mini illustration */
.problem-card__mini {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
}

/* --- Pulse-Line divider --- */
.problems-pulse {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.problems-pulse__svg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* Mobile pulse SVG — hidden on desktop */
.problems-pulse__svg-mobile {
  display: none;
}

/* Navigation dots — hidden on desktop */
.problems__nav-dots {
  display: none;
}


/* ═══════════════════════════════════════
   SECTION 3 — HOW IT WORKS
   "Как это работает"
   ═══════════════════════════════════════ */

.how-it-works {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 23.57%);
  overflow: hidden;
}

/* --- Content wrapper (bordered area) --- */
.hiw-content {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  padding: 80px 108px;
}

/* --- Signal-Waves decorative background --- */
.hiw-signal-waves {
  position: absolute;
  width: 1431px;
  height: 954px;
  left: calc(50% + 0.5px);
  top: calc(50% + 103px);
  transform: translate(-50%, -50%);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hiw-signal-waves svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Mobile Signal-Waves SVG — hidden on desktop */
.hiw-signal-waves__svg-mobile {
  display: none !important;
}

/* --- Block (H2 + cards) --- */
.hiw-block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: flex-start;
  width: 100%;
}

/* H2 heading */
.hiw-h2 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
}

/* --- Cards row --- */
.hiw-cards {
  position: relative;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* --- SVG line connectors (absolute between circles) --- */
.hiw-connector {
  position: absolute;
  width: 226px;
  height: 40px;
  top: 16.29px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  pointer-events: none;
}

.hiw-connector--1 { left: 274px; }
.hiw-connector--2 { left: 564px; }

.hiw-connector svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Step card --- */
.hiw-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 250px;
  flex-shrink: 0;
  isolation: isolate;
}

/* Step circle (number) */
.hiw-step__circle {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  z-index: 2;
}

.hiw-step__circle svg {
  display: block;
  width: 64px;
  height: 64px;
}

/* Card body */
.hiw-step__card {
  background: var(--bg-card);
  width: 100%;
  height: 360px;
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0px 1px 3px 0.8px rgba(99, 102, 241, 0.2);
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Title block inside card */
.hiw-step__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100px;
  width: 100%;
}

.hiw-step__title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -1px;
  color: var(--text-primary);
  width: 100%;
}

.hiw-step__desc {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0px;
  color: var(--text-secondary);
  width: 100%;
}

/* Beta extra line for step 2 */
.hiw-step__beta-note {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-tertiary);
}

/* --- UI illustrations inside cards --- */
.hiw-step__ui {
  width: 210px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hiw-step__ui svg {
  display: block;
}

/* Step 2 sparkles UI */
.hiw-step__ui--sparkles {
  justify-content: center;
}

.hiw-sparkles-ui {
  position: relative;
  width: 140px;
  height: 100px;
  overflow: hidden;
}

.hiw-sparkles-icon {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
}

.hiw-sparkles-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

/* Biomarker badges (floating labels) */
.hiw-badge {
  position: absolute;
  background: var(--bg-section);
  border-radius: 12px;
  padding: 6px 2px;
  width: 40px;
  text-align: center;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 11px;
  line-height: 18px;
  letter-spacing: 0.165px;
  color: var(--color-primary);
  white-space: nowrap;
}

.hiw-badge--alt { left: 0; top: 27px; }
.hiw-badge--ldl { right: 0; top: 0; }
.hiw-badge--wbc { left: 89.5px; top: 63.34px; }

/* --- Pulse-Line divider --- */
.hiw-pulse {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hiw-pulse__svg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* Mobile pulse SVG — hidden on desktop */
.hiw-pulse__svg-mobile {
  display: none !important;
}

/* Mobile connector SVG — hidden on desktop */
.hiw-connector__svg-mobile {
  display: none !important;
}

/* Mobile report-pulse SVG — hidden on desktop */
.report-pulse__svg-mobile {
  display: none !important;
}

/* Mobile features-pulse SVG — hidden on desktop */
.features-pulse__svg-mobile {
  display: none !important;
}

/* Features nav dots — hidden on desktop */
.features__nav-dots {
  display: none;
}

/* Mobile labs-pulse SVG — hidden on desktop */
.labs-pulse__svg-mobile {
  display: none !important;
}

/* Mobile safety-pulse SVG — hidden on desktop */
.safety-pulse__svg-mobile {
  display: none !important;
}

/* Mobile safety waves SVG — hidden on desktop */
.safety__waves-mobile {
  display: none !important;
}

/* ═══════════════════════════════════════
   SECTION 4: REPORT EXAMPLE
   ═══════════════════════════════════════ */

.report-example {
  position: relative;
  overflow: hidden;
  padding: 0 80px;
  background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 24.98%);
}

/* --- Data Dots pattern overlay (Report Example) --- */
.report-example::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='25' cy='40' r='3' fill='%234A90D9' opacity='0.08'/%3E%3Ccircle cx='180' cy='20' r='7' fill='%236366F1' opacity='0.05'/%3E%3Ccircle cx='270' cy='65' r='4' fill='%23818CF8' opacity='0.03'/%3E%3Ccircle cx='85' cy='110' r='8' fill='%236366F1' opacity='0.05'/%3E%3Ccircle cx='220' cy='130' r='2.5' fill='%234A90D9' opacity='0.08'/%3E%3Ccircle cx='50' cy='190' r='5' fill='%23818CF8' opacity='0.03'/%3E%3Ccircle cx='160' cy='210' r='6' fill='%234A90D9' opacity='0.08'/%3E%3Ccircle cx='290' cy='180' r='3.5' fill='%236366F1' opacity='0.05'/%3E%3Ccircle cx='120' cy='270' r='4.5' fill='%234A90D9' opacity='0.08'/%3E%3Ccircle cx='240' cy='260' r='7.5' fill='%23818CF8' opacity='0.03'/%3E%3Ccircle cx='15' cy='280' r='2' fill='%236366F1' opacity='0.05'/%3E%3Ccircle cx='200' cy='85' r='5.5' fill='%23818CF8' opacity='0.03'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 0;
}

.report-example__content {
  position: relative;
  z-index: 1;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  padding: 80px 108px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-example__block {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.report-example__h2 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
}

/* --- Showcase wrapper (relative for tooltips) --- */
.report-example__showcase {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* --- BiomarkerTable card --- */
.biomarker-table {
  position: relative;
  background: var(--bg-card);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0px 8px 32px rgba(99, 102, 241, 0.2);
  overflow: visible;
  width: 760px;
}

.biomarker-table__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 720px;
}

.biomarker-table__card-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Head */
.biomarker-table__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.biomarker-table__title-group {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1 0 0;
  white-space: nowrap;
}

.biomarker-table__title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.biomarker-table__date {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
}

.biomarker-table__badge {
  background: var(--status-normal-bg);
  padding: 12px;
  border-radius: 6px;
  width: 144px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.07px;
  color: var(--status-normal);
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Table --- */
.bt-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.bt-table__th {
  background: #F7FAFC;
  height: 38px;
  padding: 8px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #4A5568;
  text-align: left;
  white-space: nowrap;
}

.bt-table__th--val {
  text-align: right;
}

/* Data rows */
.bt-row {
  height: 38px;
}

.bt-row--white { background: #FFFFFF; }
.bt-row--grey  { background: #F7FAFC; }

.bt-row--white .bt-cell { background: #FFFFFF; }
.bt-row--grey .bt-cell  { background: #F7FAFC; }

.bt-cell {
  height: 38px;
  padding: 8px;
  vertical-align: middle;
}

/* Name cell — left border by status */
.bt-cell--name {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 15px;
  line-height: 22.5px;
  color: #4A5568;
  white-space: nowrap;
}

.bt-cell--border-normal  { border-left: 3px solid var(--status-normal-border); }
.bt-cell--border-critical { border-left: 3px solid var(--status-critical-border); }
.bt-cell--border-warn    { border-left: 3px solid var(--status-warn-border); }

/* Value cell — monospace, right-aligned */
.bt-cell--value {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  color: #4A5568;
  text-align: right;
  white-space: nowrap;
}

/* Ref + Unit cells */
.bt-cell--ref,
.bt-cell--unit {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Status cell — badge fills entire cell (matches Figma: cell IS the badge) */
.bt-cell--status {
  padding: 0;
  background: transparent !important;
}

/* Status badges — flex fills cell width */
.bt-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.195px;
  white-space: nowrap;
  height: 100%;
  box-sizing: border-box;
}

.bt-status--normal {
  background: var(--status-normal-bg);
  border: 3px solid var(--status-normal-border);
  color: var(--status-normal);
}

.bt-status--critical {
  background: var(--status-critical-bg);
  border: 3px solid var(--status-critical-border);
  color: var(--status-critical);
}

.bt-status--warn {
  background: var(--status-warn-bg);
  border: 3px solid var(--status-warn-border);
  color: var(--status-warn);
}

.bt-status svg {
  flex-shrink: 0;
}

/* --- AI interpretation block --- */
.bt-ai {
  background: #EEF2FF;
  padding: 16px;
  border-radius: 10px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  overflow: hidden;
}

.bt-ai__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.bt-ai__text {
  flex: 1 0 0;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-primary);
}

.bt-ai__text p + p {
  margin-top: 16px;
}

/* --- Download button --- */
.bt-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1.5px solid var(--color-primary);
  border-radius: 10px;
  background: transparent;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.07px;
  color: var(--color-primary);
  cursor: pointer;
  white-space: nowrap;
  align-self: flex-start;
}

.bt-download:hover {
  background: rgba(74, 144, 217, 0.05);
}

/* --- Tooltip card: "Ниже нормы — обсудите с врачом" --- */
.report-tooltip-card {
  position: absolute;
  left: 748px;
  top: 42px;
  width: 164px;
  background: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 8px 32px rgba(99, 102, 241, 0.2);
  overflow: hidden;
}

.report-tooltip-card p {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-secondary);
}

/* --- Arrow connector --- */
.report-arrow-connector {
  position: absolute;
  left: 738px;
  top: 121px;
  width: 94px;
  height: 60px;
}

.report-arrow-connector svg {
  width: 100%;
  height: 100%;
}

/* --- Demo tooltip (bottom of card, centered under "Скачать PDF" button) --- */
.report-demo-tooltip {
  position: absolute;
  left: -45px;
  bottom: -24px;
}

.report-demo-tooltip svg {
  display: block;
}

/* --- Pulse-Line divider (section 4) --- */
.report-pulse {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.report-pulse__svg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   SECTION 5 — FEATURES
   "Больше, чем расшифровка"
   ═══════════════════════════════════════ */

.features {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 80px;
  isolation: isolate;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 24.54%);
}

/* --- Data Dots pattern overlay (Features) --- */
.features::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Ccircle cx='25' cy='40' r='3' fill='%234A90D9' opacity='0.08'/%3E%3Ccircle cx='180' cy='20' r='7' fill='%236366F1' opacity='0.05'/%3E%3Ccircle cx='270' cy='65' r='4' fill='%23818CF8' opacity='0.03'/%3E%3Ccircle cx='85' cy='110' r='8' fill='%236366F1' opacity='0.05'/%3E%3Ccircle cx='220' cy='130' r='2.5' fill='%234A90D9' opacity='0.08'/%3E%3Ccircle cx='50' cy='190' r='5' fill='%23818CF8' opacity='0.03'/%3E%3Ccircle cx='160' cy='210' r='6' fill='%234A90D9' opacity='0.08'/%3E%3Ccircle cx='290' cy='180' r='3.5' fill='%236366F1' opacity='0.05'/%3E%3Ccircle cx='120' cy='270' r='4.5' fill='%234A90D9' opacity='0.08'/%3E%3Ccircle cx='240' cy='260' r='7.5' fill='%23818CF8' opacity='0.03'/%3E%3Ccircle cx='15' cy='280' r='2' fill='%236366F1' opacity='0.05'/%3E%3Ccircle cx='200' cy='85' r='5.5' fill='%23818CF8' opacity='0.03'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 0;
}

/* Decorative glow (centered radial SVG, 829x829 overflow-hidden container) */
.features__glow {
  position: absolute;
  width: 829px;
  height: 829px;
  left: 50%;
  top: 50%;
  transform: translate(calc(-50% + 0.5px), calc(-50% - 102.5px));
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.features__glow svg {
  display: block;
  width: 1040px;
  height: 1040px;
}

/* --- Content wrapper (bordered area) --- */
.features__content {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  padding: 80px 108px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

/* --- Block (vertical layout) --- */
.features__block {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  width: 100%;
}

/* --- H2 heading --- */
.features__h2 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
  margin: 0;
}

/* --- Cards grid (flex-wrap, 3 columns) --- */
.features__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 8px;
  align-items: flex-start;
  align-content: flex-start;
  width: 766px;
}

/* --- Feature card --- */
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  gap: 40px;
  width: 250px;
  height: 360px;
  background: #FFFFFF;
  box-shadow: 0px 1px 3px 0.8px rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  overflow: hidden;
}

/* --- Card icon (40x40 rounded rect) --- */
.feature-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.feature-card__icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

/* --- Card title block --- */
.feature-card__title-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  flex: 1 0 0;
  min-height: 0;
}

/* --- Card title (H3) --- */
.feature-card__title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -1px;
  color: #1A202C;
  width: 100%;
  margin: 0;
}

/* --- Card description --- */
.feature-card__desc {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0px;
  color: #718096;
  width: 100%;
  height: 60px;
  margin: 0;
}

/* --- Card mini-visualization --- */
.feature-card__ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 60px;
  flex-shrink: 0;
}

.feature-card__ui svg {
  display: block;
  width: 210px;
  height: 60px;
}

/* --- Pulse-Line divider (section 5) --- */
.features-pulse {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.features-pulse__svg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* ===== Section 6: Support Labs ===== */

.labs {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 80px;
  background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 31.97%);
}

.labs__content {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  padding: 80px 108px;
}

.labs__block {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.labs__h2 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

.labs__cards {
  display: flex;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

/* LabCard (all cards) */
.lab-card {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex: 1 1 0;
  min-width: 0;
  height: 64px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}

.lab-card__row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.lab-card__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lab-card__name {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -1px;
  color: var(--text-primary);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* LabCardUniversal (card 6) */
.lab-card--universal {
  border: 1px dashed #CBD5E0;
}

.lab-card__plus {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.lab-card__title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -1px;
  color: var(--text-primary);
}

/* Labs Pulse-Line */
.labs-pulse {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.labs-pulse__svg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* ===== Section 7: Safety ===== */

.safety {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 28.64%);
}

.safety__content {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  padding: 80px 108px;
  overflow: hidden;
}

.safety__waves {
  position: absolute;
  width: 1014px;
  height: 676px;
  left: 50%;
  top: calc(50% + 57.5px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.safety__waves svg {
  width: 100%;
  height: 100%;
}

.safety__block {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.safety__h2 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  text-align: center;
  color: var(--text-primary);
}

.safety__cards {
  display: flex;
  gap: 18px;
  align-items: center;
}

.trust-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  width: 250px;
  height: 267px;
  background: #FFFFFF;
  border-left: 3px solid #4A90D9;
  box-shadow: 0px 1px 3px 0.8px rgba(99, 102, 241, 0.2);
  border-radius: 0px 10px 10px 0px;
  overflow: hidden;
}

.trust-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.trust-card__title-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  height: 100px;
}

.trust-card__title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -1px;
  color: var(--text-primary);
  width: 100%;
}

.trust-card__desc {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0px;
  color: var(--text-secondary);
  width: 100%;
}

/* Safety Pulse-Line */
.safety-pulse {
  position: relative;
  z-index: 1;
  width: 100%;
  border-left: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.safety-pulse__svg {
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* ===== Section 8: FAQ ===== */

.faq {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 80px;
  background: linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 35.24%);
}

.faq__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 680px;
  padding: 80px 0 160px 0;
}

.faq__block {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: flex-start;
  width: 100%;
}

.faq__h2 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  text-align: center;
  color: var(--text-primary);
  width: 100%;
  white-space: nowrap;
}

.faq__rows {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/* --- AccordeonItem --- */

.faq-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 680px;
}

.faq-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  cursor: pointer;
  user-select: none;
}

.faq-item__question {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  color: var(--text-primary);
  flex: 1 0 0;
  transition: color 200ms ease;
}

.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 200ms ease;
}

/* Bottom border (replaces Vector 6 Stroke from Figma) */
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

/* --- Answer area --- */

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 250ms ease, opacity 250ms ease;
}

.faq-item__answer-text {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 15px;
  line-height: 22.5px;
  letter-spacing: 0px;
  color: var(--text-secondary);
  padding: 8px 0 25px 0;
}

/* --- Active state --- */

.faq-item--active .faq-item__question {
  color: #4A90D9;
}

.faq-item--active .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item--active .faq-item__answer {
  opacity: 1;
}

/* ===== Section 9: Final CTA ===== */

.final-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 80px;
  background: linear-gradient(279.04deg, #6366F1 0%, #4A90D9 100%);
  isolation: isolate;
  overflow: hidden;
}

/* --- Neural Grid pattern overlay (CTA) --- */
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Ccircle cx='18' cy='18' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='54' cy='18' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='90' cy='18' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='126' cy='18' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='162' cy='18' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='18' cy='54' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='54' cy='54' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='90' cy='54' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='126' cy='54' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='162' cy='54' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='18' cy='90' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='54' cy='90' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='90' cy='90' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='126' cy='90' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='162' cy='90' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='18' cy='126' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='54' cy='126' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='90' cy='126' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='126' cy='126' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='162' cy='126' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='18' cy='162' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='54' cy='162' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='90' cy='162' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='126' cy='162' r='1.5' fill='%23ffffff'/%3E%3Ccircle cx='162' cy='162' r='1.5' fill='%23ffffff'/%3E%3Cline x1='18' y1='18' x2='54' y2='18' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='90' y1='18' x2='90' y2='54' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='126' y1='54' x2='162' y2='54' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='54' y1='90' x2='54' y2='126' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='90' y1='90' x2='126' y2='90' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='162' y1='126' x2='162' y2='162' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='18' y1='162' x2='54' y2='162' stroke='%23ffffff' stroke-width='0.5'/%3E%3Cline x1='126' y1='126' x2='126' y2='162' stroke='%23ffffff' stroke-width='0.5'/%3E%3C/svg%3E") repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* --- Gradient Glows --- */

.final-cta__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.final-cta__glow--1 {
  left: 34.5px;
  top: -200px;
  background: rgba(99, 102, 241, 0.4);
}

.final-cta__glow--2 {
  left: 66.67%;
  top: 205px;
  transform: translateX(-22.5px);
  background: rgba(74, 144, 217, 0.4);
}

/* --- Content --- */

.final-cta__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 80px 108px 160px 108px;
}

.final-cta__block {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.final-cta__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-align: center;
  width: 100%;
}

.final-cta__h2 {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -1px;
  color: #FFFFFF;
  width: 100%;
}

.final-cta__subtitle {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 15px;
  line-height: 22.5px;
  letter-spacing: 0px;
  color: #FFFFFF;
  width: 100%;
}

.final-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #FFFFFF;
  border-radius: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.07px;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

/* hover handled in @media (hover: hover) block */

/* ===== Section 10: Footer ===== */

.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 80px;
  background: #1A202C;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
  padding: 80px 40px 160px 40px;
}

.footer__blocks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 49px;
}

/* --- Logo block --- */

.footer__logo-block {
  display: flex;
  gap: 40px;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
}

.footer__logo {
  width: 140px;
  height: 36px;
  flex-shrink: 0;
}

.footer__copyright {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0px;
  color: #FFFFFF;
  width: 112px;
  white-space: nowrap;
}

/* --- Privacy links --- */

.footer__privacy {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
}

.footer__link {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0px;
  color: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  padding: 14px 10px;
  transition: color 150ms ease;
}

.footer__link:hover {
  color: #4A90D9;
  text-decoration: underline;
}

.footer__link--terms {
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.07px;
  color: #4A90D9;
  text-decoration: underline;
}

.footer__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2px;
  font-size: 0;
  color: #A0AEC0;
}

.footer__sep::before {
  content: '';
  display: block;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #A0AEC0;
}

/* --- Contact block --- */

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  width: 127px;
}

.footer__email {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0px;
  color: #FFFFFF;
  text-decoration: none;
  text-align: right;
  width: 100%;
  transition: color 150ms ease;
}

.footer__email:hover {
  color: #4A90D9;
  text-decoration: underline;
}

/* --- Disclaimer --- */

.footer__disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #4A90D9;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
}

.footer__disclaimer-text {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0px;
  color: #A0AEC0;
  flex: 1 0 0;
}


/* ═══════════════════════════════════════
   HAMBURGER BUTTON (hidden on desktop)
   ═══════════════════════════════════════ */

.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger__line {
  display: block;
  width: 24px;
  height: 1.75px;
  background: #CBD5E0;
  border-radius: 1.75px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════
   SIDEBAR + OVERLAY (hidden on desktop)
   ═══════════════════════════════════════ */

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  left: -100%;
  top: 0;
  width: 85vw;
  max-width: 375px;
  height: 100dvh;
  background: #FFFFFF;
  z-index: 200;
  transition: left 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: 100px;
}

.sidebar.open {
  left: 0;
}

.sidebar__top {
  display: flex;
  align-items: flex-start;
  gap: 81px;
  padding: 24px 24px 20px 24px;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.sidebar__close {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.sidebar__logo {
  width: 116px;
  height: auto;
  flex-shrink: 0;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex: 1 0 0;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 12px;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 15px;
  line-height: 22.5px;
  color: #718096;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
}

.sidebar__link:hover,
.sidebar__link.active {
  background: #EEF2FF;
  border-left: 3px solid #6366F1;
  color: #6366F1;
}

.sidebar__link svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.sidebar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 24px 40px 24px;
  padding: 14px 28px;
  background: linear-gradient(-56deg, #6366F1 0%, #4A90D9 100%);
  border-radius: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.08px;
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════
   DATA CHIP FLOAT ANIMATION (Hero)
   ═══════════════════════════════════════ */

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ═══════════════════════════════════════
   HERO REVERSE-REVEAL ANIMATION (desktop only)
   ═══════════════════════════════════════ */

@media (min-width: 769px) {

  /* --- Overlay: starts fully opaque, fades out at end --- */
  .hero-anim-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: #F7F9FC;
    pointer-events: none;
    opacity: 1;
    animation: hero-overlay 4.5s ease forwards;
  }

  /* --- PDF SVG --- */
  .hero-anim-overlay__pdf {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: hero-pdf 4.5s ease forwards;
  }

  /* --- Sparkles --- */
  .hero-anim-sparkles {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: hero-sparkle 4.5s ease forwards;
  }

  /* --- Decompose lines --- */
  .hero-anim-lines {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    animation: hero-lines 4.5s ease forwards;
  }

  .hero-anim-line {
    width: 160px;
    height: 2px;
    background: #CBD5E0;
    border-radius: 1px;
  }

  /* Hide background PDF outline during animation */
  .hero-mockup__pdf {
    opacity: 0;
    animation: hero-bg-reveal 4.5s ease forwards;
  }

  .hero-mockup__sparkles {
    opacity: 0;
    animation: hero-bg-reveal 4.5s ease forwards;
  }

  /* --- Chips: hidden during overlay, appear with stagger after card --- */
  .hero-chip--ai {
    opacity: 0;
    animation: chip-float 5s ease-in-out infinite, hero-chip-stagger 4.5s ease forwards;
    animation-delay: 0s, 0s;
  }

  .hero-chip--sparkline {
    opacity: 0;
    animation: chip-float 4s ease-in-out infinite, hero-chip-stagger 4.5s ease forwards;
    animation-delay: -1.5s, 0.15s;
  }

  .hero-chip--doc {
    opacity: 0;
    animation: chip-float 6s ease-in-out infinite, hero-chip-stagger 4.5s ease forwards;
    animation-delay: -3s, 0.3s;
  }

  /* --- Post-overlay: table row flash --- */
  .hero-card .mini-table tbody tr {
    animation: hero-row-flash 4.5s ease forwards;
  }
  .hero-card .mini-table tbody tr:nth-child(2) { animation-delay: 0.08s; }
  .hero-card .mini-table tbody tr:nth-child(3) { animation-delay: 0.16s; }
  .hero-card .mini-table tbody tr:nth-child(4) { animation-delay: 0.24s; }
  .hero-card .mini-table tbody tr:nth-child(5) { animation-delay: 0.32s; }
  .hero-card .mini-table tbody tr:nth-child(6) { animation-delay: 0.40s; }

  /* --- Post-overlay: status badges --- */
  .hero-card .mt-badge {
    animation: hero-badge-cycle 4.5s ease forwards;
  }
  .hero-card .mini-table tbody tr:nth-child(1) .mt-badge { animation-delay: 0s; }
  .hero-card .mini-table tbody tr:nth-child(2) .mt-badge { animation-delay: 0.07s; }
  .hero-card .mini-table tbody tr:nth-child(3) .mt-badge { animation-delay: 0.14s; }
  .hero-card .mini-table tbody tr:nth-child(4) .mt-badge { animation-delay: 0.21s; }
  .hero-card .mini-table tbody tr:nth-child(5) .mt-badge { animation-delay: 0.28s; }
  .hero-card .mini-table tbody tr:nth-child(6) .mt-badge { animation-delay: 0.35s; }

  /* --- Post-overlay: AI block slide up --- */
  .hero-card__ai {
    animation: hero-ai-cycle 4.5s ease forwards;
  }

  /* --- Post-overlay: Download button fade in --- */
  .hero-card__dl {
    animation: hero-dl-cycle 4.5s ease forwards;
  }

  /* --- KEYFRAMES --- */

  @keyframes hero-overlay {
    0% { opacity: 0; }
    18% { opacity: 0; }
    27% { opacity: 1; }
    78% { opacity: 1; }
    100% { opacity: 0; }
  }

  @keyframes hero-pdf {
    0%, 27% { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
    36% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    44% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    51% { opacity: 0; transform: translate(-50%, -50%) scale(1.02); }
    100% { opacity: 0; }
  }

  @keyframes hero-lines {
    0%, 49% { opacity: 0; }
    53% { opacity: 0.5; }
    62% { opacity: 0.5; }
    67% { opacity: 0; }
    100% { opacity: 0; }
  }

  @keyframes hero-sparkle {
    0%, 64% { opacity: 0; transform: translate(-50%, -50%) scale(0.7); }
    69% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    73% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    76% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
    80% { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0; }
  }

  @keyframes hero-bg-reveal {
    0%, 78% { opacity: 0; }
    100% { opacity: 1; }
  }

  /* Chips: hidden during overlay, fade in after card appears */
  @keyframes hero-chip-stagger {
    0%, 84% { opacity: 0; }
    95% { opacity: 1; }
    100% { opacity: 1; }
  }

  /* Row flash: visible at start, hidden during overlay, flash highlight on reveal */
  @keyframes hero-row-flash {
    0%, 17% { background-color: transparent; }
    18% { background-color: transparent; }
    78% { background-color: transparent; }
    82% { background-color: #EEF2FF; }
    92% { background-color: transparent; }
    100% { background-color: transparent; }
  }

  /* Badges: visible at start, hidden during overlay, fade in with row flash */
  @keyframes hero-badge-cycle {
    0%, 17% { opacity: 1; }
    22% { opacity: 0; }
    82% { opacity: 0; }
    93% { opacity: 1; }
    100% { opacity: 1; }
  }

  /* AI block: visible at start, hidden during overlay, slide up AFTER card */
  @keyframes hero-ai-cycle {
    0%, 17% { opacity: 1; transform: translateY(0); }
    22% { opacity: 0; transform: translateY(8px); }
    88% { opacity: 0; transform: translateY(8px); }
    97% { opacity: 1; transform: translateY(0); }
    100% { opacity: 1; transform: translateY(0); }
  }

  /* Download button: visible at start, hidden during overlay, fade in LAST */
  @keyframes hero-dl-cycle {
    0%, 17% { opacity: 1; }
    22% { opacity: 0; }
    92% { opacity: 0; }
    100% { opacity: 1; }
  }

}

/* --- Mobile: no animation --- */
@media (max-width: 768px) {
  .hero-anim-overlay {
    display: none !important;
  }
}

/* ═══════════════════════════════════════
   MICRO-ANIMATIONS — Section 3 (desktop only)
   ═══════════════════════════════════════ */

@keyframes sparkles-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.15); }
}

@keyframes connector-draw {
  from { stroke-dashoffset: 230; }
  to { stroke-dashoffset: 0; }
}

@media (min-width: 769px) {

  /* --- Sparkles pulsation (Step 2 card) --- */
  .scroll-reveal.is-visible .hiw-sparkles-icon {
    animation: sparkles-pulse 2s ease-in-out infinite;
  }

  /* --- Connector lines draw-in --- */
  .hiw-connector__svg-desktop path {
    stroke-dasharray: 230;
    stroke-dashoffset: 230;
  }

  .scroll-reveal.is-visible .hiw-connector__svg-desktop path {
    animation: connector-draw 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.3s;
  }

  .scroll-reveal.is-visible .hiw-connector--2 .hiw-connector__svg-desktop path {
    animation-delay: 0.5s;
  }

  /* --- Connector dots fade-in --- */
  .hiw-connector__svg-desktop circle {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .scroll-reveal.is-visible .hiw-connector--1 .hiw-connector__svg-desktop circle {
    opacity: 1;
    transition-delay: 1s;
  }

  .scroll-reveal.is-visible .hiw-connector--2 .hiw-connector__svg-desktop circle {
    opacity: 1;
    transition-delay: 1.2s;
  }

}

/* ═══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════ */

/* --- Base state: hidden --- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Revealed state --- */
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Stagger delays for child elements --- */
.scroll-reveal .scroll-stagger:nth-child(1) { transition-delay: 0s; }
.scroll-reveal .scroll-stagger:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal .scroll-stagger:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal .scroll-stagger:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal .scroll-stagger:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal .scroll-stagger:nth-child(6) { transition-delay: 0.3s; }

/* --- Stagger children also hidden initially --- */
.scroll-reveal .scroll-stagger {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.is-visible .scroll-stagger {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   HOVER EFFECTS (desktop only)
   ═══════════════════════════════════════ */

@media (hover: hover) {

  /* --- Problem cards (section 2) --- */
  .problem-card {
    transition: transform 200ms ease, box-shadow 200ms ease;
  }
  .problem-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(99, 102, 241, 0.25);
  }

  /* --- How It Works step cards (section 3) --- */
  .hiw-step__card {
    transition: transform 200ms ease, box-shadow 200ms ease;
  }
  .hiw-step__card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0px 4px 12px rgba(99, 102, 241, 0.25);
  }

  /* --- Feature cards (section 5) --- */
  .feature-card {
    transition: transform 200ms ease, box-shadow 200ms ease;
  }
  .feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(99, 102, 241, 0.25);
  }

  /* --- Lab cards (section 6) --- */
  .lab-card {
    transition: transform 200ms ease, border-color 200ms ease;
  }
  .lab-card:hover {
    transform: translateY(-1px);
    border-color: #4A90D9;
  }

  /* --- Trust cards (section 7) --- */
  .trust-card {
    transition: transform 200ms ease, box-shadow 200ms ease, border-left-color 200ms ease;
  }
  .trust-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0px 4px 12px rgba(99, 102, 241, 0.25);
    border-left-color: #6366F1;
  }

  /* --- Hero CTA button glow (section 1) --- */
  .btn-hero-cta {
    transition: opacity 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  }
  .btn-hero-cta:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
  }

  /* --- Final CTA button glow (section 9) --- */
  .final-cta__btn {
    transition: opacity 150ms ease, transform 150ms ease, box-shadow 150ms ease;
  }
  .final-cta__btn:hover {
    opacity: 0.92;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
  }

  /* --- FAQ accordion rows (section 8) --- */
  .faq__row {
    transition: background-color 200ms ease;
  }
  .faq__row:hover {
    background-color: var(--bg-hover);
  }

}

/* ═══════════════════════════════════════
   MOBILE RESPONSIVE — max-width: 768px
   ═══════════════════════════════════════ */

@media (max-width: 768px) {

  /* ─── Global overflow fix ─── */
  html, body {
    overflow-x: hidden;
  }

  /* ─── Section wrappers — prevent horizontal overflow ─── */
  .hero, .problems, .how-it-works, .report-example,
  .features, .labs, .safety, .faq, .final-cta, .footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Hide demo tooltip (negative left causes overflow) */
  .report-demo-tooltip {
    display: none;
  }

  /* ─── General resets ─── */
  .site-header {
    padding: 0 16px;
  }

  .header-content {
    padding: 20px 0;
    gap: 0;
  }

  .hamburger {
    display: flex;
  }

  .btn-login {
    display: none;
  }

  .header-left {
    flex: 1;
    justify-content: center;
  }


  /* ─── Section 1: Hero ─── */

  .hero {
    padding: 0 16px;
    height: auto;
  }

  .hero-content {
    border-left: none;
    border-right: none;
    border-bottom: none;
    height: auto;
    padding: 40px 0 40px 0;
  }

  .hero-glow {
    display: none;
  }

  .hero-columns {
    flex-direction: column;
    height: auto;
    gap: 40px;
  }

  .hero-text {
    width: 100%;
    padding-top: 0;
    height: auto;
  }

  .hero-text__top {
    gap: 40px;
  }

  /* Issue 1: Shorter subtitle for mobile (CSS display switching) */
  .hero-subtitle {
    display: none;
  }

  .hero-subtitle-mobile {
    display: block;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -1px;
    color: var(--text-primary);
    text-align: center;
  }

  /* Issue 2: Hide beta note on mobile */
  .hero-beta-note {
    display: none;
  }

  /* Issue 3: Center text alignment (from Figma) */
  .hero-titles {
    text-align: center;
    align-items: center;
  }

  .hero-cta {
    align-items: center;
    text-align: center;
  }

  .hero-disclaimer {
    text-align: center;
  }

  .hero-counter {
    text-align: center;
  }

  /* Mockup container — 343×306 fixed, matching Figma */
  .hero-mockup {
    width: 343px;
    max-width: 100%;
    height: 306px;
    position: relative;
    display: block;
    overflow: visible;
    margin: 0 auto;
  }

  /* Disable hero animation on mobile — show final state */
  .hero-mockup,
  .hero-mockup * {
    animation: none !important;
    opacity: 1 !important;
  }

  /* PDF outline — 80×100, absolute at left:2 top:29 from Figma 99:4368 */
  .hero-mockup__pdf {
    display: block;
    position: absolute;
    width: 80px;
    height: 100px;
    left: 2px;
    top: 29px;
    transform: none;
  }

  /* MiniTable card — desktop width scaled down: 284/430 ≈ 0.66 */
  .hero-card {
    position: absolute;
    width: 430px;
    max-width: 430px;
    height: auto;
    left: 30px;
    top: 55px;
    transform: scale(0.66);
    transform-origin: top left;
    margin: 0;
  }

  /* Status badges — equal columns (flex 1 0 0) from Figma 99:4380 */
  .mini-table {
    table-layout: fixed;
  }

  .mini-table th:nth-child(1),
  .mini-table td:nth-child(1) { width: 25%; }
  .mini-table th:nth-child(2),
  .mini-table td:nth-child(2) { width: 25%; }
  .mini-table th:nth-child(3),
  .mini-table td:nth-child(3) { width: 25%; }
  .mini-table th:nth-child(4),
  .mini-table td:nth-child(4) { width: 25%; }

  .mini-table td:nth-child(4) {
    padding: 0;
  }

  .mt-badge {
    display: flex;
    width: 100%;
    justify-content: center;
    white-space: nowrap;
    font-size: 7.7px;
  }

  /* Sparkles — hidden on mobile (not in Figma animation-state) */
  .hero-mockup__sparkles {
    display: none;
  }

  /* Issue 4: Show data chips with exact Figma positions */

  /* AI chip — 78×78, absolute right:1 top:0 from Figma 99:4368 */
  .hero-chip--ai {
    display: flex;
    position: absolute;
    width: 78px;
    height: 78px;
    left: auto;
    right: 1px;
    top: 0;
    bottom: auto;
    transform: none;
    padding: 12px 0;
    gap: 11px;
    border-radius: 8px;
    animation: none;
  }

  .hero-chip__label {
    font-size: 11.5px;
    line-height: 18px;
  }

  /* Sparkline chip — near visual bottom-right of scaled card */
  .hero-chip--sparkline {
    display: flex;
    position: absolute;
    width: 114px;
    height: 69px;
    left: auto;
    right: 1px;
    top: 220px;
    bottom: auto;
    transform: none;
    padding: 11px 9px;
    border-radius: 8px;
    animation: none;
  }

  .hero-chip--sparkline svg {
    width: 95px;
    height: 47px;
  }

  /* Doc chip — near visual bottom-left of scaled card */
  .hero-chip--doc {
    display: flex;
    position: absolute;
    width: 51px;
    height: 51px;
    left: 1px;
    top: 220px;
    bottom: auto;
    transform: none;
    right: auto;
    padding: 8px 0;
    border-radius: 2px;
    animation: none;
  }

  .hero-chip--doc svg {
    width: 33px;
    height: 33px;
  }

  /* Trust badges — flex-column, centered, from Figma node 98:2306 */
  .hero-badges {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 30px;
  }

  .trust-badge {
    width: 343px;
    max-width: 100%;
    padding: 16px;
    justify-content: center;
    text-align: center;
  }

  .trust-badge span {
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.07px;
    white-space: normal;
    flex: 1 0 0;
  }

  .btn-hero-cta {
    align-self: stretch;
    text-align: center;
  }

  /* ─── Hero → Problems pulse-line divider (mobile only) ─── */
  .hero-divider {
    display: block;
    width: 100%;
    padding: 0 0 40px 0;
    background: #F7F9FC;
  }

  .hero-divider__svg {
    width: 100%;
    height: auto;
    display: block;
  }


  /* ─── Section 2: Problems ─── */

  .problems {
    padding: 0;
  }

  .problems-content {
    border-left: none;
    border-right: none;
    padding: 40px 16px;
    overflow: visible;
  }

  .problems-block {
    gap: 40px;
  }

  .problems-cards {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 8px 16px;
  }

  .problems-connector {
    display: none;
  }

  .problems-glow {
    display: none;
  }

  /* Navigation dots (mobile) */
  .problems__nav-dots {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 8px;
    margin-top: 30px;
  }

  .nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DDE5FF;
  }

  .nav-dot--active {
    background: #2B5F9E;
  }

  /* Pulse-Line: swap desktop SVG for mobile SVG */
  .problems-pulse {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0 0 40px 0;
  }

  .problems-pulse__svg {
    display: none;
  }

  .problems-pulse__svg-mobile {
    display: block;
    width: 100%;
    height: auto;
  }


  /* ─── Section 3: How It Works — CLEAN MOBILE ─── */

  .how-it-works {
    padding: 0 16px;
    overflow: visible;
  }

  .hiw-content {
    border-left: none;
    border-right: none;
    padding: 40px 0;
    overflow: visible;
  }

  .hiw-block {
    gap: 40px;
  }

  .hiw-cards {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }

  .hiw-connector {
    position: static;
    width: 40px;
    height: 41px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    pointer-events: none;
  }

  .hiw-connector svg {
    display: none !important;
  }

  svg.hiw-connector__svg-mobile {
    display: block !important;
    width: 40px !important;
    height: 41px !important;
    max-width: 40px !important;
    max-height: 41px !important;
    margin: 0 auto;
  }

  .hiw-step {
    width: 250px;
  }

  .hiw-step__card {
    height: auto;
  }

  /* Signal-Waves: hidden on mobile (causes page jump, barely visible at 5% opacity) */
  .hiw-signal-waves {
    display: none !important;
  }

  .hiw-pulse {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0 0 40px 0;
  }

  .hiw-pulse__svg {
    display: none !important;
  }

  .hiw-pulse__svg-mobile {
    display: block !important;
    width: 100%;
    height: auto;
  }

  /* ─── Section 4: Report Example ─── */

  .report-example {
    padding: 0 16px;
  }

  .report-example__content {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 80px 0;
  }

  .report-example__block {
    gap: 40px;
    align-items: center;
  }

  .report-example__showcase {
    width: 100%;
    position: relative;
  }

  /* Hide tooltip, arrow, demo-tooltip on mobile */
  .report-tooltip-card,
  .report-arrow-connector,
  .report-demo-tooltip {
    display: none !important;
  }

  /* BiomarkerTable card — Figma: 343px, rounded-16, shadow, padding 9px (scaled) */
  .biomarker-table {
    width: 100%;
    padding: 0;
    position: relative;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .biomarker-table__card {
    width: 100%;
    border-radius: 16px;
    padding: 9px;
    box-shadow: 0px 4px 14px 0px rgba(99, 102, 241, 0.2);
  }

  .biomarker-table__card-content {
    width: 100%;
    gap: 9px;
  }

  .biomarker-table__head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .biomarker-table__title-group {
    gap: 12px;
  }

  .biomarker-table__title {
    font-size: 14px;
    line-height: 21px;
  }

  .biomarker-table__date {
    font-size: 11px;
  }

  .biomarker-table__badge {
    padding: 4px 8px;
    font-size: 10px;
    width: auto;
  }

  /* Table — fit within 343px card */
  .bt-table {
    width: 100%;
    table-layout: auto;
  }

  .bt-table__th {
    font-size: 9px;
    padding: 6px 4px;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  .bt-cell {
    padding: 6px 4px;
    white-space: nowrap;
  }

  .bt-cell--name {
    font-size: 11px;
    line-height: 16px;
  }

  .bt-cell--value {
    font-size: 11px;
    line-height: 16px;
  }

  .bt-cell--ref,
  .bt-cell--unit {
    font-size: 9px;
    line-height: 14px;
  }

  .bt-cell--status {
    padding: 4px 2px;
  }

  .bt-status {
    font-size: 9px;
    padding: 2px 6px;
    gap: 2px;
    border-radius: 3px;
    white-space: nowrap;
  }

  .bt-status svg {
    width: 8px;
    height: 8px;
  }

  /* AI explanation card */
  .bt-ai-card {
    padding: 10px;
    gap: 10px;
    border-radius: 10px;
  }

  .bt-ai-card__icon {
    width: 16px;
    height: 16px;
  }

  .bt-ai-card__text {
    font-size: 12px;
    line-height: 18px;
  }

  /* Download button */
  .bt-download {
    padding: 8px 16px;
    border-radius: 10px;
  }

  .bt-download__text {
    font-size: 12px;
  }

  /* Pulse-Line divider: swap desktop for mobile */
  .report-pulse {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0;
  }

  .report-pulse__svg {
    display: none !important;
  }

  .report-pulse__svg-mobile {
    display: block !important;
    width: 100%;
    height: auto;
  }

  /* ─── Section 5: Features ─── */

  .features {
    padding: 0 16px;
    background: #F7F9FC;
  }

  .features__glow {
    display: none;
  }

  .features__content {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 80px 0;
  }

  .features__block {
    gap: 40px;
    align-items: center;
  }

  .features__h2 {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -1px;
    text-align: center;
  }

  /* Horizontal scroll for feature cards */
  .features__cards {
    display: flex;
    width: 100%;
    overflow-x: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    align-items: flex-start;
    align-content: initial;
    margin-left: -16px;
    margin-right: -16px;
    padding: 8px 16px;
    scrollbar-width: none;
  }

  .features__cards::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 250px;
    width: 250px;
    height: 360px;
    padding: 24px 20px;
    border-radius: 12px;
    gap: 40px;
    box-shadow: 0px 1px 3px 0.8px rgba(99, 102, 241, 0.2);
  }

  .feature-card__icon svg {
    width: 40px;
    height: 40px;
  }

  .feature-card__title {
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -1px;
  }

  .feature-card__desc {
    font-size: 13px;
    line-height: 20px;
  }

  .feature-card__ui {
    height: 60px;
  }

  /* Navigation dots */
  .features__nav-dots {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 8px;
    margin-top: 30px;
  }

  .features-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DDE5FF;
  }

  .features-dot--active {
    background: #2B5F9E;
  }

  /* Pulse-Line divider */
  .features-pulse {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0;
  }

  .features-pulse__svg {
    display: none !important;
  }

  .features-pulse__svg-mobile {
    display: block !important;
    width: 100%;
    height: auto;
  }

  /* ─── Section 6: Labs ─── */

  .labs {
    padding: 0 16px;
    background: white;
  }

  .labs__content {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 80px 0;
  }

  .labs__block {
    gap: 80px;
    align-items: center;
  }

  .labs__h2 {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -1px;
    text-align: center;
  }

  /* Horizontal scroll for lab cards */
  .labs__cards {
    display: flex;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 8px 16px;
    scrollbar-width: none;
  }

  .labs__cards::-webkit-scrollbar {
    display: none;
  }

  .lab-card {
    flex: 0 0 219px;
    width: 219px;
    height: 100px;
    padding: 20px;
    border-radius: 12px;
  }

  .lab-card__title {
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -1px;
  }

  .lab-card__desc {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.18px;
  }

  .lab-card--universal {
    flex: 0 0 219px;
    width: 219px;
  }

  /* Pulse-Line divider */
  .labs-pulse {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0;
  }

  .labs-pulse__svg {
    display: none !important;
  }

  .labs-pulse__svg-mobile {
    display: block !important;
    width: 100%;
    height: auto;
  }

  /* ─── Section 7: Safety ─── */

  .safety {
    padding: 0 16px;
    background: #F7F9FC;
    overflow: visible;
  }

  .safety__content {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 80px 0;
    overflow: visible;
  }

  .safety__block {
    gap: 80px;
    align-items: center;
  }

  .safety__h2 {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: -1px;
    text-align: center;
  }

  /* Cards: vertical stack on mobile */
  .safety__cards {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .trust-card {
    width: 250px;
    height: 267px;
    padding: 24px 20px;
    border-radius: 0 10px 10px 0;
    border-left: 3px solid #4A90D9;
    box-shadow: 0px 1px 3px 0.8px rgba(99, 102, 241, 0.2);
  }

  .trust-card__title {
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -1px;
  }

  .trust-card__desc {
    font-size: 13px;
    line-height: 20px;
  }

  /* Signal-Waves: show mobile, hide desktop */
  .safety__waves-desktop {
    display: none !important;
  }

  .safety__waves-mobile {
    display: block !important;
    width: 100%;
    height: auto;
  }

  .safety__waves {
    width: 375px;
    height: 1238px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: visible;
  }

  /* Pulse-Line divider */
  .safety-pulse {
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 0;
  }

  .safety-pulse__svg {
    display: none !important;
  }

  .safety-pulse__svg-mobile {
    display: block !important;
    width: 100%;
    height: auto;
  }

  /* ─── Section 8: FAQ ─── */

  .faq {
    padding: 0 16px;
  }

  .faq__content {
    width: 100%;
    padding: 80px 0 160px 0;
  }

  .faq__block {
    gap: 80px;
    align-items: center;
  }

  .faq__rows {
    width: 100%;
  }

  .faq-item {
    width: 100%;
  }

  /* ─── Section 9: Final CTA ─── */

  .final-cta {
    padding: 0 16px;
  }

  .final-cta__content {
    padding: 80px 0 160px 0;
  }

  .final-cta__glow--1 {
    left: -184px;
    top: -187px;
  }

  /* Hide second glow on mobile — Figma mobile has only 1 glow */
  .final-cta__glow--2 {
    display: none;
  }

  /* ─── Section 10: Footer ─── */

  .footer {
    padding: 0 16px;
  }

  .footer__content {
    padding: 80px 0 80px 0;
  }

  /* Blocks: vertical stack on mobile (horizontal row on desktop) */
  .footer__blocks {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    gap: 60px;
  }

  /* Logo block: vertical, centered */
  .footer__logo-block {
    flex-direction: column;
    align-items: center;
  }

  .footer__copyright {
    text-align: center;
  }

  /* Privacy links: vertical column, no separators */
  .footer__privacy {
    flex-direction: column;
    align-items: center;
  }

  /* Hide circle dividers on mobile */
  .footer__sep {
    display: none;
  }

  .footer__link {
    text-align: center;
    padding: 8px 10px;
  }

  /* Contact: centered */
  .footer__contact {
    width: auto;
    align-items: center;
  }

  .footer__email {
    text-align: center;
  }

  /* Disclaimer: full width (already 100% on desktop, just ensuring) */
  .footer__disclaimer {
    width: 100%;
  }

  /* Scroll reveal — reduce travel distance on mobile */
  .scroll-reveal {
    transform: translateY(12px);
  }
  .scroll-reveal .scroll-stagger {
    transform: translateY(8px);
  }

} /* end @media (max-width: 768px) */
