/* Phoenix AI — /examples/ */
:root {
  --ink: #090909;
  --cream: #F8F4E9;
  --cream-muted: #c8c0b4;
  --purple: #6B4FC8;
  --purple-light: #E0D0FF;
  --sky: #5A9FD8;
  --wine: #A81830;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: clamp(1.25rem, 3vw, 2.5rem);
  --shell-max: 56rem;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  min-height: 100%;
  background: var(--ink);
  color: var(--cream);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ex-world {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 70% 20%, rgba(107,79,200,0.2), transparent 60%),
    radial-gradient(ellipse 40% 35% at 20% 80%, rgba(168,24,48,0.12), transparent 55%),
    #090909;
}
.ex-shell { position: relative; z-index: 2; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.ex-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad-x); max-width: var(--shell-max); margin: 0 auto; width: 100%;
}
.ex-top__brand img { display: block; height: auto; max-width: 180px; }
.ex-top__nav { display: flex; gap: 1.25rem; align-items: center; }
.ex-top__nav a {
  color: var(--cream-muted); text-decoration: none; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.ex-top__nav a:hover { color: var(--sky); }
.ex-main { flex: 1; padding: 0 var(--pad-x) 3rem; max-width: var(--shell-max); margin: 0 auto; width: 100%; }
.ex-hero { text-align: center; padding: clamp(1.25rem, 3vh, 2.25rem) 0 1.5rem; }
.ex-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}
.ex-hero p { color: var(--cream-muted); max-width: 36rem; margin: 0 auto 1.25rem; line-height: 1.55; }
.ex-visual {
  margin: 0 auto 1.5rem; max-width: 52rem;
  border-radius: 16px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--purple) 28%, transparent);
  box-shadow: 0 22px 48px rgba(0,0,0,0.4);
  background: rgba(9,9,9,0.55);
}
.examples-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(9, 9, 9, 0.55);
  overflow: hidden; /* contain subtle active grow — match trial */
}
.examples-slides__slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #090909;
  opacity: 0;
  transform: scale(1);
  transform-origin: center center;
  /* fade + reset scale on exit (~fade duration) — match trial */
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  pointer-events: none;
  will-change: opacity, transform;
}
.examples-slides__slide.is-active {
  opacity: 1;
  z-index: 1;
  transform: scale(1.03);
  /* grow across the hold window (matches HOLD_MS ~5s) — match trial */
  transition:
    opacity 0.9s var(--ease-out),
    transform 5s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .examples-slides__slide,
  .examples-slides__slide.is-active {
    transform: none;
    transition: opacity 0.9s var(--ease-out);
  }
}
.ex-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; justify-content: center; margin-top: 0.5rem; }
.ex-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.45rem; border-radius: 999px; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: transform 0.3s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
}
.ex-btn--primary {
  border: 1px solid color-mix(in srgb, var(--purple) 55%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 38%, transparent), color-mix(in srgb, var(--wine) 22%, transparent));
  color: var(--cream);
}
.ex-btn--primary:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--sky) 60%, transparent); }
.ex-btn--ghost {
  border: 1px solid color-mix(in srgb, var(--cream) 22%, transparent);
  background: transparent; color: var(--cream);
}
.ex-btn--ghost:hover { color: var(--sky); border-color: color-mix(in srgb, var(--sky) 50%, transparent); }
.ex-btn--book {
  border: 1px solid color-mix(in srgb, #0d3d24 70%, #1a5c38);
  background: linear-gradient(135deg, #145c32, #0d3d24 55%, #0a2e1c);
  color: var(--cream);
}
.ex-note { margin-top: 1.25rem; font-size: 0.82rem; color: var(--cream-muted); }
.ex-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 1.5rem var(--pad-x) 2rem; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--cream-muted);
}
.ex-foot a { color: var(--cream); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--sky) 45%, transparent); }
.ex-foot a:hover { color: var(--sky); }
.ex-qa {
  margin: 2rem auto 0; max-width: 40rem; text-align: left; padding: 1rem 1.15rem;
  border-radius: 14px; border: 1px solid color-mix(in srgb, var(--purple) 30%, transparent);
  background: rgba(14,12,18,0.7); font-size: 0.85rem; color: var(--cream-muted); line-height: 1.5;
}
.ex-qa strong { color: var(--cream); }
