body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f0f9ff, #dbeafe);
    color: #1e293b;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
  }
  
  .container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 50px 60px;
    margin-top: 70px;
    width: 90%;
    max-width: 900px;
    text-align: center;
    animation: fadeIn 0.6s ease;
  }
  
  h1 { font-size: 2.3rem; color: #0f172a; }
  .subtitle { color: #475569; margin-bottom: 25px; }
  
  .upload-zone {
    border: 2px dashed #60a5fa;
    border-radius: 14px;
    padding: 30px;
    cursor: pointer;
    transition: background 0.3s;
  }
  .upload-zone:hover { background: #f0f9ff; }
  
  .progress {
    width: 200px;
    height: 10px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin: 20px auto;
  }
  .progress-bar {
    width: 0%;
    height: 100%;
    background: #2563eb;
    animation: load 2s ease-in-out infinite;
  }
  
  @keyframes load {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 0%; }
  }
  
  .hidden { display: none; }
  .fade-in { animation: fadeIn 0.6s ease; }
  
  .image-compare {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    max-width: 500px;
  }
  
  .image-compare img {
    width: 100%;
    display: block;
  }
  
  .image-compare input[type=range] {
    position: absolute;
    width: 100%;
    bottom: 10px;
  }
  
  .image-compare .overlay {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.1s linear;
  }
  
  .btn-group {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .btn-group button {
    background: #2563eb;
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .btn-group button:hover { background: #1d4ed8; }
  
  footer {
    margin-top: 40px;
    color: #64748b;
    font-size: 0.9rem;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .image-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
  }
  
  .image-grid img {
    max-width: 280px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: transform 0.3s;
  }
  
  .image-grid img:hover {
    transform: scale(1.05);
  }
  
  /* === ABOUT MODEL SECTION === */
.model-info {
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border-radius: 18px;
  padding: 35px 40px;
  margin-bottom: 40px;
  text-align: left;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.model-info h2 {
  font-size: 1.6rem;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.model-info p {
  color: #334155;
  line-height: 1.65;
  margin-bottom: 15px;
}

.model-info strong {
  color: #0f172a;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.model-grid img {
  width: 100%;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.model-grid img:hover {
  transform: scale(1.04);
}

.caption {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 8px;
  text-align: center;
  line-height: 1.4;
}

.model-info ul {
  list-style: none;
  margin: 15px 0 0;
  padding-left: 0;
}

.model-info ul li {
  margin-bottom: 6px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.model-info ul li::before {
  content: "•";
  color: #3b82f6;
  font-weight: bold;
  margin-right: 6px;
}

/* optional subtle divider */
hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 40px 0;
}

/* === SAMPLE IMAGES SECTION === */
.sample-section {
  background: #f8fafc;
  border-radius: 18px;
  padding: 30px 40px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.sample-section h2 {
  color: #0f172a;
  margin-bottom: 10px;
}

.sample-section p {
  color: #475569;
  margin-bottom: 20px;
}

.sample-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.sample-grid img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sample-grid img:hover {
  transform: scale(1.08);
  border-color: #3b82f6;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.repo-link {
  margin-top: 20px;
  text-align: center;
}

.repo-link a {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s;
}

.repo-link a:hover {
  background: #1d4ed8;
}
.examples {
  margin-top: 25px;
  text-align: center;
}

.examples h3 {
  margin-bottom: 10px;
  color: #0f172a;
}

.examples-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.examples-grid img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  transition: transform 0.2s;
  cursor: pointer;
}

.examples-grid img:hover {
  transform: scale(1.05);
}

.repo-link {
  margin-top: 25px;
  text-align: center;
}

.repo-link a {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s;
}

.repo-link a:hover {
  background: #1d4ed8;
}

.examples {
  margin-top: 30px;
  text-align: center;
}

.examples h3 {
  color: #0f172a;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.examples .caption {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.examples-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.examples-grid img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #e2e8f0;
  transition: transform 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.examples-grid img:hover {
  transform: scale(1.05);
  border-color: #3b82f6;
}
