/* ==========================================================================
   GastroBioMetric Polska 2026 - Nordic Clean Biotech Design System
   Krajowy System Monitoringu Toksemii i Fitoterapii Jelit
   ========================================================================== */

:root {
  --nordic-dark: #091428;
  --nordic-navy: #0f243a;
  --nordic-slate: #1e3a5f;
  --nordic-card: #152d47;
  
  --bio-cyan: #06b6d4;
  --bio-cyan-light: #22d3ee;
  --bio-cyan-dim: rgba(6, 182, 212, 0.12);
  
  --bio-lime: #84cc16;
  --bio-lime-dark: #65a30d;
  --bio-lime-dim: rgba(132, 204, 22, 0.12);

  --bio-amber: #f59e0b;
  --bio-rose: #f43f5e;
  
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --border-focus: #06b6d4;

  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --text-light: #f8fafc;

  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 2px 10px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-elevated: 0 20px 40px -10px rgba(9, 20, 40, 0.16);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);
  --shadow-glow-lime: 0 0 25px rgba(132, 204, 22, 0.35);

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--bio-cyan);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: var(--bio-lime-dark);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Biotech HUD
   ========================================================================== */

.biotech-hud-bar {
  background: var(--nordic-dark);
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hud-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
}
.hud-status-indicator {
  width: 7px;
  height: 7px;
  background: var(--bio-lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--bio-lime);
  animation: hud-blink 2s infinite;
}
@keyframes hud-blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--nordic-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.brand-name span {
  color: var(--bio-cyan);
}
.brand-subline {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}
.nav-item-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 2px;
  position: relative;
}
.nav-item-link:hover, .nav-item-link.active {
  color: var(--nordic-dark);
}
.nav-item-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bio-cyan);
  border-radius: 2px;
}
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--nordic-dark) 0%, var(--nordic-navy) 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 4px 14px rgba(9, 20, 40, 0.25);
  transition: var(--transition-fast);
}
.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-cyan);
  border-color: var(--bio-cyan);
}

.mobile-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--nordic-dark);
}

/* ==========================================================================
   Hero Section - Digital Health Terminal
   ========================================================================== */

.hero-terminal {
  background: radial-gradient(circle at 85% 15%, #e0f2fe 0%, #ecfdf5 45%, #f8fafc 100%);
  padding: 68px 0 54px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.pill-announcement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nordic-navy);
  box-shadow: var(--shadow-subtle);
  margin-bottom: 20px;
}
.pill-announcement i {
  color: var(--bio-cyan);
}

.hero-main-h1 {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 900;
  color: var(--nordic-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero-main-h1 .glow-word {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead-p {
  font-size: 1.06rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Hero Live Ticker */
.hero-ticker-box {
  display: flex;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.ticker-col h4 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--nordic-navy);
  line-height: 1;
  margin-bottom: 4px;
}
.ticker-col p {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
  line-height: 1.35;
}

/* Hero Interactive Terminal Widget */
.hero-terminal-card {
  background: var(--nordic-dark);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-elevated), var(--shadow-glow-cyan);
  position: relative;
  overflow: hidden;
}
.hero-terminal-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.terminal-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.terminal-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--bio-cyan);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--bio-cyan);
}
.terminal-card-title h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}
.terminal-card-title span {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
}

.terminal-checklist {
  list-style: none;
  margin: 20px 0 24px;
}
.terminal-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}
.terminal-checklist li i {
  color: var(--bio-lime);
  font-size: 1rem;
}

.btn-terminal-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--bio-cyan) 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.02rem;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
  transition: var(--transition-fast);
}
.btn-terminal-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.55);
  color: #ffffff;
}

/* ==========================================================================
   Interactive Organ Map & Diagnostic Matrix Section
   ========================================================================== */

.diagnostic-terminal-section {
  padding: 76px 0 64px;
  background: #f1f5f9;
}
.terminal-shell {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 1060px;
  margin: 0 auto;
}

.shell-header {
  background: linear-gradient(135deg, var(--nordic-dark) 0%, var(--nordic-navy) 100%);
  color: #ffffff;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.shell-title h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.shell-title p {
  color: #94a3b8;
  font-size: 0.84rem;
}
.shell-session-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.04em;
}

.shell-body {
  padding: 36px 32px;
}

/* Organ System Selector Grid (Interactive Tabs) */
.organ-matrix-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.organ-tabs-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.organ-tab-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f8fafc;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-fast);
}
.organ-tab-item:hover {
  border-color: var(--bio-cyan);
  background: #f0fdfa;
}
.organ-tab-item.active {
  border-color: var(--bio-cyan);
  background: #ecfeff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.15);
}
.organ-tab-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.organ-tab-icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--bio-cyan);
  box-shadow: var(--shadow-subtle);
}
.organ-tab-item.active .organ-tab-icon {
  background: var(--bio-cyan);
  color: #ffffff;
}
.organ-tab-text strong {
  display: block;
  font-size: 0.96rem;
  color: var(--nordic-dark);
}
.organ-tab-text span {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.organ-count-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: #e2e8f0;
  color: var(--text-muted);
}
.organ-tab-item.active .organ-count-badge {
  background: var(--bio-cyan);
  color: #ffffff;
}

/* Dynamic Organ Symptom Checkers */
.organ-details-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-subtle);
}
.organ-panel-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.organ-panel-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--nordic-dark);
}
.organ-panel-header p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.symptom-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.symptom-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}
.symptom-check-item:hover {
  background: #f1f5f9;
}
.symptom-check-item.selected {
  background: #ecfeff;
  border-color: var(--bio-cyan);
}
.symptom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-xs);
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  transition: var(--transition-fast);
}
.symptom-check-item.selected .symptom-checkbox {
  background: var(--bio-cyan);
  border-color: var(--bio-cyan);
  color: #ffffff;
}
.symptom-label-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--nordic-dark);
}
.symptom-label-text span {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* Interactive Sliders (Exposure, Diet, Frequency) */
.sliders-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}
.slider-control-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.slider-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.slider-control-header strong {
  font-size: 0.84rem;
  color: var(--nordic-dark);
}
.slider-val-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #e0f2fe;
  color: #0284c7;
}
.custom-range-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: #cbd5e1;
  border-radius: var(--radius-pill);
  outline: none;
  cursor: pointer;
}
.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bio-cyan);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.15s;
}
.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.slider-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 6px;
}

.terminal-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.btn-action-compute {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--bio-lime-dark) 0%, var(--bio-lime) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(132, 204, 22, 0.4);
  transition: var(--transition-fast);
}
.btn-action-compute:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(132, 204, 22, 0.55);
}

/* ==========================================================================
   Holographic Bioscanning Animation State
   ========================================================================== */

.hologram-scan-box {
  text-align: center;
  padding: 56px 20px;
  background: #091428;
  color: #ffffff;
  border-radius: var(--radius-xl);
}
.hologram-canvas-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hologram-ring-outer {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(6, 182, 212, 0.6);
  animation: rotate-clockwise 12s linear infinite;
}
.hologram-ring-middle {
  position: absolute;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  border: 2px solid var(--bio-lime);
  border-left-color: transparent;
  animation: rotate-counter 4s linear infinite;
}
.hologram-core-scanner {
  width: 68px;
  height: 68px;
  background: radial-gradient(circle, var(--bio-cyan) 0%, #0f2942 80%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.8rem;
  box-shadow: 0 0 30px var(--bio-cyan);
  animation: core-pulse 1.8s ease-in-out infinite alternate;
}
@keyframes rotate-clockwise { 100% { transform: rotate(360deg); } }
@keyframes rotate-counter { 100% { transform: rotate(-360deg); } }
@keyframes core-pulse {
  0% { transform: scale(0.9); box-shadow: 0 0 15px var(--bio-cyan); }
  100% { transform: scale(1.1); box-shadow: 0 0 35px var(--bio-lime); }
}

.hologram-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}
.hologram-sub {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.hologram-log-tracker {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
  list-style: none;
}
.log-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: #64748b;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 6px;
  transition: var(--transition-fast);
}
.log-item.active {
  background: rgba(6, 182, 212, 0.15);
  color: #38bdf8;
  font-weight: 700;
  border-left: 3px solid var(--bio-cyan);
}
.log-item.done {
  color: var(--bio-lime);
  background: rgba(132, 204, 22, 0.08);
}
.log-item i {
  width: 16px;
  text-align: center;
}

/* ==========================================================================
   Medical Passport & Phytosanitary Certificate View (Results)
   ========================================================================== */

.passport-certificate-card {
  background: #ffffff;
  border: 2px solid var(--nordic-navy);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.passport-watermark {
  position: absolute;
  top: 40%;
  right: -5%;
  font-family: var(--font-display);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(6, 182, 212, 0.03);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.passport-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid #0f172a;
  margin-bottom: 28px;
}
.passport-institute-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.passport-meta-pills {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}
.passport-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: var(--nordic-dark);
}

/* Biometric Speedometer / Risk Gauge */
.risk-gauge-container {
  text-align: center;
  min-width: 180px;
  background: var(--nordic-dark);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow-cyan);
}
.gauge-score-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: #f43f5e;
}
.gauge-score-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 4px;
}

/* 4 Diagnostic Pillars */
.pillars-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.pillar-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}
.pillar-card h4 {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--nordic-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pillar-card p {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.35;
  margin-bottom: 8px;
}
.pillar-track {
  height: 6px;
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.pillar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
}

/* 3-Phase Prescription Schedule */
.prescription-schedule-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
}
.schedule-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.schedule-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #064e3b;
}
.schedule-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.schedule-phase {
  background: #ffffff;
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-md);
  padding: 14px;
}
.schedule-phase strong {
  display: block;
  font-size: 0.82rem;
  color: #047857;
  margin-bottom: 4px;
}
.schedule-phase p {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Passport Footer Bar (Stamp, Barcode, Signature) */
.passport-security-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px dashed var(--border-light);
  flex-wrap: wrap;
  gap: 16px;
}
.security-stamp-box {
  display: flex;
  align-items: center;
  gap: 12px;
}
.stamp-seal {
  width: 48px;
  height: 48px;
  border: 2px dashed #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 1.2rem;
}
.stamp-text strong {
  display: block;
  font-size: 0.8rem;
  color: var(--nordic-dark);
}
.stamp-text span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.barcode-box {
  font-family: monospace;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  background: #f1f5f9;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  color: var(--nordic-navy);
}

/* ==========================================================================
   Phytocomplex Formula Lab (Interactive Herb Matrix)
   ========================================================================== */

.phytocomplex-section {
  padding: 76px 0 64px;
}
.section-tag-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bio-cyan);
  background: var(--bio-cyan-dim);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.section-headline {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--nordic-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 40px;
}

.herb-lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.herb-molecule-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.herb-molecule-card:hover {
  transform: translateY(-4px);
  border-color: var(--bio-cyan);
  box-shadow: var(--shadow-card);
}
.herb-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  align-self: flex-start;
}
.tag-cyan { background: var(--bio-cyan-dim); color: #0891b2; }
.tag-lime { background: var(--bio-lime-dim); color: #4d7c0f; }
.tag-rose { background: rgba(244, 63, 94, 0.1); color: #e11d48; }
.tag-amber { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.tag-purple { background: rgba(168, 85, 247, 0.1); color: #7e22ce; }
.tag-teal { background: rgba(13, 148, 136, 0.1); color: #0f766e; }

.herb-molecule-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--nordic-dark);
  margin-bottom: 10px;
}
.herb-molecule-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.herb-molecular-mechanic {
  font-size: 0.8rem;
  background: #f8fafc;
  border-left: 3px solid var(--bio-cyan);
  padding: 10px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--nordic-dark);
}

/* ==========================================================================
   Regional Pathogen Radar (Voivodeships)
   ========================================================================== */

.regional-radar-box {
  background: var(--nordic-dark);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  margin: 48px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-elevated);
}
.radar-headline-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.radar-headline-row h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
}
.radar-headline-row p {
  color: #94a3b8;
  font-size: 0.88rem;
}

.radar-voivodeships-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.radar-region-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.radar-region-card:hover, .radar-region-card.active {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--bio-cyan);
  transform: translateY(-2px);
}
.region-title-text {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin-bottom: 6px;
}
.region-percent-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--bio-cyan-light);
  line-height: 1;
  margin-bottom: 6px;
}
.region-note-text {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.3;
}

/* ==========================================================================
   FAQ & Clinical Review Accordion
   ========================================================================== */

.faq-container-shell {
  max-width: 860px;
  margin: 0 auto;
}
.faq-row-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-row-item:hover {
  border-color: var(--bio-cyan);
}
.faq-trigger-btn {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--nordic-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-trigger-btn i {
  color: var(--bio-cyan);
  transition: transform 0.3s ease;
}
.faq-row-item.active .faq-trigger-btn i {
  transform: rotate(180deg);
}
.faq-content-drawer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid #f8fafc;
  padding-top: 14px;
}
.faq-row-item.active .faq-content-drawer {
  display: block;
}

/* ==========================================================================
   Footer & Google Ads Disclaimers
   ========================================================================== */

.site-footer {
  background: var(--nordic-dark);
  color: #cbd5e1;
  padding: 68px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-col-item ul {
  list-style: none;
}
.footer-col-item ul li {
  margin-bottom: 10px;
}
.footer-col-item ul li a {
  font-size: 0.86rem;
  color: #94a3b8;
}
.footer-col-item ul li a:hover {
  color: var(--bio-cyan-light);
  padding-left: 4px;
}

.google-policy-disclaimer {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 32px;
}
.google-policy-disclaimer strong {
  color: var(--bio-amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-legal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: #64748b;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Subpages Formatting
   ========================================================================== */

.page-hero-banner {
  background: radial-gradient(circle at 75% 25%, #e0f2fe 0%, #f8fafc 70%);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border-light);
}
.page-hero-banner h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--nordic-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.page-hero-banner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 780px;
}

.subpage-container {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 40px;
  box-shadow: var(--shadow-subtle);
}
.subpage-container h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nordic-dark);
  margin: 32px 0 14px;
}
.subpage-container h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--nordic-navy);
  margin: 24px 0 10px;
}
.subpage-container p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.subpage-container ul {
  margin: 12px 0 20px 24px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.subpage-container ul li {
  margin-bottom: 8px;
}

/* ==========================================================================
   Responsive & Print Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .organ-matrix-layout {
    grid-template-columns: 1fr;
  }
  .herb-lab-grid {
    grid-template-columns: 1fr;
  }
  .radar-voivodeships-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-card);
    border-bottom: 1px solid var(--border-light);
  }
  .nav-menu.open {
    display: flex;
  }
  .hero-main-h1 {
    font-size: 2.1rem;
  }
  .hero-ticker-box {
    flex-direction: column;
    gap: 12px;
  }
  .sliders-matrix-grid {
    grid-template-columns: 1fr;
  }
  .pillars-matrix-grid {
    grid-template-columns: 1fr;
  }
  .schedule-columns {
    grid-template-columns: 1fr;
  }
  .radar-voivodeships-grid {
    grid-template-columns: 1fr;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
}

/* Print Mode for PDF Export */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .biotech-hud-bar, .main-header, .site-footer, .hero-terminal, .phytocomplex-section, .regional-radar-box, .faq-container-shell, .cookie-banner, .terminal-action-row {
    display: none !important;
  }
  .terminal-shell {
    box-shadow: none !important;
    border: none !important;
    max-width: 100% !important;
  }
  .passport-certificate-card {
    border: 2px solid #000 !important;
    padding: 20px !important;
  }
  .risk-gauge-container {
    background: #091428 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .prescription-schedule-box {
    background: #f0fdf4 !important;
    border: 1px solid #16a34a !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
