/* ============================================================
   OpticCue — marketing site
   Palette mirrors the app (ink dark theme + scan cyan) with the
   magenta starburst accent from the icon. Self-contained, no build.
   ============================================================ */

:root {
  --ink-950: #080b10;
  --ink-900: #0d1219;
  --ink-850: #121924;
  --ink-800: #18212e;
  --ink-700: #223044;
  --ink-600: #33445c;
  --scan-400: #38e0d0;
  --scan-500: #14c8b8;
  --scan-600: #0ea5a0;
  --magenta: #e0218a;
  --slate-100: #e8edf4;
  --slate-300: #b3c0d1;
  --slate-400: #8595a8;
  --slate-500: #5f6e82;
  --slate-600: #46536510;

  --maxw: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--ink-950);
  color: var(--slate-300);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle scanline + grain atmosphere, like the app */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255, 255, 255, 0.012) 3px, rgba(255, 255, 255, 0.012) 4px);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--scan-400); font-weight: 600;
}
h1, h2, h3 { color: var(--slate-100); line-height: 1.12; letter-spacing: -0.02em; }
.accent { color: var(--scan-400); }
.mag { color: var(--magenta); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.15s ease;
}
.btn-primary { background: var(--scan-500); color: var(--ink-950); }
.btn-primary:hover { background: var(--scan-400); transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink-700); color: var(--slate-300); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--scan-500); color: var(--slate-100); }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(8, 11, 16, 0.72);
  border-bottom: 1px solid var(--ink-800);
}
nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 30px; height: 30px; }
.brand span { font-weight: 700; color: var(--slate-100); font-size: 17px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 14px; color: var(--slate-400); transition: color 0.15s; }
.nav-links a:hover { color: var(--slate-100); }
.nav-links .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; z-index: 2; padding: 96px 0 72px; text-align: center; overflow: hidden;
  background: url("assets/hero-bg.jpg") no-repeat center top / cover;
}
/* scrim over the key-art: light in the middle so the headline stays crisp,
   darker top and bottom, fading to solid ink at the base so the trust row
   below meets it seamlessly. */
.hero-glow {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg,
    rgba(8,11,16,0.45) 0%, rgba(8,11,16,0.12) 34%,
    rgba(8,11,16,0.55) 78%, var(--ink-950) 100%);
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; max-width: 15ch; margin: 18px auto 0; }
.hero .sub {
  font-size: clamp(16px, 2.2vw, 20px); color: var(--slate-400);
  max-width: 56ch; margin: 22px auto 0;
}
.hero .cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero .free-note { margin-top: 16px; font-size: 13px; color: var(--slate-500); }

/* demo frame (holds the clip once captured) */
.demo {
  position: relative; z-index: 2; margin: 56px auto 0; max-width: 900px;
  border-radius: 14px; border: 1px solid var(--ink-700);
  background: var(--ink-900); overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(56,224,208,0.05);
}
.demo video, .demo img { width: 100%; display: block; }
.demo-video { aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink-950); }
.demo-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 8px;
  background: rgba(8, 11, 16, 0.72); backdrop-filter: blur(6px);
  border: 1px solid var(--ink-700);
  font-size: 12px; color: var(--slate-300); font-weight: 500;
}
.demo-tag .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--magenta);
  box-shadow: 0 0 0 0 rgba(224,33,138,0.5); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(224,33,138,0.5);} 50%{ box-shadow: 0 0 0 8px rgba(224,33,138,0);} }

/* ---------- inside the app (screenshots) ---------- */
.shot-lead {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--ink-700);
  background: var(--ink-900);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.8);
}
.shot-lead img { width: 100%; display: block; }
.shot-lead figcaption,
.shot-grid figcaption {
  font-size: 13px; color: var(--slate-400); padding: 12px 16px;
  border-top: 1px solid var(--ink-800); background: rgba(255,255,255,0.015);
}
.shot-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px;
}
@media (max-width: 760px) { .shot-grid { grid-template-columns: 1fr; } }
.shot-grid figure {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--ink-800);
  background: var(--ink-900);
}
.shot-grid img { width: 100%; display: block; }

/* ---------- trust row ---------- */
.trust { position: relative; z-index: 2; padding: 64px 0; border-top: 1px solid var(--ink-800); border-bottom: 1px solid var(--ink-800); margin-top: 72px; }
.trust .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .trust .grid { grid-template-columns: 1fr; } }
.trust-card {
  padding: 26px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(56,224,208,0.05), transparent);
  border: 1px solid var(--ink-800);
}
.trust-card .ico { width: 26px; height: 26px; color: var(--scan-400); margin-bottom: 14px; }
.trust-card h3 { font-size: 17px; margin-bottom: 8px; }
.trust-card p { font-size: 14px; color: var(--slate-400); }

/* ---------- sections ---------- */
section.block { position: relative; z-index: 2; padding: 92px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-top: 12px; }
.section-head p { font-size: 17px; color: var(--slate-400); margin-top: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px; border-radius: 14px; background: var(--ink-900);
  border: 1px solid var(--ink-800); position: relative;
}
.step .num {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(56,224,208,0.12); color: var(--scan-300); border: 1px solid rgba(56,224,208,0.3);
  font-weight: 700; font-size: 15px; color: var(--scan-400); margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--slate-400); }

/* feature split (packs) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.split li { display: flex; gap: 12px; font-size: 15px; color: var(--slate-300); }
.split li .chk { color: var(--scan-400); flex-shrink: 0; margin-top: 3px; }
.split-visual {
  border-radius: 16px; border: 1px solid var(--ink-700); overflow: hidden;
  background: var(--ink-900); aspect-ratio: 4/3; display: grid; place-items: center;
}

/* download / notify */
.notify {
  position: relative; z-index: 2; text-align: center; padding: 96px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(56,224,208,0.08), transparent 55%),
    var(--ink-950);
  border-top: 1px solid var(--ink-800);
}
.notify h2 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 800; }
.notify p { color: var(--slate-400); margin-top: 16px; font-size: 17px; max-width: 52ch; margin-inline: auto; }
.notify-form { display: flex; gap: 10px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.notify-form input {
  padding: 13px 16px; border-radius: 10px; min-width: 280px;
  background: var(--ink-850); border: 1px solid var(--ink-700); color: var(--slate-100);
  font-size: 15px; font-family: inherit;
}
.notify-form input:focus { outline: none; border-color: var(--scan-500); }
.notify .fine { margin-top: 18px; font-size: 13px; color: var(--slate-500); }
.notify .fine a { color: var(--scan-400); }

/* footer */
footer { position: relative; z-index: 2; border-top: 1px solid var(--ink-800); padding: 48px 0 60px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
footer .brand span { font-size: 15px; }
.foot-links { display: flex; gap: 22px; font-size: 14px; }
.foot-links a { color: var(--slate-400); }
.foot-links a:hover { color: var(--slate-100); }
footer .legal { width: 100%; font-size: 12px; color: var(--slate-500); border-top: 1px solid var(--ink-800); padding-top: 22px; margin-top: 8px; }
