:root {
  --bg: #1d2740;
  --bg-deep: #0d0d15;
  --surface: rgba(48, 59, 93, 0.55);
  --surface-dark: rgba(26, 35, 59, 0.7);
  --surface-soft: rgba(37, 47, 76, 0.5);
  --line: rgba(79, 90, 121, 0.35);
  --cyan: #05cff6;
  --cyan-soft: rgba(5, 207, 246, 0.12);
  --green: #69f6a2;
  --purple: #c026d3;
  --yellow: #ffc20a;
  --red: #ff5d6c;
  --text: #f7f7fb;
  --muted: #b8bcc9;
  --sidebar: 140px;
  --radius: 16px;
  --radius-xl: 24px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
  --glow-cyan: 0 0 30px rgba(5, 207, 246, 0.2);
  --glow-green: 0 0 20px rgba(105, 246, 162, 0.2);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: dark;
  font-family: 'Inter', Roboto, Arial, sans-serif;
  font-size: 16px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

button, input, select, textarea { font: inherit; }

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

button, a { -webkit-tap-highlight-color: transparent; }

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

[hidden] { display: none !important; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

.site-shell { min-height: 100vh; display: flex; }

.sidebar {
  position: fixed;
  z-index: 40;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(180deg, rgba(29, 39, 64, 0.95) 0%, rgba(13, 13, 21, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--line);
  transition: transform var(--transition);
}

.sidebar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(5, 207, 246, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.brand {
  min-height: 176px;
  padding: 28px 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--cyan);
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
}

.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(5, 207, 246, 0.3)); transition: filter var(--transition); }
.brand:hover img { filter: drop-shadow(0 0 20px rgba(5, 207, 246, 0.5)); }

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 0;
  flex: 1;
}

.nav-link {
  width: 100%;
  max-width: 100px;
  padding: 10px 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 207, 246, 0.08), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
  border-radius: var(--radius);
}

.nav-link:hover { color: var(--text); transform: translateY(-1px); }
.nav-link:hover::before { opacity: 1; }

.nav-link .icon-wrap {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: transparent;
  transition: background var(--transition-fast);
  position: relative;
}

.nav-link svg { width: 20px; height: 20px; stroke-width: 2; position: relative; z-index: 1; }

.nav-link.active { color: var(--cyan); }
.nav-link.active .icon-wrap {
  background: linear-gradient(135deg, rgba(5, 207, 246, 0.15), rgba(105, 246, 162, 0.1));
  box-shadow: inset 0 0 20px rgba(5, 207, 246, 0.08);
}
.nav-link.active .icon-wrap svg { color: var(--cyan); filter: drop-shadow(0 0 6px rgba(5, 207, 246, 0.4)); }

#app {
  min-height: 100vh;
  margin-left: var(--sidebar);
  overflow-x: hidden;
  outline: 0;
  flex: 1;
}

.page {
  width: min(1280px, 100%);
  min-height: 100vh;
  padding: 48px 80px 100px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(5, 207, 246, 0.1); }
  50% { box-shadow: 0 0 40px rgba(5, 207, 246, 0.25); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-in { animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }
.animate-in-delay-4 { animation-delay: 0.4s; }

.display-title,
.page-title,
.section-title,
.card-title,
.brand-title {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.display-title { font-size: 52px; letter-spacing: -0.03em; }
.page-title { color: var(--cyan); font-size: 34px; }
.section-title { color: var(--cyan); font-size: 22px; font-weight: 600; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); font-size: 14px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; }
.muted { color: var(--muted); }
.lead { font-size: 16px; line-height: 1.6; color: var(--muted); }

.glass {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.glass-dark {
  background: var(--surface-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tech-button {
  min-width: 180px;
  min-height: 52px;
  padding: 14px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #07131b;
  background: linear-gradient(135deg, var(--cyan), #00b8d4);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(5, 207, 246, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.tech-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tech-button:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(5, 207, 246, 0.35); }
.tech-button:hover::before { opacity: 1; }
.tech-button:active { transform: translateY(0); }

.tech-button.secondary {
  color: var(--green);
  background: transparent;
  border: 1.5px solid var(--green);
  box-shadow: none;
}
.tech-button.secondary::before { background: linear-gradient(135deg, rgba(105, 246, 162, 0.1), transparent); }
.tech-button.secondary:hover { box-shadow: 0 0 24px rgba(105, 246, 162, 0.2); }

.tech-button.compact { min-width: 140px; min-height: 38px; padding: 8px 24px; border-radius: 10px; font-size: 13px; }

.panel {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.panel:hover { box-shadow: var(--shadow-md); }

/* Home */
.home-page { padding: 0; }

.hero {
  padding: 120px 80px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 60px;
  position: relative;
  min-height: 90vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(5, 207, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(105, 246, 162, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-copy .brand-title {
  height: 120px;
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 48px;
}
.hero-copy .brand-title img { width: 120px; height: 120px; flex: 0 0 120px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(5, 207, 246, 0.3)); }
.hero-copy .brand-title span { margin-left: 16px; }
.hero-copy .display-title { max-width: 610px; margin: 0 0 32px; line-height: 1.35; }
.hero-copy .lead { max-width: 520px; margin: 0 0 28px; font-size: 17px; }

.mutation-link {
  display: inline-block;
  margin: 0 0 56px;
  color: var(--cyan);
  border: 0;
  border-bottom: 2px solid var(--cyan);
  background: none;
  font-size: 32px;
  font-style: italic;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  letter-spacing: 0.5px;
}
.mutation-link:hover { color: var(--green); border-color: var(--green); }

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

.featured-slide {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: linear-gradient(135deg, #092532 0%, #0d1b2a 50%, #0a1a2a 100%);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), inset 0 0 60px rgba(5, 207, 246, 0.03);
  border: 1px solid var(--line);
}

.featured-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.featured-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,22,33,.92) 0%, rgba(9,30,43,.6) 50%, rgba(9,30,43,.1) 100%); }
.new-course {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  background: rgba(105, 246, 162, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pulseGlow 3s ease-in-out infinite;
}
.featured-body { position: absolute; inset: auto 40px 40px; display: flex; flex-direction: column; align-items: flex-start; }
.featured-body h2 { margin: 16px 0 40px; font-size: 24px; line-height: 1.2; }

.pill, .tag, .status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
}
.pill { padding: 8px 16px; color: #06151c; background: var(--cyan); font-weight: 700; letter-spacing: 0.3px; }
.tag { padding: 6px 12px; color: #cdd1db; background: rgba(207, 217, 244, 0.1); border: 1px solid rgba(207, 217, 244, 0.15); }
.status { padding: 7px 12px; border: 1px solid currentColor; font-weight: 700; letter-spacing: 0.5px; }
.status.green { color: var(--green); }
.status.purple { color: var(--purple); }

.home-section { padding: 80px 80px 60px; }
.section-heading-row { margin-bottom: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.text-link { color: var(--cyan); border: 0; background: none; font-weight: 600; cursor: pointer; font-size: 14px; transition: opacity var(--transition-fast); }
.text-link:hover { opacity: 0.8; }

.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.expertise-card { min-height: 240px; padding: 36px 28px; background: var(--surface); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius-xl); position: relative; overflow: hidden; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.expertise-card:hover { transform: translateY(-6px); border-color: rgba(5, 207, 246, 0.3); box-shadow: var(--shadow-lg); }
.expertise-card:hover::before { opacity: 1; }
.expertise-card .expert-icon { margin-bottom: 24px; color: var(--cyan); font-size: 40px; transition: transform var(--transition); }
.expertise-card:hover .expert-icon { transform: scale(1.1); }
.expertise-card h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.3; white-space: pre-line; }
.expertise-card p { margin: 0; color: var(--muted); font-size: 14px; }

.partner-strip { padding: 36px; display: flex; justify-content: center; align-items: center; gap: 48px; background: rgba(0,0,0,0.1); border-radius: var(--radius-xl); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.partner-strip img { width: 72px; height: 72px; object-fit: contain; opacity: 0.7; transition: opacity var(--transition), transform var(--transition); }
.partner-strip img:hover { opacity: 1; transform: scale(1.08); }

/* Courses */
.courses-page .page-brand, .about-page .page-brand {
  height: 100px;
  margin: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 32px;
}
.courses-page .page-brand img { width: 100px; height: 100px; flex: 0 0 100px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(5, 207, 246, 0.3)); }
.courses-page .page-brand span, .about-page .page-brand span { margin-left: 16px; }

.filters { margin: 38px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.filter-button {
  padding: 10px 20px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}
.filter-button:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-soft); }
.filter-button.active { color: #07131b; border-color: var(--cyan); background: var(--cyan); box-shadow: 0 2px 12px rgba(5, 207, 246, 0.3); }

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card { min-height: 480px; overflow: hidden; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.course-card:hover { transform: translateY(-8px); border-color: rgba(5, 207, 246, 0.3); box-shadow: var(--shadow-lg); }
.course-image { height: 200px; overflow: hidden; background: var(--surface-dark); position: relative; }
.course-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity var(--transition), transform var(--transition); }
.course-card:hover .course-image img { opacity: 1; transform: scale(1.05); }
.course-image::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, var(--surface-dark), transparent); pointer-events: none; }
.course-body { min-height: 285px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.course-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.course-card h3 { margin: 8px 0 4px; font-size: 18px; line-height: 1.3; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.course-card .tech-button { margin: auto 0 0; }
.course-description { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* HPC */
.hpc-page { padding: 0; }
.hpc-hero { padding: 100px 80px 120px; text-align: center; position: relative; }
.hpc-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(5, 207, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hpc-icon { width: 88px; height: 88px; margin: 0 auto; display: grid; place-items: center; color: var(--cyan); background: var(--cyan-soft); border-radius: 50%; border: 1px solid rgba(5, 207, 246, 0.2); }
.hpc-icon svg { width: 48px; height: 48px; stroke-width: 2; }
.hpc-hero h1 { margin: 40px 0 0; font-size: 48px; }
.hpc-hero p { margin: 20px auto 0; color: var(--muted); font-size: 16px; max-width: 600px; }
.hpc-section { padding: 60px 80px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hpc-section .spec-grid { margin-top: 40px; }
.spec-card { min-height: 240px; padding: 36px; display: flex; align-items: flex-start; gap: 24px; }
.spec-icon { width: 48px; height: 48px; flex: 0 0 48px; color: var(--cyan); background: var(--cyan-soft); border-radius: 12px; display: grid; place-items: center; }
.spec-icon svg { width: 24px; height: 24px; }
.spec-card h3 { margin: 0 0 6px; font-size: 17px; }
.spec-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.rental-block, .training-block, .cta-block { margin: 0; padding: 64px 80px; background: rgba(5, 207, 246, 0.03); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.training-block { padding-block: 80px; }
.cta-block { padding-block: 100px; text-align: center; background: linear-gradient(180deg, rgba(5, 207, 246, 0.03) 0%, rgba(105, 246, 162, 0.02) 100%); }
.training-list { display: grid; gap: 14px; }
.training-item { padding: 24px; display: flex; gap: 18px; background: rgba(0,0,0,0.15); border-radius: var(--radius); border: 1px solid var(--line); transition: border-color var(--transition-fast); }
.training-item:hover { border-color: rgba(5, 207, 246, 0.2); }
.training-item strong { display: block; margin-bottom: 4px; font-size: 15px; }
.training-item p { margin: 0; color: var(--muted); font-size: 14px; }
.cta-block h2 { margin-bottom: 12px; }
.cta-block p { margin-bottom: 28px; color: var(--muted); }

/* Robots */
.robots-page { padding: 60px 80px 100px; }
.robots-page > .lead { margin-top: 28px; font-size: 17px; }
.robot-list { margin-top: 64px; display: grid; gap: 32px; }
.robot-card { min-height: 380px; padding: 32px; display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; }
.robot-card.reverse { grid-template-columns: 1fr 280px; }
.robot-card.reverse .robot-image { order: 2; }
.robot-image { height: 320px; padding: 20px; display: grid; place-items: center; overflow: hidden; background: var(--surface-dark); border: 1px solid var(--line); border-radius: var(--radius-xl); position: relative; }
.robot-image::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(5, 207, 246, 0.04), transparent 70%); pointer-events: none; }
.robot-image img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--transition); }
.robot-card:hover .robot-image img { transform: scale(1.03); }
.robot-info h2 { margin: 0 0 14px; color: var(--cyan); font-size: 28px; letter-spacing: -0.01em; }
.robot-info .status { min-height: 34px; padding-inline: 14px; font-size: 13px; }
.robot-info p { max-width: 760px; line-height: 1.6; font-size: 15px; }
.robot-info .tech-button { margin-top: 20px; }

/* About */
.about-hero { text-align: center; }
.about-page .page-brand { height: 120px; font-size: 48px; }
.about-page .page-brand img { width: 120px; height: 120px; flex: 0 0 120px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(5, 207, 246, 0.3)); }
.about-hero .page-title { transform: translateY(-6px); }
.about-hero .lead { margin: 20px auto 40px; max-width: 720px; color: var(--muted); font-size: 18px; font-weight: 500; }
.about-partners { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.about-partners a { transition: transform var(--transition); }
.about-partners a:hover { transform: scale(1.1); }
.about-partners img { width: 80px; height: 80px; object-fit: contain; padding: 12px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.value-grid { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { min-height: 260px; padding: 40px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(5, 207, 246, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.value-card:hover::before { opacity: 1; }
.value-card .value-icon { margin-bottom: 18px; font-size: 36px; position: relative; }
.value-card h3 { margin: 0 0 6px; font-size: 16px; }
.value-card strong { margin-bottom: 10px; font-size: 14px; position: relative; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; position: relative; }
.value-card.cyan { border-color: rgba(5,207,246,0.4); }
.value-card.purple { border-color: rgba(192,38,211,0.4); }
.value-card.yellow { border-color: rgba(255,194,10,0.4); }
.mission { margin: 88px 0; padding: 40px; background: var(--surface-dark); border-radius: var(--radius-xl); border: 1px solid var(--line); }
.mission p { white-space: pre-line; font-size: 20px; line-height: 1.5; text-align: center; }
.teacher-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teacher-card { padding: 28px; transition: transform var(--transition), box-shadow var(--transition); }
.teacher-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.teacher-head { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.teacher-card img { width: 80px; height: 80px; object-fit: cover; border: 2px solid var(--cyan); border-radius: 50%; padding: 2px; }
.teacher-card h3 { margin: 0; font-size: 16px; }
.teacher-card strong { color: var(--green); font-size: 13px; }
.teacher-card p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Simulation */
.simulation-page { width: 100%; padding: 16px 12px 20px; background: var(--bg-deep); }
.simulation-topbar { height: 48px; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 12px; margin-bottom: 12px; }
.simulation-topbar h1 { margin: 0; font-size: 24px; }
.help-button { width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: transparent; color: white; font-weight: 700; cursor: pointer; font-size: 16px; transition: background var(--transition-fast), transform var(--transition-fast); }
.help-button:hover { background: rgba(255,255,255,0.1); transform: scale(1.1); }
.sim-grid { min-height: 840px; display: flex; flex-direction: column; gap: 8px; }
.sim-row { display: grid; gap: 8px; }
.sim-top-row { height: 554px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 183px; }
.sim-bottom-row { height: 278px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.sim-panel { overflow: hidden; background: rgba(16, 16, 25, 0.8); backdrop-filter: blur(8px); border: 1px solid #28283a; border-radius: 12px; box-shadow: var(--shadow-sm); }
.sim-panel-title { height: 38px; padding: 8px 12px; color: #40bc54; border-bottom: 1px solid #242434; font-weight: 700; font-size: 13px; letter-spacing: 0.3px; background: rgba(0,0,0,0.2); }
.binary-empty { height: calc(100% - 38px); display: grid; place-items: center; color: #999; background: #000; font-size: 14px; }
.binary-content { padding: 14px; }
.dna-label { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.dna-code { margin: 12px 0; padding: 14px; min-height: 76px; color: var(--cyan); background: #050509; border: 1px solid #303043; border-radius: 8px; font-family: 'Fira Code', monospace; font-size: 13px; line-height: 1.6; word-break: break-all; }
.bit-grid { display: grid; grid-template-columns: repeat(16, 1fr); gap: 4px; }
.bit { padding: 6px 2px; border: 1px solid #3b3b4d; color: var(--muted); background: #171722; cursor: pointer; border-radius: 4px; font-size: 11px; font-weight: 600; transition: all var(--transition-fast); }
.bit:hover { border-color: var(--cyan); color: var(--text); }
.bit.on { color: #07131b; background: var(--green); border-color: var(--green); box-shadow: 0 0 8px rgba(105, 246, 162, 0.3); }
.robot-behavior { position: relative; }
.robot-stage { position: relative; height: calc(100% - 38px); overflow: hidden; background-image: linear-gradient(#1c1c28 1px, transparent 1px), linear-gradient(90deg,#1c1c28 1px,transparent 1px); background-size: 40px 40px; background-color: #0a0a14; }
.speech-bubble { position: absolute; top: 20px; right: 20px; padding: 12px 18px; color: #111; background: #f1f4f5; border-radius: 22px 22px 22px 0; box-shadow: 0 0 20px rgba(5, 207, 246, 0.4); font-size: 14px; font-weight: 600; }
.css-robot { position: absolute; top: 61%; left: 50%; width: 170px; height: 310px; transform: translate(-50%,-50%); }
.robot-head { position: absolute; top: 25px; left: 35px; width: 105px; height: 105px; border: 3px solid var(--cyan); border-radius: 50%; animation: robot-float 2s ease-in-out infinite; }
.robot-head::before { content: ""; position: absolute; width: 20px; height: 20px; top: 42px; left: 20px; border: 2px solid var(--cyan); border-radius: 50%; }
.robot-head::after { content: ""; position: absolute; width: 24px; height: 4px; top: 48px; right: 18px; border: 2px solid var(--cyan); border-radius: 50%; }
.antenna { position: absolute; top: -47px; left: 50%; width: 2px; height: 46px; background: var(--cyan); }
.antenna::before { content: ""; position: absolute; top: -7px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); }
.robot-body { position: absolute; top: 100px; left: 25px; width: 120px; height: 158px; border: 3px solid var(--cyan); border-radius: 28px; background: rgba(70,75,98,0.65); }
.robot-core { position: absolute; top: 35px; left: 42px; width: 34px; height: 34px; border: 2px solid white; border-radius: 50%; background: rgba(105,246,162,0.55); box-shadow: 0 0 18px var(--green); }
.limb { position: absolute; height: 3px; background: var(--cyan); transform-origin: 0 50%; }
.arm-left { top: 150px; left: 25px; width: 74px; transform: rotate(132deg); }
.arm-right { top: 150px; left: 145px; width: 74px; transform: rotate(48deg); }
.leg-left { top: 255px; left: 49px; width: 86px; transform: rotate(100deg); }
.leg-right { top: 255px; left: 119px; width: 86px; transform: rotate(80deg); }
@keyframes robot-float { 50% { transform: translateY(-4px); } }
.quick-speech { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 6px; }
.sim-button { padding: 5px 12px; color: #d53de1; background: rgba(192,38,211,0.2); border: 1px solid #b523bd; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600; transition: all var(--transition-fast); }
.sim-button:hover { background: rgba(192,38,211,0.35); }
.expression { padding-bottom: 10px; }
.expression-bars { position: relative; height: calc(100% - 42px); padding: 8px; }
.expression-line { position: absolute; left: 8px; right: 8px; height: 2px; background: #282832; }
.expression-line:nth-child(1) { top: 8px; }
.expression-line:nth-child(2) { top: 133px; }
.expression-line:nth-child(3) { top: 258px; }
.expression-line:nth-child(5) { bottom: 8px; }
.expression-active { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 210px; display: flex; flex-direction: column-reverse; justify-content: space-between; }
.expression-active i { display: block; height: 2px; background: #35ad52; border-radius: 1px; }
.gene-table-wrap { height: calc(100% - 38px); overflow: auto; }
.gene-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.gene-table th, .gene-table td { padding: 14px 8px; text-align: left; border-bottom: 1px solid #8b8b93; }
.gene-table th:nth-child(1) { width: 26px; }
.gene-table th:nth-child(2) { width: 100px; }
.gene-table th:nth-child(3), .gene-table th:nth-child(4), .gene-table th:nth-child(5) { width: 96px; }
.gene-table th:nth-child(7) { width: 53px; }
.gene-table th { position: sticky; top: 0; background: #101019; color: #bcbcc6; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.gene-table tr { cursor: pointer; transition: background var(--transition-fast); }
.gene-table tr:hover, .gene-table tr.selected { background: #181827; }
.gene-name { color: #58cb6c; font-size: 16px; font-weight: 700; }
.mini-meter { width: 88px; height: 8px; overflow: hidden; background: #2a2a38; border-radius: 4px; }
.mini-meter span { display: block; height: 100%; background: #42ad57; border-radius: 4px; }
.mini-meter.blue span { background: #2e9fec; }
.history { padding-bottom: 10px; }
.history-list { height: calc(100% - 72px); padding: 8px 12px; overflow: auto; color: var(--muted); font-size: 13px; }
.history-item { padding: 7px 0; border-bottom: 1px solid #262634; font-size: 12px; }
.sim-side-bottom { display: grid; grid-template-rows: 135px 1fr; gap: 8px; }
.regulation-panel { width: 114px; justify-self: center; }
.regulation-panel .sim-panel-title { padding-inline: 8px; font-size: 14px; white-space: nowrap; }
.regulation-controls, .protein-content { padding: 10px; font-size: 13px; }
.regulation-controls label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 12px; }
.regulation-controls input[type="checkbox"] { accent-color: var(--cyan); width: 14px; height: 14px; }
.regulation-controls input[type="range"] { width: 100%; accent-color: var(--cyan); }
.protein-content { height: calc(100% - 38px); display: grid; place-items: center; color: #a5a5ad; text-align: center; font-size: 13px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease;
}
.modal {
  position: relative;
  width: min(540px, 100%);
  padding: 40px;
  background: rgba(21, 29, 50, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 60px rgba(5, 207, 246, 0.15), var(--shadow-lg);
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.modal h2 { color: var(--cyan); font-size: 22px; margin-bottom: 16px; }
.modal p { line-height: 1.6; font-size: 15px; }
.modal-close { position: absolute; top: 14px; right: 18px; color: var(--muted); border: 0; background: none; font-size: 28px; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; transition: background var(--transition-fast), color var(--transition-fast); }
.modal-close:hover { background: rgba(255,255,255,0.08); color: var(--text); }
.coming-soon { display: block; margin: 28px 0; color: var(--yellow); font-size: 22px; letter-spacing: 3px; font-weight: 600; }

.empty-state { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* Responsive */
@media (max-width: 1100px) {
  .page { padding-inline: 38px; }
  .hero { grid-template-columns: 1fr; padding-bottom: 60px; }
  .hero-copy .brand-title { margin-bottom: 36px; }
  .featured-slide { min-height: 440px; }
  .course-grid, .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-grid { grid-template-columns: 1.5fr 1.3fr; grid-template-rows: 520px 320px 280px; }
  .expression { grid-column: 1; grid-row: 3; }
  .sim-side-bottom { grid-column: 2; grid-row: 3; }
}

@media (max-width: 768px) {
  :root { --sidebar: 0px; font-size: 16px; }
  body { padding-bottom: 76px; }
  .sidebar { inset: auto 0 0; width: 100%; height: 76px; border-top: 1px solid rgba(185,195,222,0.15); border-right: 0; }
  .brand { display: none; }
  .nav-list { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .nav-link { width: auto; min-width: 58px; padding: 8px 4px; font-size: 11px; }
  .nav-link .icon-wrap { width: 40px; height: 32px; }
  .nav-link svg { width: 18px; height: 18px; }
  #app { margin-left: 0; }
  .page { padding: 32px 20px 80px; }
  .home-page { padding-top: 36px; }
  .hero { min-height: auto; gap: 32px; padding: 60px 20px 40px; }
  .hero-copy .brand-title { font-size: 32px; height: auto; }
  .hero-copy .brand-title img { width: 80px; height: 80px; flex: 0 0 80px; }
  .display-title { font-size: 36px; }
  .mutation-link { font-size: 24px; }
  .featured-slide { grid-template-columns: 80px 1fr; min-height: 360px; }
  .featured-body { padding: 24px 16px; }
  .course-grid, .teacher-grid, .expertise-grid, .spec-grid, .value-grid { grid-template-columns: 1fr; }
  .robot-card, .robot-card.reverse { grid-template-columns: 1fr; }
  .robot-card.reverse .robot-image { order: 0; }
  .about-partners { gap: 16px; }
  .about-partners img { width: 56px; height: 56px; }
  .rental-block, .training-block, .cta-block { padding: 32px 20px; }
  .simulation-page { padding: 8px 4px 12px; }
  .sim-grid { display: flex; flex-direction: column; }
  .binary-editor, .robot-behavior { min-height: 460px; }
  .expression { min-height: 260px; }
  .genes, .history { min-height: 300px; }
  .sim-side-bottom { min-height: 280px; }
  .home-section { padding: 48px 20px 40px; }
  .hpc-hero { padding: 60px 20px 80px; }
  .hpc-section { padding: 40px 20px; }
  .robots-page { padding: 40px 20px 60px; }
}