/* CUA-Suite Website - Adapted from UI-Vision */
:root {
  --primary-color: #1e3a5f;
  --accent-color: #e67e22;
  --accent-light: #f39c12;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.15);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
  --border-radius: 8px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2.5rem;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --max-width: 1200px;
}

/* Base */
body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
}

* { box-sizing: border-box; }

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.navbar-brand .navbar-item {
  font-weight: 600;
  color: var(--primary-color);
  gap: 0.5rem;
}

.navbar-item {
  color: #4a5568;
  transition: all 0.2s ease;
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: rgba(30, 58, 95, 0.05);
}

.navbar-item.is-active {
  color: var(--teal);
  background-color: rgba(13, 148, 136, 0.08);
}

.container.is-max-desktop {
  max-width: var(--max-width);
  padding: 0 var(--spacing-lg);
  margin: 0 auto;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 2rem 0 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.95) 100%);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(13, 148, 136, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  padding: var(--spacing-md) 0;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(13, 148, 136, 0.15);
  border-radius: 50%;
  padding: 1rem;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.1);
}

.logo-container:hover {
  transform: scale(1.05);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 0 30px rgba(13, 148, 136, 0.2);
}

.logo-image {
  width: 80px;
  height: 80px;
  transition: transform 0.6s ease;
}

.logo-container:hover .logo-image {
  transform: rotate(10deg) scale(1.05);
}

.publication-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1rem 0;
  text-align: center;
  background: linear-gradient(120deg, var(--primary-color) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.publication-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

/* Buttons */
.publication-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.button.is-dark {
  background: #2d3748;
  color: white;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--border-radius);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.button.is-dark:hover {
  background: #1a202c;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
  text-decoration: none;
}

.button.is-accent {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--border-radius);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.button.is-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  color: white;
}

/* Conference Badge */
.conference-badge {
  margin: 0.8rem 0;
  text-align: center;
}

.badge-text {
  display: inline-block;
  background: linear-gradient(45deg, var(--teal), var(--accent-color));
  color: white;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2);
}

/* Authors */
.publication-authors {
  margin: 1.5rem 0;
  text-align: center;
}

.author-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin: 0.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

.author-block {
  padding: 0.2rem 0.5rem;
  background: rgba(13, 148, 136, 0.06);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.author-block:hover {
  background: rgba(13, 148, 136, 0.1);
  transform: translateY(-1px);
}

.author-block a {
  text-decoration: none;
  color: var(--primary-color) !important;
  font-weight: 500;
}

.author-block.lead-author {
  background: rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.3);
}

.author-block.lead-author a {
  font-weight: 700;
  color: var(--teal) !important;
}

.author-affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.5rem 0;
  font-size: 0.82rem;
  font-family: var(--font-mono);
}

.author-affiliations .author-block {
  background: rgba(13, 148, 136, 0.03);
  color: #4a5568;
}

.author-correspondence {
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

/* Content Navigation */
.nav-section {
  position: sticky;
  top: 52px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
}

.content-nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-item {
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-item:hover {
  color: var(--primary-color);
  background: rgba(13, 148, 136, 0.06);
}

.nav-item.active {
  color: var(--teal);
  background: rgba(13, 148, 136, 0.1);
  font-weight: 600;
}

/* Section Styling */
.section {
  padding: 3rem 1.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Banner */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-weight: 500;
}

.stat-card .stat-detail {
  font-size: 0.75rem;
  color: #999;
  margin-top: 0.15rem;
}

/* Component Cards */
.components-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.component-card {
  background: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.component-card.featured {
  border: 2px solid var(--teal);
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.03) 0%, white 100%);
}

.component-card.featured::before {
  content: 'Core Component';
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 0 12px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.component-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.component-icon.videocua {
  background: rgba(13, 148, 136, 0.1);
  color: var(--teal);
}

.component-icon.groundcua {
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent-color);
}

.component-icon.uivision {
  background: rgba(30, 58, 95, 0.1);
  color: var(--primary-color);
}

.component-icon img {
  width: 32px;
  height: 32px;
}

.component-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.component-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.component-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.component-stat {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-weight: 500;
  font-family: var(--font-mono);
}

.component-stat.teal {
  background: rgba(13, 148, 136, 0.08);
  color: var(--teal);
}

.component-stat.orange {
  background: rgba(230, 126, 34, 0.08);
  color: var(--accent-color);
}

.component-stat.blue {
  background: rgba(30, 58, 95, 0.08);
  color: var(--primary-color);
}

/* Comparison Table */
.comparison-section {
  margin: 2rem 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  font-size: 0.88rem;
}

.comparison-table thead th {
  background: linear-gradient(135deg, var(--primary-color) 0%, #264a6e 100%);
  color: white;
  padding: 0.85rem 0.75rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid rgba(13, 148, 136, 0.5);
}

.comparison-table thead th:first-child {
  text-align: left;
  padding-left: 1.25rem;
  border-radius: 14px 0 0 0;
}

.comparison-table thead th:last-child {
  border-radius: 0 14px 0 0;
}

.comparison-table tbody td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #eef0f2;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  transition: background 0.15s;
}

.comparison-table tbody tr:hover td {
  background: rgba(13, 148, 136, 0.02);
}

.comparison-table tbody td:first-child {
  text-align: left;
  padding-left: 1.25rem;
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 14px;
}

.comparison-table tbody tr:last-child td:last-child {
  border-radius: 0 0 14px 0;
}

.comparison-table tbody tr.highlight-row {
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.08) 0%, rgba(13, 148, 136, 0.04) 100%);
}

.comparison-table tbody tr.highlight-row td {
  border-bottom: none;
  border-top: 2px solid var(--teal);
  font-weight: 600;
  color: var(--primary-color);
}

.comparison-table .category-row td {
  background: #f4f6f8;
  font-weight: 600;
  font-family: 'Google Sans', sans-serif;
  color: #555;
  font-size: 0.78rem;
  padding: 0.35rem 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.check { color: var(--teal); font-size: 0.9rem; }
.cross { color: #cbd5e0; font-size: 0.9rem; }

/* Timeline / Pipeline Section */
.pipeline-section {
  margin: 2.5rem 0;
}

.pipeline-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.08);
}

.pipeline-caption {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* CoT Annotation Section */
.cot-section {
  margin: 2.5rem 0;
}

.cot-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.cot-layer {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid;
  transition: transform 0.2s;
}

.cot-layer:hover { transform: translateY(-2px); }

.cot-layer:nth-child(1) { border-color: #3498db; }
.cot-layer:nth-child(2) { border-color: #9b59b6; }
.cot-layer:nth-child(3) { border-color: var(--teal); }
.cot-layer:nth-child(4) { border-color: var(--accent-color); }

.cot-layer .layer-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.cot-layer:nth-child(1) .layer-icon { color: #3498db; }
.cot-layer:nth-child(2) .layer-icon { color: #9b59b6; }
.cot-layer:nth-child(3) .layer-icon { color: var(--teal); }
.cot-layer:nth-child(4) .layer-icon { color: var(--accent-color); }

.cot-layer h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.cot-layer .word-count {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cot-layer .word-label {
  font-size: 0.75rem;
  color: #999;
}

.cot-total {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
}

.cot-total span {
  color: var(--teal);
  font-size: 1.3rem;
}

/* Results Section */
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.result-card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
}

.result-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-card h3 i {
  color: var(--teal);
}

.result-table {
  width: 100%;
  border-collapse: collapse;
}

.result-table th {
  text-align: left;
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #666;
  border-bottom: 2px solid #eee;
  font-weight: 600;
}

.result-table td {
  padding: 0.5rem;
  font-size: 0.88rem;
  border-bottom: 1px solid #f5f5f5;
  font-family: var(--font-mono);
}

.result-table td:first-child {
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
}

.result-highlight {
  color: var(--teal);
  font-weight: 700;
}

/* Bottleneck Visualization */
.bottleneck-section {
  margin: 2rem 0;
}

.bottleneck-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.bottleneck-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
}

.bottleneck-card .metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  line-height: 1.1;
}

.bottleneck-card .metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-weight: 500;
}

.bottleneck-card .metric-bar {
  height: 6px;
  background: #eee;
  border-radius: 3px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.bottleneck-card .metric-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

.bottleneck-card.grounding .metric-value { color: #e74c3c; }
.bottleneck-card.grounding .metric-bar-fill { background: #e74c3c; }
.bottleneck-card.action .metric-value { color: var(--teal); }
.bottleneck-card.action .metric-bar-fill { background: var(--teal); }

.bottleneck-insight {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(230, 126, 34, 0.05));
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
  display: flex;
  align-items: start;
  gap: 0.75rem;
  border-left: 4px solid var(--teal);
}

.bottleneck-insight i {
  color: var(--teal);
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.bottleneck-insight p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Failure Cases */
.failures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.failure-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s;
}

.failure-card:hover {
  transform: translateY(-2px);
}

.failure-card img {
  width: 100%;
  display: block;
}

.failure-card .failure-caption {
  padding: 0.6rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fafafa;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.failure-card .failure-caption .dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.failure-card .failure-caption .dot-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e74c3c;
  display: inline-block;
}

/* Application Frontiers */
.frontiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.frontier-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.frontier-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.frontier-card .frontier-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.frontier-card:nth-child(1) .frontier-icon { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.frontier-card:nth-child(2) .frontier-icon { background: rgba(155, 89, 182, 0.1); color: #9b59b6; }
.frontier-card:nth-child(3) .frontier-icon { background: rgba(13, 148, 136, 0.1); color: var(--teal); }
.frontier-card:nth-child(4) .frontier-icon { background: rgba(230, 126, 34, 0.1); color: var(--accent-color); }

.frontier-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.frontier-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Action Distribution */
.action-dist {
  margin: 1.5rem 0;
}

.action-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  gap: 0.75rem;
}

.action-bar-label {
  width: 130px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: right;
  flex-shrink: 0;
}

.action-bar-track {
  flex: 1;
  height: 28px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.action-bar-fill {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: white;
  transition: width 1s ease;
}

.action-bar-fill.cursor { background: var(--teal); }
.action-bar-fill.clicks { background: #3498db; }
.action-bar-fill.keyboard { background: #9b59b6; }
.action-bar-fill.drag { background: var(--accent-color); }
.action-bar-fill.mouse-control { background: #e74c3c; }

/* Platforms */
.platforms-section {
  margin: 2rem 0;
}

.platform-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.platform-category {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
}

.platform-category h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-category h4 i { color: var(--teal); }

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.platform-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: #f5f5f5;
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

/* Demo Video */
.demo-video-section {
  margin: 1.5rem 0 2rem;
}

.demo-video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
  background: #000;
}

/* VideoCUA Hero Stats */
.videocua-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 1.5rem 0 1.5rem;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(13,148,136,0.06) 0%, rgba(30,58,95,0.06) 100%);
  border-radius: 16px;
  border: 1px solid rgba(13,148,136,0.1);
}

.vcua-stat-big {
  text-align: center;
}

.vcua-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  font-family: 'Google Sans', sans-serif;
}

.vcua-unit {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  margin-left: 0.2rem;
}

.vcua-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  font-weight: 500;
}

.vcua-divider {
  width: 1px;
  height: 50px;
  background: rgba(0,0,0,0.1);
}

/* CoT Flow */
.cot-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0 auto;
  max-width: 1100px;
}

.cot-card {
  flex: 1;
  background: white;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.cot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cot-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.cot-card-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.cot-card-body p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
  flex: 1;
}

.cot-card-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #f0f0f0;
}

.cot-card-num small {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.6;
}

.cot-arrow {
  display: flex;
  align-items: center;
  padding: 0 0.3rem;
  color: #ccc;
  font-size: 0.85rem;
}

/* Citation */
.citation-section {
  margin: 2rem 0;
}

.citation-box {
  background-color: #1e1e2e;
  border-radius: 12px;
  padding: 1.75rem;
  overflow-x: auto;
  position: relative;
  border: 1px solid #313244;
}

.citation-box pre {
  margin: 0;
  color: #cdd6f4;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-wrap: break-word;
  background-color: transparent;
}

.citation-box .copy-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: #313244;
  border: 1px solid #45475a;
  color: #cdd6f4;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.2s;
}

.citation-box .copy-btn:hover {
  background-color: #45475a;
  color: #fff;
}

/* Abstract */
.abstract-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 4px solid var(--teal);
}

.abstract-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.abstract-section h3 i { color: var(--teal); }

.abstract-section p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: var(--primary-color);
  color: rgba(255,255,255,0.7);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--teal-light);
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
  .publication-title {
    font-size: 1.6rem;
    padding: 0 0.5rem;
  }

  .publication-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .publication-links {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }

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

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

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

  .results-grid,
  .bottleneck-grid,
  .frontiers-grid,
  .failures-grid {
    grid-template-columns: 1fr;
  }

  .content-nav {
    gap: 0.1rem;
  }

  .nav-item {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  .author-list { font-size: 0.78rem; }
  .author-affiliations { font-size: 0.72rem; }
}

/* Pipeline Steps */
.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.pipeline-step {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s;
}

.pipeline-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.step-content h4 i {
  color: var(--teal);
  font-size: 0.85rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* GroundCUA Layout */
.groundcua-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 1.5rem 0;
}

.groundcua-image-col img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.groundcua-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.highlight-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.highlight-item .highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.highlight-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.highlight-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.groundcua-models {
  background: rgba(230, 126, 34, 0.04);
  border-radius: 10px;
  padding: 1rem;
  border: 1px solid rgba(230, 126, 34, 0.1);
}

@media (max-width: 768px) {
  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .groundcua-layout {
    grid-template-columns: 1fr;
  }

  .videocua-hero {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .vcua-divider {
    width: 60px;
    height: 1px;
  }

  .vcua-number {
    font-size: 2.2rem;
  }

  .cot-flow {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cot-arrow {
    justify-content: center;
    transform: rotate(90deg);
    padding: 0;
  }
}

@media (max-width: 480px) {
  .stats-banner {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .cot-layers {
    grid-template-columns: 1fr 1fr;
  }
}
