body {
  font-family: 'Google Sans', 'Inter', 'Noto Sans', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  padding: 4rem 0;
  text-align: left;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.hero-authors {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.hero-authors .author-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.hero-authors .author-link:hover {
  text-decoration: underline;
}

.hero-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-affiliations {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-align: center;
}

.hero-buttons {
  margin-top: 2rem;
}

/* Button styling to work with existing classes */
.btn {
  margin: 0 10px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid;
}

.btn-primary {
  background-color: #fff;
  color: #74b9ff;
  border-color: #fff;
}

.btn-primary:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: #74b9ff;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Subsection styling */
.subsection {
  margin: 2rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.subsection-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
  text-align: left;
}

.subsection-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  text-align: left;
  margin-bottom: 1rem;
}

/* Pipeline Section */
.pipeline-main-image {
  text-align: center;
  margin: 3rem 0;
}

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

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pipeline-step {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
}

.pipeline-step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.pipeline-step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  flex-grow: 0;
}

.pipeline-step-image {
  text-align: center;
  margin-top: auto;
  padding-top: 1rem;
}

/* Qualitative Section */
.qualitative-main-image {
  text-align: center;
  margin: 3rem 0;
}

.qualitative-img-main {
  max-width: 70%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.qual-card {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.qual-example-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.qual-example-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* Model Bubbles */
.model-bubbles {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0 3rem 0;
  flex-wrap: wrap;
}

.model-bubble {
  position: relative;
  background: linear-gradient(135deg, #a8d8ff 0%, #74b9ff 100%);
  color: #2d3748;
  padding: 1.2rem 1.8rem;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(168, 216, 255, 0.3);
  min-width: 120px;
}

.model-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(168, 216, 255, 0.4);
}

.model-bubble .bubble-content h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #2d3748;
}

.model-bubble .bubble-content p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
  color: #4a5568;
}

/* Prompt Bubbles */
.prompt-bubbles {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.prompt-bubble {
  position: relative;
  background: linear-gradient(135deg, #a8d8ff 0%, #74b9ff 100%);
  color: #2d3748;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(168, 216, 255, 0.3);
  min-width: 150px;
}

.prompt-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(168, 216, 255, 0.4);
}

.prompt-bubble .bubble-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
}

.prompt-bubble .bubble-content p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
  color: #4a5568;
}

.bubble-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #2d3748;
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  width: 300px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-bottom: 10px;
}

.bubble-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #2d3748;
}

.prompt-bubble:hover .bubble-tooltip {
  opacity: 1;
  visibility: visible;
}

.bubble-tooltip h5 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #a8d8ff;
}

.bubble-tooltip p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

.bubble-tooltip p strong {
  color: #fff;
  font-weight: 600;
}

/* Results Section */
.results-figure {
  text-align: center;
  margin: 1rem 0;
}

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

.proximity-figure .results-img {
  max-width: 50% !important;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.figure-caption {
  margin-top: 1rem;
  font-size: 1rem;
  color: #666;
  font-style: italic;
}

/* Citation Section */
.bibtex-container {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
}

.bibtex-block {
  background: #ffffff;
  color: #000000;
  padding: 1.5rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-x: auto;
  margin: 0;
}

.copy-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #667eea;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.copy-btn:hover {
  background: #5a67d8;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(116, 185, 255, 0.2);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.bottom-nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.bottom-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.bottom-nav-list li {
  margin: 0;
}

.bottom-nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #4a5568;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.bottom-nav-link:hover {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
  transform: translateY(-2px);
}

.bottom-nav-link.active {
  background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
  color: white;
}

.bottom-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #74b9ff;
  border-radius: 50%;
}

/* Add bottom padding to body to account for fixed nav */
body {
  padding-bottom: 80px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .bottom-nav-list {
    gap: 1rem;
  }
  
  .bottom-nav-link {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  body {
    padding-bottom: 70px;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer-text {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  font-size: 0.9rem;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

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

/* Footer text links (like the Emily Dickinson quote) */
.footer-text a {
  color: #fff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.footer-text a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .pipeline-grid,
  .qual-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons .btn {
    display: block;
    margin: 10px auto;
    max-width: 200px;
  }
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}
