/* InFocus — site styles */
:root {
  --bg: #0a0b10;
  --bg-raise: #10121a;
  --surface: #141722;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e9ebf3;
  --muted: #9aa1b5;
  --faint: #6c7286;
  --accent: #d63aff;
  --accent-deep: #a91fd6;
  --accent-soft: rgba(214, 58, 255, 0.14);
  --accent-glow: rgba(214, 58, 255, 0.45);
  --blue: #4f7cff;
  --radius: 16px;
  --maxw: 1060px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 7px 16px; border-radius: 99px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 30px -8px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 10px 34px -6px var(--accent-glow); }
.btn-secondary {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.28); background: #1a1e2b; }
.btn small { font-weight: 500; opacity: 0.75; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto;
  height: 520px; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(214, 58, 255, 0.13), transparent 70%);
}
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(214, 58, 255, 0.25);
  padding: 5px 14px; border-radius: 99px; margin-bottom: 26px;
}
h1 {
  font-size: clamp(38px, 6vw, 62px); line-height: 1.06;
  letter-spacing: -0.03em; font-weight: 800; margin: 0 0 22px;
}
h1 .hl { color: var(--accent); }
.sub {
  font-size: clamp(17px, 2.2vw, 20px); color: var(--muted);
  max-width: 640px; margin: 0 auto 36px;
}
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

.hero-shot { margin: 64px auto 0; max-width: 980px; position: relative; }
.hero-shot img {
  width: 100%; height: auto; display: block; /* keep aspect ratio when max-width clamps */
  border-radius: 14px; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 90px -30px var(--accent-glow);
}
.hero-shot figcaption { margin-top: 14px; font-size: 13.5px; color: var(--faint); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section + section { border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em;
  font-weight: 750; line-height: 1.15; margin: 0 0 14px;
}
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* ---------- Effect cards ---------- */
.effects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.effect {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 30px; overflow: hidden;
}
.effect h3 { margin: 22px 0 8px; font-size: 19px; letter-spacing: -0.015em; }
.effect p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.effect-wide { grid-column: 1 / -1; }

/* Mini window mockups */
.demo {
  height: 190px; border-radius: 12px; position: relative;
  background:
    radial-gradient(circle at 20% 25%, rgba(79, 124, 255, 0.06), transparent 55%),
    #0d0f16;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.win {
  width: 200px; height: 128px; border-radius: 9px;
  background: #1b1e29; border: 1px solid rgba(255, 255, 255, 0.09);
  position: relative; flex-shrink: 0;
}
.win .bar {
  height: 24px; border-radius: 9px 9px 0 0;
  background: #242836; border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  display: flex; align-items: center; gap: 5px; padding: 0 9px;
  position: relative;
}
.win .bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3f52; }
.win .bar i:nth-child(1) { background: #ff5f57; }
.win .bar i:nth-child(2) { background: #febc2e; }
.win .bar i:nth-child(3) { background: #28c840; }
.win.back .bar i { background: #3a3f52; }
.win .l { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.09); margin: 12px 14px 0; }
.win .l.s { width: 60%; }
.win .l.m { width: 80%; }

.win.back {
  position: absolute; transform: translate(-72px, -18px);
  background: #161923; z-index: 1;
}
.win.front { z-index: 2; transform: translate(38px, 12px); }

/* border effect */
.demo-border .front {
  box-shadow: 0 0 0 2.5px var(--accent);
}
/* glow effect */
.demo-glow .front {
  box-shadow: 0 0 0 1.5px rgba(214, 58, 255, 0.8), 0 0 26px 4px var(--accent-glow);
}
/* tint effect */
.demo-tint .front .bar::after {
  content: ""; position: absolute; inset: 0; border-radius: 9px 9px 0 0;
  background: rgba(214, 58, 255, 0.32);
}
.demo-tint .front { box-shadow: 0 0 0 1px rgba(214, 58, 255, 0.35); }
/* dim effect */
.demo-dim { background: #07080c; }
.demo-dim .back { opacity: 0.35; }
.demo-dim::before {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.demo-dim .front { z-index: 2; box-shadow: 0 0 0 2px var(--accent), 0 18px 50px rgba(0,0,0,0.6); }
/* pulse effect */
.demo-pulse .front { box-shadow: 0 0 0 2px var(--accent); }
.demo-pulse .front::after {
  content: ""; position: absolute; inset: -3px; border-radius: 11px;
  border: 2.5px solid var(--accent); opacity: 0;
  animation: pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  45% { transform: scale(1.14); opacity: 0; }
  100% { transform: scale(1.14); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-pulse .front::after { animation: none; opacity: 0.35; transform: scale(1.1); }
  html { scroll-behavior: auto; }
}
/* accent row */
.demo-accent { gap: 12px; }
.demo-accent .sw {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
}
.demo-accent .sw.on { outline: 2.5px solid #fff; outline-offset: 3px; }

/* ---------- Trust / how it works ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.tile .ico {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px;
  background: var(--accent-soft); border: 1px solid rgba(214, 58, 255, 0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.tile h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, rgba(214, 58, 255, 0.08), rgba(214, 58, 255, 0.015) 40%), var(--bg-raise);
  border: 1px solid rgba(214, 58, 255, 0.3); border-radius: 20px;
  padding: 44px 40px 40px;
  box-shadow: 0 30px 80px -40px var(--accent-glow);
}
.price {
  font-size: 60px; font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  margin: 6px 0 4px;
}
.price-sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.price-feats { list-style: none; padding: 0; margin: 0 0 30px; text-align: left; }
.price-feats li {
  padding: 9px 0 9px 30px; position: relative;
  color: var(--text); font-size: 15px; border-bottom: 1px solid var(--line);
}
.price-feats li:last-child { border-bottom: 0; }
.price-feats li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700;
}
.price-fine { font-size: 12.5px; color: var(--faint); margin-top: 18px; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 4px 0;
}
.faq summary {
  cursor: pointer; padding: 18px 30px 18px 0; font-weight: 600; font-size: 16.5px;
  letter-spacing: -0.01em; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 22px; font-weight: 400; transition: transform 0.15s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; }
.faq details a { color: var(--accent); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding: 96px 0; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 44px 0 56px;
  font-size: 14px; color: var(--faint);
}
.foot-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 600; }
.foot-brand img { width: 20px; height: 20px; border-radius: 5px; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 {
  margin: 0 0 12px; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--faint); font-weight: 600;
}
.foot-col a { display: block; color: var(--muted); padding: 4px 0; font-size: 14px; }
.foot-col a:hover { color: var(--text); text-decoration: none; }
.foot-note { margin-top: 36px; font-size: 13px; color: var(--faint); }

/* ---------- Legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 72px 24px 40px; }
.legal h1 { font-size: 36px; margin-bottom: 6px; }
.legal .updated { color: var(--faint); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal ul { padding-left: 22px; }
.legal strong { color: var(--text); }

/* ---------- 404 ---------- */
.err { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.err .code { font-size: 90px; font-weight: 800; letter-spacing: -0.04em; color: var(--accent); line-height: 1; margin-bottom: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .effects { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 30px; }
}
