/* Light theme, scoped to the app detail page only - the rest of the site is
   dark, but this page is a "sales page" for one app and reads better light. */
:root {
  --bg-color: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --accent-blue: #2563eb;
  --accent-green: #16a34a;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.detail-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.detail-topbar-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  text-decoration: none;
}

.detail-logo span {
  color: var(--accent-blue);
}

.detail-back {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.detail-back:hover {
  color: var(--accent-blue);
}

.detail-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.detail-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.detail-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.detail-source {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.detail-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.detail-tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.detail-actions {
  display: flex;
  justify-content: center;
}

.detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  background: var(--accent-green);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.detail-cta:hover {
  background: #15803d;
}

.detail-external-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.detail-mockup {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.detail-benefits {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.detail-benefits h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.detail-benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
}

.detail-benefit-list li svg {
  flex-shrink: 0;
  color: var(--accent-green);
  margin-top: 0.15rem;
}

.detail-about {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.detail-footer {
  text-align: center;
  padding: 2rem 0 3rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .detail-topbar-inner {
    padding: 1rem 1.25rem;
  }

  .detail-main {
    padding: 2rem 1.25rem 3rem;
  }

  .detail-benefits {
    padding: 1.5rem;
  }
}
