/* =========================================
   PORNAIGENERATOR.COM — MASTER STYLES
   Dark Neon Theme (porngen-compatible)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #07070b;
  --bg-dark: #0a0a10;
  --bg-card: #0e0f18;
  --text: #e9e9f3;
  --muted: #a9aac1;
  --line: #23243a;
  --accent: #b04bff;
  --accent-rgb: 176, 75, 255;
  --accent-hover: #c76aff;
  --pink: rgba(255, 75, 216, 0.12);
  --radius: 16px;
  --container: 1100px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1200px 800px at 20% 10%, rgba(var(--accent-rgb), .15), transparent 60%),
    radial-gradient(900px 700px at 90% 20%, var(--pink), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
}
img, video { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul, ol { list-style: none; }

/* CONTAINER */
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* SECTIONS */
.section { padding: 60px 0; }
.section + .section { padding-top: 0; }

/* ===== HEADER ===== */
.site-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 11, 0.9);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.logo { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill {
  border: 1px solid var(--line);
  background: rgba(14, 15, 24, 0.55);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.2s;
}
.pill:hover { color: var(--text); border-color: rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.1); }
.pill.is-active { color: var(--text); border-color: var(--accent); background: rgba(var(--accent-rgb), 0.15); }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 12px 0; }
.breadcrumb-list { display: flex; gap: 8px; list-style: none; font-size: 0.82rem; color: var(--muted); }
.breadcrumb-list a { color: var(--muted); }
.breadcrumb-list a:hover { color: var(--text); }
.breadcrumb-list .active { color: var(--accent); }
.breadcrumb-list li + li::before { content: "›"; margin-right: 4px; }

/* ===== TOC ===== */
.toc {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.toc .pill { font-size: 0.78rem; padding: 6px 14px; }

/* ===== HERO ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 40px 0;
}
.hero-copy h1 { font-size: 2.4rem; line-height: 1.12; margin-bottom: 16px; letter-spacing: -0.02em; }
.hero-sub { font-size: 1.05rem; color: var(--muted); margin-bottom: 12px; line-height: 1.7; }
.hero-sub strong { color: var(--text); }
.hero-features { list-style: none; margin: 16px 0; }
.hero-features li { color: var(--muted); font-size: 0.95rem; padding: 4px 0; padding-left: 20px; position: relative; }
.hero-features li::before { content: "✦"; color: var(--accent); position: absolute; left: 0; font-size: 0.75rem; top: 6px; }
.hero-img-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero-img-wrap img { width: 100%; height: auto; max-height: 520px; object-fit: contain; display: block; background: #000; }
.hero-img-wrap figcaption {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ===== BUTTONS ===== */
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid rgba(var(--accent-rgb), 0.45);
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.25), rgba(255, 75, 216, 0.18));
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.3); }
.btn-secondary {
  background: rgba(14, 15, 24, 0.6);
  border-color: var(--line);
  color: var(--muted);
}
.btn-secondary:hover { color: var(--text); border-color: rgba(var(--accent-rgb), 0.3); }

/* ===== CARDS ===== */
.card {
  background: linear-gradient(180deg, rgba(14, 15, 24, 0.88), rgba(11, 12, 20, 0.88));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* ===== IMAGE GRID ===== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0;
}
.image-grid figure {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.image-grid figure:hover { border-color: rgba(var(--accent-rgb), 0.4); transform: translateY(-3px); }
.image-grid figure img { width: 100%; height: auto; display: block; }
.image-grid figcaption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.image-longtail {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}

/* ===== CONTENT / TEXT ===== */
.content { max-width: 860px; margin: 0 auto; }
.content h2 { font-size: 1.5rem; margin: 40px 0 14px; color: var(--text); }
.content h3 { font-size: 1.15rem; margin: 24px 0 8px; color: var(--text); }
.content p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 16px; }
.content ul { margin: 12px 0 20px 20px; list-style: disc; color: var(--muted); line-height: 1.75; }
.content ul li { margin-bottom: 6px; }
.content strong { color: var(--text); }
.content a.text-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.content a.text-link:hover { opacity: 0.8; }
.note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; opacity: 0.7; }

/* ===== PIPELINE ===== */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
}
.pipeline-card:hover { border-color: rgba(var(--accent-rgb), 0.4); }
.pipeline-card img { width: 100%; height: auto; display: block; }
.pipeline-card-body { padding: 14px; }
.pipeline-card-body h3 { font-size: 0.95rem; margin-bottom: 4px; }
.pipeline-card-body p { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ===== RELATED SCENES ===== */
.related-scenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.scene-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(14, 15, 24, 0.55);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.2s;
}
.scene-card:hover { color: var(--text); border-color: rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.08); transform: translateY(-2px); }
.scene-card h3 { font-size: 0.95rem; margin: 0 0 4px; color: var(--text); }
.scene-card p { font-size: 0.78rem; font-weight: 400; margin-top: 6px; }

/* ===== FAQ ===== */
.faq-section { margin-top: 40px; }
.faq-item { border: 1px solid var(--line); background: rgba(14, 15, 24, 0.55); border-radius: 14px; padding: 16px; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--text); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { color: var(--muted); line-height: 1.7; margin-top: 10px; font-size: 0.95rem; }

/* ===== CTA SECTION ===== */
.cta-section { text-align: center; padding: 50px 0; }
.cta-section h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-section p { color: var(--muted); margin-bottom: 20px; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.footer-links a { color: var(--muted); font-size: 0.8rem; }
.footer-links a:hover { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pipeline-grid { grid-template-columns: repeat(2, 1fr); }
  .related-scenes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy h1 { font-size: 2rem; }
  .hero-features li { text-align: left; }
  .btn-row { justify-content: center; }
  .image-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .image-grid { grid-template-columns: 1fr; }
  .pipeline-grid { grid-template-columns: 1fr; }
  .related-scenes { grid-template-columns: 1fr; }
  .nav { justify-content: center; }
  .header-inner { flex-direction: column; align-items: center; text-align: center; }
}