/* ============================================================
   Cinematica — Homepage / Knowledge Base Styles
   ============================================================ */

/* --- HERO --- */
.hero { min-height: 70vh; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--bg) 0%, #0d0d14 100%); }
.hero-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; }
.hero-logo { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.hero-links { display: flex; align-items: center; gap: 20px; }
.hero-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.15s; }
.hero-links a:hover { color: var(--fg); }
.hero-content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.hero-content h1 { font-size: 42px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; max-width: 700px; }
.hero-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { color: var(--muted); font-size: 16px; margin-top: 16px; line-height: 1.6; }

/* --- KB SECTIONS --- */
.kb-section { padding: 80px 24px; }
.kb-section-alt { background: var(--bg2); }
.kb-container { max-width: 1100px; margin: 0 auto; }
.kb-section-header { margin-bottom: 40px; }
.kb-section-header h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.kb-section-header p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 600px; }
.kb-label { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }

/* --- KB CARDS --- */
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.kb-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 20px; transition: border-color 0.2s, transform 0.2s; }
.kb-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.kb-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; gap: 8px; }
.kb-card-header h3 { font-size: 15px; font-weight: 600; margin: 0; }
.kb-prompt-value { font-size: 10px; padding: 2px 8px; border-radius: 4px; background: rgba(167,139,250,0.15); color: var(--accent); white-space: nowrap; font-family: 'SF Mono', 'Fira Code', monospace; }
.kb-desc { font-size: 13px; color: var(--fg); line-height: 1.6; margin-bottom: 12px; }
.kb-meta { display: flex; flex-direction: column; gap: 6px; }
.kb-meta-item { font-size: 12px; color: var(--muted); line-height: 1.5; }
.kb-meta-label { color: var(--amber); font-weight: 600; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 28px; }
  .hero-nav { flex-direction: column; gap: 12px; }
  .hero-links { flex-wrap: wrap; justify-content: center; }
  .kb-grid { grid-template-columns: 1fr; }
}
