/* ============================================
   Baselayer Biosciences — Professional Site
   ============================================ */

:root {
  --navy-900: #0A1628;
  --navy-800: #0F2240;
  --navy-700: #162D54;
  --navy-600: #1E3A6A;
  --navy-500: #2A4F8A;
  --blue-500: #2D7FF9;
  --blue-400: #5B9BFF;
  --blue-300: #A3C7FF;
  --blue-100: #E8F1FF;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--slate-200);
  background: rgba(255,255,255,0.95);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--navy-900);
}
.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.logo-img { height: 36px; width: auto; }
.logo-text { letter-spacing: -0.02em; }
.logo-light { font-weight: 400; color: var(--slate-500); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--navy-900); }
.nav-cta {
  background: var(--navy-900) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--navy-700) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(45,127,249,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(45,127,249,0.04) 0%, transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-100);
  color: var(--navy-600);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 700px;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--slate-600);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-proof {
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
  font-size: 0.88rem;
  color: var(--slate-400);
  letter-spacing: 0.01em;
  max-width: 560px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
}
.btn-ghost:hover {
  border-color: var(--navy-900);
  background: var(--slate-50);
}
.btn-full { width: 100%; }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
  max-width: 560px;
}
.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--slate-500);
  letter-spacing: 0.01em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
}

/* ---- Trust Bar ---- */
.trust-bar {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
}
.trust-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---- Section Shared ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--blue-100);
  color: var(--navy-600);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ---- Platform Section ---- */
.platform {
  padding: 120px 0;
  background: var(--white);
}
.platform-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.platform-hero-text { max-width: 560px; }
.platform-hero-text .section-tag { margin-bottom: 16px; }
.platform-hero-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.platform-hero-text .section-desc {
  text-align: left;
}
.platform-hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.platform-hero-img img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.platform-card {
  padding: 40px 36px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.platform-card:hover {
  border-color: var(--slate-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.platform-card.featured {
  background: var(--navy-900);
  border-color: var(--navy-800);
  color: rgba(255,255,255,0.8);
}
.platform-card.featured h3 { color: var(--white); }
.platform-card.featured .platform-icon { color: var(--blue-400); }
.platform-card.featured:hover {
  border-color: var(--navy-600);
  box-shadow: 0 12px 40px rgba(10,22,40,0.3);
}
.platform-icon {
  width: 48px;
  height: 48px;
  color: var(--navy-600);
  margin-bottom: 20px;
}
.platform-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.platform-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---- Value Section ---- */
.value-section {
  padding: 120px 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.value-content .section-tag { margin-bottom: 16px; }
.value-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.value-content > p {
  font-size: 1.02rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 32px;
}
.value-list { display: flex; flex-direction: column; gap: 16px; }
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.5;
}
.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue-500);
  margin-top: 1px;
}

/* Value visual cards */
.value-visual { position: relative; }
.value-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vcard {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.vcard-header {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.vcard-bar {
  height: 6px;
  background: var(--slate-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.vcard-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  border-radius: 3px;
}
.vcard-meta {
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
}
.vcard-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.dot {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}
.dot-active {
  background: var(--blue-100);
  border-color: var(--blue-300);
}
.vcard-sparkline {
  margin-bottom: 10px;
  color: var(--blue-500);
}
.vcard-sparkline svg { width: 100%; height: 40px; }
.vcard-hdx-chart { margin-bottom: 10px; }
.vcard-hdx-chart svg { width: 100%; }

/* ---- Services ---- */
.services {
  padding: 120px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  padding: 36px 32px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--slate-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-img {
  margin: -36px -32px 20px -32px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--slate-100);
  height: 180px;
}
.service-img img {
  height: 140px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.service-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-500);
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-600);
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.service-tags li {
  padding: 4px 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--slate-500);
}
.service-card-cta {
  background: var(--navy-900);
  border-color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-cta-inner { text-align: center; }
.service-card-cta h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.service-card-cta p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.service-card-cta .btn-primary {
  background: var(--white);
  color: var(--navy-900);
}
.service-card-cta .btn-primary:hover {
  background: var(--slate-100);
}
.service-card-cta:hover {
  border-color: var(--navy-600);
  box-shadow: 0 12px 40px rgba(10,22,40,0.3);
  transform: translateY(-2px);
}

/* ---- Team ---- */
.team {
  padding: 120px 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.team-card:hover {
  border-color: var(--slate-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.team-avatar { margin-bottom: 20px; }
.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.team-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.82rem;
  color: var(--blue-500);
  font-weight: 500;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.85rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ---- CTA / Contact ---- */
.cta-section {
  padding: 120px 0;
  background: var(--white);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-content > p {
  font-size: 1.02rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--slate-600);
}
.cta-contact-item a {
  color: var(--navy-900);
  font-weight: 500;
  transition: color var(--transition);
}
.cta-contact-item a:hover { color: var(--blue-500); }
.cta-icon {
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  flex-shrink: 0;
}
.cta-form {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(45,127,249,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ---- Footer ---- */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .nav-logo { color: var(--white); }
.footer .logo-img { filter: brightness(0) invert(1); opacity: 0.9; height: 32px; }
.footer .logo-mark {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}
.footer .logo-light { color: rgba(255,255,255,0.4); }
.footer-tagline {
  font-size: 0.85rem;
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  gap: 80px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ---- HDX-MS Workflow ---- */
.workflow {
  margin: 0 0 60px 0;
  padding: 48px 40px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
}
.workflow-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 100px;
}
.workflow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}
.workflow-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-600);
  text-align: center;
  line-height: 1.4;
}
.workflow-connector {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--slate-300);
  margin-bottom: 30px;
}

/* ---- Advantages ---- */
.advantages {
  padding: 120px 0;
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.advantage-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.advantage-card:hover {
  border-color: var(--slate-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.advantage-icon {
  width: 40px;
  height: 40px;
  color: var(--blue-500);
  margin-bottom: 16px;
}
.advantage-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.advantage-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--slate-500);
}

/* ---- Molecule Experience ---- */
.molecules {
  padding: 120px 0;
  background: var(--navy-900);
}
.molecules .section-header { margin-bottom: 48px; }
.section-tag-light {
  background: rgba(45,127,249,0.15);
  color: var(--blue-400);
}
.molecules-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
  color: var(--white) !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.molecules-desc {
  color: rgba(255,255,255,0.5) !important;
}
.molecules-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.molecule-pill {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.molecule-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

/* ---- Instrumentation ---- */
.instruments {
  padding: 120px 0;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
}
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.instrument-card {
  padding: 28px 24px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.instrument-card:hover {
  border-color: var(--slate-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.instrument-vendor {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-500);
  margin-bottom: 8px;
}
.instrument-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.instrument-card p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--slate-500);
}
.instruments-software {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--slate-100);
}
.instruments-software h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.software-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.software-tags span {
  padding: 6px 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-600);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { gap: 48px; }
  .cta-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
  .hero { min-height: auto; padding: 120px 24px 60px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stat-divider { width: 40px; height: 1px; }
  .platform-hero { grid-template-columns: 1fr; gap: 32px; }
  .platform-hero-text .section-desc { text-align: left; }
  .platform-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .section-header { margin-bottom: 40px; }
  .platform, .services, .team, .cta-section, .value-section,
  .advantages, .molecules, .instruments { padding: 80px 0; }
  .advantages-grid { grid-template-columns: 1fr; }
  .instruments-grid { grid-template-columns: 1fr; }
  .platform-hero-img { display: none; }
  .workflow { padding: 32px 20px; }
  .workflow-steps { flex-direction: column; align-items: stretch; }
  .workflow-step { flex-direction: row; align-items: flex-start; gap: 16px; min-width: unset; }
  .workflow-label { text-align: left; }
  .workflow-connector { width: 2px; height: 28px; max-width: none; margin: 0 0 0 21px; }
}

/* ---- Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
