/* Portfolio X-Ray — project website. No external fonts, scripts or trackers. */
:root {
  --bg: #07090f; --bg2: #0a0f1a; --surface: #0d1424; --surface2: #121b2e;
  --border: rgba(99, 130, 175, .18); --border2: rgba(99, 130, 175, .30);
  --text: #e8eef8; --text2: #9fb0cc; --text3: #6b7d99;
  --cyan: #22d3ee; --cyan2: #0e7490; --purple: #a78bfa; --green: #4ade80; --amber: #fbbf24; --red: #f87171;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 16px; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--bg); padding: 8px 12px;
        border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
       background: rgba(7, 9, 15, .72); border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 700 1.08rem var(--display);
         letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand b { color: var(--cyan); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text2); font-size: .93rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
       font: 600 .97rem var(--sans); border: 1px solid transparent; cursor: pointer; transition: transform .15s ease,
       background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--cyan); color: #04121a; box-shadow: 0 6px 30px rgba(34, 211, 238, .25); }
.btn-primary:hover { background: #47dcf2; box-shadow: 0 8px 36px rgba(34, 211, 238, .35); }
.btn-ghost { border-color: var(--border2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-soon { border-color: var(--border2); color: var(--text2); background: rgba(255, 255, 255, .03); cursor: default; }
.btn-soon:hover { transform: none; }
.btn-sm { padding: 8px 14px; font-size: .88rem; border-radius: 10px; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 88px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none;
  background: radial-gradient(600px 340px at 72% 22%, rgba(34, 211, 238, .16), transparent 70%),
              radial-gradient(520px 300px at 18% 8%, rgba(167, 139, 250, .14), transparent 70%); }
.hero .wrap { position: relative; text-align: center; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; padding: 6px 14px; border-radius: 999px;
           border: 1px solid var(--border2); background: rgba(13, 20, 36, .7); color: var(--text2);
           font-size: .85rem; font-weight: 500; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
h1 { font: 800 clamp(2.4rem, 5.6vw, 4.3rem)/1.05 var(--display); letter-spacing: -.035em; margin: 22px auto 18px;
     max-width: 900px; }
h1 .grad { background: linear-gradient(92deg, var(--cyan), var(--purple)); -webkit-background-clip: text;
           background-clip: text; color: transparent; }
.lede { color: var(--text2); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 760px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 14px; }
.fine { color: var(--text3); font-size: .86rem; }
.shot-frame { position: relative; margin: 56px auto 0; max-width: 1100px; border-radius: 18px; padding: 10px;
  background: linear-gradient(180deg, rgba(34, 211, 238, .35), rgba(167, 139, 250, .18) 40%, rgba(99, 130, 175, .12));
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 90px rgba(34, 211, 238, .10); }
.shot-frame .bar { display: flex; gap: 7px; padding: 4px 6px 10px; }
.shot-frame .bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.shot-frame img { border-radius: 10px; width: 100%; cursor: zoom-in; }

/* ── stats ───────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 64px auto 0; border-radius: var(--radius);
         overflow: hidden; border: 1px solid var(--border); background: var(--border); }
.stat { background: var(--bg2); padding: 22px 20px; text-align: center; }
.stat b { display: block; font: 750 1.9rem/1.1 var(--display); letter-spacing: -.02em; color: var(--text); }
.stat span { color: var(--text2); font-size: .9rem; }

/* ── feature jump bar (hero) ─────────────────────────────────────────────── */
.jump { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; margin: 64px auto 0; border-radius: var(--radius);
        overflow: hidden; border: 1px solid var(--border); background: var(--border); text-align: left; }
.jump a { background: var(--bg2); padding: 18px 16px; color: var(--text); transition: background .2s ease; }
.jump a:hover { background: var(--surface); text-decoration: none; }
.jump b { display: block; font: 700 1rem/1.25 var(--display); }
.jump a:hover b { color: var(--cyan); }
.jump span { display: block; margin-top: 4px; color: var(--text2); font-size: .84rem; line-height: 1.35; }
.feature { scroll-margin-top: 90px; }
.cards.two { grid-template-columns: 1fr 1fr; scroll-margin-top: 90px; }

/* ── sections ────────────────────────────────────────────────────────────── */
section { padding: 96px 0; }
.kicker { color: var(--cyan); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h2 { font: 780 clamp(1.9rem, 3.6vw, 2.8rem)/1.12 var(--display); letter-spacing: -.028em; margin: 10px 0 14px; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--text2); font-size: 1.08rem; margin: 0; }
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; margin-bottom: 110px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip { grid-template-columns: 1.25fr 1fr; }
.feature.flip .copy { order: 2; }
.feature h3 { font: 750 1.75rem/1.2 var(--display); letter-spacing: -.02em; margin: 8px 0 12px; }
.feature p { color: var(--text2); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-size: .98rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(34, 211, 238, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.ticks li span { color: var(--text2); }
.shots { position: relative; }
.shots img { border-radius: 14px; border: 1px solid var(--border2); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
             cursor: zoom-in; background: var(--surface); }
.shots.stack img + img { width: 72%; margin: -26% 0 0 auto; position: relative;
                         box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(34, 211, 238, .25); }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600;
       border: 1px solid var(--border2); color: var(--text2); margin: 0 6px 6px 0; }

/* ── cards ───────────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--border);
        border-radius: var(--radius); padding: 22px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: var(--border2); transform: translateY(-2px); }
.card img { border-radius: 10px; border: 1px solid var(--border); margin-bottom: 18px; cursor: zoom-in; }
.card h3 { font: 720 1.2rem var(--display); margin: 0 0 6px; }
.card p { color: var(--text2); margin: 0; font-size: .95rem; }

/* ── privacy ─────────────────────────────────────────────────────────────── */
.privacy { background: linear-gradient(180deg, var(--bg), var(--bg2) 30%, var(--bg)); border-top: 1px solid var(--border);
           border-bottom: 1px solid var(--border); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.pillar .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
              background: rgba(34, 211, 238, .12); color: var(--cyan); }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar h3 { font: 700 1.08rem var(--display); margin: 0 0 6px; }
.pillar p { margin: 0; color: var(--text2); font-size: .94rem; }

/* ── steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); border: 1px solid var(--border);
        background: var(--surface); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 22px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem;
  background: var(--cyan); color: #04121a; }
.step h3 { font: 700 1.08rem var(--display); margin: 6px 0 6px; }
.step p { margin: 0; color: var(--text2); font-size: .94rem; }

/* ── download ────────────────────────────────────────────────────────────── */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.dl { padding: 28px; border-radius: 20px; border: 1px solid var(--border2);
      background: radial-gradient(400px 200px at 80% 0%, rgba(34, 211, 238, .10), transparent 70%), var(--surface); }
.dl h3 { display: flex; align-items: center; gap: 10px; font: 750 1.3rem var(--display); margin: 0 0 4px; }
.dl h3 svg { width: 24px; height: 24px; }
.dl .req { color: var(--text3); font-size: .88rem; margin: 0 0 18px; }
.dl .btn { width: 100%; justify-content: center; }
.dl .note { margin: 16px 0 0; color: var(--text2); font-size: .86rem; }
.dl .note b { color: var(--text); }

/* ── disclaimer & footer ─────────────────────────────────────────────────── */
.disclaimer { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
              border: 1px solid rgba(251, 191, 36, .45); background: rgba(251, 191, 36, .06); }
.disclaimer svg { width: 28px; height: 28px; flex: none; color: var(--amber); margin-top: 2px; }
.disclaimer h3 { margin: 0 0 4px; font: 700 1.05rem var(--display); color: var(--amber); }
.disclaimer p { margin: 0; color: var(--text2); font-size: .94rem; }
footer { padding: 36px 0 48px; color: var(--text3); font-size: .88rem; border-top: 1px solid var(--border); }
footer .wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
footer a { color: var(--text2); }

/* ── lightbox & motion ───────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 3vw;
            background: rgba(3, 5, 10, .88); backdrop-filter: blur(6px); cursor: zoom-out; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 92vh; border-radius: 12px; box-shadow: 0 30px 120px rgba(0, 0, 0, .7); }
.lightbox figcaption { color: var(--text2); text-align: center; margin-top: 12px; font-size: .9rem; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 80px; }
  .feature.flip .copy { order: 0; }
  .cards, .pillars, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .jump { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: 56px; }
  section { padding: 72px 0; }
  .cards, .cards.two, .pillars, .steps, .downloads { grid-template-columns: 1fr; }
  .jump { grid-template-columns: 1fr 1fr; }
  .shots.stack img + img { width: 86%; margin-top: -18%; }
}
