/* Shared styles for the Concept Scanner family pages
   (/download-patent-scanner and /github-concept-scanner).
   Scoped: linked only by those two templates, not global.
   The one per-page difference (.ps-results-grid column count) stays inline
   in each template. */

/* Breadcrumb */
.ps-breadcrumb { font-size: 0.85rem; margin-bottom: 1.5rem; color: #111111; opacity: 0.5; }
.ps-breadcrumb a { color: #4A3F78; text-decoration: none; font-weight: 600; opacity: 1; }
.ps-breadcrumb a:hover { color: #2DC5E8; }
.ps-breadcrumb-sep { margin: 0 0.4rem; }

/* Hero */
.content .ps-hero { padding: 20px 0 80px; text-align: center; }
.ps-badge {
  display: inline-block; font-family: 'Satoshi', 'Inter', sans-serif; font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #4A3F78;
  border: 2px solid #4A3F78; border-radius: 6px; padding: 0.4rem 1rem; margin-bottom: 1.5rem;
}
.ps-hero h1 {
  font-family: 'Satoshi', 'Inter', sans-serif; font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
.ps-subhead { font-size: 1.2rem; color: #111111; opacity: 0.75; max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.5; }
.ps-cta-group { display: flex; gap: 1.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.ps-cta {
  display: inline-block; font-family: 'Satoshi', 'Inter', sans-serif; background: #111111; color: white;
  padding: 1rem 2.5rem; font-size: 1.125rem; font-weight: 700; border: none; border-radius: 8px;
  text-decoration: none; transition: all 0.2s ease;
}
.ps-cta:hover { background: #4A3F78; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(74, 63, 120, 0.3); }
.ps-cta-secondary {
  font-family: 'Satoshi', 'Inter', sans-serif; color: #4A3F78; font-size: 1rem; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid #4A3F78; transition: all 0.2s ease;
}
.ps-cta-secondary:hover { color: #2DC5E8; border-bottom-color: #2DC5E8; }
.ps-cta-secondary i { margin-left: 0.3rem; font-size: 0.85rem; }
.ps-micro { margin-top: 1.5rem; font-size: 0.875rem; color: #111111; opacity: 0.5; }
.ps-micro code { font-family: 'SF Mono', 'Fira Code', monospace; opacity: 0.9; }

/* Not-a-patent-scanner callout + category tagline */
.ps-notpatent-wrap { padding: 0 0 10px; }
.ps-notpatent {
  max-width: 720px; margin: 0 auto; text-align: center; background: #F7F8FA;
  border: 1px solid #e5e5e5; border-radius: 10px; padding: 1.4rem 2rem;
  font-size: 1.02rem; line-height: 1.6; color: #111111;
}
.ps-notpatent strong { color: #4A3F78; font-family: 'Satoshi', 'Inter', sans-serif; }
.ps-notpatent p { margin: 0; }
.ps-tagline-line { font-family: 'Satoshi', 'Inter', sans-serif; font-size: 1.15rem; font-weight: 600; margin-bottom: 0.7rem; }
.ps-notpatent-sub { font-size: 0.95rem; opacity: 0.82; }

/* Shared section styles */
.content section { padding: 100px 0; }
.ps-headline {
  font-family: 'Satoshi', 'Inter', sans-serif; font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; text-align: center; margin-bottom: 1rem; letter-spacing: -0.01em; color: #111111;
}
.ps-subline { font-size: 1.125rem; color: #111111; opacity: 0.7; text-align: center; margin: 0 auto 3rem; max-width: 640px; line-height: 1.5; }

/* Feature grid */
.ps-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.ps-feature-card { background: #F7F8FA; border-radius: 8px; padding: 2rem; }
.ps-feature-icon { font-size: 1.5rem; color: #4A3F78; margin-bottom: 1rem; }
.ps-feature-card h3 { font-family: 'Satoshi', 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.ps-feature-card p { font-size: 0.9rem; color: #111111; opacity: 0.7; line-height: 1.5; }

/* Results grid (cards shared; the grid column count is set per-page inline) */
.ps-results-section { background: #F7F8FA; }
.ps-result-card { background: white; border-radius: 8px; padding: 2rem; }
.ps-result-icon { font-size: 1.25rem; color: #4A3F78; margin-bottom: 0.75rem; }
.ps-result-card h3 { font-family: 'Satoshi', 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.ps-result-card p { font-size: 0.9rem; color: #111111; opacity: 0.7; line-height: 1.5; }
.ps-result-card code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.82rem; color: #4A3F78; }

/* Code blocks (pre-aware: handles single- and multi-line) */
.ps-code-wrap { max-width: 720px; margin: 0 auto; }
.ps-code-block { background: #111111; border-radius: 8px; padding: 1.25rem 1.5rem; margin-top: 0.75rem; overflow-x: auto; }
.ps-code-block pre { margin: 0; }
.ps-code-block code { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.875rem; color: #2DC5E8; line-height: 1.6; white-space: pre; }

/* Info note */
.ps-note {
  max-width: 720px; margin: 1.5rem auto 0; display: flex; gap: 0.9rem; align-items: flex-start;
  background: #F7F8FA; border-left: 3px solid #4A3F78; border-radius: 6px; padding: 1.1rem 1.3rem;
}
.ps-note i { color: #4A3F78; font-size: 1rem; padding-top: 0.15rem; }
.ps-note p { font-size: 0.9rem; color: #111111; opacity: 0.8; line-height: 1.5; margin: 0; }
.ps-note a { color: #2DC5E8; text-decoration: none; border-bottom: 1px solid #2DC5E8; }
.ps-note a:hover { color: #4A3F78; border-bottom-color: #4A3F78; }

/* Steps (how it works) */
.ps-steps { max-width: 600px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 2.5rem; }
.ps-step { display: flex; align-items: flex-start; gap: 1.5rem; }
.ps-step-num {
  font-family: 'Satoshi', 'Inter', sans-serif; font-size: 1.5rem; font-weight: 700; color: #4A3F78;
  min-width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center;
  border: 2px solid #4A3F78; border-radius: 50%; flex-shrink: 0;
}
.ps-step-content h3 { font-family: 'Satoshi', 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.ps-step-content p { color: #111111; opacity: 0.7; font-size: 0.95rem; line-height: 1.5; }
.ps-step-content a { color: #2DC5E8; text-decoration: none; border-bottom: 1px solid #2DC5E8; }
.ps-step-content a:hover { color: #4A3F78; border-bottom-color: #4A3F78; }

/* Download grid */
.ps-downloads-section { background: #F7F8FA; }
.ps-download-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.ps-download-card { background: white; border: 1px solid #e5e5e5; border-radius: 8px; padding: 1.5rem 1rem; text-align: center; text-decoration: none; color: #111111; transition: all 0.2s ease; }
.ps-download-card:hover { border-color: #4A3F78; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.ps-dl-icon { font-size: 1.75rem; color: #4A3F78; margin-bottom: 0.75rem; display: block; }
.ps-download-card h3 { font-family: 'Satoshi', 'Inter', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.ps-dl-arch { font-size: 0.8rem; color: #111111; opacity: 0.5; }

/* Requirements */
.ps-requirements { max-width: 600px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 1.5rem; }
.ps-req-item { display: flex; align-items: flex-start; gap: 1.25rem; }
.ps-req-icon { font-size: 1.25rem; color: #4A3F78; min-width: 2rem; text-align: center; padding-top: 0.15rem; }
.ps-req-content h3 { font-family: 'Satoshi', 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.ps-req-content p { font-size: 0.9rem; color: #111111; opacity: 0.7; line-height: 1.4; }
.ps-req-content a { color: #2DC5E8; text-decoration: none; border-bottom: 1px solid #2DC5E8; }
.ps-req-content a:hover { color: #4A3F78; border-bottom-color: #4A3F78; }

/* Next / cross-link grid */
.ps-next-section { background: #F7F8FA; }
.ps-next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.ps-next-card { background: white; border-radius: 8px; padding: 2rem; }
.ps-next-card h3 { font-family: 'Satoshi', 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.ps-next-card p { font-size: 0.9rem; color: #111111; opacity: 0.7; line-height: 1.5; }
.ps-next-card a { color: #2DC5E8; text-decoration: none; border-bottom: 1px solid #2DC5E8; }
.ps-next-card a:hover { color: #4A3F78; border-bottom-color: #4A3F78; }

/* CTA section */
.ps-cta-section { text-align: center; padding-bottom: 120px; }
.ps-cta-alt { margin-top: 1.5rem; font-size: 0.95rem; color: #111111; opacity: 0.6; }
.ps-cta-alt a { color: #2DC5E8; text-decoration: none; border-bottom: 1px solid #2DC5E8; }
.ps-cta-alt a:hover { color: #111111; border-bottom-color: #111111; }

/* Responsive (results-grid mobile override lives per-page with its column count) */
@media (max-width: 768px) {
  .ps-hero { padding: 60px 0 80px; }
  .content section { padding: 80px 0; }
  .ps-feature-grid { grid-template-columns: 1fr; }
  .ps-next-grid { grid-template-columns: 1fr; }
  .ps-download-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .ps-hero { padding: 40px 0 60px; }
  .ps-hero h1 { font-size: 1.75rem; }
  .ps-cta { padding: 1rem 2rem; font-size: 1rem; width: 100%; max-width: 300px; }
  .content section { padding: 60px 0; }
  .ps-download-grid { grid-template-columns: repeat(2, 1fr); }
}
