/* =============================================
   STARTUP DETAIL PAGE — Claude Palette
   ============================================= */

.sd-page {
  background: #F4F3EE;
  color: #2D2926;
  min-height: 100%;
  padding: 48px 0 80px;
}

.sd-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.sd-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #8b827a;
  font-size: 0.9rem;
}

.sd-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.sd-back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: #C15F3C;
  text-decoration: none;
  font-weight: 700;
}

.sd-hero-card {
  padding: 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(177, 173, 161, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
}

.sd-back .MuiButton-root {
  color: #B1ADA1;
  text-transform: none;
  font-weight: 500;
}
.sd-back .MuiButton-root:hover {
  color: #C15F3C;
}

.sd-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 24px 0;
}

.sd-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(177, 173, 161, 0.2);
  flex-shrink: 0;
}

.sd-logo-ph {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: rgba(193, 95, 60, 0.06);
  border: 1px solid rgba(193, 95, 60, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sd-info h1 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #2D2926;
  margin: 0 0 8px;
}

.sd-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(193, 95, 60, 0.06);
  border: 1px solid rgba(193, 95, 60, 0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #C15F3C;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sd-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sd-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.sd-badge.verified {
  background: rgba(74, 163, 99, 0.08);
  border: 1px solid rgba(74, 163, 99, 0.2);
  color: #4aa363;
}

.sd-badge.pending {
  background: rgba(193, 95, 60, 0.06);
  border: 1px solid rgba(193, 95, 60, 0.15);
  color: #C15F3C;
}

.sd-description {
  color: #6B6560;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.sd-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #C15F3C;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(193, 95, 60, 0.3);
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: 48px;
}
.sd-link:hover {
  color: #a8512f;
  border-color: rgba(168, 81, 47, 0.5);
}

.sd-pricing-section {
  padding: 32px 0 0;
}

.sd-pricing-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2D2926;
  margin: 0 0 0.75rem;
  text-align: center;
}

.sd-pricing-section p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: #6B6560;
  line-height: 1.7;
  text-align: center;
}

/* ── Screenshots ── */
.sd-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.sd-screenshot {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(177, 173, 161, 0.2);
  object-fit: cover;
}

.sd-loading {
  text-align: center;
  padding: 100px 24px;
}

.sd-loading h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2D2926;
  margin-bottom: 10px;
}

.sd-loading p {
  color: #B1ADA1;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Skeleton overrides for light theme */
.sd-page .MuiSkeleton-root {
  background-color: rgba(177, 173, 161, 0.12);
}

@media (max-width: 600px) {
  .sd-page { padding: 32px 0 60px; }
  .sd-shell { padding: 0 16px; }
  .sd-header { flex-direction: column; align-items: center; text-align: center; }
  .sd-badges { justify-content: center; }
  .sd-breadcrumbs { flex-wrap: wrap; }
  .sd-hero-card { padding: 18px; }
}
