:root {
  --bg: #05070d;
  --surface: #0b101c;
  --surface-2: #111827;
  --border: #1d2637;
  --border-strong: #2c3a54;
  --text: #eef2fa;
  --muted: #aab3c5;
  --accent-1: #7c5aff;
  --accent-2: #38b6ff;
  --accent-grad: linear-gradient(135deg, #7c5aff 0%, #38b6ff 100%);
  --success: #34d399;
  --radius: 16px;
  --shadow: 0 18px 55px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
button { font: inherit; }
.wrap { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; }
.skip-link:focus { left: 12px; padding: 9px 14px; border-radius: 8px; background: #fff; color: #05070d; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 7, 13, .88);
  backdrop-filter: blur(14px);
}
.nav { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--accent-grad); box-shadow: 0 5px 24px rgba(124, 90, 255, .35); }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 650; }
.nav-links .nav-cta { padding: 8px 13px; border-radius: 9px; color: #fff; background: var(--accent-grad); }
.nav-links .nav-cta:hover { text-decoration: none; filter: brightness(1.08); }

.breadcrumbs { padding: 20px 0 0; color: var(--muted); font-size: 13.5px; }
.breadcrumbs ol { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current="page"] { color: #d9e0ed; }

.hero { position: relative; overflow: hidden; padding: 46px 0 42px; text-align: center; }
.hero::before {
  content: "";
  position: absolute;
  inset: -190px 0 auto 50%;
  width: 950px;
  height: 550px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 90, 255, .24), rgba(56, 182, 255, .08) 45%, transparent 72%);
  pointer-events: none;
}
.eyebrow { position: relative; margin: 0 0 10px; color: #a7f3d0; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { position: relative; max-width: 840px; margin: 0 auto; font-size: clamp(34px, 6vw, 58px); line-height: 1.08; letter-spacing: -.04em; }
.hero-copy { position: relative; max-width: 750px; margin: 18px auto 0; color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
.hero-actions { position: relative; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 25px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 17px; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text); font-weight: 750; }
.btn:hover { text-decoration: none; border-color: #52627d; }
.btn-primary { border: 0; background: var(--accent-grad); color: #fff; }
.hero-image { position: relative; margin: 34px auto 0; max-width: 1000px; }
.hero-image img { display: block; width: 100%; height: auto; border: 1px solid var(--border-strong); border-radius: 20px; box-shadow: var(--shadow); }

.section { padding: 70px 0; }
.section-muted { border-block: 1px solid var(--border); background: linear-gradient(180deg, rgba(17, 24, 39, .55), rgba(11, 16, 28, .18)); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.18; letter-spacing: -.025em; }
.section-heading p { margin: 12px 0 0; color: var(--muted); }
.filter-bar { display: flex; gap: 9px; flex-wrap: wrap; margin: 0 0 24px; }
.filter-button { cursor: pointer; border: 1px solid var(--border-strong); border-radius: 999px; padding: 8px 14px; background: var(--surface); color: var(--muted); }
.filter-button:hover,
.filter-button[aria-pressed="true"] { color: #fff; border-color: var(--accent-1); background: rgba(124, 90, 255, .14); }
.prompt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.prompt-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: 0 10px 34px rgba(0, 0, 0, .18); }
.prompt-card[hidden] { display: none; }
.prompt-art { min-height: 150px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.prompt-art::before,
.prompt-art::after { content: ""; position: absolute; border-radius: 999px; filter: blur(1px); }
.prompt-art::before { width: 230px; height: 230px; top: -90px; left: 12%; background: rgba(124, 90, 255, .55); }
.prompt-art::after { width: 190px; height: 190px; right: 6%; bottom: -85px; background: rgba(56, 182, 255, .44); }
.art-photo { background: linear-gradient(145deg, #172744, #15152f 54%, #412043); }
.art-product { background: linear-gradient(145deg, #103b3b, #101827 52%, #353013); }
.art-fantasy { background: linear-gradient(145deg, #40104c, #131628 50%, #103844); }
.art-anime { background: linear-gradient(145deg, #382956, #102d4a 55%, #452533); }
.art-interior { background: linear-gradient(145deg, #3a2e22, #182536 55%, #18352e); }
.art-logo { background: linear-gradient(145deg, #231b52, #151a29 55%, #163e45); }
.art-food { background: linear-gradient(145deg, #54251b, #352219 55%, #153b32); }
.art-editorial { background: linear-gradient(145deg, #202943, #351c38 55%, #30371a); }
.art-label { position: absolute; z-index: 2; left: 18px; bottom: 15px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.prompt-card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.prompt-card p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }
.prompt-text { padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: #080b13; color: #dce5f4 !important; }
.copy-button { align-self: flex-start; cursor: pointer; margin-top: 15px; border: 1px solid var(--border-strong); border-radius: 9px; padding: 8px 12px; background: var(--surface-2); color: var(--text); font-size: 13.5px; font-weight: 750; }
.copy-button:hover { border-color: var(--accent-2); }
.copy-button[data-copied="true"] { color: #a7f3d0; border-color: rgba(52, 211, 153, .5); }

.steps, .principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.info-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--surface); }
.info-card .number { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: rgba(124, 90, 255, .16); color: #c4b5fd; font-weight: 850; }
.info-card h3 { margin: 14px 0 0; font-size: 19px; }
.info-card p { margin: 9px 0 0; color: var(--muted); font-size: 14.5px; }
.model-table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.model-table th, .model-table td { padding: 15px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.model-table th { color: #d7deeb; background: var(--surface-2); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.model-table td { color: var(--muted); }
.model-table tr:last-child td { border-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 16px 18px; color: #e8edf7; font-weight: 750; }
.faq details p { margin: 0; padding: 0 18px 17px; color: var(--muted); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 27px; border: 1px solid rgba(124, 90, 255, .45); border-radius: 18px; background: linear-gradient(135deg, rgba(124, 90, 255, .13), rgba(56, 182, 255, .07)); }
.cta-panel h2 { margin: 0; font-size: clamp(23px, 3vw, 32px); }
.cta-panel p { margin: 8px 0 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 38px; color: var(--muted); font-size: 13.5px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 15px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }

@media (max-width: 800px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .prompt-grid, .steps, .principles { grid-template-columns: 1fr; }
  .model-table { display: block; overflow-x: auto; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1100px); }
  .hero { padding-top: 34px; }
  .section { padding: 54px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
