/* EyeSpy site: the app's dark purple look. */

:root {
  --bg: #120a24;
  --bg-2: #1c1236;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --text: #f4f1fb;
  --muted: rgba(244, 241, 251, 0.68);
  --faint: rgba(244, 241, 251, 0.45);
  --accent: #9466f5;       /* the app's eyeAccent */
  --accent-2: #4dadf2;     /* eyeAccentAlt */
  --coffee: #ffdd00;
  --radius: 18px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: radial-gradient(1200px 700px at 50% -10%, #33206a 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--text);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); }
a:hover { color: #7cc4f7; }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Nav ---------- */

.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 640px) {
  .nav-links a.hide-sm { display: none; }
  .nav-links { gap: 14px; }
  .brand img { width: 34px; height: 34px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(148, 102, 245, .35); }
.btn-primary:hover { background: #a37cf7; color: #fff; }
.btn-ghost { background: var(--card); color: var(--text); border: 1px solid var(--card-border); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); color: var(--text); }
.btn-coffee { background: var(--coffee); color: #1b1300; }
.btn-coffee:hover { background: #ffe433; color: #1b1300; }
.btn small { font-weight: 600; opacity: .8; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }

/* ---------- Hero ---------- */

.hero { text-align: center; padding-block: 28px 10px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -0.02em; font-weight: 900; }
.hero .lede { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.cta-note { color: var(--faint); font-size: 14px; margin-top: 12px; }

/* ---------- Eyes playground ---------- */

.playground {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px;
  align-items: stretch; margin: 44px auto 0; text-align: left;
}
@media (max-width: 860px) { .playground { grid-template-columns: 1fr; } }

.stage {
  --glow: rgba(148, 102, 245, .45);
  position: relative; border-radius: 28px; overflow: hidden;
  background: radial-gradient(60% 70% at 50% 50%, var(--glow), transparent 70%), linear-gradient(180deg, #1d1238, #0d0719);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  min-height: 320px; padding: 24px; cursor: pointer;
  transition: background .4s ease;
}
.stage svg { width: 100%; max-width: 640px; height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.stage-hint {
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-size: 13px; color: var(--faint); pointer-events: none;
}

.panel {
  background: linear-gradient(180deg, #1c1c1f, #121214);
  border: 1px solid var(--card-border); border-radius: 22px;
  padding: 18px; display: flex; flex-direction: column; gap: 16px;
}
.panel h2 { font-size: 12px; letter-spacing: .08em; color: var(--faint); margin: 0 0 8px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--text); background: rgba(255, 255, 255, .06);
  border: 1px solid transparent; border-radius: 10px;
  padding: 8px 12px; cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.chip:hover { background: rgba(255, 255, 255, .1); }
.chip[aria-pressed="true"] { background: rgba(148, 102, 245, .28); border-color: var(--accent); }
.chip:disabled { opacity: .35; cursor: not-allowed; }
.chip:focus-visible, .btn:focus-visible, .toggle input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.chip.in-season::after { content: "Now"; margin-left: 6px; font-size: 10px; font-weight: 800; color: #ffa733; }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle span {
  width: 44px; height: 26px; border-radius: 13px; background: rgba(255, 255, 255, .18);
  position: relative; transition: background .15s ease; flex: none;
}
.toggle span::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform .15s ease;
}
.toggle input:checked + span { background: var(--accent); }
.toggle input:checked + span::after { transform: translateX(18px); }
.panel-tip { font-size: 13px; color: var(--faint); margin: 0; }

/* ---------- Sections ---------- */

/* Top padding only: the side padding comes from .wrap. */
section { padding-top: 72px; }
.section-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; text-align: center; font-weight: 900; letter-spacing: -0.01em; }
.section-lede { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 36px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 22px; }
.feature .icon { font-size: 26px; line-height: 1; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }
.gallery img { border-radius: 16px; border: 1px solid var(--card-border); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }

.support {
  background: linear-gradient(135deg, rgba(148, 102, 245, .22), rgba(77, 173, 242, .12));
  border: 1px solid var(--card-border); border-radius: 28px;
  padding: 40px 28px; text-align: center;
}
.support p { color: var(--muted); max-width: 580px; margin: 0 auto 22px; }

/* ---------- Footer ---------- */

footer { margin-top: 80px; padding: 28px 0 40px; border-top: 1px solid var(--card-border); color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ---------- Text pages (privacy, 404) ---------- */

.doc { max-width: 760px; margin: 0 auto; padding: 24px 20px 0; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin: 10px 0 4px; font-weight: 900; }
.doc .updated { color: var(--faint); margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 22px; }
.doc strong { color: var(--text); }
.doc .summary { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 18px 22px; }
.doc .summary p { margin: 0; color: var(--text); }
