* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.7;
}

.container {
  width: 94%;
  max-width: 1250px;
  margin: 0 auto;
}

.container.narrow {
  width: 96%;
  max-width: 1020px;
  margin: 0 auto;
}

.hero {
  padding: 72px 0 48px;
  text-align: center;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  border-bottom: 1px solid #e5e7eb;
}

.title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
}


.title-icon {
  width: 62px;
  vertical-align: middle;
  margin-right: 10px;
}

.authors {
  text-align: center;
  margin-bottom: 25px;
}

.author-names {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.affiliation {
  font-size: 1rem;
  color: #555;
  margin-bottom: 6px;
}

.contact a {
  color: #2563eb;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.overview-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.contribution-list {
  margin-top: 10px;
  padding-left: 20px;
}

.contribution-list li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.step-card p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #374151;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #111827;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.section {
  padding: 48px 0;
}

.section.light {
  background: #f8fafc;
}

.section h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 28px;
  font-size: 2rem;
}

.main-figure {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.caption {
  text-align: center;
  margin-top: 14px;
  color: #4b5563;
  font-size: 0.97rem;
}

.video-wrapper {
  width: min(960px, 100%);
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: black;
}

.figure-block {
  margin-top: 8px;
}

.bibtex {
  background: #111827;
  color: #f9fafb;
  padding: 20px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 0.95rem;
}

.footer {
  padding: 26px 0 36px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .hero {
    padding: 56px 0 36px;
  }

  .section {
    padding: 48px 0;
  }

  .section h2 {
    font-size: 1.6rem;
  }
}

.copy-btn {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.copy-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.copy-btn:active {
  transform: translateY(0);
}

.copy-btn.copied {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.copy-btn.error {
  background: #7f1d1d;
  color: #ffffff;
  border-color: #7f1d1d;
}

.citation-copy-wrapper {
  text-align: center;
  margin-top: 18px;
}

.demo-link {
  margin: 16px 0 28px 0;
}

.demo-button {
  display: inline-block;
  padding: 10px 20px;
  background: #2563eb;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.demo-button:hover {
  background: #1d4ed8;
}

.demo-list {
  margin-top: 8px;
  margin-bottom: 14px;
}

.demo-steps {
  margin-top: 8px;
  margin-bottom: 14px;
}

.demo-note {
  color: #6b7280;
}

.demo-formats {
  font-family: monospace;
}
