/* AI Photo Studio — marketing pages (landing + use-case pages). Lightweight, no JS framework. */
:root {
  --bg: #071426;
  --bg-2: #0b1f3a;
  --card: #0d1b2e;
  --card-2: #13243a;
  --text: #f8fafc;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --cyan: #22d3ee;
  --violet: #7c3aed;
  --blue: #2563eb;
  --grad: linear-gradient(135deg, #7c3aed 0%, #2563eb 50%, #0ea5e9 100%);
  --ok: #10b981;
  --radius: 16px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 85% -5%, rgba(14, 165, 233, 0.18), transparent 35%),
    radial-gradient(circle at 0% 30%, rgba(124, 58, 237, 0.16), transparent 35%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); background: rgba(7, 20, 38, 0.82); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; padding: 10px 16px; font-size: 14px; } .brand { white-space: nowrap; font-size: 15px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 750; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, filter .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35); }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgba(255,255,255,0.03); }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.play-badge img { height: 58px; width: auto; margin: -6px; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } .hero { padding-top: 36px; } }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 14px; background: rgba(255,255,255,0.03); }
.eyebrow b { color: var(--cyan); }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 16px; }
h1 .grad, h2 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 36em; margin: 0 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.ticks li::before { content: "✓ "; color: var(--ok); font-weight: 800; }

/* Before / after slider */
.ba { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,0.45); aspect-ratio: 4 / 3; background: var(--card); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.ba .handle::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0b1f3a; display: grid; place-items: center; font-weight: 900; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.ba .tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(7,20,38,0.75); color: #fff; }
.ba .tag.l { left: 12px; } .ba .tag.r { right: 12px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-caption { color: var(--muted); font-size: 14px; margin-top: 10px; text-align: center; }

/* Sections */
section { padding: 64px 0; scroll-margin-top: 64px; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-head p { color: var(--text-2); margin: 0; font-size: 18px; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--text-2); }
.icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.25); font-size: 20px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); font-weight: 900; }
.pill { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(16,185,129,0.14); color: #6ee7b7; margin-left: 6px; vertical-align: middle; }

/* Examples */
.examples .card { padding: 12px; }
.examples .ba { aspect-ratio: 4 / 3; box-shadow: none; }
.examples h3 { margin: 12px 6px 2px; font-size: 17px; }
.examples p { margin: 0 6px 6px; font-size: 14px; color: var(--muted); }

/* Use cases */
.usecase { display: block; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
.usecase:hover { border-color: rgba(34, 211, 238, 0.55); transform: translateY(-2px); }
.usecase .more { display: inline-block; margin-top: 12px; color: var(--cyan); font-weight: 700; }

/* Pricing */
.price { display: flex; flex-direction: column; }
.price.featured { border-color: rgba(124, 58, 237, 0.7); box-shadow: 0 0 0 1px rgba(124,58,237,0.45), 0 20px 50px rgba(124,58,237,0.18); }
.price .amount { font-size: 38px; font-weight: 850; letter-spacing: -0.02em; margin: 6px 0 0; }
.price .amount small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price .note { color: var(--muted); font-size: 14px; min-height: 22px; }
.price ul { list-style: none; padding: 0; margin: 16px 0 22px; color: var(--text-2); flex: 1; }
.price li { padding: 5px 0; }
.price li::before { content: "✓  "; color: var(--ok); font-weight: 800; }
.price .btn { width: 100%; }
.fine { color: var(--muted); font-size: 13px; text-align: center; margin-top: 16px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 10px 0; background: var(--card); }
.faq summary { cursor: pointer; font-weight: 750; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin: 0 0 14px; }

/* CTA band + footer */
.cta-band { text-align: center; background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(14,165,233,0.16)); border: 1px solid var(--line); border-radius: 24px; padding: 48px 20px; }
.cta-band .cta-row { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Article (use-case pages) */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 44px; }
.article p, .article li { color: var(--text-2); font-size: 17px; }
.article ol li, .article ul li { margin: 6px 0; }
.crumbs { color: var(--muted); font-size: 14px; margin-top: 28px; }
.crumbs a { color: var(--muted); }
