/* ═══════════════════════════════════════════════════════════
   VULTURE AI — style.css
   Dark / Editorial / Flat / Pure Purple  (matches Overlkd Studio)
═══════════════════════════════════════════════════════════ */

:root {
  --black:         #0a0a0a;
  --black-soft:    #0f0f0f;
  --black-panel:   #111111;
  --purple-bg:     #1a0a2e;
  --purple-deep:   #5a3aef;
  --purple:        #9b5dff;
  --purple-light:  #c084fc;
  --white:         #f0f0f0;
  --grey:          #888888;
  --divider:       #1c1c1c;

  --display:       'Bebas Neue', sans-serif;
  --body:          'Space Grotesk', sans-serif;
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fast:     cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── TOP BACK-LINK ───────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(16px, 2vw, 26px) clamp(20px, 5vw, 60px);
  mix-blend-mode: difference;
}
.topbar__back, .topbar__gh {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  transition: opacity 0.25s;
}
.topbar__back:hover, .topbar__gh:hover { opacity: 0.55; }

/* ══════════════════════════════════════════ HERO ═════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero__noise {
  position: absolute; inset: -60%; width: 220%; height: 220%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 320px 320px; opacity: 0.045; pointer-events: none; will-change: transform;
}
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 115%, var(--purple-bg) 0%, transparent 68%);
  pointer-events: none; will-change: transform;
}
.hero__content { position: relative; z-index: 1; padding: 0 clamp(20px, 4vw, 60px); }
.hero__logo {
  display: block; margin: 0 auto clamp(18px, 2.5vw, 30px);
  width: clamp(124px, 16vw, 212px); height: auto;
  filter: drop-shadow(0 0 34px rgba(155,93,255,0.5));
  animation: heroIn 1.3s var(--ease) both;
  position: relative; z-index: 1;
}
/* Big faint logo watermark behind the hero — subtle */
.hero__bg-logo {
  position: absolute; top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 62vw, 900px); height: auto;
  opacity: 0.035; pointer-events: none; z-index: 0;
  filter: drop-shadow(0 0 60px rgba(155,93,255,0.18));
  animation: heroIn 1.8s var(--ease) both;
}
.hero__status {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--purple); font-weight: 500; margin-bottom: clamp(20px, 3vw, 34px);
  animation: heroIn 1.3s var(--ease) both;
}
.hero__status .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple); margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 10px var(--purple); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.hero__title {
  font-family: var(--display); font-size: clamp(50px, 13.5vw, 190px);
  line-height: 0.92; letter-spacing: 0.01em; color: var(--white);
  display: block; user-select: none;
}
.hero__line { display: inline; animation: heroIn 1.3s var(--ease) both; }
.hero__line--stroke {
  -webkit-text-stroke: clamp(2px, 0.38vw, 5px) var(--purple);
  color: transparent; animation-delay: 0.14s; margin-left: 0.14em;
}
.hero__sub {
  display: block; font-size: clamp(13px, 1.4vw, 18px); letter-spacing: 0.12em;
  color: var(--grey); font-weight: 300; margin-top: clamp(26px, 4vw, 48px);
  animation: heroIn 1.3s var(--ease) 0.3s both;
}
@keyframes heroIn { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.hero__scroll { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); }
.hero__scroll-track {
  display: block; width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, var(--purple));
  animation: trackPulse 2.2s ease-in-out infinite; transform-origin: top;
}
@keyframes trackPulse { 0%,100%{transform:scaleY(1);opacity:0.35} 50%{transform:scaleY(0.5);opacity:0.85} }

/* ═══════════════════════════════════ MANIFESTO ══════════ */
.manifesto {
  border-top: 1px solid var(--divider);
  padding: clamp(80px, 12vw, 160px) clamp(24px, 9vw, 140px);
}
.manifesto__inner { max-width: 1000px; }
.manifesto__eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey); margin-bottom: clamp(40px, 6vw, 80px);
}
.manifesto__quote {
  font-family: var(--display); font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.88; color: var(--white); margin-bottom: clamp(32px, 4vw, 56px);
}
.manifesto__q-line { display: block; }
.manifesto__q-line--accent { color: var(--purple-light); }
.manifesto__body {
  font-size: clamp(15px, 1.35vw, 18px); color: var(--grey);
  font-weight: 300; line-height: 1.75; max-width: 520px;
}

/* ═══════════════════════════════════ SECTION HEAD ═══════ */
.sec { border-top: 1px solid var(--divider); padding: clamp(60px, 8vw, 110px) clamp(24px, 8vw, 120px); }
/* Keep content tidy on ultra-wide / 4K screens */
.sec > *, .cta > * { max-width: 1500px; margin-left: auto; margin-right: auto; }
.foot__inner { max-width: 1500px; margin-left: auto; margin-right: auto; }
.band__overlay > * { max-width: 1500px; }
.sec__label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--grey); font-weight: 500; margin-bottom: clamp(28px, 4vw, 52px);
}
.sec__title {
  font-family: var(--display); font-size: clamp(40px, 6vw, 92px);
  line-height: 0.9; color: var(--white); margin-bottom: clamp(40px, 5vw, 72px);
}
.sec__title .accent { color: var(--purple); }

/* ═══════════════════════════════════ FEATURE GRID ═══════ */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--divider);
}
.feat {
  background: var(--black); padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.25s var(--ease-fast);
}
.feat:hover { background: var(--black-panel); }
.feat__icon { font-size: 26px; line-height: 1; }
.feat__name {
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.02em; color: var(--white); line-height: 1;
}
.feat:hover .feat__name { color: var(--purple-light); }
.feat__desc { font-size: 14px; color: var(--grey); font-weight: 300; line-height: 1.6; }

/* ═══════════════════════════════════ SPLIT / HARDWARE ═══ */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.split__big {
  font-family: var(--display); font-size: clamp(44px, 6.5vw, 104px);
  line-height: 0.9; color: var(--white);
}
.split__big .accent { color: var(--purple); }
.split__text { font-size: clamp(15px, 1.3vw, 18px); color: var(--grey); font-weight: 300; line-height: 1.8; }
.split__text strong { color: var(--white); font-weight: 500; }

/* spec list */
.specs { display: flex; flex-direction: column; }
.spec {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--divider);
}
.spec__k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.spec__v { font-size: 14px; color: var(--white); text-align: right; }
.spec__v .accent { color: var(--purple); }

/* ═══════════════════════════════════ CTA ════════════════ */
.cta { border-top: 1px solid var(--divider); padding: clamp(90px, 12vw, 170px) clamp(24px, 8vw, 120px); text-align: center; }
.cta__title {
  font-family: var(--display); font-size: clamp(48px, 9vw, 150px);
  line-height: 0.88; color: var(--white); margin-bottom: clamp(28px, 4vw, 48px);
}
.cta__title .accent { color: var(--purple); }
.cta__sub { font-size: clamp(14px, 1.3vw, 17px); color: var(--grey); font-weight: 300; margin-bottom: clamp(36px, 5vw, 56px); }
.cta__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  padding: 16px 38px; transition: all 0.28s var(--ease-fast);
}
.btn--primary { background: var(--purple); color: #0a0a0a; }
.btn--primary:hover { background: var(--purple-light); transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(155,93,255,0.4); color: var(--purple); }
.btn--ghost:hover { border-color: var(--purple); background: rgba(155,93,255,0.08); color: var(--white); }

/* ═══════════════════════════════════ FOOTER ═════════════ */
.foot { border-top: 1px solid var(--divider); padding: clamp(56px, 7vw, 96px) clamp(24px, 8vw, 120px) clamp(40px, 5vw, 72px); }
.foot__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.foot__brand { font-family: var(--display); font-size: clamp(22px, 2.5vw, 32px); letter-spacing: 0.06em; color: var(--white); margin-bottom: 8px; }
.foot__tagline { font-size: 12px; letter-spacing: 0.1em; color: var(--grey); }
.foot__links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.foot__link { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); transition: color 0.25s; }
.foot__link:hover { color: var(--purple); }

/* ═══════════════════════════════════ HERO ACTIONS ═══════ */
.hero__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-top: clamp(30px, 4vw, 46px);
  animation: heroIn 1.3s var(--ease) 0.42s both;
}
.hero__scroll { display: block; text-decoration: none; }

/* ═══════════════════════════════════ SCREENSHOTS ════════ */
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--divider);
}
.shot {
  position: relative;
  margin: 0;
  background: var(--black-soft);
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.shot--wide { grid-column: 1 / -1; aspect-ratio: 21 / 8; }
.shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.shot:hover img { transform: scale(1.04); }
/* placeholder shown behind the image; visible when the image is missing */
.shot__ph {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: clamp(18px, 2.4vw, 30px);
  letter-spacing: 0.06em; color: #3a2a55;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(90,58,239,0.14), transparent 60%),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(155,93,255,0.035) 22px 44px),
    var(--black-panel);
}
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 26px 22px 16px;
  font-size: 12px; letter-spacing: 0.1em; color: var(--white);
  background: linear-gradient(to top, rgba(10,10,10,0.92), transparent);
  transform: translateY(4px); opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-within .shot__cap { opacity: 1; transform: translateY(0); }
/* when the image fails to load it hides itself so only the placeholder + caption remain */
.shot--empty img { opacity: 0; }
.shot--empty .shot__cap { opacity: 0.6; transform: none; background: linear-gradient(to top, rgba(10,10,10,0.7), transparent); }
.shots__note {
  margin-top: clamp(24px, 3vw, 38px);
  font-size: 13px; letter-spacing: 0.06em; color: var(--grey); font-weight: 300;
}

/* ── FRAMED SCREENSHOT ─────────────────────────────────── */
.frame {
  max-width: 980px; margin: 0 auto;
  border: 1px solid var(--divider);
  background: var(--black-soft);
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 70px rgba(155,93,255,0.10);
  transition: box-shadow 0.4s var(--ease);
}
.frame:hover { box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 90px rgba(155,93,255,0.20); }
.frame__img { display: block; width: 100%; height: auto; }
.frame__cap {
  text-align: center; padding: clamp(15px, 2vw, 22px);
  font-size: 13px; letter-spacing: 0.06em; color: var(--grey); font-weight: 300;
  border-top: 1px solid var(--divider);
}

/* ── CINEMATIC VULTURE BAND ────────────────────────────── */
.band {
  position: relative; height: clamp(300px, 52vh, 580px);
  overflow: hidden; border-top: 1px solid var(--divider);
}
.band__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}
.band__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: clamp(30px, 6vw, 72px);
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.25) 42%, transparent 72%);
}
.band__line {
  font-family: var(--display); font-size: clamp(34px, 6vw, 88px);
  line-height: 0.9; letter-spacing: 0.02em; text-align: center; color: var(--white);
}
.band__line .accent { color: var(--purple-light); }

/* ── FAQ polish ────────────────────────────────────────── */
.qa { transition: background 0.25s var(--ease-fast), box-shadow 0.25s var(--ease-fast); }
.qa:hover { background: rgba(155,93,255,0.025); }
.qa__q { transition: color 0.2s var(--ease-fast), padding-left 0.25s var(--ease); }
.qa__a p { transition: padding-left 0.25s var(--ease); }
/* hover: subtle nudge */
.qa:hover > .qa__q { padding-left: 16px; }
/* open: purple bar appears -> shift heading AND answer clear of it */
.qa[open] { background: rgba(155,93,255,0.045); box-shadow: inset 3px 0 0 var(--purple); }
.qa[open] > .qa__q { color: var(--purple-light); padding-left: 26px; }
.qa[open] .qa__a p { padding-left: 26px; }

/* ═══════════════════════════════════ SPECS (dl reset) ═══ */
.spec__k, .spec__v { margin: 0; }

/* ═══════════════════════════════════ QUICKSTART ═════════ */
.qs__note {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px);
  font-size: clamp(14px, 1.3vw, 17px); color: var(--grey); font-weight: 300; line-height: 1.7;
}
.qs__note strong { color: var(--white); font-weight: 500; }
.qs__badge {
  flex: none;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--purple-light); padding: 5px 11px;
  border: 1px solid rgba(155,93,255,0.4); border-radius: 999px;
}
.steps { list-style: none; display: flex; flex-direction: column; gap: 1px; background: var(--divider); }
.step {
  display: flex; gap: clamp(18px, 3vw, 42px);
  background: var(--black); padding: clamp(26px, 3.4vw, 46px) clamp(4px, 2vw, 30px);
}
.step__num {
  flex: none;
  font-family: var(--display); font-size: clamp(30px, 4vw, 54px);
  line-height: 0.9; color: var(--purple); opacity: 0.5; min-width: 1.4em;
}
.step__body { flex: 1; min-width: 0; }
.step__title {
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.02em; color: var(--white); line-height: 1; margin-bottom: 12px;
}
.step__desc { font-size: 14px; color: var(--grey); font-weight: 300; line-height: 1.65; max-width: 560px; margin-bottom: 20px; }
.step__desc:last-child { margin-bottom: 0; }

/* code block */
.code {
  position: relative;
  background: var(--black-soft);
  border: 1px solid var(--divider);
  border-radius: 8px;
  overflow: hidden;
}
.code pre { margin: 0; overflow-x: auto; padding: 18px 20px; }
.code code {
  font-family: 'Space Grotesk', ui-monospace, 'Cascadia Code', Menlo, monospace;
  font-size: 13.5px; line-height: 1.9; color: var(--white); white-space: pre;
}
.code__prompt { color: var(--purple); user-select: none; margin-right: 10px; }
.code__copy {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--body); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey); background: rgba(155,93,255,0.06);
  border: 1px solid var(--divider); border-radius: 5px;
  padding: 6px 12px; cursor: pointer; transition: all 0.2s var(--ease-fast);
}
.code__copy:hover { color: var(--white); border-color: rgba(155,93,255,0.5); background: rgba(155,93,255,0.12); }
.code__copy.is-copied { color: var(--purple-light); border-color: var(--purple); }
.qs__foot { margin-top: clamp(36px, 4vw, 52px); font-size: 14px; color: var(--grey); font-weight: 300; }
.link { color: var(--purple); border-bottom: 1px solid rgba(155,93,255,0.35); transition: color 0.2s, border-color 0.2s; }
.link:hover { color: var(--purple-light); border-color: var(--purple-light); }

/* ═══════════════════════════════════ FAQ ════════════════ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--divider); }
.qa { border-bottom: 1px solid var(--divider); }
.qa__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(22px, 2.6vw, 32px) 4px;
  font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.02em; color: var(--white);
  transition: color 0.2s var(--ease-fast);
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::after {
  content: '+'; flex: none;
  font-family: var(--body); font-weight: 300; color: var(--purple);
  font-size: 1.4em; line-height: 1; transition: transform 0.3s var(--ease);
}
.qa[open] .qa__q::after { transform: rotate(45deg); }
.qa__q:hover { color: var(--purple-light); }
.qa__a {
  overflow: hidden;
  font-size: clamp(14px, 1.3vw, 16px); color: var(--grey); font-weight: 300; line-height: 1.75;
}
.qa__a p { max-width: 680px; padding: 0 4px clamp(24px, 2.6vw, 32px); }
.qa__a strong { color: var(--white); font-weight: 500; }
.qa[open] .qa__a { animation: qaOpen 0.4s var(--ease); }
@keyframes qaOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════ FOOTER EXTRA ══════ */
.foot__link--muted { color: #2d2d2d; cursor: default; }
.foot__link--muted:hover { color: #2d2d2d; }

/* ═══════════════════════════════════ ACCESSIBILITY ══════ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  transform: translateY(-160%);
  background: var(--purple); color: #0a0a0a;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  padding: 12px 20px; border-radius: 6px;
  transition: transform 0.2s var(--ease-fast);
}
.skip-link:focus { transform: translateY(0); }

/* visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.qa__q:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* ═══════════════════════════════════ RESPONSIVE ═════════ */
@media (max-width: 900px) {
  .shots { grid-template-columns: 1fr; }
  .shot, .shot--wide { aspect-ratio: 16 / 10; }
  .shot--wide { grid-column: auto; }
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
  .hero__actions { margin-top: 34px; }
}
@media (max-width: 520px) {
  .step { flex-direction: column; gap: 10px; }
  .step__num { font-size: 34px; }
  .qs__note { gap: 10px; }
}

/* ═══════════════════════════════════ REDUCED MOTION ════ */
@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__noise, .hero__glow { transform: none !important; }
}
