/* ============================================================
   Liora AI — shared stylesheet for content pages
   (kept visually consistent with index.html's design tokens)
   ============================================================ */
:root {
  --bg:      #120e2a;
  --bg2:     #17122f;
  --card:    #221b4d;
  --line:    rgba(255, 255, 255, .10);
  --indigo:  #7c83f5;
  --indigo2: #6a72ef;
  --gold:    #e7c873;
  --ink:     #f3f2fb;
  --muted:   #b6b3d6;
  --green:   #74e3a8;
  --red:     #ff9b9b;

  --container: 1160px;
  --pad: 24px;
  --section-y: 88px;

  --r-pill: 50px;
  --r-card: 24px;
  --r-faq: 18px;

  --display: 'Space Grotesk', 'Poppins', sans-serif;
  --body: 'Poppins', system-ui, -apple-system, sans-serif;

  --shadow-btn: 0 14px 40px rgba(124, 131, 245, .45);
  --grad-text: linear-gradient(100deg, #c9c3ff 0%, #7c83f5 45%, #e7c873 100%);
  --grad-accent: linear-gradient(135deg, #8b91ff, #6a72ef);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background-color: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}

body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
section { padding-block: var(--section-y); position: relative; }

.lavender { color: var(--indigo); }
.gold { color: var(--gold); }
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--gold); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }

h1, h2, h3 { font-family: var(--display); }
h1 { font-size: 46px; font-weight: 700; letter-spacing: -1.3px; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 32px; font-weight: 700; letter-spacing: -.9px; line-height: 1.15; margin: 48px 0 18px; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -.3px; margin: 26px 0 10px; }

.lead { color: var(--muted); font-size: 18.5px; max-width: 640px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-size: 15px; font-weight: 600;
  padding: 14px 30px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 24px rgba(124,131,245,.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn); }
.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--ink); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); border-color: rgba(124,131,245,.45); }

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 50px rgba(0,0,0,.28);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(160deg, rgba(124,131,245,.55), rgba(255,255,255,.06) 42%, rgba(231,200,115,.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 14, 42, .65);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .logo { width: 36px; height: 36px; flex-shrink: 0; filter: drop-shadow(0 0 10px rgba(231,200,115,.45)); }
.brand .wordmark { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.3px; }
.brand .wordmark .ai { color: var(--gold); font-size: 13px; margin-left: 3px; vertical-align: super; font-weight: 600; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }

/* ============================================================
   PAGE HEADER (hero-lite for content pages)
   ============================================================ */
.page-header { padding-top: 72px; padding-bottom: 24px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* ============================================================
   ARTICLE / PROSE
   ============================================================ */
.prose { max-width: 780px; }
.prose p { color: var(--muted); font-size: 16.5px; margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 22px; display: grid; gap: 10px; }
.prose ul li, .prose ol li { color: var(--muted); font-size: 16px; padding-left: 22px; position: relative; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; }
.prose ol li::before { content: counter(item) "."; position: absolute; left: 0; color: var(--gold); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.meta-line { color: var(--muted); font-size: 13.5px; margin-bottom: 28px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.meta-line .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 28px 0 36px; }
.mini-card { padding: 24px; }
.mini-card h3 { margin-top: 0; font-size: 17px; }
.mini-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; }
details { margin-bottom: 14px; overflow: hidden; }
details[open]::before { background: linear-gradient(160deg, rgba(124,131,245,.7), rgba(255,255,255,.06) 45%, rgba(231,200,115,.25)); }
summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px;
  font-family: var(--display); letter-spacing: -.2px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary .chev { color: var(--indigo); transition: transform .25s ease; flex-shrink: 0; font-size: 22px; line-height: 1; font-family: var(--body); }
details[open] summary .chev { transform: rotate(45deg); }
details .answer { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ============================================================
   FINAL CTA BAND
   ============================================================ */
.cta-band {
  position: relative; border-radius: 30px; padding: 56px 48px; text-align: center; overflow: hidden;
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(124,131,245,.35), transparent 70%),
    linear-gradient(135deg, #2a2270, #1b1545);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(124,131,245,.8), rgba(231,200,115,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.cta-band h2 { margin: 0 0 14px; }
.cta-band p { color: #d8d5f0; font-size: 16.5px; max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn { margin: 0 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line); padding-block: 44px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand .tag { color: var(--muted); font-size: 14px; margin-top: 10px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links h4 { font-size: 13px; color: var(--ink); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; font-family: var(--display); }
.footer-links ul { display: grid; gap: 9px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-meta { color: var(--muted); font-size: 13.5px; max-width: 470px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 24px; color: var(--muted); font-size: 13px; }

@media (max-width: 880px) {
  :root { --section-y: 56px; }
  .nav-links { display: none; }
  h1 { font-size: 34px; }
  h2 { font-size: 25px; }
  .card-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px; }
  .footer-inner { flex-direction: column; }
}
