/* ============================================
   无锡霍吉科技 - 官网样式
   风格：现代简约 / 留白充足 / 蓝色主调
   ============================================ */

/* CSS Variables */
:root {
  --color-primary: #1e5fa8;
  --color-primary-dark: #154a85;
  --color-primary-light: #4a82c2;
  --color-accent: #3b82f6;
  --color-text: #0f172a;
  --color-text-soft: #475569;
  --color-text-muted: #94a3b8;
  --color-bg: #ffffff;
  --color-bg-soft: #f8fafc;
  --color-bg-gray: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-highlight: #dbeafe;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --font-mono: "SF Mono", "Monaco", "Cascadia Code", "Consolas", monospace;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
  --header-height: 72px;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
}

.logo-img-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.logo-tm-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.logo-tag {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.logo-trademark {
  font-size: 11px;
  color: var(--color-primary);
  vertical-align: super;
  margin-left: 1px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  color: var(--color-text-soft);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: var(--color-primary);
  background: var(--color-bg-soft);
}

.nav-link.active {
  color: var(--color-primary);
  background: var(--color-highlight);
}

.nav-link.cta {
  margin-left: 12px;
  background: var(--color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}

.nav-link.cta:hover {
  background: var(--color-primary-dark);
  color: white;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(30, 95, 168, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--color-highlight);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  color: var(--color-primary);
  position: relative;
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 8px;
  background: var(--color-highlight);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 17px;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: linear-gradient(
    135deg,
    rgba(30, 95, 168, 0.08),
    rgba(30, 95, 168, 0.02)
  );
  border-radius: var(--radius-xl);
  z-index: -1;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-tm-badge {
  position: absolute;
  top: 0;
  right: 12%;
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1;
}

.hero-logo {
  width: 80%;
  max-width: 220px;
  height: auto;
}

.hero-visual-info {
  text-align: center;
}

.hero-visual-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.hero-visual-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
}

.hero-visual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.hero-visual-tag {
  padding: 4px 12px;
  background: var(--color-bg-soft);
  color: var(--color-text-soft);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: white;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  padding: 8px 0;
}

.btn-ghost:hover {
  gap: 12px;
}

.btn-arrow {
  transition: transform var(--transition);
}

.btn-ghost:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================================
   Section
   ============================================ */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-soft {
  background: var(--color-bg-soft);
}

.section-dark {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-highlight);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-dark .section-tag {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 17px;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: #cbd5e1;
}

/* ============================================
   Cards / Grid
   ============================================ */
.cards {
  display: grid;
  gap: 24px;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
}

.card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.card-desc {
  font-size: 15px;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.card-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text-soft);
}

.card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-highlight);
  border: 2px solid var(--color-primary);
}

/* ============================================
   Pillars / Feature blocks
   ============================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: left;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--color-primary);
  transition: height var(--transition);
}

.pillar:hover::before {
  height: 100%;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.pillar-desc {
  font-size: 15px;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 20px;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  transition: gap var(--transition);
}

.pillar-link:hover {
  gap: 10px;
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 15px;
  color: var(--color-text-soft);
  line-height: 1.7;
}

/* ============================================
   Stats
   ============================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat {
  padding: 24px;
}

.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.section-dark .stat-num {
  color: #93c5fd;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-soft);
  font-weight: 500;
}

.section-dark .stat-label {
  color: #cbd5e1;
}

/* ============================================
   About / Team
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.about-content p {
  font-size: 16px;
  color: var(--color-text-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
}

.about-feature-text {
  flex: 1;
}

.about-feature-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.about-feature-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Lab visual */
.lab-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.lab-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.lab-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.lab-card-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--color-highlight);
  color: var(--color-primary);
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.lab-card-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.lab-card-stat:last-child {
  border-bottom: none;
}

.lab-card-stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.lab-card-stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}

/* ============================================
   Product Cards
   ============================================ */
.product-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.product-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.product-card-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.status-soon {
  background: #fef3c7;
  color: #92400e;
}

.status-live {
  background: #d1fae5;
  color: #065f46;
}

.status-coming {
  background: var(--color-highlight);
  color: var(--color-primary);
}

.product-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.product-card-desc {
  font-size: 15px;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.6;
}

.product-card-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================
   Technology Explanation
   ============================================ */
.tech-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.tech-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.tech-section .section-title {
  color: white;
}

.tech-section .section-desc {
  color: #cbd5e1;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.tech-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.tech-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tech-card-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.tech-card-desc {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.7;
}

/* ============================================
   Lab Detail / Open Source
   ============================================ */
.lab-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: white;
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
}

.lab-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(59, 130, 246, 0.2) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.lab-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.lab-banner-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.lab-banner h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.lab-banner h1 .gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lab-banner-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 32px;
}

/* Lab sections */
.lab-blocks {
  display: grid;
  gap: 32px;
}

.lab-block {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition);
}

.lab-block:hover {
  box-shadow: var(--shadow);
}

.lab-block-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.lab-block-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.lab-block-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lab-block-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.lab-block-content {
  font-size: 15px;
  color: var(--color-text-soft);
  line-height: 1.8;
}

.lab-block-content p {
  margin-bottom: 16px;
}

.lab-block-content ul {
  margin: 16px 0;
  padding-left: 0;
}

.lab-block-content li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.lab-block-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.lab-block-content strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Governance model */
.governance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.governance-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.governance-card.open {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
}

.governance-card.proprietary {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-color: var(--color-border);
}

.governance-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.governance-card-desc {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.governance-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.governance-card-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
}

.governance-card-list li:last-child {
  border-bottom: none;
}

.governance-card-list li span:last-child {
  color: var(--color-primary);
  font-weight: 600;
}

/* Co-founders needed */
.cofounders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.cofounder-card {
  background: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
}

.cofounder-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.cofounder-card.recommended {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.cofounder-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 12px;
  background: var(--color-primary);
  color: white;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cofounder-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.cofounder-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.cofounder-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cofounder-subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
}

.cofounder-section {
  margin-bottom: 20px;
}

.cofounder-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.cofounder-section p {
  font-size: 14px;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 16px;
}

.contact-item-content {
  flex: 1;
}

.contact-item-label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 500;
  word-break: break-all;
}

.contact-item-value a {
  color: var(--color-primary);
  transition: opacity var(--transition);
}

.contact-item-value a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Form */
.contact-form {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: white;
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 95, 168, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.form-message.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: linear-gradient(135deg, #1e5fa8 0%, #1e3a8a 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 50%,
      rgba(59, 130, 246, 0.2) 0%,
      transparent 50%
    );
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta p {
  font-size: 17px;
  color: #cbd5e1;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: white;
  color: var(--color-primary);
}

.cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
}

.cta .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta .btn-secondary:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .logo-img-wrap {
  position: relative;
  display: inline-block;
}

.footer-brand .logo-img-wrap img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

.footer-brand .logo-tm-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: 14px;
  color: #60a5fa;
  font-weight: 700;
  line-height: 1;
}

.footer-brand-text {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 360px;
  margin-bottom: 16px;
}

.footer-trademark {
  font-size: 13px;
  color: var(--color-primary-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-trademark .tm {
  font-size: 10px;
  vertical-align: super;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-text {
  font-size: 13px;
  color: #64748b;
}

.footer-bottom-text a {
  color: #94a3b8;
}

.footer-bottom-text a:hover {
  color: white;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 14px;
  font-weight: 600;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
}

/* ============================================
   Page header (for internal pages)
   ============================================ */
.page-header {
  padding: calc(var(--header-height) + 64px) 0 64px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(30, 95, 168, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.page-header-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-highlight);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-header p {
  font-size: 17px;
  color: var(--color-text-soft);
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 24px;
}

.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-separator {
  color: var(--color-text-muted);
}

/* ============================================
   Scroll animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.stagger.visible > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.stagger.visible > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.stagger.visible > *:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.stagger.visible > *:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.stagger.visible > *:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 16px;
  }

  .nav-link.cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    padding: calc(var(--header-height) + 48px) 0 48px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .cards-2,
  .cards-3,
  .cards-4 {
    grid-template-columns: 1fr;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .governance,
  .cofounders {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .lab-block {
    padding: 24px;
  }

  .contact-form {
    padding: 24px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo-tag {
    display: none;
  }
}
