/* KatiaLabs site — shared design system (mirrors the Headshot AI app theme) */
:root {
  --bg: #201f1d;
  --bg-deep: #191816;
  --surface: #2b2823;
  --surface-2: #35312c;
  --surface-3: #3e3b36;
  --border: #4a463f;
  --text: #edeae4;
  --muted: #b5aea2;
  --gold: #e0a24e;
  --gold-light: #e7b96a;
  --gold-dark: #af7b3c;
  --coral: #ee8a5c;
  --teal: #63b6ae;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* height:auto is load-bearing: without it, the width/height HTML attributes
   pin the rendered height even when CSS narrows the width, stretching images. */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(224, 162, 78, .1);
  border: 1px solid rgba(224, 162, 78, .3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.muted { color: var(--muted); }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(25, 24, 22, .8);
  border-bottom: 1px solid rgba(74, 70, 63, .5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-brand .dot { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  padding: 11px 22px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #2b2823;
  box-shadow: 0 8px 24px -8px rgba(224, 162, 78, .5);
}
.btn-gold:hover { box-shadow: 0 12px 28px -8px rgba(224, 162, 78, .65); }

.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }

/* ---- cards ---- */
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(224, 162, 78, .45); }

/* ---- sections ---- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---- reveal on scroll ----
   Content is visible by default; JS adds .pending only when an
   IntersectionObserver is active, so no-JS, print and snapshot
   renders always show the full page. */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.pending { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.pending { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 40px 0;
  font-size: .92rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
