/* NyanReader marketing site — shared styles.
   Static, no build step. Dark theme matching the app (neutral-900 base,
   purple accent). Drop the website/ folder on Vercel or Netlify as-is. */

:root {
  --bg: #0a0a0a;
  --bg-raised: #161616;
  --bg-card: #1c1c1c;
  --border: #2a2a2a;
  --text: #ededed;
  --text-dim: #a0a0a0;
  --text-faint: #6b6b6b;
  --accent: #a855f7;
  --accent-hover: #9333ea;
  --accent-text: #ffffff;
  --max-width: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
nav {
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 20px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.logo .paw { color: var(--accent); }
nav .links a { color: var(--text-dim); margin-left: 24px; font-size: 15px; }
nav .links a:hover { color: var(--text); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-text); }
.btn.secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn.secondary:hover { background: var(--bg-raised); color: var(--text); }

/* ---- Hero ---- */
.hero { text-align: center; padding: 96px 0 72px; }
.hero h1 { font-size: 52px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.hero h1 .grad {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.sub { font-size: 20px; color: var(--text-dim); max-width: 620px; margin: 0 auto 32px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--text-faint); }

.shot {
  margin: 56px auto 0;
  max-width: 900px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint);
  font-size: 15px;
}

/* ---- Sections ---- */
section { padding: 72px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 34px; letter-spacing: -0.02em; text-align: center; margin-bottom: 12px; }
section .lead { text-align: center; color: var(--text-dim); max-width: 560px; margin: 0 auto 48px; }

/* ---- Feature grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.card .icon { font-size: 28px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 15px; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { text-align: center; }
.step .num {
  width: 44px; height: 44px; line-height: 44px;
  border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  font-weight: 700; margin: 0 auto 16px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ---- Pricing ---- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 820px; margin: 0 auto; }
.price {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.price.featured { border-color: var(--accent); }
.price .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-text);
  font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.price .amount { font-size: 40px; font-weight: 700; }
.price .credits { color: var(--text); font-size: 17px; margin: 8px 0 4px; }
.price .per { color: var(--text-faint); font-size: 13px; }
.pricing-note { text-align: center; color: var(--text-faint); font-size: 14px; margin-top: 28px; }

/* ---- FAQ ---- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 20px;
  margin-bottom: 12px;
  background: var(--bg-card);
}
.faq summary {
  cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 18px; color: var(--text-dim); font-size: 15px; }

/* ---- Footer ---- */
footer { border-top: 1px solid var(--border); padding: 48px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer .logo { font-size: 16px; }
footer .foot-links a { color: var(--text-dim); margin-left: 20px; font-size: 14px; }
footer .foot-links a:first-child { margin-left: 0; }
footer .copy { color: var(--text-faint); font-size: 13px; width: 100%; margin-top: 8px; }

/* ---- Legal pages ---- */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: 36px; margin-bottom: 8px; }
.legal .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-dim); font-size: 15px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { text-decoration: underline; }
.legal .draft-banner {
  background: rgba(168,85,247,0.1);
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 32px;
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .hero h1 { font-size: 36px; }
  .hero p.sub { font-size: 17px; }
  .grid, .steps, .prices { grid-template-columns: 1fr; }
  nav .links a { margin-left: 16px; font-size: 14px; }
  section { padding: 56px 0; }
  section h2 { font-size: 27px; }
}
