:root {
  --bg: #0b0f19;
  --surface: #131b2e;
  --surface-2: #1c2742;
  --border: #2a395c;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #10b981;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header { background: rgba(19, 27, 46, 0.9); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); }
.nav { display: flex; justify-content: space-between; align-items: center; height: 64px; flex-wrap: wrap; gap: 12px; }
.brand { font-size: 1.25rem; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.brand span { color: var(--accent); }
.nav-links { display: flex; gap: 16px; font-size: 0.9rem; overflow-x: auto; }
.nav-links a { color: var(--muted); font-weight: 600; white-space: nowrap; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.hero { padding: 40px 0 28px; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); line-height: 1.2; margin-bottom: 14px; font-weight: 800; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 820px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 28px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 22px; transition: transform 0.15s, border-color 0.15s; display: flex; flex-direction: column; justify-content: space-between; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; background: var(--surface-2); color: var(--accent); padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; width: fit-content; }
.customizer { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 24px 0; }
.customizer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 12px; }
.customizer label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; }
.customizer input, .customizer select { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); color: #fff; font-size: 0.92rem; }
.prompt-box { background: #070a12; border: 2px solid var(--accent); border-radius: 12px; padding: 22px; margin: 24px 0; position: relative; }
.prompt-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.copy-btn { background: var(--accent-2); color: #042f1e; border: none; padding: 12px 22px; border-radius: 8px; font-weight: 800; font-size: 0.95rem; cursor: pointer; transition: 0.15s; }
.copy-btn:hover { filter: brightness(1.1); }
pre.prompt-content { white-space: pre-wrap; word-wrap: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.94rem; color: #e2e8f0; line-height: 1.6; }
.preview-img-box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin: 24px 0; text-align: center; }
.preview-img-box img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); }
table.setup-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--surface); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
table.setup-table th, table.setup-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
table.setup-table th { background: var(--surface-2); color: var(--accent); width: 28%; font-weight: 700; }
.sample-output { background: var(--surface); border-left: 4px solid var(--accent-2); padding: 20px; border-radius: 8px; margin: 24px 0; font-family: monospace; white-space: pre-wrap; font-size: 0.88rem; color: #cbd5e1; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; margin-bottom: 14px; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; color: #fff; }
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--surface-2); border: 2px solid var(--accent-2); color: #fff; padding: 18px 22px; border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.5); display: none; z-index: 100; max-width: 360px; }
footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 32px 0; color: var(--muted); font-size: 0.9rem; text-align: center; }