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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  padding: 0;
}

/* Top Navigation */
.top-nav {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
}

.logo {
  height: 40px;
  width: auto;
}

.logo-text {
  color: #333;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu a,
.nav-menu .nav-link-btn {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav-menu a:hover,
.nav-menu .nav-link-btn:hover {
  color: #333;
}

.header {
  background: #fff;
  color: #333;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo-img {
  height: 60px;
  width: auto;
  vertical-align: middle;
}

.research-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.title-with-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.title-line-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.title-line-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo-img {
  height: 80px;
  width: auto;
  vertical-align: middle;
  flex-shrink: 0;
}

.title-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.title-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
  text-align: center;
}

.authors {
  margin-bottom: 2rem;
  color: #333;
}

.authors p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 400;
}

.authors-line-1,
.authors-line-2 {
  margin-bottom: 0.3rem;
}

.affiliations {
  margin-top: 0.8rem;
  font-size: 1rem;
}

.affiliation-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
}

.authors a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.authors a:hover {
  color: #1d4ed8;
  text-decoration-color: #1d4ed8;
  text-decoration-thickness: 2px;
}

.authors sup {
  font-size: 0.75em;
  vertical-align: super;
}

.header-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.header-link {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  padding: 0.6rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.header-link:hover {
  background: #e5e5e5;
  border-color: #bbb;
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-link.upcoming {
  opacity: 0.7;
  cursor: not-allowed;
}

.header-link.upcoming:hover {
  background: #f5f5f5;
  border-color: #ddd;
  color: #333;
  transform: none;
  box-shadow: none;
}

.upcoming-badge {
  font-size: 0.7rem;
  background: #ff9800;
  color: #fff;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  font-weight: 600;
  margin-left: 0.3rem;
  vertical-align: middle;
}

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

.header nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.header nav a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
  cursor: pointer;
}

.header nav a:hover {
  background: #e5e5e5;
  border-color: #bbb;
  transform: translateY(-1px);
}

.tldr {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  background: #f9f9f9;
  border-left: 4px solid #2563eb;
  border-radius: 4px;
  text-align: left;
}

.tldr strong {
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
  display: inline;
  margin-right: 0.5rem;
}

.hero-media {
  max-width: 1000px;
  margin: 2rem auto 0;
}

.hero-media video {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  background: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.section {
  margin-bottom: 5rem;
  width: 100%;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
  text-align: center;
  font-weight: 600;
}

#demos {
  text-align: center;
}

#demos .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#methods .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#demos .demo-nav {
  justify-content: center;
}

#dataset h2 {
  text-align: center;
}

#dataset .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#concept {
  background: #fff;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  border-radius: 0;
}

#demos {
  background: #fff;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  border-radius: 0;
}

#dataset {
  background: #fff;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  border-radius: 0;
  border: none;
}

#ablation {
  background: #fff;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  border-radius: 0;
}

#ar-demos {
  background: #fff;
  padding: 3rem 2rem;
  margin-bottom: 4rem;
  border-radius: 0;
  border: none;
}

#ar-demos h2 {
  text-align: center;
}

#ar-demos .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ar-demos-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.ar-demo-item {
  width: 100%;
}

.ar-demo-video-pair {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

.ar-source-video {
  flex: 0 0 25%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ar-demo-video {
  flex: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ar-frame-label {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
  text-align: center;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
}

.ar-source-video video,
.ar-demo-video video {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ar-label {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  text-align: center;
}

.section p {
  margin-bottom: 1rem;
  color: #555;
}

.section-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.section strong {
  color: #1a1a1a;
  font-weight: 600;
}

.demo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.demo-nav a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid #ddd;
}

.demo-nav a:hover {
  background: #e5e5e5;
  color: #1a1a1a;
  border-color: #bbb;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.concept-minimal {
  max-width: 1000px;
  margin: 0 auto;
}

.concept-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.methods-image {
  max-width: 1200px;
  margin: 2rem auto;
  text-align: center;
}

.methods-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.concept-caption {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-bottom: 2rem;
}

.concept-text {
  max-width: 900px;
  margin: 0 auto;
}

.concept-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #444;
}

.concept-text strong {
  color: #1a1a1a;
  font-weight: 600;
}

.cite {
  font-size: 0.85em;
  color: #666;
  font-style: italic;
}

.spacetimpilot-text {
  color: #2563eb;
}



.demo-group {
  margin-bottom: 4rem;
  scroll-margin-top: 2rem;
}

#ablation .demo-group {
  margin-bottom: 3rem;
  scroll-margin-top: 2rem;
}

.demo-group h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
  text-align: center;
}

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

.video-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
}

.video-item video {
  width: 100%;
  display: block;
  background: #000;
  cursor: pointer;
}

.video-item video:hover {
  opacity: 0.95;
}

.video-item p {
  padding: 0.75rem;
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.dataset-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.dataset-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.5rem;
  background: #fafafa;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dataset-card h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #111;
}

.dataset-card p {
  margin: 0;
  color: #555;
}

.dataset-card--media {
  background: #f3f6ff;
  border-color: #dbe4ff;
}

.dataset-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dataset-highlights li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: #444;
}

.dataset-highlights li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #2563eb;
}

.dataset-media {
  margin-top: 0.5rem;
}

.dataset-media video {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #c7d2fe;
  background: #000;
}

.dataset-caption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.35rem;
}

.dataset-demo-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dataset-general-example {
  margin-bottom: 3rem;
  text-align: center;
}

.dataset-general-example h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.dataset-general-example p {
  margin-bottom: 1.5rem;
  color: #555;
  font-size: 1.1rem;
}

.dataset-example-video {
  max-width: 1000px;
  margin: 0 auto;
}

.dataset-example-video video {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dataset-comparison {
  margin-bottom: 3rem;
}

.dataset-comparison h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  text-align: center;
}

.comparison-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-left {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comparison-left video {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparison-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.comparison-right video {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.comparison-label {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  text-align: center;
}

.comparison-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #2563eb;
  font-style: italic;
  text-align: center;
}

.dataset-examples {
  margin-top: 3rem;
}

.dataset-examples h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  text-align: center;
}

.dataset-examples > p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #555;
}

.dataset-examples-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.dataset-example-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.dataset-example-row .video-item {
  background: #f8f8f8;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.dataset-example-row .video-item video {
  width: 100%;
  display: block;
  background: #000;
  cursor: pointer;
}

.dataset-example-row .video-item video:hover {
  opacity: 0.95;
}

.dataset-example-row .video-item p {
  padding: 0.5rem;
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
}

.ablation-section {
  transition: all 0.3s ease;
}

.ablation-section.collapsed .ablation-content {
  display: none;
}

.ablation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1rem 0;
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 2rem;
}

.ablation-header h2 {
  margin: 0;
}

.ablation-toggle {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ablation-toggle:hover {
  background: #e5e5e5;
  border-color: #bbb;
}

.toggle-icon {
  transition: transform 0.3s ease;
  display: inline-block;
}

.ablation-section:not(.collapsed) .toggle-icon {
  transform: rotate(180deg);
}

.ablation-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ablation-toggle-btn {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.2s ease;
  font-family: inherit;
}

.ablation-toggle-btn:hover {
  background: #e5e5e5;
  border-color: #bbb;
  transform: translateY(-1px);
}

.ablation-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #444;
  text-align: center;
}

.ablation-intro a {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 700;
  margin: 0 0.25rem;
  transition: all 0.2s ease;
}

.ablation-intro a:hover {
  background: #1d4ed8;
  transform: scale(1.1);
}

.ablation-description {
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background: #f9f9f9;
  border-left: 4px solid #2563eb;
  border-radius: 4px;
  color: #555;
  line-height: 1.7;
}

.ablation-description strong {
  color: #1a1a1a;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.ablation-image {
  margin-bottom: 1.5rem;
  text-align: center;
}

.warping-methods-img {
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ablation-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  background: #f5f7ff;
  border-radius: 0;
  overflow: hidden;
  table-layout: fixed;
}

.ablation-table th {
  padding: 0.65rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #e0e7ff;
  border: 1px solid #d4dcff;
  width: auto;
  word-wrap: break-word;
}

.ablation-table th.good-result {
  color: #059669;
  background: #d1fae5;
  border-color: #a7f3d0;
  font-weight: 700;
}

.ablation-videos {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ablation-video-item {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.ablation-video-item video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  object-fit: contain;
}

.ablation-video-item video:hover {
  opacity: 0.95;
}

.ablation-video-item video[poster] {
  object-fit: contain;
}

pre {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid #e0e0e0;
  font-size: 0.9rem;
}

.bibtex-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.bibtex-section.collapsed {
  display: none;
}

.bibtex-container {
  background: #f9f9f9;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  padding: 2rem;
}

.bibtex-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-size: 1.5rem;
}

#bibtex-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid #e5e5e5;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  position: relative;
}

#bibtex-content code {
  font-family: 'Courier New', Courier, monospace;
  color: #333;
  white-space: pre;
}

.copy-bibtex-btn {
  display: block;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-bibtex-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

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

.footer {
  background: #fff;
  color: #666;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  border-top: 1px solid #e5e5e5;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1001;
}

.modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  z-index: 1002;
}

.modal__close:hover {
  background: #fff;
}

#modalVideo {
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  background: #000;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-menu {
    gap: 1rem;
    justify-content: center;
  }

  .header {
    padding: 2rem 1rem;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  .header-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  main {
    padding: 2rem 1rem;
  }

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

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

  .comparison-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .comparison-left {
    flex: 1;
    width: 100%;
    max-width: 400px;
  }

  .comparison-arrow {
    transform: rotate(90deg);
  }

  .comparison-right {
    width: 100%;
  }

  .dataset-example-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .dataset-example-row .video-item:nth-child(5) {
    grid-column: 1 / -1;
  }

  .ar-demo-video-pair {
    flex-direction: column;
    gap: 1.5rem;
  }

  .ar-source-video {
    flex: 1;
    max-width: 100%;
  }

  .ar-demo-video {
    max-width: 100%;
  }

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