/* ═══════════════════════════════════════════════════════════════
   HISTAMOS — Enterprise-Grade Design System
   Scientific Decision Intelligence for Medicine & Life Sciences
   Dark Mode 3.0 · OLED Optimized · Pharma Enterprise Grade
   ═══════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  --bg: #05070a;
  --bg-elevated: #0a0e17;
  --bg-card: #0d121f;
  --bg-card-hover: #111827;
  --bg-glass: rgba(13, 18, 31, 0.72);
  --fg: #f0f4f8;
  --fg-soft: #c8d4e4;
  --muted: #8a9bb8;
  --muted-dim: #5a6a85;
  --accent: #3b82f6;
  --accent-bright: #60a5fa;
  --accent-dim: #1e3a5f;
  --accent-glow: rgba(59, 130, 246, 0.22);
  --accent-glow-strong: rgba(59, 130, 246, 0.35);
  --go: #22c55e;
  --go-glow: rgba(34, 197, 94, 0.2);
  --redesign: #f59e0b;
  --redesign-glow: rgba(245, 158, 11, 0.2);
  --stop: #ef4444;
  --stop-glow: rgba(239, 68, 68, 0.2);
  --abstain: #6b7280;
  --abstain-glow: rgba(107, 114, 128, 0.2);
  --border: rgba(255, 255, 255, 0.06);
  --border-bright: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(59, 130, 246, 0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --max-width: 1100px;
  --nav-height: 76px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  font-weight: 400;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

::selection { background: var(--accent-glow); color: var(--fg); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; position: relative; }

a { color: var(--accent-bright); text-decoration: none; transition: all 0.25s var(--ease-out-quart); }
a:hover { color: var(--fg); }

strong { font-weight: 700; color: var(--fg); }
em { font-style: italic; color: var(--muted); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 1000;
  transition: all 0.4s var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  color: var(--fg); text-decoration: none;
}

.nav-logo {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
  transition: all 0.3s var(--ease-spring);
}

.nav-brand:hover .nav-logo {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 30px var(--accent-glow-strong);
}

.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xs);
  font-size: 0.88rem; font-weight: 500;
  color: var(--fg-soft);
  position: relative;
  transition: all 0.25s var(--ease-out-quart);
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%) scaleX(0);
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.nav-links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-links a.active { color: var(--accent-bright); background: var(--accent-glow); }
.nav-links a.active::after { transform: translateX(-50%) scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.4rem !important;
  margin-left: 0.5rem;
  box-shadow: 0 4px 20px var(--accent-glow);
  border: none !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 28px var(--accent-glow-strong); }
.nav-cta::after { display: none !important; }

/* Language Switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 0.15rem;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.lang-switcher a {
  font-size: 0.78rem; font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-xs);
  color: var(--muted);
  transition: all 0.2s;
}

.lang-switcher a:hover { color: var(--fg-soft); background: rgba(255,255,255,0.04); }
.lang-switcher a.active {
  color: var(--accent-bright);
  background: var(--accent-glow);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}

.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--fg-soft);
  border-radius: 1px;
  transition: all 0.3s var(--ease-out-expo);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59,130,246,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 20% 60%, rgba(96,165,250,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-content { position: relative; z-index: 2; max-width: 880px; }

.hero-tag {
  display: inline-block;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-bright);
  padding: 0.5rem 1.2rem;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #93c5fd 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--fg-soft);
  max-width: 680px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.hero-question {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--fg);
  margin: 2rem 0 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}

.hero-question::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-dim);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow-strong), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover::before { opacity: 1; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: var(--radius); }

.btn-outline {
  background: transparent;
  color: var(--fg-soft);
  border: 1.5px solid var(--border-bright);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-glow);
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-full { width: 100%; }

/* ═══ SECTIONS ═══ */
.section { position: relative; padding: 7rem 0; }
.section-alt {
  background: var(--bg-elevated);
  position: relative;
}
.section-alt::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.section-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2.5rem;
  color: var(--fg);
}

.content-block { max-width: 760px; }
.content-block p {
  font-size: 1.1rem;
  color: var(--fg-soft);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.highlight-line {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--fg);
  margin: 2rem 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
  line-height: 1.4;
}

.learn-list, .constraint-list {
  font-size: 1.05rem;
  color: var(--fg-soft);
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  line-height: 1.7;
}

.quote-box {
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-dim) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.quote-box::before {
  content: '"';
  position: absolute; top: -0.2rem; left: 1rem;
  font-size: 6rem; font-weight: 900;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  font-family: Georgia, serif;
}
.quote-big {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.5;
  position: relative; z-index: 1;
}

.big-statement {
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.big-statement p {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.lead-paragraph {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-top: 1.5rem;
}

/* ═══ FOUNDER SECTION ═══ */
.founder-section {
  padding: 5rem 0;
  background: var(--bg-elevated);
  position: relative;
}
.founder-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
}

.founder-photo-wrap {
  position: relative;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  transition: all 0.4s var(--ease-out-expo);
}

.founder-photo-wrap::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  opacity: 0.3;
  z-index: -1;
  transition: opacity 0.4s;
}

.founder-photo-wrap:hover::before { opacity: 0.6; }
.founder-photo-wrap:hover .founder-photo {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}

.founder-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.founder-info .founder-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.founder-info p {
  font-size: 1rem;
  color: var(--fg-soft);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.founder-meta {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.founder-meta-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.founder-meta-item svg {
  width: 16px; height: 16px;
  color: var(--accent-bright);
}

/* ═══ SERVICE CARDS ═══ */
.service-card { padding: 5rem 0; position: relative; }
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}
.service-card-alt { background: var(--bg-elevated); }

.service-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.service-icon { font-size: 2rem; filter: drop-shadow(0 0 12px var(--accent-glow)); }
.service-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.service-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.service-card > .container > p {
  font-size: 1.05rem;
  color: var(--fg-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-exchange {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
}

.exchange-box {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out-quart);
}
.exchange-box:hover {
  border-color: var(--border-accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.exchange-box h5 {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 0.5rem;
}
.exchange-box p {
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.6;
}
.exchange-arrow {
  font-size: 1.5rem; font-weight: 700;
  color: var(--accent);
  animation: pulse-arrow 2s infinite;
}
@keyframes pulse-arrow {
  0%, 100% { opacity: 0.6; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

.service-value {
  margin: 2rem 0;
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--go);
}
.service-value h5 {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--go);
  margin-bottom: 0.75rem;
}
.service-value ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.5rem;
}
.service-value li {
  font-size: 0.95rem;
  color: var(--fg-soft);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}
.service-value li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--go);
  font-weight: 700;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.decision-box {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s var(--ease-out-quart);
  position: relative;
  overflow: hidden;
}
.decision-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 2px 2px 0 0;
}
.decision-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.decision-go::before { background: var(--go); }
.decision-redesign::before { background: var(--redesign); }
.decision-stop::before { background: var(--stop); }
.decision-abstain::before { background: var(--abstain); }
.decision-go:hover { border-color: var(--go); box-shadow: 0 8px 30px var(--go-glow); }
.decision-redesign:hover { border-color: var(--redesign); box-shadow: 0 8px 30px var(--redesign-glow); }
.decision-stop:hover { border-color: var(--stop); box-shadow: 0 8px 30px var(--stop-glow); }
.decision-abstain:hover { border-color: var(--abstain); box-shadow: 0 8px 30px var(--abstain-glow); }

.decision-label {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}
.decision-go .decision-label { color: var(--go); }
.decision-redesign .decision-label { color: var(--redesign); }
.decision-stop .decision-label { color: var(--stop); }
.decision-abstain .decision-label { color: var(--abstain); }
.decision-box p {
  font-size: 0.9rem;
  color: var(--fg-soft);
  line-height: 1.5;
}

.economic-logic {
  margin: 2rem 0;
  padding: 1.75rem;
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
}
.economic-logic h5 {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 0.75rem;
}
.economic-logic p {
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.cost-example {
  margin: 2rem 0;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.cost-example p {
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.7;
}
.cost-figure {
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  font-weight: 800 !important;
  color: var(--go) !important;
  margin: 0.75rem 0;
  text-shadow: 0 0 30px var(--go-glow);
  letter-spacing: -0.02em;
}
.cost-note {
  font-size: 0.8rem !important;
  color: var(--muted) !important;
  margin-top: 0.75rem;
}

/* ═══ CASE STUDY ═══ */
.case-headline {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.case-study { position: relative; }
.case-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.case-stat {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s var(--ease-out-quart);
}
.case-stat:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.stat-number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--accent-bright);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px var(--accent-glow);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.case-clarification {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--redesign);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.case-clarification p {
  font-size: 0.95rem;
  color: var(--fg-soft);
  line-height: 1.6;
}
.case-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.5rem 0;
}

/* ═══ REJECT SECTION ═══ */
.reject-section {
  text-align: center;
  padding: 6rem 0;
}
.reject-section .section-title { margin-bottom: 1.5rem; }
.reject-section > .container > p {
  font-size: 1.1rem;
  color: var(--fg-soft);
  max-width: 680px;
  margin: 0 auto 1rem;
}
.reject-stats {
  display: flex; justify-content: center; gap: 3rem;
  margin: 3rem 0;
}
.reject-stat { text-align: center; }
.reject-number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--stop);
  line-height: 1;
  text-shadow: 0 0 30px var(--stop-glow);
}
.reject-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}
.reject-takeaway {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: inline-block;
}
.reject-takeaway p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.5;
}

/* ═══ DIFFERENTIATION ═══ */
.disease-list { margin: 2rem 0; }
.disease-list p { font-size: 1rem; color: var(--muted); margin-bottom: 0.75rem; }
.disease-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  list-style: none;
}
.disease-tags li {
  padding: 0.4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-soft);
  transition: all 0.25s var(--ease-out-quart);
}
.disease-tags li:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: var(--accent-glow);
  transform: translateY(-1px);
}

.connections {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.connections p {
  font-size: 1rem;
  color: var(--fg-soft);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.connections p:last-child { margin-bottom: 0; }

/* ═══ NOT AI SECTION ═══ */
.not-ai-section {
  text-align: center;
  padding: 6rem 0;
}
.not-ai-section .section-title { margin-bottom: 1.5rem; }
.not-ai-section > .container > p {
  font-size: 1.1rem;
  color: var(--fg-soft);
  max-width: 680px;
  margin: 0 auto 1rem;
}
.ai-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 3rem auto 0;
}
.ai-side, .histamos-side {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.ai-side { background: var(--bg-card); }
.histamos-side {
  background: linear-gradient(135deg, var(--accent-dim) 0%, var(--bg-card) 100%);
  border-color: var(--border-accent);
}
.ai-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.histamos-side .ai-label { color: var(--accent-bright); }
.ai-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.5;
}
.ai-side .ai-question { color: var(--fg-soft); }

/* ═══ GET STARTED ═══ */
.bring-list {
  list-style: none;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.bring-list li {
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 0.95rem;
  color: var(--fg-soft);
  transition: all 0.25s var(--ease-out-quart);
  position: relative;
  padding-left: 2.25rem;
}
.bring-list li::before {
  content: '';
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-glow);
}
.bring-list li:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.decision-package {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.dp-item {
  font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.4rem 1rem;
  border-radius: 6px;
}
.dp-item:nth-child(1) { color: var(--go); background: var(--go-glow); }
.dp-item:nth-child(3) { color: var(--redesign); background: var(--redesign-glow); }
.dp-item:nth-child(5) { color: var(--stop); background: var(--stop-glow); }
.dp-item:nth-child(7) { color: var(--abstain); background: var(--abstain-glow); }
.dp-sep { color: var(--muted-dim); font-weight: 300; }

/* ═══ CONTACT PAGE ═══ */
.contact-hero {
  position: relative;
  padding: calc(var(--nav-height) + 5rem) 0 4rem;
  text-align: center;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59,130,246,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.contact-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--fg);
}
.contact-sub {
  font-size: 1.05rem;
  color: var(--fg-soft);
  max-width: 680px;
  margin: 0 auto 0.75rem;
  line-height: 1.7;
}

.contact-form-section { padding: 2rem 0 6rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright), var(--accent));
}

.form-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  color: var(--fg-soft);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--fg);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s var(--ease-out-quart);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-dim); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow), 0 0 20px var(--accent-glow);
  background: var(--bg);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a9bb8' d='M1 1l5 5 5-5' stroke='%238a9bb8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--fg);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}
.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--go);
  margin-bottom: 1rem;
}
.form-success p {
  font-size: 1rem;
  color: var(--fg-soft);
  margin-bottom: 1.5rem;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex; flex-direction: column; gap: 1.25rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s var(--ease-out-quart);
}
.sidebar-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.sidebar-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.sidebar-label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.sidebar-name {
  font-size: 1.1rem; font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.sidebar-location {
  font-size: 0.9rem;
  color: var(--fg-soft);
  margin-bottom: 0.75rem;
}
.sidebar-email {
  font-size: 0.95rem; font-weight: 600;
  color: var(--accent-bright);
  display: inline-block;
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}
.sidebar-email:hover { border-bottom-color: var(--accent); }

.sidebar-decisions {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.sd-item {
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  line-height: 1.5;
}
.sd-go { background: var(--go-glow); color: var(--go); }
.sd-redesign { background: var(--redesign-glow); color: var(--redesign); }
.sd-stop { background: var(--stop-glow); color: var(--stop); }
.sd-abstain { background: var(--abstain-glow); color: var(--abstain); }

.sidebar-disclaimer {
  background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, var(--bg-card) 100%);
  border-left: 3px solid var(--redesign);
}
.sidebar-disclaimer h3 { color: var(--redesign); }
.sidebar-disclaimer p {
  font-size: 0.85rem;
  color: var(--fg-soft);
  line-height: 1.6;
}

/* ═══ FOOTER ═══ */
.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-size: 1.5rem; font-weight: 900;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 1rem; font-weight: 600;
  color: var(--fg-soft);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.footer-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-contact p {
  font-size: 0.9rem;
  color: var(--fg-soft);
  line-height: 1.6;
}
.footer-name { font-weight: 700; color: var(--fg); }
.footer-role { color: var(--muted); }
.footer-location { color: var(--muted-dim); }
.footer-email {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--accent-bright);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer-email:hover { border-bottom-color: var(--accent); }
.footer-links {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--fg-soft);
  transition: all 0.2s;
}
.footer-links a:hover {
  color: var(--accent-bright);
  transform: translateX(3px);
}
.footer-disclaimer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--muted-dim);
  line-height: 1.6;
  max-width: 900px;
}
.footer-bottom { text-align: center; }
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted-dim);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .service-exchange { grid-template-columns: 1fr; }
  .exchange-arrow { transform: rotate(90deg); text-align: center; }
  .decision-grid { grid-template-columns: 1fr; }
  .ai-comparison { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: 1fr; }
  .reject-stats { flex-direction: column; gap: 2rem; }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-photo-wrap { max-width: 240px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: rgba(5, 7, 10, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-out-expo);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { width: 100%; padding: 0.75rem 1rem; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; }
  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    justify-content: center;
  }
  .nav-toggle { display: flex; }
  .section { padding: 4rem 0; }
  .hero { padding-top: calc(var(--nav-height) + 2rem); }
  .form-row { grid-template-columns: 1fr; }
  .service-value ul { grid-template-columns: 1fr; }
  .bring-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
