/* ==========================================================================
   SHANSONS PRECIX — COMPONENTS & UI CONTROLS (REDESIGNED NAVIGATION)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVIGATION & HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid #e4e4e7;
  z-index: 1000;
  transition: all var(--transition-smooth);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: #c5162a;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
}

/* Brand Logo Container */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 10;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  filter: none;
}

/* Floating Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(244, 244, 245, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.6rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  margin: 0 auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #27272a;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.nav-link:hover {
  color: #c5162a;
  background: rgba(197, 22, 42, 0.06);
}

.nav-link.active {
  color: #ffffff;
  background: #c5162a;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 22, 42, 0.3);
}

.nav-link svg.arrow-icon {
  width: 13px;
  height: 13px;
  transition: transform var(--transition-fast);
  stroke-width: 2.2;
}

.nav-link.active svg.arrow-icon {
  stroke: #ffffff;
}

.nav-item:hover .arrow-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: #ffffff;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1), 0 0 20px rgba(197, 22, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: #3f3f46;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.dropdown-link:hover {
  background: rgba(197, 22, 42, 0.06);
  color: #c5162a;
  padding-left: 1.1rem;
}

.dropdown-link .item-title {
  display: block;
  font-weight: 600;
  color: #09090b;
  margin-bottom: 0.15rem;
}

.dropdown-link .item-desc {
  display: block;
  font-size: 0.75rem;
  color: #71717a;
}

/* Header Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  z-index: 10;
}

.btn-search-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  color: #52525b;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-search-trigger:hover {
  border-color: #c5162a;
  color: #09090b;
  background: rgba(197, 22, 42, 0.06);
}

.btn-search-trigger kbd {
  background: #e4e4e7;
  color: #18181b;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

/* Modern Hamburger Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
  z-index: 2001;
}

.mobile-toggle:hover {
  background: rgba(197, 22, 42, 0.08);
  border-color: #c5162a;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #18181b;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #c5162a;
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #c5162a;
}

/* --------------------------------------------------------------------------
   2. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: #c5162a;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(197, 22, 42, 0.3);
}

.btn-primary:hover {
  color: #ffffff;
  background: #dc2626;
  box-shadow: 0 6px 22px rgba(220, 38, 38, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #09090b;
  color: #ffffff;
  border-color: #18181b;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: #18181b;
  border-color: #27272a;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-emerald {
  background: transparent;
  color: #c5162a;
  border-color: rgba(197, 22, 42, 0.4);
}

.btn-outline-emerald:hover {
  background: rgba(197, 22, 42, 0.08);
  border-color: #c5162a;
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   3. HERO SECTION & CANVAS
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(197, 22, 42, 0.07);
  border: 1px solid rgba(197, 22, 42, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  color: #c5162a;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  animation: pulse-glow 3s infinite;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5162a;
  box-shadow: 0 0 10px #c5162a;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  color: #09090b;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 760px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #c5162a;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Page Header Hero (for Inner Pages) */
.page-hero {
  padding-top: calc(var(--header-height) + 3.5rem);
  padding-bottom: 4rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   4. CORE MESSAGE BANNER
   -------------------------------------------------------------------------- */
.core-message-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(197, 22, 42, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(197, 22, 42, 0.08);
}

.core-message-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(197, 22, 42, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.core-message-headline {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #09090b;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
}

.core-message-desc {
  font-size: 1.15rem;
  color: #27272a;
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   5. SCIENTIFIC PHILOSOPHY (5 PRINCIPLES)
   -------------------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.4rem;
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.philosophy-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
  background: var(--bg-card-hover);
}

.philosophy-step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #c5162a;
  margin-bottom: 0.85rem;
  display: inline-block;
}

.philosophy-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.philosophy-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. INTERACTIVE SAMPLE-TO-INSIGHT WORKFLOW (Section 19)
   -------------------------------------------------------------------------- */
.workflow-simulator {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.workflow-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  position: relative;
}

.workflow-nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
  transform: translateY(-50%);
}

.workflow-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.65rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 85px;
}

.workflow-btn:hover {
  border-color: #c5162a;
  background: rgba(197, 22, 42, 0.08);
}

.workflow-btn.active {
  background: rgba(197, 22, 42, 0.12);
  border-color: #c5162a;
  box-shadow: 0 4px 16px rgba(197, 22, 42, 0.2);
}

.workflow-btn .step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #27272a;
  margin-bottom: 0.4rem;
  transition: all var(--transition-fast);
}

.workflow-btn.active .step-index {
  background: #c5162a;
  color: #ffffff;
}

.workflow-btn .step-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25;
}

.workflow-btn.active .step-title {
  color: var(--text-primary);
}

.workflow-display {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.workflow-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.workflow-info-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #c5162a;
  background: rgba(197, 22, 42, 0.08);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  align-self: flex-start;
  font-weight: 600;
}

.workflow-info h3 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
  color: #09090b;
}

.workflow-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.workflow-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-tag {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #c5162a;
  font-weight: 600;
}

.workflow-visual-box {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. TRANSLATIONAL PIPELINE
   -------------------------------------------------------------------------- */
.pipeline-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.pipeline-node {
  flex: 1;
  min-width: 170px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.15rem;
  text-align: center;
  position: relative;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pipeline-node:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.pipeline-node .node-phase {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #c5162a;
  margin-bottom: 0.5rem;
  display: block;
}

.pipeline-node h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.pipeline-node p {
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   8. RESEARCH PROGRAMS & PROJECTS
   -------------------------------------------------------------------------- */
.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100%;
}

.program-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon);
}

.program-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.program-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #c5162a;
  background: rgba(197, 22, 42, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.program-domain-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.program-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.program-subtitle {
  font-size: 0.925rem;
  color: #c5162a;
  font-weight: 600;
  margin-bottom: 1rem;
}

.program-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.program-objectives {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.program-objectives h5 {
  font-size: 0.825rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.program-objectives ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.program-objectives li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.45;
}

.program-objectives li::before {
  content: '▸';
  color: #c5162a;
  flex-shrink: 0;
}

/* Project Cards */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.project-card:hover {
  border-color: var(--border-emerald-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-emerald);
}

.project-field-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: #c5162a;
  margin-bottom: 0.25rem;
}

.project-field-val {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. TECHNOLOGY DOMAIN GRID
   -------------------------------------------------------------------------- */
.tech-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.tech-domain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.tech-domain-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.tech-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(197, 22, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5162a;
  margin-bottom: 1.15rem;
}

.tech-domain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.tech-domain-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. INSIGHTS, PUBLICATIONS & NEWS
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #27272a;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: #c5162a;
  border-color: #c5162a;
  color: #ffffff;
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
  cursor: pointer;
  height: 100%;
}

.insight-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-neon);
}

.insight-category {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #c5162a;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.insight-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.insight-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.insight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   11. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.65rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: #c5162a;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer-inner {
  padding: 0 1.65rem 1.4rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. FORMS & INPUTS (Collaboration & Contact)
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-control {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: #09090b;
  font-family: var(--font-body);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: #c5162a;
  box-shadow: 0 0 0 3px rgba(197, 22, 42, 0.15);
  background: #ffffff;
}

select.form-control {
  cursor: pointer;
}

select.form-control option {
  background: #ffffff;
  color: #09090b;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   13. SEARCH MODAL (Ctrl+K) & ARTICLE MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 5, 12, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: all var(--transition-smooth);
  position: relative;
  padding: 2.25rem;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #27272a;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: #c5162a;
  color: #ffffff;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.search-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  color: #09090b;
  font-size: 1.05rem;
  font-family: var(--font-body);
}

.search-input-wrap input:focus {
  outline: none;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result-item {
  display: block;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e4e4e7;
  transition: all var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(197, 22, 42, 0.05);
  border-color: #c5162a;
}

.search-result-item .res-category {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: #c5162a;
  text-transform: uppercase;
}

.search-result-item .res-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0.2rem 0;
}

.search-result-item .res-snippet {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #09090b;
  border-top: 1px solid #27272a;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2.25rem;
  margin-bottom: 3.5rem;
}

.footer-logo-badge {
  display: inline-block;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 1rem;
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.footer-logo-badge:hover {
  transform: scale(1.02);
}

.footer-brand .brand-logo-img {
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin-bottom: 0;
  display: block;
  filter: none;
}

.footer-brand p {
  font-size: 0.925rem;
  color: #ffffff;
  margin-top: 0.5rem;
  max-width: 340px;
  line-height: 1.6;
  font-weight: 500;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #dc2626;
  padding-left: 4px;
}

.footer-newsletter-text {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  color: #ffffff;
}

.newsletter-input:focus {
  outline: none;
  border-color: #dc2626;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid #27272a;
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 500;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-legal-links a:hover {
  color: #dc2626;
}

/* --------------------------------------------------------------------------
   15. MOBILE NAVIGATION DRAWER & ADVANCED RESPONSIVE STYLING
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 6, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  border-left: 1px solid #e4e4e7;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.15);
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s;
  z-index: 2000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e4e4e7;
}

.mobile-drawer-header .brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
}

.drawer-close-btn {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  color: #27272a;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.drawer-close-btn:hover {
  background: #c5162a;
  color: #ffffff;
  border-color: #c5162a;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.mobile-drawer .nav-link {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  background: #f4f4f5;
  color: #18181b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mobile-drawer .nav-link .link-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #71717a;
}

.mobile-drawer .nav-link:hover {
  background: rgba(197, 22, 42, 0.08);
  color: #c5162a;
  border-color: rgba(197, 22, 42, 0.2);
}

.mobile-drawer .nav-link.active {
  color: #ffffff;
  background: #c5162a;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(197, 22, 42, 0.3);
}

.mobile-drawer .nav-link.active .link-num {
  color: #ffffff;
  font-weight: 800;
}

.mobile-drawer-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Tablet Breakpoint (<= 1200px) */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

/* Medium Breakpoint (<= 1140px) */
@media (max-width: 1140px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .workflow-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .workflow-nav::before {
    display: none;
  }
  .workflow-display {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
  }
  .program-card[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
}

/* Mobile Breakpoint (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }
  
  .nav-container {
    padding: 0 1.25rem;
  }
  
  .brand-logo-img {
    height: 48px;
    max-width: 180px;
  }
  
  .brand-logo svg.brand-icon {
    width: 30px;
    height: 30px;
  }
  
  .brand-logo .brand-title {
    font-size: 1rem;
  }
  
  .brand-logo .brand-tagline {
    font-size: 0.55rem;
  }
  
  .hero-section {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 3rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.2rem;
  }
  
  .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.5;
  }
  
  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }
  
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.25rem;
  }
  
  .hero-stat-card {
    padding: 1rem 1.25rem;
    background: rgba(12, 24, 54, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
  }
  
  .stat-number {
    font-size: 1.75rem;
  }
  
  .core-message-banner {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  
  .core-message-headline {
    font-size: 1.45rem;
  }
  
  .core-message-desc {
    font-size: 0.975rem;
  }
  
  .workflow-simulator {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }
  
  .workflow-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .workflow-btn {
    padding: 0.75rem 0.5rem;
    min-height: 70px;
  }
  
  .workflow-btn .step-index {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
  
  .workflow-btn .step-title {
    font-size: 0.75rem;
  }
  
  .workflow-display {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }
  
  .workflow-info h3 {
    font-size: 1.35rem;
  }
  
  .workflow-info p {
    font-size: 0.92rem;
  }
  
  .pipeline-track {
    padding-bottom: 0.75rem;
  }
  
  .pipeline-node {
    min-width: 150px;
    padding: 1.15rem 0.95rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .form-control {
    font-size: 16px; /* Prevents auto-zoom on mobile browsers */
    padding: 0.75rem 0.9rem;
  }
  
  .faq-question {
    padding: 1.1rem 1.25rem;
    font-size: 1rem;
  }
  
  .faq-answer-inner {
    padding: 0 1.25rem 1.1rem;
    font-size: 0.9rem;
  }
  
  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
    scrollbar-width: none;
  }
  
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  
  .filter-btn {
    flex-shrink: 0;
    padding: 0.4rem 0.95rem;
    font-size: 0.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .program-card, .project-card, .glass-card, .tech-domain-card, .insight-card {
    padding: 1.4rem 1.2rem;
    border-radius: var(--radius-md);
  }
  
  .modal-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }
  
  .modal-card {
    max-height: 85vh;
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  
  .btn-search-trigger span,
  .btn-search-trigger kbd {
    display: none;
  }
  
  .btn-search-trigger {
    padding: 0.5rem;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
  
  .nav-actions .btn {
    display: none;
  }
}

/* Small Smartphone Breakpoint (<= 480px) */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-tag {
    font-size: 0.725rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  .workflow-nav {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form .btn {
    width: 100%;
  }
}
