/* =====================================================================
   ARTISAN AI — Premium Multi-Page AI-Image-Generator Template (Themely)
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the brand look by editing the CSS variables in
   :root below. Swap --accent / --accent2 / --accent3 for your gradient
   trio, adjust --bg / --surface / --ink to retune the theme, and update
   --font-head / --font-body plus the Google Fonts <link> in each HTML
   file. Every "AI artwork" tile is a pure CSS gradient — see the
   .art-* classes near the end of this file. Everything cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:       #0a0a12;   /* near-black page background                  */
  --ink:      #f4f4f8;   /* primary text / headings                    */
  --accent:   #a855f7;   /* vivid purple (primary)                     */
  --accent2:  #ec4899;   /* hot pink (gradient partner)                */
  --accent3:  #f59e0b;   /* amber (third gradient stop / highlights)   */
  --muted:    #9ca3af;   /* muted body / secondary text                */
  --surface:  #14141f;   /* card / panel surface                       */
  --line:     rgba(255,255,255,.09); /* borders / dividers             */

  /* Derived helpers */
  --surface-2:   #1b1b2a;            /* slightly lighter panel          */
  --accent-soft: rgba(168,85,247,.14);
  --grad:  linear-gradient(135deg, var(--accent), var(--accent2));
  --grad3: linear-gradient(120deg, var(--accent), var(--accent2) 55%, var(--accent3));

  /* --- Fonts --- */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 10px 30px rgba(0,0,0,.45);
  --shadow-lg: 0 28px 70px rgba(0,0,0,.6);
  --glow:      0 0 40px rgba(168,85,247,.45);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--muted);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--ink); text-decoration: none; transition: color var(--ease); }
a:hover { color: #fff; }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; position: relative; }
.section--soft { background: linear-gradient(180deg, var(--bg), #0c0c18); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent2);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: var(--muted); }
.muted { color: var(--muted); }

.gradient-text {
  background: var(--grad3);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(168,85,247,.4);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 40px rgba(236,72,153,.45); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: #fff; background: rgba(255,255,255,.07); }

.btn-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn-light:hover { background: #fff; color: var(--accent); }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,18,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad3);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(168,85,247,.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(255,255,255,.05); color: #fff; }
.nav-links a.active { color: #fff; font-weight: 600; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   AURORA BACKGROUND (reusable glow)
   --------------------------------------------------------------------- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.aurora::before {
  width: 540px; height: 540px;
  top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(168,85,247,.7), transparent 65%);
}
.aurora::after {
  width: 520px; height: 520px;
  bottom: -200px; right: -120px;
  background: radial-gradient(circle, rgba(236,72,153,.55), transparent 65%);
}

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 100px;
  background:
    radial-gradient(900px 560px at 80% -10%, rgba(168,85,247,.22), transparent 60%),
    radial-gradient(760px 540px at 0% 110%, rgba(236,72,153,.16), transparent 55%),
    radial-gradient(700px 500px at 110% 80%, rgba(245,158,11,.12), transparent 55%),
    var(--bg);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero h1 span { display: inline; }
.hero .lead { max-width: 540px; margin-bottom: 30px; font-size: 1.18rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .9rem; color: var(--muted); }

/* Hero visual — pure CSS "prompt box -> generated images grid" mockup */
.gen-mock {
  position: relative;
  background: linear-gradient(165deg, var(--surface), #0e0e18);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.gen-mock::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 23px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(168,85,247,.6), rgba(236,72,153,.5), rgba(245,158,11,.4), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.gen-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gen-dots { display: flex; gap: 7px; }
.gen-dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.gen-dots i:first-child { background: rgba(236,72,153,.75); }
.gen-dots i:nth-child(2) { background: rgba(245,158,11,.7); }
.gen-title { font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.gen-prompt {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.gen-prompt .ico { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; font-size: .9rem; }
.gen-prompt .txt { flex: 1; font-size: .92rem; color: var(--ink); line-height: 1.4; }
.gen-prompt .txt b { color: #fff; font-weight: 600; }
.gen-prompt .cursor { display: inline-block; width: 2px; height: 1em; background: var(--accent2); margin-left: 2px; vertical-align: text-bottom; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.gen-prompt .go {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad3); display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 14px rgba(168,85,247,.5);
}

.gen-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gen-tiles .art {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  animation: tilePop .7s var(--ease) backwards;
}
.gen-tiles .art:nth-child(2){ animation-delay:.08s; }
.gen-tiles .art:nth-child(3){ animation-delay:.16s; }
.gen-tiles .art:nth-child(4){ animation-delay:.24s; }
@keyframes tilePop { from { opacity:0; transform: scale(.9); } to { opacity:1; transform:none; } }
.gen-tiles .art::after {
  content: attr(data-label);
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--font-head); font-size: .64rem; font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.18);
  padding: 3px 8px; border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ---------------------------------------------------------------------
   TRUSTED-BY STRIP
   --------------------------------------------------------------------- */
.trusted { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trusted p { text-align: center; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 46px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted);
  opacity: .6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease), color var(--ease);
}
.logo-strip span:hover { opacity: 1; color: #fff; }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(168,85,247,.4); }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--accent2);
}
.card-link:hover { color: #fff; }
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* Feature list (checks / steps) */
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature .tick {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(168,85,247,.4);
}
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { margin-bottom: 0; font-size: .98rem; }

/* ---------------------------------------------------------------------
   HOW IT WORKS — steps
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad3);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(168,85,247,.4);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; }

/* ---------------------------------------------------------------------
   STATS BAND
   --------------------------------------------------------------------- */
.stats-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(168,85,247,.2), transparent 60%),
    linear-gradient(135deg, #160f22, #1f0f1c);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #fff;
}
.stats-band .section-head h2 { color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; position: relative; z-index: 1; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  display: block;
  line-height: 1;
  background: var(--grad3);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: var(--accent3); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  background: var(--grad);
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(236,72,153,.35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(168,85,247,.4), transparent 60%),
    radial-gradient(500px 360px at 50% 120%, rgba(245,158,11,.22), transparent 60%),
    linear-gradient(135deg, #160f24, #20111f);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 60px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; position: relative; z-index: 1; }
.cta-band h2, .cta-actions { position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(168,85,247,.24), transparent 60%),
    radial-gradient(600px 400px at 0% 120%, rgba(236,72,153,.16), transparent 55%),
    radial-gradient(600px 400px at 110% 90%, rgba(245,158,11,.12), transparent 55%),
    var(--bg);
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { margin-bottom: 10px; }
.page-banner p { max-width: 640px; color: var(--muted); margin-bottom: 0; font-size: 1.1rem; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent2); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 6px; }

/* ---------------------------------------------------------------------
   FEATURES PAGE — alternating detail blocks
   --------------------------------------------------------------------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse .fb-visual { order: 2; }
.fb-visual {
  border-radius: 22px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.fb-glyph { position: relative; z-index: 1; text-align: center; }
.fb-glyph .em { font-size: 3.4rem; display: block; margin-bottom: 10px; filter: drop-shadow(0 6px 20px rgba(0,0,0,.45)); }
.fb-glyph strong { font-family: var(--font-head); font-size: 1.25rem; color: #fff; }
.fb-glyph p { color: rgba(255,255,255,.78); margin: 6px 0 0; font-size: .95rem; }

.feature-block .deliverables {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px;
}
.feature-block .deliverables li {
  font-size: .85rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
}

/* Styles / models grid */
.integration {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-align: center;
  transition: transform var(--ease), border-color var(--ease);
}
.integration:hover { transform: translateY(-4px); border-color: rgba(168,85,247,.4); }
.integration .em { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.integration b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; display: block; }
.integration small { color: var(--muted); font-size: .8rem; }

/* ---------------------------------------------------------------------
   PRICING
   --------------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border-color: rgba(168,85,247,.6);
  background: linear-gradient(180deg, rgba(168,85,247,.12), var(--surface));
  box-shadow: var(--glow), var(--shadow);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad3); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(168,85,247,.5);
}
.price-card .tier { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.15rem; }
.price-card .tier-sub { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.price-card .price {
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  font-size: 3rem; line-height: 1; margin-bottom: 4px;
}
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card .credits {
  font-family: var(--font-head); font-weight: 600; font-size: .9rem;
  color: var(--accent2); margin-bottom: 6px;
}
.price-card .price-note { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.price-card .btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.price-list { display: grid; gap: 12px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.price-list li .ck {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent2);
  display: grid; place-items: center; font-size: .75rem; margin-top: 3px;
}
.price-list li.off { opacity: .45; }
.price-list li.off .ck { background: rgba(255,255,255,.05); color: var(--muted); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
}
.faq h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--ink); }
.faq p { margin-bottom: 0; font-size: .96rem; }

/* ---------------------------------------------------------------------
   GALLERY
   --------------------------------------------------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background var(--ease), transform var(--ease);
}
.filter-btn:hover { color: #fff; transform: translateY(-2px); }
.filter-btn.active {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(168,85,247,.4);
}

.gallery-grid {
  columns: 4 240px;
  column-gap: 20px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), opacity .4s ease;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gallery-item.hide { display: none; }
.gallery-art {
  width: 100%;
  position: relative;
}
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.gallery-cap b { font-family: var(--font-head); color: #fff; font-size: .96rem; font-weight: 600; display: block; }
.gallery-cap small { color: rgba(255,255,255,.72); font-size: .78rem; }
.gallery-cap .pill {
  font-family: var(--font-head); font-size: .68rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
  backdrop-filter: blur(4px);
}

/* Aspect helpers for masonry variety */
.ar-1   { aspect-ratio: 1 / 1; }
.ar-45  { aspect-ratio: 4 / 5; }
.ar-34  { aspect-ratio: 3 / 4; }
.ar-23  { aspect-ratio: 2 / 3; }
.ar-54  { aspect-ratio: 5 / 4; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(156,163,175,.6); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(168,85,247,.18);
}
.field select { color: var(--ink); }
.field select option { background: var(--surface); color: var(--ink); }
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #f87171; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f87171; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(52,211,153,.5);
  color: #6ee7b7;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: var(--accent-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: var(--muted); }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(168,85,247,.08), rgba(168,85,247,.08)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
}
.map-placeholder .pin { font-size: 2.4rem; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: #07070e;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { font-size: .95rem; color: var(--muted); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: var(--muted); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--ink);
}
.social a:hover { background: var(--grad); color: #fff; border-color: transparent; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--ink); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* =====================================================================
   AI "ARTWORK" GRADIENT TILES
   Every artwork is a layered CSS gradient — no image files. Each .art-*
   class is a distinct, vibrant composition. Reuse them anywhere a tile
   is needed (hero mockup, gallery, feature visuals).
   ===================================================================== */
[class*="art-"] { position: absolute; inset: 0; background-color: #15101f; }
.gallery-art[class*="art-"],
.fb-visual[class*="art-"] { position: relative; inset: auto; }

/* Portraits */
.art-portrait-1 {
  background:
    radial-gradient(60% 50% at 50% 32%, rgba(245,158,11,.65), transparent 60%),
    radial-gradient(120% 90% at 50% 120%, #6d28d9, transparent 60%),
    linear-gradient(160deg, #ec4899, #7c3aed 60%, #1e1b4b);
}
.art-portrait-2 {
  background:
    radial-gradient(50% 45% at 42% 38%, rgba(255,255,255,.35), transparent 55%),
    radial-gradient(120% 100% at 80% 10%, #f472b6, transparent 55%),
    linear-gradient(200deg, #fb7185, #a855f7 55%, #312e81);
}
.art-portrait-3 {
  background:
    radial-gradient(55% 50% at 55% 40%, rgba(56,189,248,.5), transparent 55%),
    conic-gradient(from 200deg at 50% 60%, #f59e0b, #ec4899, #a855f7, #f59e0b);
}

/* Landscapes */
.art-landscape-1 {
  background:
    linear-gradient(180deg, #f59e0b 0%, #ec4899 38%, #7c3aed 70%, #0f172a 100%),
    radial-gradient(50% 30% at 70% 30%, rgba(255,255,255,.6), transparent 60%);
  background-blend-mode: screen, normal;
}
.art-landscape-2 {
  background:
    radial-gradient(40% 24% at 30% 26%, rgba(255,255,255,.85), transparent 60%),
    linear-gradient(180deg, #0ea5e9, #6366f1 45%, #a855f7 75%, #1e1b4b);
}
.art-landscape-3 {
  background:
    linear-gradient(180deg, #22d3ee 0%, #818cf8 40%, #c026d3 72%, #0b1020 100%),
    radial-gradient(60% 36% at 50% 88%, rgba(245,158,11,.5), transparent 60%);
  background-blend-mode: screen, normal;
}

/* Abstract */
.art-abstract-1 {
  background:
    conic-gradient(from 0deg at 50% 50%, #a855f7, #ec4899, #f59e0b, #22d3ee, #a855f7);
}
.art-abstract-2 {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px),
    linear-gradient(135deg, #f59e0b, #ec4899 50%, #6d28d9);
}
.art-abstract-3 {
  background:
    radial-gradient(40% 40% at 25% 30%, #f59e0b, transparent 60%),
    radial-gradient(45% 45% at 78% 35%, #ec4899, transparent 60%),
    radial-gradient(55% 55% at 50% 88%, #22d3ee, transparent 60%),
    #2e1065;
}

/* 3D / render */
.art-3d-1 {
  background:
    radial-gradient(38% 38% at 38% 34%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(80% 80% at 70% 75%, #a855f7, transparent 60%),
    linear-gradient(145deg, #ec4899, #4c1d95);
}
.art-3d-2 {
  background:
    radial-gradient(32% 32% at 64% 30%, rgba(255,255,255,.9), transparent 55%),
    radial-gradient(70% 70% at 30% 78%, #f59e0b, transparent 60%),
    linear-gradient(160deg, #22d3ee, #6366f1 55%, #1e1b4b);
}
.art-3d-3 {
  background:
    radial-gradient(40% 40% at 50% 30%, rgba(255,255,255,.7), transparent 55%),
    conic-gradient(from 120deg at 60% 70%, #ec4899, #f59e0b, #a855f7, #ec4899);
}

/* Anime / illustration */
.art-anime-1 {
  background:
    radial-gradient(45% 30% at 30% 22%, rgba(255,255,255,.9), transparent 55%),
    linear-gradient(165deg, #f9a8d4, #c084fc 50%, #6d28d9 100%);
}
.art-anime-2 {
  background:
    radial-gradient(60% 40% at 50% 18%, #fde68a, transparent 55%),
    linear-gradient(180deg, #fb7185, #a855f7 55%, #312e81);
}
.art-anime-3 {
  background:
    radial-gradient(50% 36% at 70% 28%, rgba(255,255,255,.8), transparent 55%),
    linear-gradient(150deg, #67e8f9, #818cf8 50%, #db2777);
}

/* Extra vivid fillers */
.art-neon-1 {
  background:
    linear-gradient(135deg, #06b6d4, #a855f7 50%, #ec4899),
    radial-gradient(40% 40% at 30% 70%, rgba(245,158,11,.5), transparent 60%);
  background-blend-mode: screen, normal;
}
.art-neon-2 {
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, #a855f7 0deg 30deg, #ec4899 30deg 60deg, #f59e0b 60deg 90deg);
  filter: saturate(1.1);
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .gen-mock { max-width: 480px; }
  .gallery-grid { columns: 3 220px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10,10,18,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .contact-grid, .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.reverse .fb-visual { order: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 26px; }
  .gallery-grid { columns: 2 180px; }
}

@media (max-width: 360px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  .gallery-grid { columns: 1; }
}
