/* ============================================================
   OptionMatrix Pro — marketing site
   Brand tokens mirror the app (public/style.css)
   ============================================================ */
:root {
  --bg-0: #03071a;
  --bg-1: #0b1534;
  --panel: #0a1128;
  --panel-2: #111a36;
  --line: #1d2a4d;
  --text: #e9eefb;
  --muted: #8b97b8;
  --green: #19c25a;
  --green-bright: #3cf06a;
  --amber: #f5a623;
  --red: #e3263f;
  --blue: #1f8fe6;
  --profit-a: #f2a516;
  --profit-b: #19c25a;
  --profit-c: #3cf06a;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --gutter: 16px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(31, 143, 230, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(25, 194, 90, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 55%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #02210f;
  background: linear-gradient(135deg, var(--profit-a), var(--profit-b) 55%, var(--profit-c));
  box-shadow: 0 10px 30px -10px rgba(25, 194, 90, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(25, 194, 90, 0.75); }
.btn-secondary {
  color: var(--text);
  background: rgba(31, 143, 230, 0.12);
  border-color: rgba(31, 143, 230, 0.5);
}
.btn-secondary:hover { background: rgba(31, 143, 230, 0.22); }
.btn-ghost {
  color: var(--text);
  background: var(--panel-2);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #2a3f7a; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 10, 28, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: 0.2px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span b { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.25fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 7px 13px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 22px 0 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--profit-b), var(--profit-c), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin: 20px 0 0; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .dot { width: 7px; height: 7px; border-radius: 50%; }

.hero-shot {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--panel);
}
.hero-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.hero-shot img { width: 100%; }

/* ---------- Section scaffolding ---------- */
.section { padding: 70px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head .kicker {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.section-head h2 { font-size: clamp(27px, 3.4vw, 38px); margin: 12px 0 0; font-weight: 800; letter-spacing: -0.3px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: #2a3f7a; }
.feature .ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 22px; }
.shot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.shot-card .cap { padding: 16px 20px; display: flex; gap: 14px; align-items: baseline; border-top: 1px solid var(--line); }
.shot-card .cap h4 { margin: 0; font-size: 16px; font-weight: 700; }
.shot-card .cap p { margin: 0; color: var(--muted); font-size: 14px; }
.gallery-2 { grid-template-columns: 1fr 1fr; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
}
.step .num {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-weight: 800; font-size: 19px;
  color: #02210f;
  background: linear-gradient(135deg, var(--profit-a), var(--profit-b));
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing-wrap { display: flex; justify-content: center; }
.price-card {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid #2a3f7a;
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--profit-a), var(--profit-b), var(--profit-c));
}
.price-badge {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--green-bright);
  background: rgba(25, 194, 90, 0.12);
  border: 1px solid rgba(25, 194, 90, 0.3);
  padding: 6px 12px; border-radius: 999px;
}
.price-row { display: flex; align-items: flex-end; gap: 8px; margin: 20px 0 4px; }
.price-row .amount { font-size: 50px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.price-row .period { color: var(--muted); font-size: 15px; font-weight: 600; padding-bottom: 6px; }
.price-sub { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.price-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.price-list li { display: flex; gap: 11px; font-size: 15px; align-items: flex-start; }
.price-list .check {
  flex: none; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%;
  background: rgba(25, 194, 90, 0.16);
  color: var(--green-bright);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.price-card .btn { width: 100%; }
.price-note { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 2px 20px;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: #2a3f7a; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; color: var(--blue); font-size: 22px; transition: transform 0.2s; font-weight: 400; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { color: var(--muted); font-size: 15px; padding: 0 0 20px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(25, 194, 90, 0.14), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; font-weight: 800; }
.cta-band p { color: var(--muted); font-size: 17px; margin: 0 auto 26px; max-width: 540px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 46px 0 36px; margin-top: 70px; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .brand { margin-bottom: 14px; }
.footer-col h5 { font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-about { max-width: 320px; }
.footer-about p { color: var(--muted); font-size: 14px; margin: 0; }
.disclaimer {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.disclaimer .amber { color: var(--amber); }

/* ---------- Free trial ---------- */
.trial-section {
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(25, 194, 90, 0.08), transparent 65%);
}
.trial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}
.trial-dl { width: 100%; max-width: 340px; }
.trial-dlmeta { color: var(--muted); font-size: 13px; margin: 10px 0 28px; }
.trial-list { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; gap: 22px; }
.trial-list li { display: flex; gap: 16px; align-items: flex-start; }
.trial-list .tnum {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  font-weight: 800; font-size: 15px;
  color: #02210f;
  background: linear-gradient(135deg, var(--profit-a), var(--profit-b));
}
.trial-list h4 { margin: 4px 0 5px; font-size: 16px; font-weight: 700; }
.trial-list p { margin: 0; color: var(--muted); font-size: 15px; }
.trial-list code {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 6px; font-size: 13px; color: var(--text);
}
.trial-list b { color: var(--text); }
.tmuted { color: var(--muted); opacity: 0.85; font-size: 13.5px; }

/* ---------- Unlock box mock (mirrors public/license.html) ---------- */
.unlock-wrap { position: sticky; top: 92px; }
.unlock-label {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.unlock-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75);
}
.u-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; }
.u-brand img { width: 34px; height: 34px; }
.u-brand b { font-weight: 800; }
.u-ver { font-size: 12px; font-weight: 600; color: #b8c1dc; padding: 2px 10px; border: 1px solid #2a3460; border-radius: 11px; }
.u-sub { font-size: 15px; color: var(--muted); margin: 10px 0 18px; }
.u-lbl { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.u-lbl span { opacity: 0.7; }
.u-input {
  padding: 11px 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--panel-2);
  color: var(--muted); font-size: 14px;
}
.u-key { font-family: Consolas, monospace; letter-spacing: 0.06em; color: #9fb0d8; }
.u-btn { border-radius: 8px; text-align: center; cursor: default; }
.u-activate { margin-top: 20px; padding: 12px; background: var(--blue); color: #fff; font-weight: 600; }
.u-or { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted); font-size: 12px; }
.u-or::before, .u-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.u-trial {
  margin-top: 14px; padding: 14px; background: var(--green); color: #fff;
  box-shadow: 0 0 0 2px rgba(25, 194, 90, 0.35), 0 10px 26px -10px rgba(25, 194, 90, 0.6);
}
.u-trial b { display: block; font-size: 17px; font-weight: 700; }
.u-trial span { display: block; font-size: 12.5px; font-weight: 400; opacity: 0.92; margin-top: 3px; }
.u-callout { color: var(--green-bright); font-size: 13px; font-weight: 700; text-align: center; margin-top: 10px; }
.u-foot { margin-top: 20px; font-size: 12px; color: var(--muted); line-height: 1.55; }
.u-foot code { color: var(--text); }
.u-support { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.u-support a { color: var(--blue); font-weight: 600; }

/* ---------- Placeholder highlight ---------- */
.ph { outline: 2px dashed rgba(245, 166, 35, 0.0); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero p.sub { max-width: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery-2 { grid-template-columns: 1fr; }
  .trial-grid { grid-template-columns: 1fr; gap: 36px; }
  .unlock-wrap { position: static; order: -1; }
  .trial-dl { max-width: none; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 10, 28, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav.open .nav-links a { padding: 14px var(--gutter); width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 20px; }
  .section { padding: 54px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-secondary { display: none; }
  .hero-cta .btn { flex: 1 1 auto; }
  .price-row .amount { font-size: 42px; }
}
