:root {
  --bg: #06060c; --bg-2: #0e0e1a; --card: rgba(255,255,255,.04); --line: rgba(255,255,255,.09);
  --text: #f4f4f8; --muted: #a7a7bd; --from: #8b5cf6; --to: #e349f5; --credit: #c084fc;
  --grad: linear-gradient(135deg, var(--from), var(--to));
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* page glow + stars */
.glow { position: absolute; inset: 0 0 auto 0; height: 760px; overflow: hidden; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 380px at 50% -40px, rgba(227,73,245,.55), transparent 70%),
              radial-gradient(520px 340px at 15% 0, rgba(139,92,246,.45), transparent 70%); }
.glow::after { content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(1.5px 1.5px at 12% 30%, #fff8, transparent), radial-gradient(1.5px 1.5px at 78% 22%, #fff8, transparent),
    radial-gradient(1px 1px at 40% 60%, #fff6, transparent), radial-gradient(1px 1px at 90% 70%, #fff6, transparent), radial-gradient(1.5px 1.5px at 60% 85%, #fff6, transparent); }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.pill-nav { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); backdrop-filter: blur(10px); align-items: center; }
.logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #6d28d9; font-weight: 800; text-decoration: none; }
.pill-nav a:not(.logo) { padding: 8px 16px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--muted); }
.pill-nav a:not(.logo):hover { color: var(--text); background: rgba(255,255,255,.08); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 8px 28px rgba(139,92,246,.35); }
.btn.ghost { background: rgba(255,255,255,.06); box-shadow: none; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--credit); outline-offset: 3px; }

/* hero */
.hero { text-align: center; padding: 64px 0 40px; }
.tag { display: inline-block; padding: 6px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); border: 1px solid var(--line); background: var(--card); }
h1 { font-size: clamp(36px, 7vw, 68px); line-height: 1.05; margin: 22px auto 16px; max-width: 14ch; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.1; margin: 14px 0; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); max-width: 52ch; margin: 0 auto 28px; font-size: 18px; }

/* demo card */
.demo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; margin-top: 48px; text-align: left; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.panel h3 { margin: 0 0 14px; font-size: 17px; }
.field { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { padding: 6px 12px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); color: var(--muted); }
.chip.on { background: var(--grad); color: #fff; border-color: transparent; }
.gen { width: 100%; display: flex; justify-content: space-between; padding: 14px 18px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 700; }
.shots { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 300px; }
.shot { border-radius: 16px; display: grid; place-items: end start; padding: 12px; font-size: 13px; font-weight: 600; }
.shot.a { grid-row: span 2; background: radial-gradient(circle at 30% 20%, #f5a3ff, transparent 55%), linear-gradient(160deg, #4c1d95, #1e1b4b); }
.shot.b { background: radial-gradient(circle at 70% 30%, #7dd3fc, transparent 55%), linear-gradient(160deg, #1e3a8a, #312e81); }
.shot.c { background: radial-gradient(circle at 30% 70%, #fbcfe8, transparent 55%), linear-gradient(160deg, #831843, #4c1d95); }

/* sections */
section { padding: 72px 0; }
.center { text-align: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card .ico { font-size: 28px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); font-weight: 700; margin-bottom: 12px; }
.price { text-align: center; }
.price .amt { font-size: 34px; font-weight: 800; margin: 8px 0 4px; }
.price .cr { color: var(--credit); font-weight: 700; font-size: 22px; }
.price.best { border-color: rgba(227,73,245,.6); box-shadow: 0 0 40px rgba(227,73,245,.15); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--grad); font-size: 12px; font-weight: 700; }
.note { color: var(--muted); font-size: 14px; text-align: center; margin-top: 20px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
.cta { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 56px 24px; }
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; } footer a:hover { color: var(--text); }

/* legal pages */
.legal { max-width: 760px; padding: 24px 0 72px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); max-width: none; margin: 8px 0 4px; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: #d4d4e4; }
.legal ul { padding-left: 22px; }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal .draft { border: 1px solid rgba(251,191,36,.5); background: rgba(251,191,36,.08); color: #fde68a; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 16px 0; }

@media (max-width: 820px) {
  .demo, .grid3, .grid4 { grid-template-columns: 1fr; }
  .shots { min-height: 240px; }
  .pill-nav a:not(.logo):not(:first-of-type) { display: none; }
  .grid4.prices { grid-template-columns: repeat(2, 1fr); }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
