/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.5;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
  background-color: #333333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
  font-weight: 700;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 30px;
  color: #333333;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero p {
  font-size: 1.4rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #666666;
  font-weight: 400;
}

.hero .emphasized {
  font-size: 1.6rem;
  font-weight: 700;
  color: #333333;
}

.hero button {
  margin-top: 20px;
  padding: 16px 32px;
  background-color: #333333;
  color: #ffffff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero button:hover {
  background-color: #555555;
}

/* Target grid */
.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  padding: 0;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #f0f0f0;
}

.target-card {
  background: #ffffff;
  padding: 40px 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.target-card:hover {
  background-color: #f8f8f8;
}

.target-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  border: 2px solid #333333;
}

.compound-count {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  font-weight: 900;
  color: #333333;
  background: #f8f8f8;
  padding: 8px 12px;
  min-width: 80px;
  text-align: center;
}

.target-card {
  position: relative;
}

.target-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #333333;
  font-weight: 700;
  margin-top: 60px;
}

.target-card p {
  color: #666666;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 20px;
}


.custom-target {
  border: 2px solid #333333;
}

.custom-target:hover {
  background-color: #333333;
  color: #ffffff;
}

.custom-target:hover h3,
.custom-target:hover p,
.custom-target:hover .contact-note {
  color: #ffffff;
}

.custom-target-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f8f8f8;
}

.custom-target-section .target-card {
  max-width: 300px;
}

.contact-note {
  font-size: 0.9rem;
  color: #666666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation */
.nav {
  padding: 20px 40px;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.back-link {
  color: #333333;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.back-link:hover {
  color: #666666;
}

/* Dataset info page */
header {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
}

header h1 {
  font-size: 2.5rem;
  color: #333333;
  font-weight: 900;
}

.dataset-info {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
}

.dataset-info img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 25px;
  object-fit: cover;
  border: 2px solid #333333;
}

.target-description {
  margin-bottom: 40px;
}

.target-description p {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
}

.properties-section, .additional-info {
  margin-bottom: 40px;
  text-align: left;
}

.properties-section h3, .additional-info h3 {
  color: #333333;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.properties-list {
  list-style: none;
  padding-left: 0;
}

.properties-list li {
  background: #f8f8f8;
  margin-bottom: 1px;
  padding: 15px 20px;
  font-size: 0.95rem;
  border-left: 3px solid #333333;
}

.additional-info ul {
  padding-left: 0;
  list-style: none;
}

.additional-info li {
  margin-bottom: 1px;
  color: #666666;
  background: #f8f8f8;
  padding: 12px 20px;
}

/* Action section */
.action-section {
  text-align: center;
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn, .secondary-btn {
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 180px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.primary-btn {
  background-color: #333333;
  color: #ffffff;
}

.primary-btn:hover {
  background-color: #555555;
}

.secondary-btn {
  background-color: #ffffff;
  color: #333333;
  border: 2px solid #333333;
}

.secondary-btn:hover {
  background-color: #333333;
  color: #ffffff;
}

/* Dataset statistics */
.dataset-stats {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.single-stat {
  max-width: 400px;
  width: 100%;
}

.stat-card {
  background: #ffffff;
  padding: 30px 20px;
  text-align: center;
}

.stat-card h3 {
  color: #333333;
  margin-bottom: 15px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #333333;
  margin-bottom: 10px;
}


.stat-label {
  font-size: 0.85rem;
  color: #666666;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-note {
  font-size: 0.9rem;
  color: #333333;
  margin: 10px 0 0 0;
  font-weight: 600;
  text-align: center;
}

/* QM Methods section */
.qm-methods-section {
  margin: 40px 0;
  padding: 30px;
  background: #f8f8f8;
  border-left: 3px solid #333333;
}

.qm-methods-section h3 {
  color: #333333;
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qm-description {
  color: #666666;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.qm-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.method-tag {
  background: #333333;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qm-note {
  color: #666666;
  font-size: 0.9rem;
  margin: 0;
}

/* Exclusivity warning */
.exclusivity-warning {
  margin: 40px 0;
  padding: 30px;
  background: #f0f0f0;
  border: 3px solid #333333;
}

.exclusivity-warning h3 {
  color: #333333;
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
}

.exclusivity-warning p {
  color: #333333;
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 0.95rem;
}

.warning-emphasis {
  color: #333333 !important;
  font-weight: 900 !important;
  font-size: 1.1rem !important;
  text-align: center;
  margin: 0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer */
.footer {
  background: #333333;
  color: #ffffff;
  text-align: center;
  padding: 50px 20px;
  margin-top: 80px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer p {
  margin: 5px 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .target-grid {
    grid-template-columns: 1fr;
  }
  
  .dataset-info {
    margin: 20px;
    padding: 25px;
  }
  
  .dataset-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .qm-methods {
    justify-content: center;
  }
  
  .exclusivity-warning {
    padding: 25px;
  }
  
  .action-section {
    flex-direction: column;
    align-items: center;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 15px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .target-card {
    padding: 30px 20px;
  }
  
  .nav {
    padding: 15px 20px;
  }
  
  .stat-value {
    font-size: 1.8rem;
  }
}