/* CROSSHAIR EASY website: dark storefront with the brand-red accent (SPEC 12.8).
   Palette: deep blue-gray backgrounds, dark cards, light text; red used
   selectively (primary buttons, active states, focus rings, selection, brand
   marks). No neon glow: subtle borders, consistent radius, tasteful shadows. */

:root {
  --bg: #0b0f16;
  --bg-alt: #0f141d;
  --header: #101623;
  --card: #151c2a;
  --card-border: #232d41;
  --divider: #1d2635;
  --text: #e7ebf3;
  --soft: #c1cad9;
  --subtle: #8c98ad;
  --muted: #68748a;
  --accent: #f52020;
  --accent-hover: #f74444;
  --accent-pressed: #d01b1b;
  --accent-soft: #5d1818;
  --accent-border: #ab1e1e;
  --accent-text: #ffc8c8;
  --accent-glow: rgba(245, 32, 32, 0.28);
  --danger: #e5535b;
  --danger-soft: #3a2029;
  --danger-border: #5a2e36;
  --ok: #4caf7d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

img { max-width: 100%; }

/* ------------------------------------------------------------- header / nav */
header.site {
  background: rgba(16, 22, 35, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: 0;
  z-index: 20;
}

header.site .container {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 80px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.brand img { width: 46px; height: 46px; }
.brand:hover { text-decoration: none; }
.brand .brand-word b { color: var(--accent); font-weight: 700; }

nav.main { display: flex; gap: 6px; flex-wrap: wrap; }

nav.main a {
  color: var(--subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

nav.main a:hover {
  background: var(--card);
  border-color: var(--card-border);
  color: var(--text);
  text-decoration: none;
}

/* Active page: a small raised card with the red inner tint that sits above the
   header surface (no underline bar). */
nav.main a.active {
  color: var(--text);
  background: linear-gradient(180deg, var(--accent-soft), #461212);
  border-color: var(--accent-border);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* language menu (header) */
.lang-menu { position: relative; }

.lang-menu summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--soft);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 7px 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { border-color: var(--accent-border); color: var(--text); }

.lang-menu summary::after { content: "\25BE"; font-size: 10px; color: var(--subtle); }

.lang-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 168px;
  z-index: 30;
}

.lang-pop a {
  color: var(--soft);
  font-size: 14px;
  padding: 7px 11px;
  border-radius: 7px;
}

.lang-pop a:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }
.lang-pop a[aria-current="true"] { background: var(--accent-soft); color: var(--accent-text); }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.3;
  text-align: center;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-pressed); }

.btn-ghost { background: var(--card); color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { background: #1c2536; border-color: var(--accent-border); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-row.start { justify-content: flex-start; }

/* ------------------------------------------------------------------ sections */
main { padding: 0 0 24px; }

.section { padding: 72px 0; border-bottom: 1px solid var(--divider); }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 12px; letter-spacing: -0.01em; line-height: 1.2; }

.section-lead { color: var(--soft); font-size: 17px; margin: 0; }

/* --------------------------------------------------------------------- hero */
.hero {
  padding: 76px 0 72px;
  background:
    radial-gradient(ellipse 70% 60% at 50% -15%, rgba(245, 32, 32, 0.16), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--divider);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero h1 .accent { color: var(--accent); }

.hero .hero-tag {
  font-size: clamp(19px, 2.6vw, 24px);
  color: var(--text);
  font-weight: 600;
  margin: 0 0 14px;
}

.hero p.lead {
  font-size: 17px;
  color: var(--soft);
  max-width: 560px;
  margin: 0 0 16px;
}

.hero .hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 15px;
  margin: 0 0 26px;
}

.hero .hero-price strong { font-size: 19px; }

.hero .btn-row { justify-content: flex-start; }

.hero .fineprint { font-size: 13px; color: var(--muted); margin: 16px 0 0; }

.badge {
  display: inline-block;
  font-size: 13px;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

/* hero product visual (honest placeholder built from the real logo asset) */
.hero-visual {
  position: relative;
  background: linear-gradient(180deg, #141b29, #10151f);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 32px 26px;
  text-align: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent);
  opacity: 0.75;
}

.hero-visual::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.hero-visual::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

.hero-visual .reticle {
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  border: 1px dashed #2c3a52;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual .reticle::before,
.hero-visual .reticle::after {
  content: "";
  position: absolute;
  background: rgba(245, 32, 32, 0.55);
}

.hero-visual .reticle::before { width: 1px; height: 100%; left: 50%; }
.hero-visual .reticle::after { height: 1px; width: 100%; top: 50%; }

.hero-visual img { width: 96px; height: 96px; position: relative; z-index: 1; }

.hero-visual .visual-caption { font-size: 13px; color: var(--muted); margin: 0; }

/* ----------------------------------------------------------------- callouts */
.note, .warn, .legal-banner {
  border-radius: var(--radius-sm);
  padding: 15px 19px;
  margin: 24px 0;
  font-size: 15px;
}

.note { background: var(--accent-soft); border: 1px solid var(--accent-border); color: var(--accent-text); }
.note strong { color: #fff; }
.warn { background: var(--danger-soft); border: 1px solid var(--danger-border); color: #f2b8bc; }
.warn strong { color: #fff; }

.legal-banner {
  background: var(--header);
  border: 1px dashed var(--muted);
  color: var(--subtle);
  font-size: 14px;
}

/* ------------------------------------------------------------------- layout */
main.page { padding: 56px 0 72px; }
main.page.narrow .container { max-width: 780px; }

h1.page { font-size: clamp(28px, 4vw, 38px); margin: 0 0 8px; letter-spacing: -0.01em; }
h2 { font-size: 24px; margin: 42px 0 14px; }
h3 { font-size: 18px; margin: 26px 0 8px; }
p, li { color: var(--soft); }
.muted { color: var(--muted); font-size: 14px; }

.subtitle { color: var(--subtle); font-size: 17px; margin: 0 0 30px; }

/* ------------------------------------------------------------------- cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

/* Informational cards give hover feedback without looking clickable. */
.card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38), 0 0 0 1px var(--accent-glow);
  background: #182031;
  transform: translateY(-2px);
}

.card h3 { margin-top: 0; color: var(--text); }
.card p { margin-bottom: 0; font-size: 15px; }

.card .icon {
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 32, 32, 0.18), rgba(245, 32, 32, 0.05));
  border: 1px solid rgba(245, 32, 32, 0.45);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.card .icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------ showcase video */
.showcase .video-frame {
  max-width: 860px;
  margin: 0 auto;
  background: #000;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.showcase .video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* ---------------------------------------------------- compatibility / safety */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.check-list, .cross-list { list-style: none; padding: 0; margin: 22px 0; }

.check-list li, .cross-list li {
  position: relative;
  padding: 6px 0 6px 32px;
  margin: 0;
  font-size: 15.5px;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 6px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------------------------ pricing */
.price-card {
  background: linear-gradient(180deg, #171f2e, #131a27);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 34px;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.price-tag {
  font-size: 54px;
  font-weight: 800;
  color: var(--text);
  margin: 6px 0 2px;
  letter-spacing: -0.02em;
}

.price-tag span { font-size: 17px; font-weight: 500; color: var(--subtle); letter-spacing: 0; }

.price-card .price-sub { color: var(--soft); font-size: 15px; margin: 0 0 22px; }
.price-card .btn { min-width: 240px; }
.price-card .muted { margin-top: 16px; }

/* ----------------------------------------------------------------- final CTA */
.cta-band {
  background:
    radial-gradient(ellipse 80% 120% at 50% 120%, rgba(245, 32, 32, 0.14), transparent 70%),
    var(--bg);
  text-align: center;
}

.cta-band h2 { font-size: clamp(26px, 4vw, 36px); }
.cta-band .section-lead { max-width: 620px; margin: 0 auto 28px; }

/* ------------------------------------------------------- screenshot figures */
.shot {
  margin: 26px 0;
  background: var(--card);
  border: 1px dashed #34405a;
  border-radius: var(--radius);
  padding: 38px 24px;
  text-align: center;
}

.shot .shot-mark {
  font-size: 26px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.shot figcaption { color: var(--subtle); font-size: 14px; }
.shot .shot-label { color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-top: 6px; }

/* -------------------------------------------------------------------- forms */
form.panel {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  margin: 22px 0;
  max-width: 520px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

/* License forms share the card treatment (including the informational hover feedback). */
form.panel:hover {
  border-color: var(--accent-border);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.38), 0 0 0 1px var(--accent-glow);
  background: #182031;
  transform: translateY(-2px);
}

form.panel label { display: block; font-size: 14px; color: var(--subtle); margin: 14px 0 6px; }

form.panel input[type="email"],
form.panel input[type="text"] {
  width: 100%;
  background: #0f1522;
  border: 1px solid #2a3a55;
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  padding: 11px 13px;
}

form.panel input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

form.panel button { margin-top: 18px; }

/* ------------------------------------------------------------------- tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}

th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--divider); }

th { color: var(--subtle); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
td { color: var(--soft); }

.table-wrap { overflow-x: auto; }

/* --------------------------------------------------------------- misc bits */
code {
  background: #0f1522;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 14px;
  color: var(--accent-text);
  word-break: break-all;
}

pre {
  background: #0f1522;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
  font-size: 14px;
  color: var(--soft);
}

.steps { counter-reset: step; list-style: none; padding: 0; margin: 22px 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 46px;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 15px 19px;
  margin: 10px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.faq summary { cursor: pointer; font-weight: 600; color: var(--text); }
.faq summary::marker { color: var(--accent); }
.faq details[open] summary { color: var(--accent-text); }
.faq details p { margin: 10px 0 2px; font-size: 15px; }

/* ------------------------------------------------------------------ footer */
footer.site {
  border-top: 1px solid var(--divider);
  background: var(--header);
  padding: 36px 0 30px;
  font-size: 14px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 28px;
  align-items: start;
}

footer.site .brand { font-size: 17px; margin-bottom: 10px; }
footer.site .brand img { width: 30px; height: 30px; }

footer.site .footer-nav { display: flex; flex-direction: column; gap: 8px; }
footer.site .footer-nav a { color: var(--muted); }
footer.site .footer-nav a:hover { color: var(--text); }

.footer-lang-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 10px;
}

.lang-links { display: flex; flex-wrap: wrap; gap: 7px; }

.lang-links a {
  color: var(--muted);
  border: 1px solid var(--divider);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  background: var(--bg-alt);
}

.lang-links a:hover { color: var(--text); border-color: var(--accent-border); text-decoration: none; }
.lang-links a[aria-current="true"] { background: var(--accent-soft); border-color: var(--accent-border); color: var(--accent-text); }

.footer-copy { grid-column: 1 / -1; border-top: 1px solid var(--divider); padding-top: 18px; margin-top: 4px; }

/* ------------------------------------------------------------- breakpoints */

/* Long translations (French, Portuguese, German) stay on the single-row header at
   the same widths as English by tightening the brand and nav; every language then
   stacks into the same centered header below 900px. */
@media (max-width: 1080px) {
  header.site .container { gap: 14px; }
  .brand { font-size: 21px; gap: 11px; }
  .brand img { width: 40px; height: 40px; }
  nav.main { gap: 5px; }
  nav.main a { padding: 7px 11px; font-size: 14.5px; }
  html[lang="de"] nav.main a,
  html[lang="es"] nav.main a,
  html[lang="ht"] nav.main a { padding: 7px 10px; }
  html[lang="fr"] nav.main a,
  html[lang="pt"] nav.main a { padding: 7px 8px; font-size: 13.5px; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero .btn-row { justify-content: center; }
  .hero { text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  header.site .container { justify-content: center; row-gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .header-actions { margin-left: 0; width: 100%; justify-content: center; }
  nav.main { justify-content: center; width: 100%; }
}

@media (max-width: 760px) {
  .section { padding: 54px 0; }
  .hero { padding: 54px 0 48px; }
  .price-card { padding: 30px 22px; }
  .price-tag { font-size: 44px; }
}

@media (max-width: 560px) {
  nav.main a { padding: 7px 9px; font-size: 14px; }
  .brand { font-size: 19px; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .grid, .safety-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .hero-visual { padding: 30px 18px 20px; }
}
